diff --git a/README.md b/README.md index bae2692..cd90a14 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,56 @@ -# VietNamHistory +# Introduce +The application for learning and studying the history of Vietnam includes the following main components: -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.1.0. +• **User Interface**: The application's user interface is designed to be friendly and easy to use, helping users to easily search for and study the history of Vietnam. Users can access the application through a mobile app or a dedicated website. -## Development server +• **Historical Database**: The application utilizes a database to store information about the history of Vietnam, including historical events, historical figures, historical landmarks, historical artifacts, etc. This database is regularly updated to ensure the accuracy and completeness of the information. -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. +• **Features**: The application provides the following features to help users learn and study the history of Vietnam: Search for information, explore history, study historical events, etc. -## Code scaffolding +The learning and studying history application of Vietnam brings many benefits to users, including: -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. +• **Convenience**: Users can easily search for and study the history of Vietnam anytime, anywhere through mobile devices. -## Build +• **Effectiveness**: The application provides various forms of information content that is suitable for the needs and learning abilities of users. The information is presented in a vivid and engaging manner, making it easy for users to remember and understand. -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. +The learning and studying history application of Vietnam is a useful information technology solution, helping users to have a better learning experience of the history of Vietnam. +# Getting Started +Using tech | Angular v16, Bootstrap, Material, CKeditor, ... -## Running unit tests +This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). +## Installation +**Step 1**: Clone repository to your computer by git with comand -## Running end-to-end tests +```bash +git clone https://github.com/LuongXuanNhat/VietNamHistory_FEweb.git +``` +**Step 2**: Use the [Node package manager](https://www.npmjs.com/): -Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities. +```bash +npm install +``` +**Step 3**: To run progam , type command: +```bash +ng serve -o +``` +## Note -## Further help +> Don't forget to clone the backend [here](https://github.com/LuongXuanNhat/VietNamHistory_BE) +``` +// src\app\service\auth.service.ts -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. +apiurl = 'https://localhost:7138'; +``` + +## Contributing + +Pull requests are welcome. For major changes, please open an issue first +to discuss what you would like to change. + +## Watch the demo video [here](https://www.youtube.com/watch?v=NqTf46UVhHc) +If you find it interesting and useful, please give me a star 🌟, thank you very much 🍀 + +## License + +[MIT](https://choosealicense.com/licenses/mit/) \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 0c91e46..732f461 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,15 +3,14 @@ Tôi yêu lịch sử + + - + + @@ -21,7 +20,7 @@ - + @@ -33,7 +32,7 @@ "logo": "https://www.toiyeulichsu.com/assets/Icon/pagoda64.png" } - + - + - + diff --git a/docs/main.5ce43c74fe41b3d8.js b/docs/main.3cbaf17e77d01cbf.js similarity index 59% rename from docs/main.5ce43c74fe41b3d8.js rename to docs/main.3cbaf17e77d01cbf.js index 94707f4..bfab2de 100644 --- a/docs/main.5ce43c74fe41b3d8.js +++ b/docs/main.3cbaf17e77d01cbf.js @@ -1,7 +1,7 @@ -(self.webpackChunkVietNamHistory=self.webpackChunkVietNamHistory||[]).push([[179],{930:(ms,Ya,bl)=>{ms=bl.nmd(ms),function(Ti){const Lo=Ti.en=Ti.en||{};Lo.dictionary=Object.assign(Lo.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 image":"Edit image","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","Failed to determine category of edited image.":"Failed to determine category of edited image.","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 image with file manager":"Insert image with file manager","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","Insert with file manager":"Insert with file manager","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","Processing the edited image.":"Processing the edited image.",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace from computer":"Replace from computer","Replace image":"Replace image","Replace image from computer":"Replace image from computer","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","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","Server failed to process the image.":"Server failed to process the image.","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 from computer":"Upload from computer","Upload image from computer":"Upload image from computer","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,ms.exports=(()=>{var Ti={4959:(Ce,Ne,U)=>{const Te=U(1103),Re={};for(const K of Object.keys(Te))Re[Te[K]]=K;const ae={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"]}};Ce.exports=ae;for(const K of Object.keys(ae)){if(!("channels"in ae[K]))throw new Error("missing channels property: "+K);if(!("labels"in ae[K]))throw new Error("missing channel labels property: "+K);if(ae[K].labels.length!==ae[K].channels)throw new Error("channel and label counts mismatch: "+K);const{channels:te,labels:Ee}=ae[K];delete ae[K].channels,delete ae[K].labels,Object.defineProperty(ae[K],"channels",{value:te}),Object.defineProperty(ae[K],"labels",{value:Ee})}ae.rgb.hsl=function(K){const te=K[0]/255,Ee=K[1]/255,Le=K[2]/255,Ve=Math.min(te,Ee,Le),Je=Math.max(te,Ee,Le),dt=Je-Ve;let bt,Lt;Je===Ve?bt=0:te===Je?bt=(Ee-Le)/dt:Ee===Je?bt=2+(Le-te)/dt:Le===Je&&(bt=4+(te-Ee)/dt),bt=Math.min(60*bt,360),bt<0&&(bt+=360);const ui=(Ve+Je)/2;return Lt=Je===Ve?0:ui<=.5?dt/(Je+Ve):dt/(2-Je-Ve),[bt,100*Lt,100*ui]},ae.rgb.hsv=function(K){let te,Ee,Le,Ve,Je;const dt=K[0]/255,bt=K[1]/255,Lt=K[2]/255,ui=Math.max(dt,bt,Lt),ko=ui-Math.min(dt,bt,Lt),Ut=function(fe){return(ui-fe)/6/ko+.5};return 0===ko?(Ve=0,Je=0):(Je=ko/ui,te=Ut(dt),Ee=Ut(bt),Le=Ut(Lt),dt===ui?Ve=Le-Ee:bt===ui?Ve=.3333333333333333+te-Le:Lt===ui&&(Ve=.6666666666666666+Ee-te),Ve<0?Ve+=1:Ve>1&&(Ve-=1)),[360*Ve,100*Je,100*ui]},ae.rgb.hwb=function(K){const te=K[0],Ee=K[1];let Le=K[2];const Ve=ae.rgb.hsl(K)[0],Je=1/255*Math.min(te,Math.min(Ee,Le));return Le=1-.00392156862745098*Math.max(te,Math.max(Ee,Le)),[Ve,100*Je,100*Le]},ae.rgb.cmyk=function(K){const te=K[0]/255,Ee=K[1]/255,Le=K[2]/255,Ve=Math.min(1-te,1-Ee,1-Le);return[100*((1-te-Ve)/(1-Ve)||0),100*((1-Ee-Ve)/(1-Ve)||0),100*((1-Le-Ve)/(1-Ve)||0),100*Ve]},ae.rgb.keyword=function(K){const te=Re[K];if(te)return te;let Ee,Le=1/0;for(const dt of Object.keys(Te)){const Lt=((Ve=K)[0]-(Je=Te[dt])[0])**2+(Ve[1]-Je[1])**2+(Ve[2]-Je[2])**2;Lt.04045?((te+.055)/1.055)**2.4:te/12.92,Ee=Ee>.04045?((Ee+.055)/1.055)**2.4:Ee/12.92,Le=Le>.04045?((Le+.055)/1.055)**2.4:Le/12.92,[100*(.4124*te+.3576*Ee+.1805*Le),100*(.2126*te+.7152*Ee+.0722*Le),100*(.0193*te+.1192*Ee+.9505*Le)]},ae.rgb.lab=function(K){const te=ae.rgb.xyz(K);let Ee=te[0],Le=te[1],Ve=te[2];return Ee/=95.047,Le/=100,Ve/=108.883,Ee=Ee>.008856?Ee**.3333333333333333:7.787*Ee+.13793103448275862,Le=Le>.008856?Le**.3333333333333333:7.787*Le+.13793103448275862,Ve=Ve>.008856?Ve**.3333333333333333:7.787*Ve+.13793103448275862,[116*Le-16,500*(Ee-Le),200*(Le-Ve)]},ae.hsl.rgb=function(K){const te=K[0]/360,Ee=K[1]/100,Le=K[2]/100;let Ve,Je,dt;if(0===Ee)return dt=255*Le,[dt,dt,dt];Ve=Le<.5?Le*(1+Ee):Le+Ee-Le*Ee;const bt=2*Le-Ve,Lt=[0,0,0];for(let ui=0;ui<3;ui++)Je=te+.3333333333333333*-(ui-1),Je<0&&Je++,Je>1&&Je--,dt=6*Je<1?bt+6*(Ve-bt)*Je:2*Je<1?Ve:3*Je<2?bt+(Ve-bt)*(.6666666666666666-Je)*6:bt,Lt[ui]=255*dt;return Lt},ae.hsl.hsv=function(K){const te=K[0];let Ee=K[1]/100,Le=K[2]/100,Ve=Ee;const Je=Math.max(Le,.01);return Le*=2,Ee*=Le<=1?Le:2-Le,Ve*=Je<=1?Je:2-Je,[te,100*(0===Le?2*Ve/(Je+Ve):2*Ee/(Le+Ee)),(Le+Ee)/2*100]},ae.hsv.rgb=function(K){const te=K[0]/60,Ee=K[1]/100;let Le=K[2]/100;const Ve=Math.floor(te)%6,Je=te-Math.floor(te),dt=255*Le*(1-Ee),bt=255*Le*(1-Ee*Je),Lt=255*Le*(1-Ee*(1-Je));switch(Le*=255,Ve){case 0:return[Le,Lt,dt];case 1:return[bt,Le,dt];case 2:return[dt,Le,Lt];case 3:return[dt,bt,Le];case 4:return[Lt,dt,Le];case 5:return[Le,dt,bt]}},ae.hsv.hsl=function(K){const te=K[0],Ee=K[1]/100,Le=K[2]/100,Ve=Math.max(Le,.01);let Je,dt;dt=(2-Ee)*Le;const bt=(2-Ee)*Ve;return Je=Ee*Ve,Je/=bt<=1?bt:2-bt,Je=Je||0,dt/=2,[te,100*Je,100*dt]},ae.hwb.rgb=function(K){const te=K[0]/360;let Ee=K[1]/100,Le=K[2]/100;const Ve=Ee+Le;let Je;Ve>1&&(Ee/=Ve,Le/=Ve);const dt=Math.floor(6*te),bt=1-Le;Je=6*te-dt,1&dt&&(Je=1-Je);const Lt=Ee+Je*(bt-Ee);let ui,ko,Ut;switch(dt){default:case 6:case 0:ui=bt,ko=Lt,Ut=Ee;break;case 1:ui=Lt,ko=bt,Ut=Ee;break;case 2:ui=Ee,ko=bt,Ut=Lt;break;case 3:ui=Ee,ko=Lt,Ut=bt;break;case 4:ui=Lt,ko=Ee,Ut=bt;break;case 5:ui=bt,ko=Ee,Ut=Lt}return[255*ui,255*ko,255*Ut]},ae.cmyk.rgb=function(K){const Ee=K[1]/100,Le=K[2]/100,Ve=K[3]/100;return[255*(1-Math.min(1,K[0]/100*(1-Ve)+Ve)),255*(1-Math.min(1,Ee*(1-Ve)+Ve)),255*(1-Math.min(1,Le*(1-Ve)+Ve))]},ae.xyz.rgb=function(K){const te=K[0]/100,Ee=K[1]/100,Le=K[2]/100;let Ve,Je,dt;return Ve=3.2406*te+-1.5372*Ee+-.4986*Le,Je=-.9689*te+1.8758*Ee+.0415*Le,dt=.0557*te+-.204*Ee+1.057*Le,Ve=Ve>.0031308?1.055*Ve**.4166666666666667-.055:12.92*Ve,Je=Je>.0031308?1.055*Je**.4166666666666667-.055:12.92*Je,dt=dt>.0031308?1.055*dt**.4166666666666667-.055:12.92*dt,Ve=Math.min(Math.max(0,Ve),1),Je=Math.min(Math.max(0,Je),1),dt=Math.min(Math.max(0,dt),1),[255*Ve,255*Je,255*dt]},ae.xyz.lab=function(K){let te=K[0],Ee=K[1],Le=K[2];return te/=95.047,Ee/=100,Le/=108.883,te=te>.008856?te**.3333333333333333:7.787*te+.13793103448275862,Ee=Ee>.008856?Ee**.3333333333333333:7.787*Ee+.13793103448275862,Le=Le>.008856?Le**.3333333333333333:7.787*Le+.13793103448275862,[116*Ee-16,500*(te-Ee),200*(Ee-Le)]},ae.lab.xyz=function(K){let te,Ee,Le;Ee=(K[0]+16)/116,te=K[1]/500+Ee,Le=Ee-K[2]/200;const Ve=Ee**3,Je=te**3,dt=Le**3;return Ee=Ve>.008856?Ve:(Ee-.13793103448275862)/7.787,te=Je>.008856?Je:(te-.13793103448275862)/7.787,Le=dt>.008856?dt:(Le-.13793103448275862)/7.787,te*=95.047,Ee*=100,Le*=108.883,[te,Ee,Le]},ae.lab.lch=function(K){const te=K[0],Ee=K[1],Le=K[2];let Ve;return Ve=360*Math.atan2(Le,Ee)/2/Math.PI,Ve<0&&(Ve+=360),[te,Math.sqrt(Ee*Ee+Le*Le),Ve]},ae.lch.lab=function(K){const Ee=K[1],Le=K[2]/360*2*Math.PI;return[K[0],Ee*Math.cos(Le),Ee*Math.sin(Le)]},ae.rgb.ansi16=function(K,te=null){const[Ee,Le,Ve]=K;let Je=null===te?ae.rgb.hsv(K)[2]:te;if(Je=Math.round(Je/50),0===Je)return 30;let dt=30+(Math.round(Ve/255)<<2|Math.round(Le/255)<<1|Math.round(Ee/255));return 2===Je&&(dt+=60),dt},ae.hsv.ansi16=function(K){return ae.rgb.ansi16(ae.hsv.rgb(K),K[2])},ae.rgb.ansi256=function(K){const te=K[0],Ee=K[1],Le=K[2];return te===Ee&&Ee===Le?te<8?16:te>248?231:Math.round((te-8)/247*24)+232:16+36*Math.round(te/255*5)+6*Math.round(Ee/255*5)+Math.round(Le/255*5)},ae.ansi16.rgb=function(K){let te=K%10;if(0===te||7===te)return K>50&&(te+=3.5),te=te/10.5*255,[te,te,te];const Ee=.5*(1+~~(K>50));return[(1&te)*Ee*255,(te>>1&1)*Ee*255,(te>>2&1)*Ee*255]},ae.ansi256.rgb=function(K){if(K>=232){const Ee=10*(K-232)+8;return[Ee,Ee,Ee]}let te;return K-=16,[Math.floor(K/36)/5*255,Math.floor((te=K%36)/6)/5*255,te%6/5*255]},ae.rgb.hex=function(K){const te=(((255&Math.round(K[0]))<<16)+((255&Math.round(K[1]))<<8)+(255&Math.round(K[2]))).toString(16).toUpperCase();return"000000".substring(te.length)+te},ae.hex.rgb=function(K){const te=K.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!te)return[0,0,0];let Ee=te[0];3===te[0].length&&(Ee=Ee.split("").map(Ve=>Ve+Ve).join(""));const Le=parseInt(Ee,16);return[Le>>16&255,Le>>8&255,255&Le]},ae.rgb.hcg=function(K){const te=K[0]/255,Ee=K[1]/255,Le=K[2]/255,Ve=Math.max(Math.max(te,Ee),Le),Je=Math.min(Math.min(te,Ee),Le),dt=Ve-Je;let bt,Lt;return bt=dt<1?Je/(1-dt):0,Lt=dt<=0?0:Ve===te?(Ee-Le)/dt%6:Ve===Ee?2+(Le-te)/dt:4+(te-Ee)/dt,Lt/=6,Lt%=1,[360*Lt,100*dt,100*bt]},ae.hsl.hcg=function(K){const te=K[1]/100,Ee=K[2]/100,Le=Ee<.5?2*te*Ee:2*te*(1-Ee);let Ve=0;return Le<1&&(Ve=(Ee-.5*Le)/(1-Le)),[K[0],100*Le,100*Ve]},ae.hsv.hcg=function(K){const Ee=K[2]/100,Le=K[1]/100*Ee;let Ve=0;return Le<1&&(Ve=(Ee-Le)/(1-Le)),[K[0],100*Le,100*Ve]},ae.hcg.rgb=function(K){const Ee=K[1]/100,Le=K[2]/100;if(0===Ee)return[255*Le,255*Le,255*Le];const Ve=[0,0,0],Je=K[0]/360%1*6,dt=Je%1,bt=1-dt;let Lt=0;switch(Math.floor(Je)){case 0:Ve[0]=1,Ve[1]=dt,Ve[2]=0;break;case 1:Ve[0]=bt,Ve[1]=1,Ve[2]=0;break;case 2:Ve[0]=0,Ve[1]=1,Ve[2]=dt;break;case 3:Ve[0]=0,Ve[1]=bt,Ve[2]=1;break;case 4:Ve[0]=dt,Ve[1]=0,Ve[2]=1;break;default:Ve[0]=1,Ve[1]=0,Ve[2]=bt}return Lt=(1-Ee)*Le,[255*(Ee*Ve[0]+Lt),255*(Ee*Ve[1]+Lt),255*(Ee*Ve[2]+Lt)]},ae.hcg.hsv=function(K){const te=K[1]/100,Ee=te+K[2]/100*(1-te);let Le=0;return Ee>0&&(Le=te/Ee),[K[0],100*Le,100*Ee]},ae.hcg.hsl=function(K){const te=K[1]/100,Ee=K[2]/100*(1-te)+.5*te;let Le=0;return Ee>0&&Ee<.5?Le=te/(2*Ee):Ee>=.5&&Ee<1&&(Le=te/(2*(1-Ee))),[K[0],100*Le,100*Ee]},ae.hcg.hwb=function(K){const te=K[1]/100,Ee=te+K[2]/100*(1-te);return[K[0],100*(Ee-te),100*(1-Ee)]},ae.hwb.hcg=function(K){const Ee=1-K[2]/100,Le=Ee-K[1]/100;let Ve=0;return Le<1&&(Ve=(Ee-Le)/(1-Le)),[K[0],100*Le,100*Ve]},ae.apple.rgb=function(K){return[K[0]/65535*255,K[1]/65535*255,K[2]/65535*255]},ae.rgb.apple=function(K){return[K[0]/255*65535,K[1]/255*65535,K[2]/255*65535]},ae.gray.rgb=function(K){return[K[0]/100*255,K[0]/100*255,K[0]/100*255]},ae.gray.hsl=function(K){return[0,0,K[0]]},ae.gray.hsv=ae.gray.hsl,ae.gray.hwb=function(K){return[0,100,K[0]]},ae.gray.cmyk=function(K){return[0,0,0,K[0]]},ae.gray.lab=function(K){return[K[0],0,0]},ae.gray.hex=function(K){const te=255&Math.round(K[0]/100*255),Ee=((te<<16)+(te<<8)+te).toString(16).toUpperCase();return"000000".substring(Ee.length)+Ee},ae.rgb.gray=function(K){return[(K[0]+K[1]+K[2])/3/255*100]}},841:(Ce,Ne,U)=>{const Te=U(4959),Re=U(9325),ae={};Object.keys(Te).forEach(K=>{ae[K]={},Object.defineProperty(ae[K],"channels",{value:Te[K].channels}),Object.defineProperty(ae[K],"labels",{value:Te[K].labels});const te=Re(K);Object.keys(te).forEach(Ee=>{const Le=te[Ee];ae[K][Ee]=function(Ve){const Je=function(...dt){const bt=dt[0];if(null==bt)return bt;bt.length>1&&(dt=bt);const Lt=Ve(dt);if("object"==typeof Lt)for(let ui=Lt.length,ko=0;ko1&&(dt=bt),Ve(dt))};return"conversion"in Ve&&(Je.conversion=Ve.conversion),Je}(Le)})}),Ce.exports=ae},9325:(Ce,Ne,U)=>{const Te=U(4959);function ae(te,Ee){return function(Le){return Ee(te(Le))}}function K(te,Ee){const Le=[Ee[te].parent,te];let Ve=Te[Ee[te].parent][te],Je=Ee[te].parent;for(;Ee[Je].parent;)Le.unshift(Ee[Je].parent),Ve=ae(Te[Ee[Je].parent][Je],Ve),Je=Ee[Je].parent;return Ve.conversion=Le,Ve}Ce.exports=function(te){const Ee=function Re(te){const Ee=function(){const Ve={},Je=Object.keys(Te);for(let dt=Je.length,bt=0;bt{"use strict";Ce.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:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3062:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},443:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,':root{--ck-image-processing-highlight-color:#f9fafa;--ck-image-processing-background-color:#e3e5e8}.ck.ck-editor__editable .image.image-processing{position:relative}.ck.ck-editor__editable .image.image-processing:before{animation:ck-image-processing-animation 2s linear infinite;background:linear-gradient(90deg,var(--ck-image-processing-background-color),var(--ck-image-processing-highlight-color),var(--ck-image-processing-background-color));background-size:200% 100%;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ck.ck-editor__editable .image.image-processing img{height:100%}@keyframes ck-image-processing-animation{0%{background-position:200% 0}to{background-position:-200% 0}}',"",{version:3,sources:["webpack://./../ckeditor5-ckbox/theme/ckboximageedit.css"],names:[],mappings:"AAKA,MAEC,6CAAyD,CACzD,8CACD,CAIE,gDACC,iBA2BD,CAzBC,uDAmBC,0DAA2D,CAR3D,oKAKC,CACD,yBAA0B,CAhB1B,UAAW,CAOX,WAAY,CAHZ,MAAO,CAFP,iBAAkB,CAClB,KAAM,CAKN,UAAW,CAHX,SAcD,CAEA,oDACC,WACD,CAKH,yCACC,GACC,0BACD,CACA,GACC,2BACD,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/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable {\n\t& .image {\n\t\t&.image-processing {\n\t\t\tposition: relative;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n\t\t\t& img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n"],sourceRoot:""}]);const te=K},903:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3143:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4717:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9315:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8733:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3508:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2640:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3535:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-image-insert-url .ck-image-insert-url__action-row{display:grid;grid-template-columns:repeat(2,1fr)}:root{--ck-image-insert-insert-by-url-width:250px}.ck.ck-image-insert-url{--ck-input-width:100%}.ck.ck-image-insert-url .ck-image-insert-url__action-row{grid-column-gap:var(--ck-spacing-large);margin-top:var(--ck-spacing-large)}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-cancel,.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-save{justify-content:center;min-width:auto}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}.ck.ck-image-insert-form>.ck.ck-button{display:block;padding:var(--ck-list-button-padding);width:100%}[dir=ltr] .ck.ck-image-insert-form>.ck.ck-button{text-align:left}[dir=rtl] .ck.ck-image-insert-form>.ck.ck-button{text-align:right}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:last-child){border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible,.ck.ck-image-insert-form>.ck.ck-image-insert-url{min-width:var(--ck-image-insert-insert-by-url-width)}.ck.ck-image-insert-form>.ck.ck-image-insert-url{padding:var(--ck-spacing-large)}.ck.ck-image-insert-form:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsert.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageinsert.css"],names:[],mappings:"AAMC,yDACC,YAAa,CACb,mCACD,CCFD,MACC,2CACD,CAEA,wBACC,qBAgBD,CAdC,yDACC,uCAAwC,CACxC,kCAWD,CATC,oJAEC,sBAAuB,CACvB,cACD,CAEA,sFACC,0BACD,CAKD,uCACC,aAAc,CAEd,qCAAsC,CADtC,UAUD,CAZA,iDAME,eAMF,CAZA,iDAUE,gBAEF,CAGC,8DACC,gDACD,CAEA,6DACC,mDACD,CAMD,6FAJC,oDAOD,CAHA,iDAEC,+BACD,CAEA,+BACC,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-image-insert-url {\n\t& .ck-image-insert-url__action-row {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(2, 1fr);\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-image-insert-insert-by-url-width: 250px;\n}\n\n.ck.ck-image-insert-url {\n\t--ck-input-width: 100%;\n\n\t& .ck-image-insert-url__action-row {\n\t\tgrid-column-gap: var(--ck-spacing-large);\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t\tmin-width: auto;\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\n.ck.ck-image-insert-form {\n\t& > .ck.ck-button {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\tpadding: var(--ck-list-button-padding);\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.ck-collapsible {\n\t\t&:not(:first-child) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t&:not(:last-child) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t}\n\n\t/* This is the case when there are no other integrations configured than insert by URL */\n\t& > .ck.ck-image-insert-url {\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t\tpadding: var(--ck-spacing-large);\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n'],sourceRoot:""}]);const te=K},2873:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-editor__editable img.image_placeholder{background-size:100% 100%}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageplaceholder.css"],names:[],mappings:"AAMC,8CACC,yBACD",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& img.image_placeholder {\n\t\tbackground-size: 100% 100%;\n\t}\n}\n"],sourceRoot:""}]);const te=K},6270:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5083:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4036:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3773:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3689:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},1905:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9773:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2347:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7754:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},111:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5730:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4564:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6082:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2417:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},1199:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4652:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7442:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9292:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7368:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4070:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9247:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},1613:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6306:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2128:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5087:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4101:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3881:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6237:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7341:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6945:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3210:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-aria-live-announcer{left:-10000px;position:absolute;top:-10000px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css"],names:[],mappings:"AAKA,2BAEC,aAAc,CADd,iBAAkB,CAElB,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-aria-live-announcer {\n\tposition: absolute;\n\tleft: -10000px;\n\ttop: -10000px;\n}\n"],sourceRoot:""}]);const te=K},8157:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4906:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .ck.ck-button,[dir=ltr] a.ck.ck-button{justify-content:left}[dir=rtl] .ck.ck-button,[dir=rtl] a.ck.ck-button{justify-content:right}.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:"AAQA,6BAMC,kBAAmB,CADnB,mBAAoB,CADpB,iBAAkB,CCHlB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD0BD,CA9BA,iDASE,oBAqBF,CA9BA,iDAaE,qBAiBF,CAdC,iEACC,YACD,CAGC,yGACC,oBACD,CAID,iFACC,sBACD,CEzBD,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@import "../../mixins/_dir.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\n\t@mixin ck-dir ltr {\n\t\tjustify-content: left;\n\t}\n\n\t@mixin ck-dir rtl {\n\t\tjustify-content: right;\n\t}\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 te=K},5332:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8010:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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-list-button-padding);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:var(--ck-spacing-medium) 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-ui/theme/components/collapsible/collapsible.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/collapsible/collapsible.css"],names:[],mappings:"AAMC,sEACC,YACD,CCHD,MACC,yDACD,CAGC,iCAIC,eAAgB,CAChB,aAAc,CAHd,eAAiB,CACjB,qCAAsC,CAFtC,UAoBD,CAdC,uCACC,sBACD,CAEA,wIACC,sBAAuB,CACvB,wBAAyB,CACzB,eACD,CAEA,0CACC,qCAAsC,CACtC,sCACD,CAGD,6CACC,gFACD,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-list-button-padding);\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: var(--ck-spacing-medium) 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 te=K},6781:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3398:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4157:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5485:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3949:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7686:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7339:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9688:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8847:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.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)}[dir=ltr] .ck.ck-form__header .ck-icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-form__header .ck-icon{margin-left:var(--ck-spacing-medium)}.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,6BAKD,CAHC,8CACC,WACD,CCPD,MACC,4BACD,CAEA,oBAIC,mDAAoD,CAFpD,mCAAoC,CACpC,wCAAyC,CAFzC,uDAkBD,CAbC,uCAEE,qCAMF,CARA,uCAME,oCAEF,CAEA,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& 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@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\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-icon {\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: var(--ck-spacing-medium);\n\t\t}\n\t}\n\n\t& .ck-form__header__label {\n\t\tfont-weight: bold;\n\t}\n}\n'],sourceRoot:""}]);const te=K},8960:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6574:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4879:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3662:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2577:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0;transform:translate(calc(var(--ck-spacing-medium)*-1),-6px) scale(.75);transform-origin:100% 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;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:not(.ck-labeled-field-view_placeholder)>.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:not(.ck-labeled-field-view_placeholder)>.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:not(.ck-labeled-field-view_placeholder)>.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,eD+GD,CA1GA,2FCDE,qCD2GF,CAvGC,mEACC,UAoCD,CAlCC,gFACC,KAgCD,CAjCA,0FAIE,MAAS,CAGT,6DAA+D,CAF/D,oBA4BF,CAjCA,0FAWE,OAAU,CAEV,sEAA0E,CAD1E,uBAqBF,CAjCA,gFAkBC,yDAA0D,CAG1D,eAAmB,CADnB,kBAAoB,CAOpB,cAAe,CAFf,eAAgB,CANhB,2CAA8C,CAH9C,mBAAoB,CAQpB,sBAAuB,CAKvB,+JAID,CAQA,mKACC,gCACD,CAGD,yDACC,mCAAoC,CACpC,kCAAmC,CAInC,kBAKD,CAHC,6FACC,gCACD,CAID,4OAEC,yCACD,CAIA,4WAGE,+HAYF,CAfA,4WAOE,wIAQF,CAfA,wVAaC,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\ttransform-origin: 0 0;\n\t\t\t\t/* By default, display the label scaled down above the field. */\n\t\t\t\ttransform: translate(var(--ck-spacing-medium), -6px) scale(.75);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: 0px;\n\t\t\t\ttransform-origin: 100% 0;\n\t\t\t\ttransform: translate(calc(-1 * var(--ck-spacing-medium)), -6px) scale(.75);\n\t\t\t}\n\n\t\t\tpointer-events: none;\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:not(.ck-labeled-field-view_placeholder) > .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 te=K},1046:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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)}:root{--ck-list-button-padding:calc(var(--ck-line-height-base)*0.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*0.4*var(--ck-font-size-base))}.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;width:100%}[dir=ltr] .ck.ck-list__item .ck-button{text-align:left}[dir=rtl] .ck.ck-list__item .ck-button{text-align:right}.ck.ck-list__item .ck-button{padding:var(--ck-list-button-padding)}.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>.ck-label{font-size:11px;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-medium) 0 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,CEdD,MACC,oJAGD,CAEA,YCLC,eDUD,CALA,+DCDE,qCDMF,CALA,YAIC,0CAA2C,CAD3C,oBAED,CAEA,kBACC,cAAe,CACf,cAgED,CA9DC,6BAGC,eAAgB,CAFhB,gBAAiB,CACjB,UA6CD,CA/CA,uCAME,eAyCF,CA/CA,uCAUE,gBAqCF,CA/CA,6BAgBC,qCA+BD,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,mCACC,cAAe,CACf,eAAiB,CACjB,oFACD,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@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-list-button-padding:\n\t\tcalc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))\n\t\tcalc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));\n}\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\tborder-radius: 0;\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\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: var(--ck-list-button-padding);\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& > .ck-label {\n\t\tfont-size: 11px;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-medium) 0 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 te=K},8793:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4650:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7676:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5868:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6764:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6770:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},498:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8182:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9695:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5542:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3332:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4793:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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-color-light-red:#fcc;--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,oCAAyD,CAIzD,yBAAgD,CC3GhD,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,kCJ2GD,CIrGA,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\t/* -- Generic colors ------------------------------------------------------------------------- */\n\n\t--ck-color-light-red:\t\t\t\t\t\t\t\t\t\thsl(0, 100%, 90%);\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 te=K},3488:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8506:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4921:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2609:Ce=>{"use strict";Ce.exports=function(Ne){var U=[];return U.toString=function(){return this.map(function(Te){var Re=Ne(Te);return Te[2]?"@media ".concat(Te[2]," {").concat(Re,"}"):Re}).join("")},U.i=function(Te,Re,ae){"string"==typeof Te&&(Te=[[null,Te,""]]);var K={};if(ae)for(var te=0;te{"use strict";function U(Te,Re){(null==Re||Re>Te.length)&&(Re=Te.length);for(var ae=0,K=new Array(Re);ae{"use strict";var Te,Ut,ae=(Ut={},function(fe){if(void 0===Ut[fe]){var St=document.querySelector(fe);if(window.HTMLIFrameElement&&St instanceof window.HTMLIFrameElement)try{St=St.contentDocument.head}catch{St=null}Ut[fe]=St}return Ut[fe]}),K=[];function te(Ut){for(var fe=-1,St=0;St{var Ne=Ce&&Ce.__esModule?()=>Ce.default:()=>Ce;return ft.d(Ne,{a:Ne}),Ne},ft.d=(Ce,Ne)=>{for(var U in Ne)ft.o(Ne,U)&&!ft.o(Ce,U)&&Object.defineProperty(Ce,U,{enumerable:!0,get:Ne[U]})},ft.o=(Ce,Ne)=>Object.prototype.hasOwnProperty.call(Ce,Ne),ft.nc=void 0;var _h={};return(()=>{"use strict";function Ce({emitter:g,activator:c,callback:u,contextElements:h}){g.listenTo(document,"mousedown",(m,_)=>{if(!c())return;const b="function"==typeof _.composedPath?_.composedPath():[],w="function"==typeof h?h():h;for(const A of w)if(A.contains(_.target)||b.includes(A))return;u()})}function Ne(g){return class extends g{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...c){super(...c),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function U({view:g}){g.listenTo(g.element,"submit",(c,u)=>{u.preventDefault(),g.fire("submit")},{useCapture:!0})}ft.d(_h,{default:()=>bA});const Te=function(){try{return navigator.userAgent.toLowerCase()}catch{return""}}();var Re;const ae={isMac:K(Te),isWindows:(Re=Te,Re.indexOf("windows")>-1),isGecko:(g=Te,!!g.match(/gecko\/\d+/)),isSafari:function(g){return g.indexOf(" applewebkit/")>-1&&-1===g.indexOf("chrome")}(Te),isiOS:function(g){return!!g.match(/iphone|ipad/i)||K(g)&&navigator.maxTouchPoints>0}(Te),isAndroid:function(g){return g.indexOf("android")>-1}(Te),isBlink:function(g){return g.indexOf("chrome/")>-1&&g.indexOf("edge/")<0}(Te),features:{isRegExpUnicodePropertySupported:function(){let g=!1;try{g=0==="\u0107".search(new RegExp("[\\p{L}]","u"))}catch{}return g}()}};var g;function K(g){return g.indexOf("macintosh")>-1}function te(g,c,u,h){u=u||function(A,M){return A===M};const m=Array.isArray(g)?g:Array.prototype.slice.call(g),_=Array.isArray(c)?c:Array.prototype.slice.call(c),b=function(A,M,R){const O=Ee(A,M,R);if(-1===O)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const W=Ee(Le(A,O),Le(M,O),R);return{firstIndex:O,lastIndexOld:A.length-W,lastIndexNew:M.length-W}}(m,_,u);return h?function(A,M){const{firstIndex:R,lastIndexOld:O,lastIndexNew:N}=A;if(-1===R)return Array(M).fill("equal");let V=[];return R>0&&(V=V.concat(Array(R).fill("equal"))),N-R>0&&(V=V.concat(Array(N-R).fill("insert"))),O-R>0&&(V=V.concat(Array(O-R).fill("delete"))),N0&&R.push({index:O,type:"insert",values:A.slice(O,V)}),N-O>0&&R.push({index:O+(V-O),type:"delete",howMany:N-O}),R}(_,b)}function Ee(g,c,u){for(let h=0;h200||m>200||h+m>300)return Ve.fastDiff(g,c,u,!0);let _,b;if(mhe?-1:1;R[Y+Me]&&(R[Y]=R[Y+Me].slice(0)),R[Y]||(R[Y]=[]),R[Y].push(ne>he?_:b);let qe=Math.max(ne,he),kt=qe-Y;for(;ktM;V--)O[V]=N(V);O[M]=N(M),W++}while(O[M]!==A);return R[M].slice(1)}Ve.fastDiff=te;class dt{constructor(c,u){this.source=c,this.name=u,this.path=[],this.stop=function g(){g.called=!0},this.off=function g(){g.called=!0}}}const bt=new Array(256).fill("").map((g,c)=>("0"+c.toString(16)).slice(-2));function Lt(){const g=4294967296*Math.random()>>>0,c=4294967296*Math.random()>>>0,u=4294967296*Math.random()>>>0,h=4294967296*Math.random()>>>0;return"e"+bt[g>>0&255]+bt[g>>8&255]+bt[g>>16&255]+bt[g>>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]+bt[h>>0&255]+bt[h>>8&255]+bt[h>>16&255]+bt[h>>24&255]}const ui={get(g="normal"){return"number"!=typeof g?this[g]||this.normal:g},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function ko(g,c){const u=ui.get(c.priority);for(let h=0;h{if("object"==typeof O&&null!==O){if(b.has(O))return`[object ${O.constructor.name}]`;b.add(O)}return O})}`:"")+En(m)}(c,h)),this.name="CKEditorError",this.context=u,this.data=h}is(c){return"CKEditorError"===c}static rethrowUnexpectedError(c,u){if(c.is&&c.is("CKEditorError"))throw c;const h=new fe(c.message,u);throw h.stack=c.stack,h}}function St(g,c){console.warn(...Vn(g,c))}function on(g,c){console.error(...Vn(g,c))}function En(g){return`\nRead more: ${Ut}#error-${g}`}function Vn(g,c){const u=En(g);return c?[g,c,u]:[g,u]}const Ks=new Date(2023,11,12);if(globalThis.CKEDITOR_VERSION)throw new fe("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION="40.2.0";const Do=Symbol("listeningTo"),Qa=Symbol("emitterId"),Ys=Symbol("delegations"),_n=vn(Object);function vn(g){return g?class extends g{on(c,u,h){this.listenTo(this,c,u,h)}once(c,u,h){let m=!1;this.listenTo(this,c,(_,...b)=>{m||(m=!0,_.off(),u.call(this,_,...b))},h)}off(c,u){this.stopListening(this,c,u)}listenTo(c,u,h,m={}){let _,b;this[Do]||(this[Do]={});const w=this[Do];cg(c)||jb(c);const A=cg(c);var R,O,N,V;(_=w[A])||(_=w[A]={emitter:c,callbacks:{}}),(b=_.callbacks[u])||(b=_.callbacks[u]=[]),b.push(h),O=u,N=h,V=m,(R=c)._addEventListener?R._addEventListener(O,N,V):this._addEventListener.call(R,O,N,V)}stopListening(c,u,h){const m=this[Do];let _=c&&cg(c);const b=m&&_?m[_]:void 0,w=b&&u?b.callbacks[u]:void 0;if(!(!m||c&&!b||u&&!w))if(h)Cn(this,c,u,h),-1!==w.indexOf(h)&&(1===w.length?delete b.callbacks[u]:Cn(this,c,u,h));else if(w){for(;h=w.pop();)Cn(this,c,u,h);delete b.callbacks[u]}else if(b){for(u in b.callbacks)this.stopListening(c,u);delete m[_]}else{for(_ in m)this.stopListening(m[_].emitter);delete this[Do]}}fire(c,...u){try{const h=c instanceof dt?c:new dt(this,c),m=h.name;let _=gd(this,m);if(h.path.push(this),_){const w=[h,...u];_=Array.from(_);for(let A=0;A<_.length&&(_[A].callback.apply(this,w),h.off.called&&(delete h.off.called,this._removeEventListener(m,_[A].callback)),!h.stop.called);A++);}const b=this[Ys];if(b){const w=b.get(m),A=b.get("*");w&&Rf(w,h,u),A&&Rf(A,h,u)}return h.return}catch(h){fe.rethrowUnexpectedError(h,this)}}delegate(...c){return{to:(u,h)=>{this[Ys]||(this[Ys]=new Map),c.forEach(m=>{const _=this[Ys].get(m);_?_.set(u,h):this[Ys].set(m,new Map([[u,h]]))})}}}stopDelegating(c,u){if(this[Ys])if(c)if(u){const h=this[Ys].get(c);h&&h.delete(u)}else this[Ys].delete(c);else this[Ys].clear()}_addEventListener(c,u,h){!function(b,w){const A=$b(b);if(A[w])return;let M=w,R=null;const O=[];for(;""!==M&&!A[M];)A[M]={callbacks:[],childEvents:[]},O.push(A[M]),R&&A[M].childEvents.push(R),R=M,M=M.substr(0,M.lastIndexOf(":"));if(""!==M){for(const N of O)N.callbacks=A[M].callbacks.slice();A[M].childEvents.push(R)}}(this,c);const m=Ge(this,c),_={callback:u,priority:ui.get(h.priority)};for(const b of m)ko(b,_)}_removeEventListener(c,u){const h=Ge(this,c);for(const m of h)for(let _=0;_-1?gd(g,c.substr(0,c.lastIndexOf(":"))):null}function Rf(g,c,u){for(let[h,m]of g){m?"function"==typeof m&&(m=m(c.name)):m=c.name;const _=new dt(c.source,m);_.path=[...c.path],h.fire(_,...u)}}function Cn(g,c,u,h){c._removeEventListener?c._removeEventListener(u,h):g._removeEventListener.call(c,u,h)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(g=>{vn[g]=_n.prototype[g]});const qt=function(g){var c=typeof g;return null!=g&&("object"==c||"function"==c)},dg=Symbol("observableProperties"),Rt=Symbol("boundObservables"),Sa=Symbol("boundProperties"),lo=Symbol("decoratedMethods"),Hr=Symbol("decoratedOriginal"),vh=_t(vn());function _t(g){return g?class extends g{set(c,u){if(qt(c))return void Object.keys(c).forEach(m=>{this.set(m,c[m])},this);Jl(this);const h=this[dg];if(c in this&&!h.has(c))throw new fe("observable-set-cannot-override",this);Object.defineProperty(this,c,{enumerable:!0,configurable:!0,get:()=>h.get(c),set(m){const _=h.get(c);let b=this.fire(`set:${c}`,c,m,_);void 0===b&&(b=m),_===b&&h.has(c)||(h.set(c,b),this.fire(`change:${c}`,c,b,_))}}),this[c]=u}bind(...c){if(!c.length||!yl(c))throw new fe("observable-bind-wrong-properties",this);if(new Set(c).size!==c.length)throw new fe("observable-bind-duplicate-properties",this);Jl(this);const u=this[Sa];c.forEach(m=>{if(u.has(m))throw new fe("observable-bind-rebind",this)});const h=new Map;return c.forEach(m=>{const _={property:m,to:[]};u.set(m,_),h.set(m,_)}),{to:ug,toMany:hg,_observable:this,_bindProperties:c,_to:[],_bindings:h}}unbind(...c){if(!this[dg])return;const u=this[Sa],h=this[Rt];if(c.length){if(!yl(c))throw new fe("observable-unbind-wrong-properties",this);c.forEach(m=>{const _=u.get(m);_&&(_.to.forEach(([b,w])=>{const A=h.get(b),M=A[w];M.delete(_),M.size||delete A[w],Object.keys(A).length||(h.delete(b),this.stopListening(b,"change"))}),u.delete(m))})}else h.forEach((m,_)=>{this.stopListening(_,"change")}),h.clear(),u.clear()}decorate(c){Jl(this);const u=this[c];if(!u)throw new fe("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:c});this.on(c,(h,m)=>{h.return=u.apply(this,m)}),this[c]=function(...h){return this.fire(c,h)},this[c][Hr]=u,this[lo]||(this[lo]=[]),this[lo].push(c)}stopListening(c,u,h){if(!c&&this[lo]){for(const m of this[lo])this[m]=this[m][Hr];delete this[lo]}super.stopListening(c,u,h)}}:vh}function Jl(g){g[dg]||(Object.defineProperty(g,dg,{value:new Map}),Object.defineProperty(g,Rt,{value:new Map}),Object.defineProperty(g,Sa,{value:new Map}))}function ug(...g){const c=function(..._){if(!_.length)throw new fe("observable-bind-to-parse-error",null);const b={to:[]};let w;return"function"==typeof _[_.length-1]&&(b.callback=_.pop()),_.forEach(A=>{if("string"==typeof A)w.properties.push(A);else{if("object"!=typeof A)throw new fe("observable-bind-to-parse-error",null);w={observable:A,properties:[]},b.to.push(w)}}),b}(...g),u=Array.from(this._bindings.keys()),h=u.length;if(!c.callback&&c.to.length>1)throw new fe("observable-bind-to-no-callback",this);if(h>1&&c.callback)throw new fe("observable-bind-to-extra-callback",this);var m;c.to.forEach(_=>{if(_.properties.length&&_.properties.length!==h)throw new fe("observable-bind-to-properties-length",this);_.properties.length||(_.properties=this._bindProperties)}),this._to=c.to,c.callback&&(this._bindings.get(u[0]).callback=c.callback),m=this._observable,this._to.forEach(_=>{const b=m[Rt];let w;b.get(_.observable)||m.listenTo(_.observable,"change",(A,M)=>{w=b.get(_.observable)[M],w&&w.forEach(R=>{md(m,R.property)})})}),function(_){let b;_._bindings.forEach((w,A)=>{_._to.forEach(M=>{b=M.properties[w.callback?0:_._bindProperties.indexOf(A)],w.to.push([M.observable,b]),function(R,O,N,V){const W=R[Rt],Y=W.get(N),ne=Y||{};ne[V]||(ne[V]=new Set),ne[V].add(O),Y||W.set(N,ne)}(_._observable,w,M.observable,b)})})}(this),this._bindProperties.forEach(_=>{md(this._observable,_)})}function hg(g,c,u){if(this._bindings.size>1)throw new fe("observable-bind-to-many-not-one-binding",this);this.to(...function(h,m){const _=h.map(b=>[b,m]);return Array.prototype.concat.apply([],_)}(g,c),u)}function yl(g){return g.every(c=>"string"==typeof c)}function md(g,c){const u=g[Sa].get(c);let h;u.callback?h=u.callback.apply(g,u.to.map(m=>m[0][m[1]])):(h=u.to[0],h=h[0][h[1]]),Object.prototype.hasOwnProperty.call(g,c)?g[c]=h:g.set(c,h)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(g=>{_t[g]=vh.prototype[g]});class Ub{constructor(){this._replacedElements=[]}replace(c,u){this._replacedElements.push({element:c,newElement:u}),c.style.display="none",u&&c.parentNode.insertBefore(u,c.nextSibling)}restore(){this._replacedElements.forEach(({element:c,newElement:u})=>{c.style.display="",u&&u.remove()}),this._replacedElements=[]}}function bh(g){let c=0;for(const u of g)c++;return c}function Dr(g,c){const u=Math.min(g.length,c.length);for(let h=0;h-1},Rc.prototype.set=function(g,c){var u=this.__data__,h=wh(u,g);return h<0?(++this.size,u.push([g,c])):u[h][1]=c,this};const pg=Rc,Zr=function(g){if(!qt(g))return!1;var c=Mc(g);return"[object Function]"==c||"[object GeneratorFunction]"==c||"[object AsyncFunction]"==c||"[object Proxy]"==c},gg=Ta["__core-js_shared__"];var vo=function(){var g=/[^.]+$/.exec(gg&&gg.keys&&gg.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}(),Jr=Function.prototype.toString;const wl=function(g){if(null!=g){try{return Jr.call(g)}catch{}try{return g+""}catch{}}return""};var mg=/^\[object .+?Constructor\]$/,Ra=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const _s=function(g,c){var u=function(g,c){return g?.[c]}(g,c);return function(g){return!(!qt(g)||function(g){return!!vo&&vo in g}(g))&&(Zr(g)?Ra:mg).test(wl(g))}(u)?u:void 0},ic=_s(Ta,"Map"),Ms=_s(Object,"create");var dy=Object.prototype.hasOwnProperty,wn=Object.prototype.hasOwnProperty;function Dt(g){var c=-1,u=null==g?0:g.length;for(this.clear();++c-1&&g%1==0&&g-1&&g%1==0&&g<=9007199254740991};var Io={};Io["[object Float32Array]"]=Io["[object Float64Array]"]=Io["[object Int8Array]"]=Io["[object Int16Array]"]=Io["[object Int32Array]"]=Io["[object Uint8Array]"]=Io["[object Uint8ClampedArray]"]=Io["[object Uint16Array]"]=Io["[object Uint32Array]"]=!0,Io["[object Arguments]"]=Io["[object Array]"]=Io["[object ArrayBuffer]"]=Io["[object Boolean]"]=Io["[object DataView]"]=Io["[object Date]"]=Io["[object Error]"]=Io["[object Function]"]=Io["[object Map]"]=Io["[object Number]"]=Io["[object Object]"]=Io["[object RegExp]"]=Io["[object Set]"]=Io["[object String]"]=Io["[object WeakMap]"]=!1;const Ix=function(g){return function(c){return g(c)}};var iL=Ya&&!Ya.nodeType&&Ya,Rs=iL&&ms&&!ms.nodeType&&ms,Zt=Rs&&Rs.exports===iL&&Wb.process;const Vf=function(){try{return Rs&&Rs.require&&Rs.require("util").types||Zt&&Zt.binding&&Zt.binding("util")}catch{}}();var nL=Vf&&Vf.isTypedArray;const gT=nL?Ix(nL):function(g){return Ea(g)&&tL(g.length)&&!!Io[Mc(g)]};var He=Object.prototype.hasOwnProperty;const oL=function(g,c){var u=fs(g),h=!u&&Xs(g),m=!u&&!h&&uy(g),_=!u&&!h&&!m&&gT(g),b=u||h||m||_,w=b?function(g,c){for(var u=-1,h=Array(g);++u{this._setToTarget(c,m,u[m],h)})}}function $x(g){return jx(g,fL)}function fL(g){return vs(g)||"function"==typeof g?g:void 0}function wu(g){if(g){if(g.defaultView)return g instanceof g.defaultView.Document;if(g.ownerDocument&&g.ownerDocument.defaultView)return g instanceof g.ownerDocument.defaultView.Node}return!1}function vy(g){const c=Object.prototype.toString.apply(g);return"[object Window]"==c||"[object global]"==c}const IT=Za(vn());function Za(g){return g?class extends g{listenTo(c,u,h,m={}){if(wu(c)||vy(c)){const _={capture:!!m.useCapture,passive:!!m.usePassive},b=this._getProxyEmitter(c,_)||new _L(c,_);this.listenTo(b,u,h,m)}else super.listenTo(c,u,h,m)}stopListening(c,u,h){if(wu(c)||vy(c)){const m=this._getAllProxyEmitters(c);for(const _ of m)this.stopListening(_,u,h)}else super.stopListening(c,u,h)}_getProxyEmitter(c,u){return function(h,m){const _=h[Do];return _&&_[m]?_[m].emitter:null}(this,ST(c,u))}_getAllProxyEmitters(c){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map(u=>this._getProxyEmitter(c,u)).filter(u=>!!u)}}:IT}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(g=>{Za[g]=IT.prototype[g]});class _L extends(vn()){constructor(c,u){super(),jb(this,ST(c,u)),this._domNode=c,this._options=u}attach(c){if(this._domListeners&&this._domListeners[c])return;const u=this._createDomListener(c);this._domNode.addEventListener(c,u,this._options),this._domListeners||(this._domListeners={}),this._domListeners[c]=u}detach(c){let u;!this._domListeners[c]||(u=this._events[c])&&u.callbacks.length||this._domListeners[c].removeListener()}_addEventListener(c,u,h){this.attach(c),vn().prototype._addEventListener.call(this,c,u,h)}_removeEventListener(c,u){vn().prototype._removeEventListener.call(this,c,u),this.detach(c)}_createDomListener(c){const u=h=>{this.fire(c,h)};return u.removeListener=()=>{this._domNode.removeEventListener(c,u,this._options),delete this._domListeners[c]},u}}function ST(g,c){let u=(h=g)["data-ck-expando"]||(h["data-ck-expando"]=Lt());var h;for(const h of Object.keys(c).sort())c[h]&&(u+="-"+h);return u}let Ux;try{Ux={window,document}}catch{Ux={window:{},document:{}}}const de=Ux;function Ir(g){return"[object Text]"==Object.prototype.toString.call(g)}function by(g){return"[object Range]"==Object.prototype.toString.apply(g)}function TT(g){const c=g.ownerDocument.defaultView.getComputedStyle(g);return{top:parseInt(c.borderTopWidth,10),right:parseInt(c.borderRightWidth,10),bottom:parseInt(c.borderBottomWidth,10),left:parseInt(c.borderLeftWidth,10)}}function Ht(g){return g&&g.parentNode?g.offsetParent===de.document.body?null:g.offsetParent:null}const ET=["top","right","bottom","left","width","height"];class un{constructor(c){const u=by(c);if(Object.defineProperty(this,"_source",{value:c._source||c,writable:!0,enumerable:!1}),Xi(c)||u)if(u){const h=un.getDomRangeRects(c);re(this,un.getBoundingRect(h))}else re(this,c.getBoundingClientRect());else if(vy(c)){const{innerWidth:h,innerHeight:m}=c;re(this,{top:0,right:h,bottom:m,left:0,width:h,height:m})}else re(this,c)}clone(){return new un(this)}moveTo(c,u){return this.top=u,this.right=c+this.width,this.bottom=u+this.height,this.left=c,this}moveBy(c,u){return this.top+=u,this.right+=c,this.left+=c,this.bottom+=u,this}getIntersection(c){const u={top:Math.max(this.top,c.top),right:Math.min(this.right,c.right),bottom:Math.min(this.bottom,c.bottom),left:Math.max(this.left,c.left),width:0,height:0};if(u.width=u.right-u.left,u.height=u.bottom-u.top,u.width<0||u.height<0)return null;{const h=new un(u);return h._source=this._source,h}}getIntersectionArea(c){const u=this.getIntersection(c);return u?u.getArea():0}getArea(){return this.width*this.height}getVisible(){const c=this._source;let u=this.clone();if(Pt(c))return u;let h,m=c,_=c.parentNode||c.commonAncestorContainer;for(;_&&!Pt(_);){const w="visible"===((b=_)instanceof HTMLElement?b.ownerDocument.defaultView.getComputedStyle(b).overflow:"visible");m instanceof HTMLElement&&"absolute"===es(m)&&(h=m);const A=es(_);if(w||h&&("relative"===A&&w||"relative"!==A)){m=_,_=_.parentNode;continue}const M=new un(_),R=u.getIntersection(M);if(!R)return null;R.getArea(){for(const c of g){const u=sn._getElementCallbacks(c.target);if(u)for(const h of u)h(c)}})}};let Nc=sn;function Pa(g,c){g instanceof HTMLTextAreaElement&&(g.value=c),g.innerHTML=c}function wd(g){return c=>c+g}function $f(g){let c=0;for(;g.previousSibling;)g=g.previousSibling,c++;return c}function Uf(g,c,u){g.insertBefore(u,g.childNodes[c]||null)}function Wf(g){return g&&g.nodeType===Node.COMMENT_NODE}function Th(g){return!!(g&&g.getClientRects&&g.getClientRects().length)}Nc._observerInstance=null,Nc._elementCallbacks=null;var Yo=Math.pow;function Ot({element:g,target:c,positions:u,limiter:h,fitInViewport:m,viewportOffsetConfig:_}){Zr(c)&&(c=c()),Zr(h)&&(h=h());const b=Ht(g),w=function(N){N=Object.assign({top:0,bottom:0,left:0,right:0},N);const V=new un(de.window);return V.top+=N.top,V.height-=N.top,V.bottom-=N.bottom,V.height-=N.bottom,V}(_),A=new un(g),M=Ci(c,w);let R;if(!M||!w.getIntersection(M))return null;const O={targetRect:M,elementRect:A,positionedElementAncestor:b,viewportRect:w};if(h||m){if(h){const N=Ci(h,w);N&&(O.limiterRect=N)}R=function(N,V){const{elementRect:W}=V,Y=W.getArea(),ne=N.map(qe=>new So(qe,V)).filter(qe=>!!qe.name);let he=0,Me=null;for(const qe of ne){const{limiterIntersectionArea:kt,viewportIntersectionArea:$t}=qe;if(kt===Y)return qe;const tn=Yo($t,2)+Yo(kt,2);tn>he&&(he=tn,Me=qe)}return Me}(u,O)}else R=new So(u[0],O);return R}function Ci(g,c){const u=new un(g).getVisible();return u?u.getIntersection(c):null}class So{constructor(c,u){const h=c(u.targetRect,u.elementRect,u.viewportRect,u.limiterRect);if(!h)return;const{left:m,top:_,name:b,config:w}=h;this.name=b,this.config=w,this._positioningFunctionCoordinates={left:m,top:_},this._options=u}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const c=this._options.limiterRect;return c?c.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 kl(g){const c=g.parentNode;c&&c.removeChild(g)}function qf({window:g,rect:c,alignToTop:u,forceScroll:h,viewportOffset:m}){const _=c.clone().moveBy(0,m.bottom),b=c.clone().moveBy(0,-m.top),w=new un(g).excludeScrollbarsAndBorders(),A=u&&h,M=[b,_].every(W=>w.contains(W));let{scrollX:R,scrollY:O}=g;const N=R,V=O;A?O-=w.top-c.top+m.top:M||(cr(b,w)?O-=w.top-c.top+m.top:Eh(_,w)&&(O+=u?c.top-w.top-m.top:c.bottom-w.bottom+m.bottom)),M||(xd(c,w)?R-=w.left-c.left+m.left:Mh(c,w)&&(R+=c.right-w.right+m.right)),R==N&&O===V||g.scrollTo(R,O)}function Ps({parent:g,getRect:c,alignToTop:u,forceScroll:h,ancestorOffset:m=0,limiterElement:_}){const b=li(g),w=u&&h;let A,M,R;const O=_||b.document.body;for(;g!=O;)M=c(),A=new un(g).excludeScrollbarsAndBorders(),R=A.contains(M),w?g.scrollTop-=A.top-M.top+m:R||(cr(M,A)?g.scrollTop-=A.top-M.top+m:Eh(M,A)&&(g.scrollTop+=u?M.top-A.top-m:M.bottom-A.bottom+m)),R||(xd(M,A)?g.scrollLeft-=A.left-M.left+m:Mh(M,A)&&(g.scrollLeft+=M.right-A.right+m)),g=g.parentNode}function Eh(g,c){return g.bottom>c.bottom}function cr(g,c){return g.topc.right}function li(g){return by(g)?g.startContainer.ownerDocument.defaultView:g.ownerDocument.defaultView}function Kf(g){if(by(g)){let c=g.commonAncestorContainer;return Ir(c)&&(c=c.parentNode),c}return g.parentNode}function Wx(g,c){const u=li(g),h=new un(g);if(u===c)return h;{let m=u;for(;m!=c;){const b=new un(m.frameElement).excludeScrollbarsAndBorders();h.moveBy(b.left,b.top),m=m.parent}}return h}const xg={ctrl:"\u2303",cmd:"\u2318",alt:"\u2325",shift:"\u21e7"},pr={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},zi=function(){const g={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 c=65;c<=90;c++)g[String.fromCharCode(c).toLowerCase()]=c;for(let c=48;c<=57;c++)g[c-48]=c;for(let c=112;c<=123;c++)g["f"+(c-111)]=c;for(const c of"`-=[];',./\\")g[c]=c.charCodeAt(0);return g}(),kg=Object.fromEntries(Object.entries(zi).map(([g,c])=>[c,g.charAt(0).toUpperCase()+g.slice(1)]));function Js(g){let c;if("string"==typeof g){if(c=zi[g.toLowerCase()],!c)throw new fe("keyboard-unknown-key",null,{key:g})}else c=g.keyCode+(g.altKey?zi.alt:0)+(g.ctrlKey?zi.ctrl:0)+(g.shiftKey?zi.shift:0)+(g.metaKey?zi.cmd:0);return c}function kd(g){return"string"==typeof g&&(g=g.split("+").map(u=>u.trim())),g.map(c=>"string"==typeof c?function(u){if(u.endsWith("!"))return Js(u.slice(0,-1));const h=Js(u);return(ae.isMac||ae.isiOS)&&h==zi.ctrl?zi.cmd:h}(c):c).reduce((c,u)=>u+c,0)}function qx(g){let c=kd(g);return Object.entries(ae.isMac||ae.isiOS?xg:pr).reduce((u,[h,m])=>(c&zi[h]&&(c&=~zi[h],u+=m),u),"")+(c?kg[c]:"")}function Lc(g,c){const u="ltr"===c;switch(g){case zi.arrowleft:return u?"left":"right";case zi.arrowright:return u?"right":"left";case zi.arrowup:return"up";case zi.arrowdown:return"down"}}function ho(g){return Array.isArray(g)?g:[g]}de.window.CKEDITOR_TRANSLATIONS||(de.window.CKEDITOR_TRANSLATIONS={});const Qf=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function Hi(g){return Qf.includes(g)?"rtl":"ltr"}class mW{constructor({uiLanguage:c="en",contentLanguage:u}={}){this.uiLanguage=c,this.contentLanguage=u||this.uiLanguage,this.uiLanguageDirection=Hi(this.uiLanguage),this.contentLanguageDirection=Hi(this.contentLanguage),this.t=(h,m)=>this._t(h,m)}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(c,u=[]){return u=ho(u),"string"==typeof c&&(c={string:c}),m=function Yf(g,c,u=1){if("number"!=typeof u)throw new fe("translation-service-quantity-not-a-number",null,{quantity:u});const h=Object.keys(de.window.CKEDITOR_TRANSLATIONS).length;1===h&&(g=Object.keys(de.window.CKEDITOR_TRANSLATIONS)[0]);const m=c.id||c.string;if(0===h||!de.window.CKEDITOR_TRANSLATIONS[A=g]||!de.window.CKEDITOR_TRANSLATIONS[A].dictionary[m])return 1!==u?c.plural:c.string;var A;const b=de.window.CKEDITOR_TRANSLATIONS[g].getPluralForm||(A=>1===A?0:1),w=de.window.CKEDITOR_TRANSLATIONS[g].dictionary[m];return"string"==typeof w?w:w[Number(b(u))]}(this.uiLanguage,c,c.plural?u[0]:1),_=u,m.replace(/%(\d+)/g,(b,w)=>w<_.length?_[w]:b);var m,_}}class Oa extends(vn()){constructor(c={},u={}){super();const h=Zn(c);if(h||(u=c),this._items=[],this._itemMap=new Map,this._idProperty=u.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],h)for(const m of c)this._items.push(m),this._itemMap.set(this._getItemIdBeforeAdding(m),m)}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(c,u){return this.addMany([c],u)}addMany(c,u){if(void 0===u)u=this._items.length;else if(u>this._items.length||u<0)throw new fe("collection-add-item-invalid-index",this);let h=0;for(const m of c){const _=this._getItemIdBeforeAdding(m),b=u+h;this._items.splice(b,0,m),this._itemMap.set(_,m),this.fire("add",m,b),h++}return this.fire("change",{added:c,removed:[],index:u}),this}get(c){let u;if("string"==typeof c)u=this._itemMap.get(c);else{if("number"!=typeof c)throw new fe("collection-get-invalid-arg",this);u=this._items[c]}return u||null}has(c){if("string"==typeof c)return this._itemMap.has(c);{const u=c[this._idProperty];return u&&this._itemMap.has(u)}}getIndex(c){let u;return u="string"==typeof c?this._itemMap.get(c):c,u?this._items.indexOf(u):-1}remove(c){const[u,h]=this._remove(c);return this.fire("change",{added:[],removed:[u],index:h}),u}map(c,u){return this._items.map(c,u)}forEach(c,u){this._items.forEach(c,u)}find(c,u){return this._items.find(c,u)}filter(c,u){return this._items.filter(c,u)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const c=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:c,index:0})}bindTo(c){if(this._bindToCollection)throw new fe("collection-bind-to-rebind",this);return this._bindToCollection=c,{as:u=>{this._setUpBindToBinding(h=>new u(h))},using:u=>{this._setUpBindToBinding("function"==typeof u?u:h=>h[u])}}}_setUpBindToBinding(c){const u=this._bindToCollection,h=(m,_,b)=>{const w=u._bindToCollection==this,A=u._bindToInternalToExternalMap.get(_);if(w&&A)this._bindToExternalToInternalMap.set(_,A),this._bindToInternalToExternalMap.set(A,_);else{const M=c(_);if(!M)return void this._skippedIndexesFromExternal.push(b);let R=b;for(const O of this._skippedIndexesFromExternal)b>O&&R--;for(const O of u._skippedIndexesFromExternal)R>=O&&R++;this._bindToExternalToInternalMap.set(_,M),this._bindToInternalToExternalMap.set(M,_),this.add(M,R);for(let O=0;O{const w=this._bindToExternalToInternalMap.get(_);w&&this.remove(w),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((A,M)=>(bM&&A.push(M),A),[])})}_getItemIdBeforeAdding(c){const u=this._idProperty;let h;if(u in c){if(h=c[u],"string"!=typeof h)throw new fe("collection-add-invalid-id",this);if(this.get(h))throw new fe("collection-add-item-already-exists",this)}else c[u]=h=Lt();return h}_remove(c){let u,h,m,_=!1;const b=this._idProperty;if("string"==typeof c?(h=c,m=this._itemMap.get(h),_=!m,m&&(u=this._items.indexOf(m))):"number"==typeof c?(u=c,m=this._items[u],_=!m,m&&(h=m[b])):(m=c,h=m[b],u=this._items.indexOf(m),_=-1==u||!this._itemMap.get(h)),_)throw new fe("collection-remove-404",this);this._items.splice(u,1),this._itemMap.delete(h);const w=this._bindToInternalToExternalMap.get(m);return this._bindToInternalToExternalMap.delete(m),this._bindToExternalToInternalMap.delete(w),this.fire("remove",m,u),[m,u]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function gr(g){const c=g.next();return c.done?null:c.value}class Bo extends(Za(_t())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(c){if(this._elements.has(c))throw new fe("focustracker-add-element-already-exist",this);this.listenTo(c,"focus",()=>this._focus(c),{useCapture:!0}),this.listenTo(c,"blur",()=>this._blur(),{useCapture:!0}),this._elements.add(c)}remove(c){c===this.focusedElement&&this._blur(),this._elements.has(c)&&(this.stopListening(c),this._elements.delete(c))}destroy(){this.stopListening()}_focus(c){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=c,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout(()=>{this.focusedElement=null,this.isFocused=!1},0)}}class ea{constructor(){this._listener=new(Za())}listenTo(c){this._listener.listenTo(c,"keydown",(u,h)=>{this._listener.fire("_keydown:"+Js(h),h)})}set(c,u,h={}){const m=kd(c);this._listener.listenTo(this._listener,"_keydown:"+m,(b,w)=>{u(w,()=>{w.preventDefault(),w.stopPropagation(),b.stop()}),b.return=!0},{priority:h.priority})}press(c){return!!this._listener.fire("_keydown:"+Js(c),c)}stopListening(c){this._listener.stopListening(c)}destroy(){this.stopListening()}}function ta(g){return Zn(g)?new Map(g):function(c){const u=new Map;for(const h in c)u.set(h,c[h]);return u}(g)}function Rh(g,c){let u;function h(...m){h.cancel(),u=setTimeout(()=>g(...m),c)}return h.cancel=()=>{clearTimeout(u)},h}function Gr(g,c){return!!(u=g.charAt(c-1))&&1==u.length&&/[\ud800-\udbff]/.test(u)&&!!(h=g.charAt(c))&&1==h.length&&/[\udc00-\udfff]/.test(h);var h,u}function MT(g,c){return!!(u=g.charAt(c))&&1==u.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(u);var u}const Fa=function(){const g=[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")],c=new RegExp("\\p{Regional_Indicator}{2}","u").source,u="(?:"+g.map(h=>h.source).join("|")+")";return new RegExp(`${c}|${u}(?:\u200d${u})*`,"ug")}();function Os(g,c){const u=String(g).matchAll(Fa);return Array.from(u).some(h=>h.index{this._renderViewIntoCollectionParent(h,m)}),this.on("remove",(u,h)=>{h.element&&this._parentElement&&h.element.remove()}),this._parentElement=null}destroy(){this.map(c=>c.destroy())}setParent(c){this._parentElement=c;for(const u of this)this._renderViewIntoCollectionParent(u)}delegate(...c){if(!c.length||!c.every(u=>"string"==typeof u))throw new fe("ui-viewcollection-delegate-wrong-events",this);return{to:u=>{for(const h of this)for(const m of c)h.delegate(m).to(u);this.on("add",(h,m)=>{for(const _ of c)m.delegate(_).to(u)}),this.on("remove",(h,m)=>{for(const _ of c)m.stopDelegating(_,u)})}}}_renderViewIntoCollectionParent(c,u){c.isRendered||c.render(),c.element&&this._parentElement&&this._parentElement.insertBefore(c.element,this._parentElement.children[u])}remove(c){return super.remove(c)}}var Ph=ft(6062),At=ft.n(Ph),Al=ft(4793);At()(Al.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class gi extends(Za(_t())){constructor(c){super(),this.element=null,this.isRendered=!1,this.locale=c,this.t=c&&c.t,this._viewCollections=new Oa,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(u,h)=>{h.locale=c,h.t=c&&c.t}),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=rc.bind(this,this)}createCollection(c){const u=new Dl(c);return this._viewCollections.add(u),u}registerChild(c){Zn(c)||(c=[c]);for(const u of c)this._unboundChildren.add(u)}deregisterChild(c){Zn(c)||(c=[c]);for(const u of c)this._unboundChildren.remove(u)}setTemplate(c){this.template=new rc(c)}extendTemplate(c){rc.extend(this.template,c)}render(){if(this.isRendered)throw new fe("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(c=>c.destroy()),this.template&&this.template._revertData&&this.template.revert(this.element)}}class rc extends(vn()){constructor(c){super(),Object.assign(this,CL(yL(c))),this._isRendered=!1,this._revertData=null}render(){const c=this._renderNode({intoFragment:!0});return this._isRendered=!0,c}apply(c){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:c,intoFragment:!1,isApplying:!0,revertData:this._revertData}),c}revert(c){if(!this._revertData)throw new fe("ui-template-revert-not-applied",[this,c]);this._revertTemplateFromNode(c,this._revertData)}*getViews(){yield*function*c(u){if(u.children)for(const h of u.children)Zf(h)?yield h:Cy(h)&&(yield*c(h))}(this)}static bind(c,u){return{to:(h,m)=>new vL({eventNameOrFunction:h,attribute:h,observable:c,emitter:u,callback:m}),if:(h,m,_)=>new RT({observable:c,emitter:u,attribute:h,valueIfTrue:m,callback:_})}}static extend(c,u){if(c._isRendered)throw new fe("template-extend-render",[this,c]);DL(c,CL(yL(u)))}_renderNode(c){let u;if(u=c.node?this.tag&&this.text:this.tag?this.text:!this.text,u)throw new fe("ui-template-wrong-syntax",this);return this.text?this._renderText(c):this._renderElement(c)}_renderElement(c){let u=c.node;return u||(u=c.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(c),this._renderElementChildren(c),this._setUpListeners(c),u}_renderText(c){let u=c.node;return u?c.revertData.text=u.textContent:u=c.node=document.createTextNode(""),Yx(this.text)?this._bindToObservable({schema:this.text,updater:fW(u),data:c}):u.textContent=this.text.join(""),u}_renderAttributes(c){if(!this.attributes)return;const u=c.node,h=c.revertData;for(const m in this.attributes){const _=u.getAttribute(m),b=this.attributes[m];h&&(h.attributes[m]=_);const w=AL(b)?b[0].ns:null;if(Yx(b)){const A=AL(b)?b[0].value:b;h&&IL(m)&&A.unshift(_),this._bindToObservable({schema:A,updater:_W(u,m,w),data:c})}else if("style"==m&&"string"!=typeof b[0])this._renderStyleAttribute(b[0],c);else{h&&_&&IL(m)&&b.unshift(_);const A=b.map(M=>M&&M.value||M).reduce((M,R)=>M.concat(R),[]).reduce(xL,"");Xf(A)||u.setAttributeNS(w,m,A)}}}_renderStyleAttribute(c,u){const h=u.node;for(const m in c){const _=c[m];Yx(_)?this._bindToObservable({schema:[_],updater:vW(h,m),data:u}):h.style[m]=_}}_renderElementChildren(c){const u=c.node,h=c.intoFragment?document.createDocumentFragment():u,m=c.isApplying;let _=0;for(const b of this.children)if(PT(b)){if(!m){b.setParent(u);for(const w of b)h.appendChild(w.element)}}else if(Zf(b))m||(b.isRendered||b.render(),h.appendChild(b.element));else if(wu(b))h.appendChild(b);else if(m){const w={children:[],bindings:[],attributes:{}};c.revertData.children.push(w),b._renderNode({intoFragment:!1,node:h.childNodes[_++],isApplying:!0,revertData:w})}else h.appendChild(b.render());c.intoFragment&&u.appendChild(h)}_setUpListeners(c){if(this.eventListeners)for(const u in this.eventListeners){const h=this.eventListeners[u].map(m=>{const[_,b]=u.split("@");return m.activateDomEventListener(_,b,c)});c.revertData&&c.revertData.bindings.push(h)}}_bindToObservable({schema:c,updater:u,data:h}){const m=h.revertData;bL(c,u,h);const _=c.filter(b=>!Xf(b)).filter(b=>b.observable).map(b=>b.activateAttributeListener(c,u,h));m&&m.bindings.push(_)}_revertTemplateFromNode(c,u){for(const m of u.bindings)for(const _ of m)_();if(u.text)return void(c.textContent=u.text);const h=c;for(const m in u.attributes){const _=u.attributes[m];null===_?h.removeAttribute(m):h.setAttribute(m,_)}for(let m=0;mbL(c,u,h);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,m),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,m)}}}class vL extends yy{constructor(c){super(c),this.eventNameOrFunction=c.eventNameOrFunction}activateDomEventListener(c,u,h){const m=(_,b)=>{u&&!b.target.matches(u)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(b):this.observable.fire(this.eventNameOrFunction,b))};return this.emitter.listenTo(h.node,c,m),()=>{this.emitter.stopListening(h.node,c,m)}}}class RT extends yy{constructor(c){super(c),this.valueIfTrue=c.valueIfTrue}getValue(c){return!Xf(super.getValue(c))&&(this.valueIfTrue||!0)}}function Yx(g){return!!g&&(g.value&&(g=g.value),Array.isArray(g)?g.some(Yx):g instanceof yy)}function bL(g,c,{node:u}){const h=(b=u,g.map(w=>w instanceof yy?w.getValue(b):w));var b;let m;m=1==g.length&&g[0]instanceof RT?h[0]:h.reduce(xL,""),Xf(m)?c.remove():c.set(m)}function fW(g){return{set(c){g.textContent=c},remove(){g.textContent=""}}}function _W(g,c,u){return{set(h){g.setAttributeNS(u,c,h)},remove(){g.removeAttributeNS(u,c)}}}function vW(g,c){return{set(u){g.style[c]=u},remove(){g.style[c]=null}}}function yL(g){return jx(g,c=>{if(c&&(c instanceof yy||Cy(c)||Zf(c)||PT(c)))return c})}function CL(g){if("string"==typeof g?g={text:[g]}:g.text&&((c=g).text=ho(c.text)),g.on&&(g.eventListeners=function(c){for(const u in c)wL(c,u);return c}(g.on),delete g.on),!g.text){g.attributes&&function(u){for(const h in u)u[h].value&&(u[h].value=ho(u[h].value)),wL(u,h)}(g.attributes);const c=[];if(g.children)if(PT(g.children))c.push(g.children);else for(const u of g.children)Cy(u)||Zf(u)||wu(u)?c.push(u):c.push(new rc(u));g.children=c}var c;return g}function wL(g,c){g[c]=ho(g[c])}function xL(g,c){return Xf(c)?g:Xf(g)?c:`${g} ${c}`}function kL(g,c){for(const u in c)g[u]?g[u].push(...c[u]):g[u]=c[u]}function DL(g,c){if(c.attributes&&(g.attributes||(g.attributes={}),kL(g.attributes,c.attributes)),c.eventListeners&&(g.eventListeners||(g.eventListeners={}),kL(g.eventListeners,c.eventListeners)),c.text&&g.text.push(...c.text),c.children&&c.children.length){if(g.children.length!=c.children.length)throw new fe("ui-template-extend-children-mismatch",g);let u=0;for(const h of c.children)DL(g.children[u++],h)}}function Xf(g){return!g&&0!==g}function Zf(g){return g instanceof gi}function Cy(g){return g instanceof rc}function PT(g){return g instanceof Dl}function AL(g){return qt(g[0])&&g[0].ns}function IL(g){return"class"==g||"style"==g}class Oh extends Dl{constructor(c,u=[]){super(u),this.locale=c}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new rc({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let c=document.querySelector(".ck-body-wrapper");c||(c=_d(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(c)),c.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const c=document.querySelector(".ck-body-wrapper");c&&0==c.childElementCount&&c.remove()}}var Dd=ft(6574);At()(Dd.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const SL=class extends gi{constructor(){super();const g=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",g.if("isVisible","ck-hidden",c=>!c),"ck-reset_all-excluded",g.if("isColorInherited","ck-icon_inherit-color")],viewBox:g.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 g=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),c=g.getAttribute("viewBox");c&&(this.viewBox=c);for(const{name:u,value:h}of Array.from(g.attributes))SL.presentationalAttributeNames.includes(u)&&this.element.setAttribute(u,h);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;g.childNodes.length>0;)this.element.appendChild(g.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach(g=>{g.style.fill=this.fillColor})}};let Qo=SL;Qo.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 wy extends gi{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const c=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:c.to("style"),id:c.to("id")},children:[{text:c.to("text")}]})}}var Ja=ft(4906);At()(Ja.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Hn extends gi{constructor(c,u=new wy){super(c),this._focusDelayed=null;const h=this.bindTemplate,m=Lt();this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${m}`),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(u),this.iconView=new Qo,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 _={tag:"button",attributes:{class:["ck","ck-button",h.to("class"),h.if("isEnabled","ck-disabled",b=>!b),h.if("isVisible","ck-hidden",b=>!b),h.to("isOn",b=>b?"ck-on":"ck-off"),h.if("withText","ck-button_with-text"),h.if("withKeystroke","ck-button_with-keystroke")],role:h.to("role"),type:h.to("type",b=>b||"button"),tabindex:h.to("tabindex"),"aria-label":h.to("ariaLabel"),"aria-labelledby":h.to("ariaLabelledBy"),"aria-disabled":h.if("isEnabled",!0,b=>!b),"aria-pressed":h.to("isOn",b=>!!this.isToggleable&&String(!!b)),"data-cke-tooltip-text":h.to("_tooltipString"),"data-cke-tooltip-position":h.to("tooltipPosition")},children:this.children,on:{click:h.to(b=>{this.isEnabled?this.fire("execute"):b.preventDefault()})}};ae.isSafari&&(this._focusDelayed||(this._focusDelayed=Rh(()=>this.focus(),0)),_.on.mousedown=h.to(()=>{this._focusDelayed()}),_.on.mouseup=h.to(()=>{this._focusDelayed.cancel()})),this.setTemplate(_)}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(c){return c.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),c}_createKeystrokeView(){const c=new gi;return c.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",u=>qx(u))}]}),c}_getTooltipString(c,u,h){return c?"string"==typeof c?c:(h&&(h=qx(h)),c instanceof Function?c(u,h):`${u}${h?` (${h})`:""}`):""}}var Qx=ft(5332);At()(Qx.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Dg extends Hn{constructor(c){super(c),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const c=new gi;return c.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),c}}var Xx=ft(6781);At()(Xx.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),ft(1103),ft(841);var xy=ft(3662);At()(xy.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ky extends gi{constructor(c){super(c),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${Lt()}`;const u=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:u.to("for")},children:[{text:u.to("text")}]})}}var Jx=ft(2577);At()(Jx.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class xu extends gi{constructor(c,u){super(c);const h=`ck-labeled-field-view-${Lt()}`,m=`ck-labeled-field-view-status-${Lt()}`;this.fieldView=u(this,h,m),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(h),this.statusView=this._createStatusView(m),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",(b,w)=>b||w);const _=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",_.to("class"),_.if("isEnabled","ck-disabled",b=>!b),_.if("isEmpty","ck-labeled-field-view_empty"),_.if("isFocused","ck-labeled-field-view_focused"),_.if("placeholder","ck-labeled-field-view_placeholder"),_.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(c){const u=new ky(this.locale);return u.for=c,u.bind("text").to(this,"label"),u}_createStatusView(c){const u=new gi(this.locale),h=this.bindTemplate;return u.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",h.if("errorText","ck-labeled-field-view__status_error"),h.if("_statusText","ck-hidden",m=>!m)],id:c,role:h.if("errorText","alert")},children:[{text:h.to("_statusText")}]}),u}focus(c){this.fieldView.focus(c)}}class Ag extends gi{constructor(c){super(c),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 Bo,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const u=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",u.if("isFocused","ck-input_focused"),u.if("isEmpty","ck-input-text_empty"),u.if("hasError","ck-error")],id:u.to("id"),placeholder:u.to("placeholder"),readonly:u.to("isReadOnly"),"aria-invalid":u.if("hasError",!0),"aria-describedby":u.to("ariaDescribedById")},on:{input:u.to((...h)=>{this.fire("input",...h),this._updateIsEmpty()}),change:u.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",(c,u,h)=>{this._setDomElementValue(h),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(c){this.element.value=c||0===c?c:""}}var e1=ft(4879);At()(e1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class CW extends Ag{constructor(c){super(c),this.set("inputMode","text"),this.extendTemplate({attributes:{inputmode:this.bindTemplate.to("inputMode")}})}}class wW extends CW{constructor(c){super(c),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}var LT=ft(8182);At()(LT.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class xW extends gi{constructor(c){super(c);const u=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",u.to("position",h=>`ck-dropdown__panel_${h}`),u.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:u.to(h=>{"input"!==h.target.tagName.toLocaleLowerCase()&&h.preventDefault()})}})}focus(){if(this.children.length){const c=this.children.first;"function"==typeof c.focus?c.focus():St("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const c=this.children.last;"function"==typeof c.focusLast?c.focusLast():c.focus()}}}var t1=ft(5485);At()(t1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const o1=class extends gi{constructor(g,c,u){super(g);const h=this.bindTemplate;this.buttonView=c,this.panelView=u,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new ea,this.focusTracker=new Bo,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",h.to("class"),h.if("isEnabled","ck-disabled",m=>!m)],id:h.to("id"),"aria-describedby":h.to("ariaDescribedById")},children:[c,u]}),c.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":h.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.on("change:isOpen",(c,u,h)=>{if(h)if("auto"===this.panelPosition){const m=o1._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=m?m.name:this._panelPositions[0].name}else this.panelView.position=this.panelPosition}),this.keystrokes.listenTo(this.element);const g=(c,u)=>{this.isOpen&&(this.isOpen=!1,u())};this.keystrokes.set("arrowdown",(c,u)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,u())}),this.keystrokes.set("arrowright",(c,u)=>{this.isOpen&&u()}),this.keystrokes.set("arrowleft",g),this.keystrokes.set("esc",g)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:g,north:c,southEast:u,southWest:h,northEast:m,northWest:_,southMiddleEast:b,southMiddleWest:w,northMiddleEast:A,northMiddleWest:M}=o1.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[u,h,b,w,g,m,_,A,M,c]:[h,u,w,b,g,_,m,M,A,c]}};let Jf=o1;Jf.defaultPanelPositions={south:(g,c)=>({top:g.bottom,left:g.left-(c.width-g.width)/2,name:"s"}),southEast:g=>({top:g.bottom,left:g.left,name:"se"}),southWest:(g,c)=>({top:g.bottom,left:g.left-c.width+g.width,name:"sw"}),southMiddleEast:(g,c)=>({top:g.bottom,left:g.left-(c.width-g.width)/4,name:"sme"}),southMiddleWest:(g,c)=>({top:g.bottom,left:g.left-3*(c.width-g.width)/4,name:"smw"}),north:(g,c)=>({top:g.top-c.height,left:g.left-(c.width-g.width)/2,name:"n"}),northEast:(g,c)=>({top:g.top-c.height,left:g.left,name:"ne"}),northWest:(g,c)=>({top:g.top-c.height,left:g.left-c.width+g.width,name:"nw"}),northMiddleEast:(g,c)=>({top:g.top-c.height,left:g.left-(c.width-g.width)/4,name:"nme"}),northMiddleWest:(g,c)=>({top:g.top-c.height,left:g.left-3*(c.width-g.width)/4,name:"nmw"})},Jf._getOptimalPosition=Ot;const BT='';class kW extends Hn{constructor(c){super(c),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",u=>String(u))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const c=new Qo;return c.content=BT,c.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),c}}class Ad extends(vn()){constructor(c){if(super(),this.focusables=c.focusables,this.focusTracker=c.focusTracker,this.keystrokeHandler=c.keystrokeHandler,this.actions=c.actions,c.actions&&c.keystrokeHandler)for(const u in c.actions){let h=c.actions[u];"string"==typeof h&&(h=[h]);for(const m of h)c.keystrokeHandler.set(m,(_,b)=>{this[u](),b()})}this.on("forwardCycle",()=>this.focusFirst(),{priority:"low"}),this.on("backwardCycle",()=>this.focusLast(),{priority:"low"})}get first(){return this.focusables.find(Ay)||null}get last(){return this.focusables.filter(Ay).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let c=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find((u,h)=>{const m=u.element===this.focusTracker.focusedElement;return m&&(c=h),m}),c)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const c=this.next;c&&this.focusables.getIndex(c)===this.current||(c===this.first?this.fire("forwardCycle"):this._focus(c,1))}focusPrevious(){const c=this.previous;c&&this.focusables.getIndex(c)===this.current||(c===this.last?this.fire("backwardCycle"):this._focus(c,-1))}_focus(c,u){c&&c.focus(u)}_getFocusableItem(c){const u=this.current,h=this.focusables.length;if(!h)return null;if(null===u)return this[1===c?"first":"last"];let m=(u+h+c)%h;do{const _=this.focusables.get(m);if(Ay(_))return _;m=(m+h+c)%h}while(m!==u);return null}}function Ay(g){return!(!("focus"in g)||!Th(g.element))}class r1 extends gi{constructor(c){super(c),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class EL extends gi{constructor(c){super(c),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}var ML=Object.defineProperty,VT=Object.getOwnPropertySymbols,zT=Object.prototype.hasOwnProperty,RL=Object.prototype.propertyIsEnumerable,s1=(g,c,u)=>c in g?ML(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,HT=(g,c)=>{for(var u in c||(c={}))zT.call(c,u)&&s1(g,u,c[u]);if(VT)for(var u of VT(c))RL.call(c,u)&&s1(g,u,c[u]);return g};function PL(g){if(Array.isArray(g))return{items:g,removeItems:[]};const c={items:[],removeItems:[]};return g?HT(HT({},c),g):c}class ht extends(_t()){constructor(c){super(),this._disableStack=new Set,this.editor=c,this.set("isEnabled",!0)}forceDisabled(c){this._disableStack.add(c),1==this._disableStack.size&&(this.on("set:isEnabled",ci,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(c){this._disableStack.delete(c),0==this._disableStack.size&&(this.off("set:isEnabled",ci),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function ci(g){g.return=!1,g.stop()}class Bi extends(_t()){constructor(c){super(),this.editor=c,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(c,"change:isReadOnly",()=>{this.refresh()}),this.on("set:isEnabled",u=>{if(!this.affectsData)return;const h=c.model.document.selection,m="$graveyard"!=h.getFirstPosition().root.rootName&&c.model.canEditAt(h);(c.isReadOnly||this._isEnabledBasedOnSelection&&!m)&&(u.return=!1,u.stop())},{priority:"highest"}),this.on("execute",u=>{this.isEnabled||u.stop()},{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(c){this._affectsData=c}refresh(){this.isEnabled=!0}forceDisabled(c){this._disableStack.add(c),1==this._disableStack.size&&(this.on("set:isEnabled",GT,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(c){this._disableStack.delete(c),0==this._disableStack.size&&(this.off("set:isEnabled",GT),this.refresh())}execute(...c){}destroy(){this.stopListening()}}function GT(g){g.return=!1,g.stop()}class jT extends Bi{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...c){const u=this._getFirstEnabledCommand();return!!u&&u.execute(c)}registerChildCommand(c,u={}){ko(this._childCommandsDefinitions,{command:c,priority:u.priority||"normal"}),c.on("change:isEnabled",()=>this._checkEnabled()),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const c=this._childCommandsDefinitions.find(({command:u})=>u.isEnabled);return c&&c.command}}class a1 extends(vn()){constructor(c,u=[],h=[]){super(),this._plugins=new Map,this._context=c,this._availablePlugins=new Map;for(const m of u)m.pluginName&&this._availablePlugins.set(m.pluginName,m);this._contextPlugins=new Map;for(const[m,_]of h)this._contextPlugins.set(m,_),this._contextPlugins.set(_,m),m.pluginName&&this._availablePlugins.set(m.pluginName,m)}*[Symbol.iterator](){for(const c of this._plugins)"function"==typeof c[0]&&(yield c)}get(c){const u=this._plugins.get(c);if(!u){let h=c;throw"function"==typeof c&&(h=c.pluginName||c.name),new fe("plugincollection-plugin-not-loaded",this._context,{plugin:h})}return u}has(c){return this._plugins.has(c)}init(c,u=[],h=[]){const m=this,_=this._context;(function W(Y,ne=new Set){Y.forEach(he=>{A(he)&&(ne.has(he)||(ne.add(he),he.pluginName&&!m._availablePlugins.has(he.pluginName)&&m._availablePlugins.set(he.pluginName,he),he.requires&&W(he.requires,ne)))})})(c),N(c);const b=[...function W(Y,ne=new Set){return Y.map(he=>A(he)?he:m._availablePlugins.get(he)).reduce((he,Me)=>ne.has(Me)?he:(ne.add(Me),Me.requires&&(N(Me.requires,Me),W(Me.requires,ne).forEach(qe=>he.add(qe))),he.add(Me)),new Set)}(c.filter(W=>!R(W,u)))];!function(W,Y){for(const ne of Y){if("function"!=typeof ne)throw new fe("plugincollection-replace-plugin-invalid-type",null,{pluginItem:ne});const he=ne.pluginName;if(!he)throw new fe("plugincollection-replace-plugin-missing-name",null,{pluginItem:ne});if(ne.requires&&ne.requires.length)throw new fe("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:he});const Me=m._availablePlugins.get(he);if(!Me)throw new fe("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:he});const qe=W.indexOf(Me);if(-1===qe){if(m._contextPlugins.has(Me))return;throw new fe("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:he})}if(Me.requires&&Me.requires.length)throw new fe("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:he});W.splice(qe,1,ne),m._availablePlugins.set(he,ne)}}(b,h);const w=b.map(W=>{let Y=m._contextPlugins.get(W);return Y=Y||new W(_),m._add(W,Y),Y});return V(w,"init").then(()=>V(w,"afterInit")).then(()=>w);function A(W){return"function"==typeof W}function M(W){return A(W)&&!!W.isContextPlugin}function R(W,Y){return Y.some(ne=>ne===W||O(W)===ne||O(ne)===W)}function O(W){return A(W)?W.pluginName||W.name:W}function N(W,Y=null){W.map(ne=>A(ne)?ne:m._availablePlugins.get(ne)||ne).forEach(ne=>{(function(he,Me){if(!A(he))throw Me?new fe("plugincollection-soft-required",_,{missingPlugin:he,requiredBy:O(Me)}):new fe("plugincollection-plugin-not-found",_,{plugin:he})})(ne,Y),function(he,Me){if(M(Me)&&!M(he))throw new fe("plugincollection-context-required",_,{plugin:O(he),requiredBy:O(Me)})}(ne,Y),function(he,Me){if(Me&&R(he,u))throw new fe("plugincollection-required",_,{plugin:O(he),requiredBy:O(Me)})}(ne,Y)})}function V(W,Y){return W.reduce((ne,he)=>he[Y]?m._contextPlugins.has(he)?ne:ne.then(he[Y].bind(he)):ne,Promise.resolve())}}destroy(){const c=[];for(const[,u]of this)"function"!=typeof u.destroy||this._contextPlugins.has(u)||c.push(u.destroy());return Promise.all(c)}_add(c,u){this._plugins.set(c,u);const h=c.pluginName;if(h){if(this._plugins.has(h))throw new fe("plugincollection-plugin-name-conflict",null,{pluginName:h,plugin1:this._plugins.get(h).constructor,plugin2:c});this._plugins.set(h,u)}}}class l1{constructor(c){this._contextOwner=null,this.config=new AT(c,this.constructor.defaultConfig);const u=this.constructor.builtinPlugins;this.config.define("plugins",u),this.plugins=new a1(this,u);const h=this.config.get("language")||{};this.locale=new mW({uiLanguage:"string"==typeof h?h:h.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new Oa}initPlugins(){const c=this.config.get("plugins")||[],u=this.config.get("substitutePlugins")||[];for(const h of c.concat(u)){if("function"!=typeof h)throw new fe("context-initplugins-constructor-only",null,{Plugin:h});if(!0!==h.isContextPlugin)throw new fe("context-initplugins-invalid-plugin",null,{Plugin:h})}return this.plugins.init(c,[],u)}destroy(){return Promise.all(Array.from(this.editors,c=>c.destroy())).then(()=>this.plugins.destroy())}_addEditor(c,u){if(this._contextOwner)throw new fe("context-addeditor-private-context");this.editors.add(c),u&&(this._contextOwner=c)}_removeEditor(c){return this.editors.has(c)&&this.editors.remove(c),this._contextOwner===c?this.destroy():Promise.resolve()}_getEditorConfig(){const c={};for(const u of this.config.names())["plugins","removePlugins","extraPlugins"].includes(u)||(c[u]=this.config.get(u));return c}static create(c){return new Promise(u=>{const h=new this(c);u(h.initPlugins().then(()=>h))})}}class Iy extends(_t()){constructor(c){super(),this.context=c}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}class c1 extends ea{constructor(c){super(),this.editor=c}set(c,u,h={}){if("string"==typeof u){const m=u;u=(_,b)=>{this.editor.execute(m),b()}}super.set(c,u,h)}}var $T=ft(4717);At()($T.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const e_=new WeakMap;let d1=!1;function po({view:g,element:c,text:u,isDirectHost:h=!0,keepOnFocus:m=!1}){const _=g.document;function b(w){e_.get(_).set(c,{text:w,isDirectHost:h,keepOnFocus:m,hostElement:h?c:null}),g.change(A=>Ig(_,A))}e_.has(_)||(e_.set(_,new Map),_.registerPostFixer(w=>Ig(_,w)),_.on("change:isComposing",()=>{g.change(w=>Ig(_,w))},{priority:"high"})),c.is("editableElement")&&c.on("change:placeholder",(w,A,M)=>{b(M)}),c.placeholder?b(c.placeholder):u&&b(u),u&&(d1||St("enableplaceholder-deprecated-text-option"),d1=!0)}function Ig(g,c){const u=e_.get(g),h=[];let m=!1;for(const[_,b]of u)b.isDirectHost&&(h.push(_),ia(c,_,b)&&(m=!0));for(const[_,b]of u){if(b.isDirectHost)continue;const w=OL(_);w&&(h.includes(w)||(b.hostElement=w,ia(c,_,b)&&(m=!0)))}return m}function ia(g,c,u){const{text:h,isDirectHost:m,hostElement:_}=u;let b=!1;return _.getAttribute("data-placeholder")!==h&&(g.setAttribute("data-placeholder",h,_),b=!0),(m||1==c.childCount)&&function(w,A){if(!w.isAttached()||Array.from(w.getChildren()).some(O=>!O.is("uiElement")))return!1;const M=w.document,R=M.selection.anchor;return!(M.isComposing&&R&&R.parent===w||!A&&M.isFocused&&(!R||R.parent===w))}(_,u.keepOnFocus)?(w=g,!(A=_).hasClass("ck-placeholder")&&(w.addClass("ck-placeholder",A),!0)&&(b=!0)):function u1(g,c){return!!c.hasClass("ck-placeholder")&&(g.removeClass("ck-placeholder",c),!0)}(g,_)&&(b=!0),b;var w,A}function OL(g){if(g.childCount){const c=g.getChild(0);if(c.is("element")&&!c.is("uiElement")&&!c.is("attributeElement"))return c}return null}class ku{is(){throw new Error("is() method is abstract")}}const Fh=function(g){return Gx(g,4)};class jr extends(vn(ku)){constructor(c){super(),this.document=c,this.parent=null}get index(){let c;if(!this.parent)return null;if(-1==(c=this.parent.getChildIndex(this)))throw new fe("view-node-not-found-in-parent",this);return c}get nextSibling(){const c=this.index;return null!==c&&this.parent.getChild(c+1)||null}get previousSibling(){const c=this.index;return null!==c&&this.parent.getChild(c-1)||null}get root(){let c=this;for(;c.parent;)c=c.parent;return c}isAttached(){return this.root.is("rootElement")}getPath(){const c=[];let u=this;for(;u.parent;)c.unshift(u.index),u=u.parent;return c}getAncestors(c={}){const u=[];let h=c.includeSelf?this:this.parent;for(;h;)u[c.parentFirst?"push":"unshift"](h),h=h.parent;return u}getCommonAncestor(c,u={}){const h=this.getAncestors(u),m=c.getAncestors(u);let _=0;for(;h[_]==m[_]&&h[_];)_++;return 0===_?null:h[_-1]}isBefore(c){if(this==c||this.root!==c.root)return!1;const u=this.getPath(),h=c.getPath(),m=Dr(u,h);switch(m){case"prefix":return!0;case"extension":return!1;default:return u[m]c.data.length)throw new fe("view-textproxy-wrong-offsetintext",this);if(h<0||u+h>c.data.length)throw new fe("view-textproxy-wrong-length",this);this.data=c.data.substring(u,u+h),this.offsetInText=u}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(c={}){const u=[];let h=c.includeSelf?this.textNode:this.parent;for(;null!==h;)u[c.parentFirst?"push":"unshift"](h),h=h.parent;return u}}Vc.prototype.is=function(g){return"$textProxy"===g||"view:$textProxy"===g||"textProxy"===g||"view:textProxy"===g};class sc{constructor(...c){this._patterns=[],this.add(...c)}add(...c){for(let u of c)("string"==typeof u||u instanceof RegExp)&&(u={name:u}),this._patterns.push(u)}match(...c){for(const u of c)for(const h of this._patterns){const m=Id(u,h);if(m)return{element:u,pattern:h,match:m}}return null}matchAll(...c){const u=[];for(const h of c)for(const m of this._patterns){const _=Id(h,m);_&&u.push({element:h,pattern:m,match:_})}return u.length>0?u:null}getElementName(){if(1!==this._patterns.length)return null;const c=this._patterns[0],u=c.name;return"function"==typeof c||!u||u instanceof RegExp?null:u}}function Id(g,c){if("function"==typeof c)return c(g);const u={};return c.name&&(u.name=(m=g.name,(h=c.name)instanceof RegExp?!!m.match(h):h===m),!u.name)||c.attributes&&(u.attributes=function(h,m){const _=new Set(m.getAttributeKeys());return Es(h)?(void 0!==h.style&&St("matcher-pattern-deprecated-attributes-style-key",h),void 0!==h.class&&St("matcher-pattern-deprecated-attributes-class-key",h)):(_.delete("style"),_.delete("class")),Sy(h,_,b=>m.getAttribute(b))}(c.attributes,g),!u.attributes)||c.classes&&(u.classes=function(h,m){return Sy(h,m.getClassNames(),()=>{})}(c.classes,g),!u.classes)||c.styles&&(u.styles=function(h,m){return Sy(h,m.getStyleNames(!0),_=>m.getStyle(_))}(c.styles,g),!u.styles)?null:u;var h,m}function Sy(g,c,u){const h=(b=g,Array.isArray(b)?b.map(w=>Es(w)?(void 0!==w.key&&void 0!==w.value||St("matcher-pattern-missing-key-or-value",w),[w.key,w.value]):[w,!0]):Es(b)?Object.entries(b):[[b,!0]]),m=Array.from(c),_=[];var b;if(h.forEach(([b,w])=>{m.forEach(A=>{var M,R;R=A,(!0===(M=b)||M===R||M instanceof RegExp&&R.match(M))&&function(M,R,O){if(!0===M)return!0;const N=O(R);return M===N||M instanceof RegExp&&!!String(N).match(M)}(w,A,u)&&_.push(A)})}),h.length&&!(_.lengthm?0:m+c),(u=u>m?m:u)<0&&(u+=m),m=c>u?0:u-c>>>0,c>>>=0;for(var _=Array(m);++h0){if(++c>=800)return arguments[0]}else c=0;return g.apply(void 0,arguments)}}(eE),Ey=function(g){return function(g,c){return v1(function(g,c,u){return c=Lh(void 0===c?g.length-1:c,0),function(){for(var h=arguments,m=-1,_=Lh(h.length-c,0),b=Array(_);++m<_;)b[m]=h[c+m];m=-1;for(var w=Array(c+1);++m1?u[m-1]:void 0,b=m>2?u[2]:void 0;for(_=g.length>3&&"function"==typeof _?(m--,_):void 0,b&&function(g,c,u){if(!qt(u))return!1;var h=typeof c;return!!("number"==h?Dh(u)&&pT(c,u.length):"string"==h&&c in u)&&Ch(u[c],g)}(u[0],u[1],b)&&(_=m<3?void 0:_,m=1),c=Object(c);++hh===c);return Array.isArray(u)}set(c,u){if(qt(c))for(const[h,m]of Object.entries(c))this._styleProcessor.toNormalizedForm(h,m,this._styles);else this._styleProcessor.toNormalizedForm(c,u,this._styles)}remove(c){const u=My(c);(function(g,c){null==g||function(g,c){null==(g=function(g,c){return c.length<2?g:an(g,z(c,0,-1))}(g,c=g1(c,g)))||delete g[ot(function(g){var c=null==g?0:g.length;return c?g[c-1]:void 0}(c))]}(g,c)})(this._styles,u),delete this._styles[c],this._cleanEmptyObjectsOnPath(u)}getNormalized(c){return this._styleProcessor.getNormalized(c,this._styles)}toString(){return this.isEmpty?"":this._getStylesEntries().map(c=>c.join(":")).sort().join(";")+";"}getAsString(c){if(this.isEmpty)return;if(this._styles[c]&&!qt(this._styles[c]))return this._styles[c];const u=this._styleProcessor.getReducedForm(c,this._styles).find(([h])=>h===c);return Array.isArray(u)?u[1]:void 0}getStyleNames(c=!1){return this.isEmpty?[]:c?this._styleProcessor.getStyleNames(this._styles):this._getStylesEntries().map(([u])=>u)}clear(){this._styles={}}_getStylesEntries(){const c=[],u=Object.keys(this._styles);for(const h of u)c.push(...this._styleProcessor.getReducedForm(h,this._styles));return c}_cleanEmptyObjectsOnPath(c){const u=c.split(".");if(!(u.length>1))return;const h=u.splice(0,u.length-1).join("."),m=Du(this._styles,h);m&&!Object.keys(m).length&&this.remove(h)}}class rE{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(c,u,h){if(qt(u))Ry(h,My(c),u);else if(this._normalizers.has(c)){const m=this._normalizers.get(c),{path:_,value:b}=m(u);Ry(h,_,b)}else Ry(h,c,u)}getNormalized(c,u){if(!c)return iE({},u);if(void 0!==u[c])return u[c];if(this._extractors.has(c)){const h=this._extractors.get(c);if("string"==typeof h)return Du(u,h);const m=h(c,u);if(m)return m}return Du(u,My(c))}getReducedForm(c,u){const h=this.getNormalized(c,u);return void 0===h?[]:this._reducers.has(c)?this._reducers.get(c)(h):[[c,h]]}getStyleNames(c){const u=Array.from(this._consumables.keys()).filter(m=>{const _=this.getNormalized(m,c);return _&&"object"==typeof _?Object.keys(_).length:_}),h=new Set([...u,...Object.keys(c)]);return Array.from(h)}getRelatedStyles(c){return this._consumables.get(c)||[]}setNormalizer(c,u){this._normalizers.set(c,u)}setExtractor(c,u){this._extractors.set(c,u)}setReducer(c,u){this._reducers.set(c,u)}setStyleRelation(c,u){this._mapStyleNames(c,u);for(const h of u)this._mapStyleNames(h,[c])}_mapStyleNames(c,u){this._consumables.has(c)||this._consumables.set(c,[]),this._consumables.get(c).push(...u)}}function My(g){return g.replace("-",".")}function Ry(g,c,u){let h=u;qt(u)&&(h=iE({},Du(g,c),u)),function(g,c,u){null==g||function(g,c,u,h){if(!qt(g))return g;for(var m=-1,_=(c=g1(c,g)).length,b=_-1,w=g;null!=w&&++m<_;){var A=ot(c[m]),M=u;if("__proto__"===A||"constructor"===A||"prototype"===A)return g;if(m!=b){var R=w[A];void 0===(M=void 0)&&(M=qt(R)?R:pT(c[m+1])?[]:{})}Ao(w,A,M),w=w[A]}}(g,c,u)}(g,c,h)}class ra extends jr{constructor(c,u,h,m){if(super(c),this._unsafeAttributesToRender=[],this._customProperties=new Map,this.name=u,this._attrs=function(_){const b=ta(_);for(const[w,A]of b)null===A?b.delete(w):"string"!=typeof A&&b.set(w,String(A));return b}(h),this._children=[],m&&this._insertChild(0,m),this._classes=new Set,this._attrs.has("class")){const _=this._attrs.get("class");sE(this._classes,_),this._attrs.delete("class")}this._styles=new oE(this.document.stylesProcessor),this._attrs.has("style")&&(this._styles.setTo(this._attrs.get("style")),this._attrs.delete("style"))}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}getChild(c){return this._children[c]}getChildIndex(c){return this._children.indexOf(c)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>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(c){if("class"==c)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==c){const u=this._styles.toString();return""==u?void 0:u}return this._attrs.get(c)}hasAttribute(c){return"class"==c?this._classes.size>0:"style"==c?!this._styles.isEmpty:this._attrs.has(c)}isSimilar(c){if(!(c instanceof ra))return!1;if(this===c)return!0;if(this.name!=c.name||this._attrs.size!==c._attrs.size||this._classes.size!==c._classes.size||this._styles.size!==c._styles.size)return!1;for(const[u,h]of this._attrs)if(!c._attrs.has(u)||c._attrs.get(u)!==h)return!1;for(const u of this._classes)if(!c._classes.has(u))return!1;for(const u of this._styles.getStyleNames())if(!c._styles.has(u)||c._styles.getAsString(u)!==this._styles.getAsString(u))return!1;return!0}hasClass(...c){for(const u of c)if(!this._classes.has(u))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(c){return this._styles.getAsString(c)}getNormalizedStyle(c){return this._styles.getNormalized(c)}getStyleNames(c){return this._styles.getStyleNames(c)}hasStyle(...c){for(const u of c)if(!this._styles.has(u))return!1;return!0}findAncestor(...c){const u=new sc(...c);let h=this.parent;for(;h&&!h.is("documentFragment");){if(u.match(h))return h;h=h.parent}return null}getCustomProperty(c){return this._customProperties.get(c)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const c=Array.from(this._classes).sort().join(","),u=this._styles.toString(),h=Array.from(this._attrs).map(m=>`${m[0]}="${m[1]}"`).sort().join(" ");return this.name+(""==c?"":` class="${c}"`)+(u?` style="${u}"`:"")+(""==h?"":` ${h}`)}shouldRenderUnsafeAttribute(c){return this._unsafeAttributesToRender.includes(c)}_clone(c=!1){const u=[];if(c)for(const m of this.getChildren())u.push(m._clone(c));const h=new this.constructor(this.document,this.name,this._attrs,u);return h._classes=new Set(this._classes),h._styles.set(this._styles.getNormalized()),h._customProperties=new Map(this._customProperties),h.getFillerOffset=this.getFillerOffset,h._unsafeAttributesToRender=this._unsafeAttributesToRender,h}_appendChild(c){return this._insertChild(this.childCount,c)}_insertChild(c,u){this._fireChange("children",this);let h=0;const m=(_=this.document,"string"==typeof(b=u)?[new eo(_,b)]:(Zn(b)||(b=[b]),Array.from(b).map(w=>"string"==typeof w?new eo(_,w):w instanceof Vc?new eo(_,w.data):w)));var _,b;for(const _ of m)null!==_.parent&&_._remove(),_.parent=this,_.document=this.document,this._children.splice(c,0,_),c++,h++;return h}_removeChildren(c,u=1){this._fireChange("children",this);for(let h=c;h0&&(this._classes.clear(),!0):"style"==c?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(c)}_addClass(c){this._fireChange("attributes",this);for(const u of ho(c))this._classes.add(u)}_removeClass(c){this._fireChange("attributes",this);for(const u of ho(c))this._classes.delete(u)}_setStyle(c,u){this._fireChange("attributes",this),"string"!=typeof c?this._styles.set(c):this._styles.set(c,u)}_removeStyle(c){this._fireChange("attributes",this);for(const u of ho(c))this._styles.remove(u)}_setCustomProperty(c,u){this._customProperties.set(c,u)}_removeCustomProperty(c){return this._customProperties.delete(c)}}function sE(g,c){const u=c.split(/\s+/);g.clear(),u.forEach(h=>g.add(h))}ra.prototype.is=function(g,c){return c?c===this.name&&("element"===g||"view:element"===g):"element"===g||"view:element"===g||"node"===g||"view:node"===g};class t_ extends ra{constructor(c,u,h,m){super(c,u,h,m),this.getFillerOffset=Fs}}function Fs(){const g=[...this.getChildren()],c=g[this.childCount-1];if(c&&c.is("element","br"))return this.childCount;for(const u of g)if(!u.is("uiElement"))return null;return this.childCount}t_.prototype.is=function(g,c){return c?c===this.name&&("containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g):"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class zc extends(_t(t_)){constructor(c,u,h,m){super(c,u,h,m),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("placeholder",void 0),this.bind("isReadOnly").to(c),this.bind("isFocused").to(c,"isFocused",_=>_&&c.selection.editableElement==this),this.listenTo(c.selection,"change",()=>{this.isFocused=c.isFocused&&c.selection.editableElement==this})}destroy(){this.stopListening()}}zc.prototype.is=function(g,c){return c?c===this.name&&("editableElement"===g||"view:editableElement"===g||"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g):"editableElement"===g||"view:editableElement"===g||"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};const Vo=Symbol("rootName");class mr extends zc{constructor(c,u){super(c,u),this.rootName="main"}get rootName(){return this.getCustomProperty(Vo)}set rootName(c){this._setCustomProperty(Vo,c)}set _name(c){this.name=c}}mr.prototype.is=function(g,c){return c?c===this.name&&("rootElement"===g||"view:rootElement"===g||"editableElement"===g||"view:editableElement"===g||"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g):"rootElement"===g||"view:rootElement"===g||"editableElement"===g||"view:editableElement"===g||"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class Bh{constructor(c={}){if(!c.boundaries&&!c.startPosition)throw new fe("view-tree-walker-no-start-position",null);if(c.direction&&"forward"!=c.direction&&"backward"!=c.direction)throw new fe("view-tree-walker-unknown-direction",c.startPosition,{direction:c.direction});this.boundaries=c.boundaries||null,this._position=vt._createAt(c.startPosition?c.startPosition:c.boundaries["backward"==c.direction?"end":"start"]),this.direction=c.direction||"forward",this.singleCharacters=!!c.singleCharacters,this.shallow=!!c.shallow,this.ignoreElementEnd=!!c.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(c){let u,h;do{h=this.position,u=this.next()}while(!u.done&&c(u.value));u.done||(this._position=h)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let c=this.position.clone();const u=this.position,h=c.parent;if(null===h.parent&&c.offset===h.childCount)return{done:!0,value:void 0};if(h===this._boundaryEndParent&&c.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let m;if(h instanceof eo){if(c.isAtEnd)return this._position=vt._createAfter(h),this._next();m=h.data[c.offset]}else m=h.getChild(c.offset);if(m instanceof ra){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(c))return{done:!0,value:void 0};c.offset++}else c=new vt(m,0);return this._position=c,this._formatReturnValue("elementStart",m,u,c,1)}if(m instanceof eo){if(this.singleCharacters)return c=new vt(m,0),this._position=c,this._next();let _,b=m.data.length;return m==this._boundaryEndParent?(b=this.boundaries.end.offset,_=new Vc(m,0,b),c=vt._createAfter(_)):(_=new Vc(m,0,m.data.length),c.offset++),this._position=c,this._formatReturnValue("text",_,u,c,b)}if("string"==typeof m){let _;_=this.singleCharacters?1:(h===this._boundaryEndParent?this.boundaries.end.offset:h.data.length)-c.offset;const b=new Vc(h,c.offset,_);return c.offset+=_,this._position=c,this._formatReturnValue("text",b,u,c,_)}return c=vt._createAfter(h),this._position=c,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",h,u,c)}_previous(){let c=this.position.clone();const u=this.position,h=c.parent;if(null===h.parent&&0===c.offset)return{done:!0,value:void 0};if(h==this._boundaryStartParent&&c.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let m;if(h instanceof eo){if(c.isAtStart)return this._position=vt._createBefore(h),this._previous();m=h.data[c.offset-1]}else m=h.getChild(c.offset-1);if(m instanceof ra)return this.shallow?(c.offset--,this._position=c,this._formatReturnValue("elementStart",m,u,c,1)):(c=new vt(m,m.childCount),this._position=c,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",m,u,c));if(m instanceof eo){if(this.singleCharacters)return c=new vt(m,m.data.length),this._position=c,this._previous();let _,b=m.data.length;if(m==this._boundaryStartParent){const w=this.boundaries.start.offset;_=new Vc(m,w,m.data.length-w),b=_.data.length,c=vt._createBefore(_)}else _=new Vc(m,0,m.data.length),c.offset--;return this._position=c,this._formatReturnValue("text",_,u,c,b)}if("string"==typeof m){let _;_=this.singleCharacters?1:c.offset-(h===this._boundaryStartParent?this.boundaries.start.offset:0),c.offset-=_;const b=new Vc(h,c.offset,_);return this._position=c,this._formatReturnValue("text",b,u,c,_)}return c=vt._createBefore(h),this._position=c,this._formatReturnValue("elementStart",h,u,c,1)}_formatReturnValue(c,u,h,m,_){return u instanceof Vc&&(u.offsetInText+u.data.length==u.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?h=vt._createAfter(u.textNode):(m=vt._createAfter(u.textNode),this._position=m)),0===u.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?h=vt._createBefore(u.textNode):(m=vt._createBefore(u.textNode),this._position=m))),{done:!1,value:{type:c,item:u,previousPosition:h,nextPosition:m,length:_}}}}class vt extends ku{constructor(c,u){super(),this.parent=c,this.offset=u}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 c=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===c}get root(){return this.parent.root}get editableElement(){let c=this.parent;for(;!(c instanceof zc);){if(!c.parent)return null;c=c.parent}return c}getShiftedBy(c){const u=vt._createAt(this),h=u.offset+c;return u.offset=h<0?0:h,u}getLastMatchingPosition(c,u={}){u.startPosition=this;const h=new Bh(u);return h.skip(c),h.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(c){const u=this.getAncestors(),h=c.getAncestors();let m=0;for(;u[m]==h[m]&&u[m];)m++;return 0===m?null:u[m-1]}isEqual(c){return this.parent==c.parent&&this.offset==c.offset}isBefore(c){return"before"==this.compareWith(c)}isAfter(c){return"after"==this.compareWith(c)}compareWith(c){if(this.root!==c.root)return"different";if(this.isEqual(c))return"same";const u=this.parent.is("node")?this.parent.getPath():[],h=c.parent.is("node")?c.parent.getPath():[];u.push(this.offset),h.push(c.offset);const m=Dr(u,h);switch(m){case"prefix":return"before";case"extension":return"after";default:return u[m]0?new this(h,m):new this(m,h)}static _createIn(c){return this._createFromParentsAndOffsets(c,0,c,c.childCount)}static _createOn(c){const u=c.is("$textProxy")?c.offsetSize:1;return this._createFromPositionAndShift(vt._createBefore(c),u)}}function i_(g){return!(!g.item.is("attributeElement")&&!g.item.is("uiElement"))}ni.prototype.is=function(g){return"range"===g||"view:range"===g};class Sl extends(vn(ku)){constructor(...c){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",c.length&&this.setTo(...c)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const c=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?c.end:c.start).clone()}get focus(){if(!this._ranges.length)return null;const c=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?c.start:c.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 c of this._ranges)yield c.clone()}getFirstRange(){let c=null;for(const u of this._ranges)c&&!u.start.isBefore(c.start)||(c=u);return c?c.clone():null}getLastRange(){let c=null;for(const u of this._ranges)c&&!u.end.isAfter(c.end)||(c=u);return c?c.clone():null}getFirstPosition(){const c=this.getFirstRange();return c?c.start.clone():null}getLastPosition(){const c=this.getLastRange();return c?c.end.clone():null}isEqual(c){if(this.isFake!=c.isFake||this.isFake&&this.fakeSelectionLabel!=c.fakeSelectionLabel||this.rangeCount!=c.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(c.anchor)||!this.focus.isEqual(c.focus))return!1;for(const u of this._ranges){let h=!1;for(const m of c._ranges)if(u.isEqual(m)){h=!0;break}if(!h)return!1}return!0}isSimilar(c){if(this.isBackward!=c.isBackward)return!1;const u=bh(this.getRanges());if(u!=bh(c.getRanges()))return!1;if(0==u)return!0;for(let h of this.getRanges()){h=h.getTrimmed();let m=!1;for(let _ of c.getRanges())if(_=_.getTrimmed(),h.start.isEqual(_.start)&&h.end.isEqual(_.end)){m=!0;break}if(!m)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...c){let[u,h,m]=c;if("object"==typeof h&&(m=h,h=void 0),null===u)this._setRanges([]),this._setFakeOptions(m);else if(u instanceof Sl||u instanceof Sg)this._setRanges(u.getRanges(),u.isBackward),this._setFakeOptions({fake:u.isFake,label:u.fakeSelectionLabel});else if(u instanceof ni)this._setRanges([u],m&&m.backward),this._setFakeOptions(m);else if(u instanceof vt)this._setRanges([new ni(u)]),this._setFakeOptions(m);else if(u instanceof jr){const _=!!m&&!!m.backward;let b;if(void 0===h)throw new fe("view-selection-setto-required-second-parameter",this);b="in"==h?ni._createIn(u):"on"==h?ni._createOn(u):new ni(vt._createAt(u,h)),this._setRanges([b],_),this._setFakeOptions(m)}else{if(!Zn(u))throw new fe("view-selection-setto-not-selectable",this);this._setRanges(u,m&&m.backward),this._setFakeOptions(m)}this.fire("change")}setFocus(c,u){if(null===this.anchor)throw new fe("view-selection-setfocus-no-ranges",this);const h=vt._createAt(c,u);if("same"==h.compareWith(this.focus))return;const m=this.anchor;this._ranges.pop(),"before"==h.compareWith(m)?this._addRange(new ni(h,m),!0):this._addRange(new ni(m,h)),this.fire("change")}_setRanges(c,u=!1){c=Array.from(c),this._ranges=[];for(const h of c)this._addRange(h);this._lastRangeBackward=!!u}_setFakeOptions(c={}){this._isFake=!!c.fake,this._fakeSelectionLabel=c.fake&&c.label||""}_addRange(c,u=!1){if(!(c instanceof ni))throw new fe("view-selection-add-range-not-range",this);this._pushRange(c),this._lastRangeBackward=!!u}_pushRange(c){for(const u of this._ranges)if(c.isIntersecting(u))throw new fe("view-selection-range-intersects",this,{addedRange:c,intersectingRange:u});this._ranges.push(new ni(c.start,c.end))}}Sl.prototype.is=function(g){return"selection"===g||"view:selection"===g};class Sg extends(vn(ku)){constructor(...c){super(),this._selection=new Sl,this._selection.delegate("change").to(this),c.length&&this._selection.setTo(...c)}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(c){return this._selection.isEqual(c)}isSimilar(c){return this._selection.isSimilar(c)}_setTo(...c){this._selection.setTo(...c)}_setFocus(c,u){this._selection.setFocus(c,u)}}Sg.prototype.is=function(g){return"selection"===g||"documentSelection"==g||"view:selection"==g||"view:documentSelection"==g};class el extends dt{constructor(c,u,h){super(c,u),this.startRange=h,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const C1=Symbol("bubbling contexts");function Tg(g){return class extends g{fire(c,...u){try{const h=c instanceof dt?c:new dt(this,c),m=Oy(this);if(!m.size)return;if(Au(h,"capturing",this),Td(m,"$capture",h,...u))return h.return;const _=h.startRange||this.selection.getFirstRange(),b=_?_.getContainedElement():null,w=!!b&&!!Py(m,b);let A=b||function(M){if(!M)return null;const R=M.start.parent,O=M.end.parent,N=R.getPath(),V=O.getPath();return N.length>V.length?R:O}(_);if(Au(h,"atTarget",A),!w){if(Td(m,"$text",h,...u))return h.return;Au(h,"bubbling",A)}for(;A;){if(A.is("rootElement")){if(Td(m,"$root",h,...u))return h.return}else if(A.is("element")&&Td(m,A.name,h,...u))return h.return;if(Td(m,A,h,...u))return h.return;A=A.parent,Au(h,"bubbling",A)}return Au(h,"bubbling",this),Td(m,"$document",h,...u),h.return}catch(h){fe.rethrowUnexpectedError(h,this)}}_addEventListener(c,u,h){const m=ho(h.context||"$document"),_=Oy(this);for(const b of m){let w=_.get(b);w||(w=new(vn()),_.set(b,w)),this.listenTo(w,c,u,h)}}_removeEventListener(c,u){const h=Oy(this);for(const m of h.values())this.stopListening(m,c,u)}}}{const g=Tg(Object);["fire","_addEventListener","_removeEventListener"].forEach(c=>{Tg[c]=g.prototype[c]})}function Au(g,c,u){g instanceof el&&(g._eventPhase=c,g._currentTarget=u)}function Td(g,c,u,...h){const m="string"==typeof c?g.get(c):Py(g,c);return!!m&&(m.fire(u,...h),u.stop.called)}function Py(g,c){for(const[u,h]of g)if("function"==typeof u&&u(c))return h;return null}function Oy(g){return g[C1]||(g[C1]=new Map),g[C1]}class n_ extends(Tg(_t())){constructor(c){super(),this._postFixers=new Set,this.selection=new Sg,this.roots=new Oa({idProperty:"rootName"}),this.stylesProcessor=c,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(c="main"){return this.roots.get(c)}registerPostFixer(c){this._postFixers.add(c)}destroy(){this.roots.forEach(c=>c.destroy()),this.stopListening()}_callPostFixers(c){let u=!1;do{for(const h of this._postFixers)if(u=h(c),u)break}while(u)}}class Vh extends ra{constructor(c,u,h,m){super(c,u,h,m),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=Eg}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new fe("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(c){return null!==this.id||null!==c.id?this.id===c.id:super.isSimilar(c)&&this.priority==c.priority}_clone(c=!1){const u=super._clone(c);return u._priority=this._priority,u._id=this._id,u}}function Eg(){if(zh(this))return null;let g=this.parent;for(;g&&g.is("attributeElement");){if(zh(g)>1)return null;g=g.parent}return!g||zh(g)>1?null:this.childCount}function zh(g){return Array.from(g.getChildren()).filter(c=>!c.is("uiElement")).length}Vh.DEFAULT_PRIORITY=10,Vh.prototype.is=function(g,c){return c?c===this.name&&("attributeElement"===g||"view:attributeElement"===g||"element"===g||"view:element"===g):"attributeElement"===g||"view:attributeElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class w1 extends ra{constructor(c,u,h,m){super(c,u,h,m),this.getFillerOffset=SW}_insertChild(c,u){if(u&&(u instanceof jr||Array.from(u).length>0))throw new fe("view-emptyelement-cannot-add",[this,u]);return 0}}function SW(){return null}w1.prototype.is=function(g,c){return c?c===this.name&&("emptyElement"===g||"view:emptyElement"===g||"element"===g||"view:element"===g):"emptyElement"===g||"view:emptyElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class Mg extends ra{constructor(c,u,h,m){super(c,u,h,m),this.getFillerOffset=GL}_insertChild(c,u){if(u&&(u instanceof jr||Array.from(u).length>0))throw new fe("view-uielement-cannot-add",[this,u]);return 0}render(c,u){return this.toDomElement(c)}toDomElement(c){const u=c.createElement(this.name);for(const h of this.getAttributeKeys())u.setAttribute(h,this.getAttribute(h));return u}}function GL(){return null}Mg.prototype.is=function(g,c){return c?c===this.name&&("uiElement"===g||"view:uiElement"===g||"element"===g||"view:element"===g):"uiElement"===g||"view:uiElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class x1 extends ra{constructor(c,u,h,m){super(c,u,h,m),this.getFillerOffset=EW}_insertChild(c,u){if(u&&(u instanceof jr||Array.from(u).length>0))throw new fe("view-rawelement-cannot-add",[this,u]);return 0}render(c,u){}}function EW(){return null}x1.prototype.is=function(g,c){return c?c===this.name&&("rawElement"===g||"view:rawElement"===g||"element"===g||"view:element"===g):"rawElement"===g||"view:rawElement"===g||g===this.name||g==="view:"+this.name||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class Rg extends(vn(ku)){constructor(c,u){super(),this._children=[],this._customProperties=new Map,this.document=c,u&&this._insertChild(0,u)}[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(){}get getFillerOffset(){}getCustomProperty(c){return this._customProperties.get(c)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(c){return this._insertChild(this.childCount,c)}getChild(c){return this._children[c]}getChildIndex(c){return this._children.indexOf(c)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(c,u){this._fireChange("children",this);let h=0;const m=(_=this.document,"string"==typeof(b=u)?[new eo(_,b)]:(Zn(b)||(b=[b]),Array.from(b).map(w=>"string"==typeof w?new eo(_,w):w instanceof Vc?new eo(_,w.data):w)));var _,b;for(const _ of m)null!==_.parent&&_._remove(),_.parent=this,this._children.splice(c,0,_),c++,h++;return h}_removeChildren(c,u=1){this._fireChange("children",this);for(let h=c;h{const A=b[b.length-1],M=!w.is("uiElement");return A&&A.breakAttributes==M?A.nodes.push(w):b.push({breakAttributes:M,nodes:[w]}),b},[]);let m=null,_=c;for(const{nodes:b,breakAttributes:w}of h){const A=this._insertNodes(_,b,w);m||(m=A.start),_=A.end}return m?new ni(m,_):new ni(c)}remove(c){const u=c instanceof ni?c:ni._createOn(c);if(s_(u,this.document),u.isCollapsed)return new Rg(this.document);const{start:h,end:m}=this._breakAttributesRange(u,!0),w=h.parent._removeChildren(h.offset,m.offset-h.offset);for(const M of w)this._removeFromClonedElementsGroup(M);const A=this.mergeAttributes(h);return u.start=A,u.end=A.clone(),new Rg(this.document,w)}clear(c,u){s_(c,this.document);const h=c.getWalker({direction:"backward",ignoreElementEnd:!0});for(const m of h){const _=m.item;let b;if(_.is("element")&&u.isSimilar(_))b=ni._createOn(_);else if(!m.nextPosition.isAfter(c.start)&&_.is("$textProxy")){const w=_.getAncestors().find(A=>A.is("element")&&u.isSimilar(A));w&&(b=ni._createIn(w))}b&&(b.end.isAfter(c.end)&&(b.end=c.end),b.start.isBefore(c.start)&&(b.start=c.start),this.remove(b))}}move(c,u){let h;if(u.isAfter(c.end)){const m=(u=this._breakAttributes(u,!0)).parent,_=m.childCount;c=this._breakAttributesRange(c,!0),h=this.remove(c),u.offset+=m.childCount-_}else h=this.remove(c);return this.insert(u,h)}wrap(c,u){if(!(u instanceof Vh))throw new fe("view-writer-wrap-invalid-attribute",this.document);if(s_(c,this.document),c.isCollapsed){let m=c.start;m.parent.is("element")&&!Array.from(m.parent.getChildren()).some(b=>!b.is("uiElement"))&&(m=m.getLastMatchingPosition(b=>b.item.is("uiElement"))),m=this._wrapPosition(m,u);const _=this.document.selection;return _.isCollapsed&&_.getFirstPosition().isEqual(c.start)&&this.setSelection(m),new ni(m)}return this._wrapRange(c,u)}unwrap(c,u){if(!(u instanceof Vh))throw new fe("view-writer-unwrap-invalid-attribute",this.document);if(s_(c,this.document),c.isCollapsed)return c;const{start:h,end:m}=this._breakAttributesRange(c,!0),b=this._unwrapChildren(h.parent,h.offset,m.offset,u),w=this.mergeAttributes(b.start);w.isEqual(b.start)||b.end.offset--;const A=this.mergeAttributes(b.end);return new ni(w,A)}rename(c,u){const h=new t_(this.document,c,u.getAttributes());return this.insert(vt._createAfter(u),h),this.move(ni._createIn(u),vt._createAt(h,0)),this.remove(ni._createOn(u)),h}clearClonedElementsGroup(c){this._cloneGroups.delete(c)}createPositionAt(c,u){return vt._createAt(c,u)}createPositionAfter(c){return vt._createAfter(c)}createPositionBefore(c){return vt._createBefore(c)}createRange(c,u){return new ni(c,u)}createRangeOn(c){return ni._createOn(c)}createRangeIn(c){return ni._createIn(c)}createSelection(...c){return new Sl(...c)}createSlot(c="children"){if(!this._slotFactory)throw new fe("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,c)}_registerSlotFactory(c){this._slotFactory=c}_clearSlotFactory(){this._slotFactory=null}_insertNodes(c,u,h){let m,_;if(m=h?Hh(c):c.parent.is("$text")?c.parent.parent:c.parent,!m)throw new fe("view-writer-invalid-position-container",this.document);_=h?this._breakAttributes(c,!0):c.parent.is("$text")?o_(c):c;const b=m._insertChild(_.offset,u);for(const R of u)this._addToClonedElementsGroup(R);const w=_.getShiftedBy(b),A=this.mergeAttributes(_);A.isEqual(_)||w.offset--;const M=this.mergeAttributes(w);return new ni(A,M)}_wrapChildren(c,u,h,m){let _=u;const b=[];for(;_!1,c.parent._insertChild(c.offset,h);const m=new ni(c,c.getShiftedBy(1));this.wrap(m,u);const _=new vt(h.parent,h.index);h._remove();const b=_.nodeBefore,w=_.nodeAfter;return b instanceof eo&&w instanceof eo?r_(b,w):Pg(_)}_wrapAttributeElement(c,u){if(!ac(c,u)||c.name!==u.name||c.priority!==u.priority)return!1;for(const h of c.getAttributeKeys())if("class"!==h&&"style"!==h&&u.hasAttribute(h)&&u.getAttribute(h)!==c.getAttribute(h))return!1;for(const h of c.getStyleNames())if(u.hasStyle(h)&&u.getStyle(h)!==c.getStyle(h))return!1;for(const h of c.getAttributeKeys())"class"!==h&&"style"!==h&&(u.hasAttribute(h)||this.setAttribute(h,c.getAttribute(h),u));for(const h of c.getStyleNames())u.hasStyle(h)||this.setStyle(h,c.getStyle(h),u);for(const h of c.getClassNames())u.hasClass(h)||this.addClass(h,u);return!0}_unwrapAttributeElement(c,u){if(!ac(c,u)||c.name!==u.name||c.priority!==u.priority)return!1;for(const h of c.getAttributeKeys())if("class"!==h&&"style"!==h&&(!u.hasAttribute(h)||u.getAttribute(h)!==c.getAttribute(h)))return!1;if(!u.hasClass(...c.getClassNames()))return!1;for(const h of c.getStyleNames())if(!u.hasStyle(h)||u.getStyle(h)!==c.getStyle(h))return!1;for(const h of c.getAttributeKeys())"class"!==h&&"style"!==h&&this.removeAttribute(h,u);return this.removeClass(Array.from(c.getClassNames()),u),this.removeStyle(Array.from(c.getStyleNames()),u),!0}_breakAttributesRange(c,u=!1){const h=c.start,m=c.end;if(s_(c,this.document),c.isCollapsed){const A=this._breakAttributes(c.start,u);return new ni(A,A)}const _=this._breakAttributes(m,u),b=_.parent.childCount,w=this._breakAttributes(h,u);return _.offset+=_.parent.childCount-b,new ni(w,_)}_breakAttributes(c,u=!1){const h=c.offset,m=c.parent;if(c.parent.is("emptyElement"))throw new fe("view-writer-cannot-break-empty-element",this.document);if(c.parent.is("uiElement"))throw new fe("view-writer-cannot-break-ui-element",this.document);if(c.parent.is("rawElement"))throw new fe("view-writer-cannot-break-raw-element",this.document);if(!u&&m.is("$text")&&Ny(m.parent)||Ny(m))return c.clone();if(m.is("$text"))return this._breakAttributes(o_(c),u);if(h==m.childCount){const _=new vt(m.parent,m.index+1);return this._breakAttributes(_,u)}if(0===h){const _=new vt(m.parent,m.index);return this._breakAttributes(_,u)}{const _=m.index+1,b=m._clone();m.parent._insertChild(_,b),this._addToClonedElementsGroup(b);const A=m._removeChildren(h,m.childCount-h);b._appendChild(A);const M=new vt(m.parent,_);return this._breakAttributes(M,u)}}_addToClonedElementsGroup(c){if(!c.root.is("rootElement"))return;if(c.is("element"))for(const m of c.getChildren())this._addToClonedElementsGroup(m);const u=c.id;if(!u)return;let h=this._cloneGroups.get(u);h||(h=new Set,this._cloneGroups.set(u,h)),h.add(c),c._clonesGroup=h}_removeFromClonedElementsGroup(c){if(c.is("element"))for(const m of c.getChildren())this._removeFromClonedElementsGroup(m);const u=c.id;if(!u)return;const h=this._cloneGroups.get(u);h&&h.delete(c)}}function Hh(g){let c=g.parent;for(;!Ny(c);){if(!c)return;c=c.parent}return c}function jL(g,c){return g.priorityc.priority)&&g.getIdentity()u instanceof h))throw new fe("view-writer-insert-invalid-node-type",c);u.is("$text")||k1(u.getChildren(),c)}}function Ny(g){return g&&(g.is("containerElement")||g.is("documentFragment"))}function s_(g,c){const u=Hh(g.start),h=Hh(g.end);if(!u||!h||u!==h)throw new fe("view-writer-invalid-range-container",c)}function ac(g,c){return null===g.id&&null===c.id}const aE=g=>g.createTextNode("\xa0"),a_=g=>{const c=g.createElement("span");return c.dataset.ckeFiller="true",c.innerText="\xa0",c},Ly=g=>{const c=g.createElement("br");return c.dataset.ckeFiller="true",c},Tl=7,Iu="\u2060".repeat(Tl);function sa(g){return"string"==typeof g?g.substr(0,Tl)===Iu:Ir(g)&&g.data.substr(0,Tl)===Iu}function l_(g){return g.data.length==Tl&&sa(g)}function D1(g){const c="string"==typeof g?g:g.data;return sa(g)?c.slice(Tl):c}function lE(g,c){if(c.keyCode==zi.arrowleft){const u=c.domTarget.ownerDocument.defaultView.getSelection();if(1==u.rangeCount&&u.getRangeAt(0).collapsed){const h=u.getRangeAt(0).startContainer,m=u.getRangeAt(0).startOffset;sa(h)&&m<=Tl&&u.collapse(h,0)}}}var A1=ft(9315);At()(A1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class $L extends(_t()){constructor(c,u){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=c,this.selection=u,this.set("isFocused",!1),this.set("isSelecting",!1),ae.isBlink&&!ae.isAndroid&&this.on("change:isSelecting",()=>{this.isSelecting||this.render()}),this.set("isComposing",!1),this.on("change:isComposing",()=>{this.isComposing||this.render()})}markToSync(c,u){if("text"===c)this.domConverter.mapViewToDom(u.parent)&&this.markedTexts.add(u);else{if(!this.domConverter.mapViewToDom(u))return;if("attributes"===c)this.markedAttributes.add(u);else{if("children"!==c)throw new fe("view-renderer-unknown-type",this);this.markedChildren.add(u)}}}render(){if(this.isComposing&&!ae.isAndroid)return;let c=null;const u=!(ae.isBlink&&!ae.isAndroid&&this.isSelecting);for(const h of this.markedChildren)this._updateChildrenMappings(h);u?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?c=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(c=this.selection.getFirstPosition(),this.markedChildren.add(c.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(c=this.domConverter.domPositionToView(this._inlineFiller),c&&c.parent.is("$text")&&(c=vt._createBefore(c.parent)));for(const h of this.markedAttributes)this._updateAttrs(h);for(const h of this.markedChildren)this._updateChildren(h,{inlineFillerPosition:c});for(const h of this.markedTexts)!this.markedChildren.has(h.parent)&&this.domConverter.mapViewToDom(h.parent)&&this._updateText(h,{inlineFillerPosition:c});if(u)if(c){const h=this.domConverter.viewPositionToDom(c),m=h.parent.ownerDocument;this._inlineFiller=sa(h.parent)?h.parent:c_(m,h.parent,h.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.domConverter._clearTemporaryCustomProperties(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(c){const u=this.domConverter.mapViewToDom(c);if(!u)return;const h=Array.from(u.childNodes),m=Array.from(this.domConverter.viewChildrenToDom(c,{withChildren:!1})),_=this._diffNodeLists(h,m),b=this._findUpdateActions(_,h,m,Gh);if(-1!==b.indexOf("update")){const w={equal:0,insert:0,delete:0};for(const A of b)if("update"===A){const M=w.equal+w.insert,R=w.equal+w.delete,O=c.getChild(M);!O||O.is("uiElement")||O.is("rawElement")||this._updateElementMappings(O,h[R]),kl(m[M]),w.equal++}else w[A]++}}_updateElementMappings(c,u){this.domConverter.unbindDomElement(u),this.domConverter.bindElements(u,c),this.markedChildren.add(c),this.markedAttributes.add(c)}_getInlineFillerPosition(){const c=this.selection.getFirstPosition();return c.parent.is("$text")?vt._createBefore(c.parent):c}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const c=this.selection.getFirstPosition(),u=this.domConverter.viewPositionToDom(c);return!!(u&&Ir(u.parent)&&sa(u.parent))}_removeInlineFiller(){const c=this._inlineFiller;if(!sa(c))throw new fe("view-renderer-filler-was-lost",this);l_(c)?c.remove():c.data=c.data.substr(Tl),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const c=this.selection.getFirstPosition(),u=c.parent,h=c.offset;if(!this.domConverter.mapViewToDom(u.root)||!u.is("element")||!function(b){if("false"==b.getAttribute("contenteditable"))return!1;const w=b.findAncestor(A=>A.hasAttribute("contenteditable"));return!w||"true"==w.getAttribute("contenteditable")}(u)||h===u.getFillerOffset())return!1;const m=c.nodeBefore,_=c.nodeAfter;return!(m instanceof eo||_ instanceof eo||ae.isAndroid&&(m||_))}_updateText(c,u){const h=this.domConverter.findCorrespondingDomText(c);let m=this.domConverter.viewToDom(c).data;const _=u.inlineFillerPosition;_&&_.parent==c.parent&&_.offset==c.index&&(m=Iu+m),I1(h,m)}_updateAttrs(c){const u=this.domConverter.mapViewToDom(c);if(!u)return;const h=Array.from(u.attributes).map(_=>_.name),m=c.getAttributeKeys();for(const _ of m)this.domConverter.setDomElementAttribute(u,_,c.getAttribute(_),c);for(const _ of h)c.hasAttribute(_)||this.domConverter.removeDomElementAttribute(u,_)}_updateChildren(c,u){const h=this.domConverter.mapViewToDom(c);if(!h)return;if(ae.isAndroid){let O=null;for(const N of Array.from(h.childNodes)){if(O&&Ir(O)&&Ir(N)){h.normalize();break}O=N}}const m=u.inlineFillerPosition,_=h.childNodes,b=Array.from(this.domConverter.viewChildrenToDom(c,{bind:!0}));m&&m.parent===c&&c_(h.ownerDocument,b,m.offset);const w=this._diffNodeLists(_,b),A=this._findUpdateActions(w,_,b,UL);let M=0;const R=new Set;for(const O of A)"delete"===O?(R.add(_[M]),kl(_[M])):"equal"!==O&&"update"!==O||M++;M=0;for(const O of A)"insert"===O?(Uf(h,M,b[M]),M++):"update"===O?(I1(_[M],b[M].data),M++):"equal"===O&&(this._markDescendantTextToSync(this.domConverter.domToView(b[M])),M++);for(const O of R)O.parentNode||this.domConverter.unbindDomElement(O)}_diffNodeLists(c,u){return Ve(c=function(h,m){const _=Array.from(h);return 0==_.length||!m||_[_.length-1]==m&&_.pop(),_}(c,this._fakeSelectionContainer),u,dE.bind(null,this.domConverter))}_findUpdateActions(c,u,h,m){if(-1===c.indexOf("insert")||-1===c.indexOf("delete"))return c;let _=[],b=[],w=[];const A={equal:0,insert:0,delete:0};for(const M of c)"insert"===M?w.push(h[A.equal+A.insert]):"delete"===M?b.push(u[A.equal+A.delete]):(_=_.concat(Ve(b,w,m).map(R=>"equal"===R?"update":R)),_.push("equal"),b=[],w=[]),A[M]++;return _.concat(Ve(b,w,m).map(M=>"equal"===M?"update":M))}_markDescendantTextToSync(c){if(c)if(c.is("$text"))this.markedTexts.add(c);else if(c.is("element"))for(const u of c.getChildren())this._markDescendantTextToSync(u)}_updateSelection(){if(ae.isBlink&&!ae.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const c=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&c&&(this.selection.isFake?this._updateFakeSelection(c):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(c)):this.isComposing&&ae.isAndroid||this._updateDomSelection(c))}_updateFakeSelection(c){const u=c.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(b){const w=b.createElement("div");return w.className="ck-fake-selection-container",Object.assign(w.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),w.textContent="\xa0",w}(u));const h=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(h,this.selection),!this._fakeSelectionNeedsUpdate(c))return;h.parentElement&&h.parentElement==c||c.appendChild(h),h.textContent=this.selection.fakeSelectionLabel||"\xa0";const m=u.getSelection(),_=u.createRange();m.removeAllRanges(),_.selectNodeContents(h),m.addRange(_)}_updateDomSelection(c){const u=c.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(u))return;const h=this.domConverter.viewPositionToDom(this.selection.anchor),m=this.domConverter.viewPositionToDom(this.selection.focus);u.setBaseAndExtent(h.parent,h.offset,m.parent,m.offset),ae.isGecko&&function(_,b){const w=_.parent;if(w.nodeType!=Node.ELEMENT_NODE||_.offset!=w.childNodes.length-1)return;const A=w.childNodes[_.offset];A&&"BR"==A.tagName&&b.addRange(b.getRangeAt(0))}(m,u)}_domSelectionNeedsUpdate(c){if(!this.domConverter.isDomSelectionCorrect(c))return!0;const u=c&&this.domConverter.domSelectionToView(c);return!(u&&this.selection.isEqual(u)||!this.selection.isCollapsed&&this.selection.isSimilar(u))}_fakeSelectionNeedsUpdate(c){const u=this._fakeSelectionContainer,h=c.ownerDocument.getSelection();return!u||u.parentElement!==c||h.anchorNode!==u&&!u.contains(h.anchorNode)||u.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const c of this.domDocuments){const u=c.getSelection();if(u.rangeCount){const h=c.activeElement,m=this.domConverter.mapDomToView(h);h&&m&&u.removeAllRanges()}}}_removeFakeSelection(){const c=this._fakeSelectionContainer;c&&c.remove()}_updateFocus(){if(this.isFocused){const c=this.selection.editableElement;c&&this.domConverter.focus(c)}}}function c_(g,c,u){const h=c instanceof Array?c:c.childNodes,m=h[u];if(Ir(m))return m.data=Iu+m.data,m;{const _=g.createTextNode(Iu);return Array.isArray(c)?h.splice(u,0,_):Uf(c,u,_),_}}function Gh(g,c){return wu(g)&&wu(c)&&!Ir(g)&&!Ir(c)&&!Wf(g)&&!Wf(c)&&g.tagName.toLowerCase()===c.tagName.toLowerCase()}function UL(g,c){return wu(g)&&wu(c)&&Ir(g)&&Ir(c)}function dE(g,c,u){return c===u||(Ir(c)&&Ir(u)?c.data===u.data:!(!g.isBlockFiller(c)||!g.isBlockFiller(u)))}function I1(g,c){const u=g.data;if(u==c)return;const h=te(u,c);for(const m of h)"insert"===m.type?g.insertData(m.index,m.values.join("")):g.deleteData(m.index,m.howMany)}const d_=Ly(de.document),WL=aE(de.document),aa=a_(de.document),By="data-ck-unsafe-attribute-",at="data-ck-unsafe-element";class Og{constructor(c,{blockFillerMode:u,renderingMode:h="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new sc,this._inlineObjectElementMatcher=new sc,this._elementsWithTemporaryCustomProperties=new Set,this.document=c,this.renderingMode=h,this.blockFillerMode=u||("editing"===h?"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?de.document:de.document.implementation.createHTMLDocument("")}bindFakeSelection(c,u){this._fakeSelectionMapping.set(c,new Sl(u))}fakeSelectionToView(c){return this._fakeSelectionMapping.get(c)}bindElements(c,u){this._domToViewMapping.set(c,u),this._viewToDomMapping.set(u,c)}unbindDomElement(c){const u=this._domToViewMapping.get(c);if(u){this._domToViewMapping.delete(c),this._viewToDomMapping.delete(u);for(const h of Array.from(c.children))this.unbindDomElement(h)}}bindDocumentFragments(c,u){this._domToViewMapping.set(c,u),this._viewToDomMapping.set(u,c)}shouldRenderAttribute(c,u,h){return"data"===this.renderingMode||!(c=c.toLowerCase()).startsWith("on")&&("srcdoc"!==c||!u.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===h&&("src"===c||"srcset"===c)||"source"===h&&"srcset"===c||!u.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))}setContentOf(c,u){if("data"===this.renderingMode)return void(c.innerHTML=u);const h=(new DOMParser).parseFromString(u,"text/html"),m=h.createDocumentFragment(),_=h.body.childNodes;for(;_.length>0;)m.appendChild(_[0]);const b=h.createTreeWalker(m,NodeFilter.SHOW_ELEMENT),w=[];let A;for(;A=b.nextNode();)w.push(A);for(const M of w){for(const O of M.getAttributeNames())this.setDomElementAttribute(M,O,M.getAttribute(O));const R=M.tagName.toLowerCase();this._shouldRenameElement(R)&&(jh(R),M.replaceWith(this._createReplacementDomElement(R,M)))}for(;c.firstChild;)c.firstChild.remove();c.append(m)}viewToDom(c,u={}){if(c.is("$text")){const h=this._processDataFromViewText(c);return this._domDocument.createTextNode(h)}{const h=c;if(this.mapViewToDom(h)){if(!h.getCustomProperty("editingPipeline:doNotReuseOnce"))return this.mapViewToDom(h);this._elementsWithTemporaryCustomProperties.add(h)}let m;if(h.is("documentFragment"))m=this._domDocument.createDocumentFragment(),u.bind&&this.bindDocumentFragments(m,h);else{if(h.is("uiElement"))return m="$comment"===h.name?this._domDocument.createComment(h.getCustomProperty("$rawContent")):h.render(this._domDocument,this),u.bind&&this.bindElements(m,h),m;this._shouldRenameElement(h.name)?(jh(h.name),m=this._createReplacementDomElement(h.name)):m=h.hasAttribute("xmlns")?this._domDocument.createElementNS(h.getAttribute("xmlns"),h.name):this._domDocument.createElement(h.name),h.is("rawElement")&&h.render(m,this),u.bind&&this.bindElements(m,h);for(const _ of h.getAttributeKeys())this.setDomElementAttribute(m,_,h.getAttribute(_),h)}if(!1!==u.withChildren)for(const _ of this.viewChildrenToDom(h,u))m.appendChild(_);return m}}setDomElementAttribute(c,u,h,m){const _=this.shouldRenderAttribute(u,h,c.tagName.toLowerCase())||m&&m.shouldRenderUnsafeAttribute(u);_||St("domconverter-unsafe-attribute-detected",{domElement:c,key:u,value:h}),function(b){try{de.document.createAttribute(b)}catch{return!1}return!0}(u)?(c.hasAttribute(u)&&!_?c.removeAttribute(u):c.hasAttribute(By+u)&&_&&c.removeAttribute(By+u),c.setAttribute(_?u:By+u,h)):St("domconverter-invalid-attribute-detected",{domElement:c,key:u,value:h})}removeDomElementAttribute(c,u){u!=at&&(c.removeAttribute(u),c.removeAttribute(By+u))}*viewChildrenToDom(c,u={}){const h=c.getFillerOffset&&c.getFillerOffset();let m=0;for(const _ of c.getChildren()){h===m&&(yield this._getBlockFiller());const b=_.is("element")&&!!_.getCustomProperty("dataPipeline:transparentRendering")&&!gr(_.getAttributes());b&&"data"==this.renderingMode?yield*this.viewChildrenToDom(_,u):(b&&St("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:_}),yield this.viewToDom(_,u)),m++}h===m&&(yield this._getBlockFiller())}viewRangeToDom(c){const u=this.viewPositionToDom(c.start),h=this.viewPositionToDom(c.end),m=this._domDocument.createRange();return m.setStart(u.parent,u.offset),m.setEnd(h.parent,h.offset),m}viewPositionToDom(c){const u=c.parent;if(u.is("$text")){const h=this.findCorrespondingDomText(u);if(!h)return null;let m=c.offset;return sa(h)&&(m+=Tl),{parent:h,offset:m}}{let h,m,_;if(0===c.offset){if(h=this.mapViewToDom(u),!h)return null;_=h.childNodes[0]}else{const b=c.nodeBefore;if(m=b.is("$text")?this.findCorrespondingDomText(b):this.mapViewToDom(b),!m)return null;h=m.parentNode,_=m.nextSibling}return Ir(_)&&sa(_)?{parent:_,offset:Tl}:{parent:h,offset:m?$f(m)+1:0}}}domToView(c,u={}){const h=[],m=this._domToView(c,u,h),_=m.next().value;return _?(m.next(),this._processDomInlineNodes(null,h,u),_.is("$text")&&0==_.data.length?null:_):null}*domChildrenToView(c,u={},h=[]){for(let m=0;m{const{scrollLeft:w,scrollTop:A}=b;_.push([w,A])}),u.focus(),S1(u,b=>{const[w,A]=_.shift();b.scrollLeft=w,b.scrollTop=A}),de.window.scrollTo(h,m)}}_clearDomSelection(){const c=this.mapViewToDom(this.document.selection.editableElement);if(!c)return;const u=c.ownerDocument.defaultView.getSelection(),h=this.domSelectionToView(u);h&&h.rangeCount>0&&u.removeAllRanges()}isElement(c){return c&&c.nodeType==Node.ELEMENT_NODE}isDocumentFragment(c){return c&&c.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(c){return"br"==this.blockFillerMode?c.isEqualNode(d_):!("BR"!==c.tagName||!Ns(c,this.blockElements)||1!==c.parentNode.childNodes.length)||c.isEqualNode(aa)||(h=this.blockElements,(u=c).isEqualNode(WL)&&Ns(u,h)&&1===u.parentNode.childNodes.length);var u,h}isDomSelectionBackward(c){if(c.isCollapsed)return!1;const u=this._domDocument.createRange();try{u.setStart(c.anchorNode,c.anchorOffset),u.setEnd(c.focusNode,c.focusOffset)}catch{return!1}const h=u.collapsed;return u.detach(),h}getHostViewElement(c){const u=function(h){const m=[];let _=h;for(;_&&_.nodeType!=Node.DOCUMENT_NODE;)m.unshift(_),_=_.parentNode;return m}(c);for(u.pop();u.length;){const h=u.pop(),m=this._domToViewMapping.get(h);if(m&&(m.is("uiElement")||m.is("rawElement")))return m}return null}isDomSelectionCorrect(c){return this._isDomSelectionPositionCorrect(c.anchorNode,c.anchorOffset)&&this._isDomSelectionPositionCorrect(c.focusNode,c.focusOffset)}registerRawContentMatcher(c){this._rawContentElementMatcher.add(c)}registerInlineObjectMatcher(c){this._inlineObjectElementMatcher.add(c)}_clearTemporaryCustomProperties(){for(const c of this._elementsWithTemporaryCustomProperties)c._removeCustomProperty("editingPipeline:doNotReuseOnce");this._elementsWithTemporaryCustomProperties.clear()}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return aE(this._domDocument);case"markedNbsp":return a_(this._domDocument);case"br":return Ly(this._domDocument)}}_isDomSelectionPositionCorrect(c,u){if(Ir(c)&&sa(c)&&u0?u[_-1]:null,R=_+1this.preElements.includes(h.name)))return u;if(" "==u.charAt(0)){const h=this._getTouchingInlineViewNode(c,!1);!(h&&h.is("$textProxy")&&this._nodeEndsWithSpace(h))&&h||(u="\xa0"+u.substr(1))}if(" "==u.charAt(u.length-1)){const h=this._getTouchingInlineViewNode(c,!0),m=h&&h.is("$textProxy")&&" "==h.data.charAt(0);" "!=u.charAt(u.length-2)&&h&&!m||(u=u.substr(0,u.length-1)+"\xa0")}return u.replace(/ {2}/g," \xa0")}_nodeEndsWithSpace(c){if(c.getAncestors().some(h=>this.preElements.includes(h.name)))return!1;const u=this._processDataFromViewText(c);return" "==u.charAt(u.length-1)}_getTouchingInlineViewNode(c,u){const h=new Bh({startPosition:u?vt._createAfter(c):vt._createBefore(c),direction:u?"forward":"backward"});for(const m of h){if(m.item.is("element","br"))return null;if(this._isInlineObjectElement(m.item))return m.item;if(m.item.is("containerElement"))return null;if(m.item.is("$textProxy"))return m.item}return null}_isBlockDomElement(c){return this.isElement(c)&&this.blockElements.includes(c.tagName.toLowerCase())}_isBlockViewElement(c){return c.is("element")&&this.blockElements.includes(c.name)}_isInlineObjectElement(c){return!!c.is("element")&&("br"==c.name||this.inlineObjectElements.includes(c.name)||!!this._inlineObjectElementMatcher.match(c))}_createViewElement(c,u){if(Wf(c))return new Mg(this.document,"$comment");const h=u.keepOriginalCase?c.tagName:c.tagName.toLowerCase();return new ra(this.document,h)}_isViewElementWithRawContent(c,u){return!1!==u.withChildren&&c.is("element")&&!!this._rawContentElementMatcher.match(c)}_shouldRenameElement(c){const u=c.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(u)}_createReplacementDomElement(c,u){const h=this._domDocument.createElement("span");if(h.setAttribute(at,c),u){for(;u.firstChild;)h.appendChild(u.firstChild);for(const m of u.getAttributeNames())h.setAttribute(m,u.getAttribute(m))}return h}}function qL(g,c){return g.getAncestors().some(u=>u.is("element")&&c.includes(u.name))}function S1(g,c){let u=g;for(;u;)c(u),u=u.parentElement}function Ns(g,c){const u=g.parentNode;return!!u&&!!u.tagName&&c.includes(u.tagName.toLowerCase())}function jh(g){"script"===g&&St("domconverter-unsafe-script-element-detected"),"style"===g&&St("domconverter-unsafe-style-element-detected")}class la extends(Za()){constructor(c){super(),this._isEnabled=!1,this.view=c,this.document=c.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(c){return c&&3===c.nodeType&&(c=c.parentNode),!(!c||1!==c.nodeType)&&c.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}const $h=Ey(function(g,c){Bt(c,yu(c),g)});class Uh{constructor(c,u,h){this.view=c,this.document=c.document,this.domEvent=u,this.domTarget=u.target,$h(this,h)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class Hc extends la{constructor(){super(...arguments),this.useCapture=!1}observe(c){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach(u=>{this.listenTo(c,u,(h,m)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(m.target)&&this.onDomEvent(m)},{useCapture:this.useCapture})})}stopObserving(c){this.stopListening(c)}fire(c,u,h){this.isEnabled&&this.document.fire(c,new Uh(this.view,u,h))}}class Fg extends Hc{constructor(){super(...arguments),this.domEventType=["keydown","keyup"]}onDomEvent(c){this.fire(c.type,c,{keyCode:c.keyCode,altKey:c.altKey,ctrlKey:c.ctrlKey,shiftKey:c.shiftKey,metaKey:c.metaKey,get keystroke(){return Js(this)}})}}const uE=function(){return Ta.Date.now()};var KL=/\s/,PW=/^\s+/,FW=/^[-+]0x[0-9a-f]+$/i,NW=/^0b[01]+$/i,LW=/^0o[0-7]+$/i,Ng=parseInt;const hE=function(g){if("number"==typeof g)return g;if(Ty(g))return NaN;if(qt(g)){var c="function"==typeof g.valueOf?g.valueOf():g;g=qt(c)?c+"":c}if("string"!=typeof g)return 0===g?g:+g;g=function(g){return g&&g.slice(0,function(g){for(var c=g.length;c--&&KL.test(g.charAt(c)););return c}(g)+1).replace(PW,"")}(g);var u=NW.test(g);return u||LW.test(g)?Ng(g.slice(2),u?2:8):FW.test(g)?NaN:+g};var YL=Math.max,$r=Math.min;const u_=function(g,c,u){var h,m,_,b,w,A,M=0,R=!1,O=!1,N=!0;if("function"!=typeof g)throw new TypeError("Expected a function");function V(Me){var qe=h,kt=m;return h=m=void 0,M=Me,b=g.apply(kt,qe)}function W(Me){var qe=Me-A;return void 0===A||qe>=c||qe<0||O&&Me-M>=_}function Y(){var qe,kt,Me=uE();if(W(Me))return ne(Me);w=setTimeout(Y,(kt=c-((qe=Me)-A),O?$r(kt,_-(qe-M)):kt))}function ne(Me){return w=void 0,N&&h?V(Me):(h=m=void 0,b)}function he(){var kt,Me=uE(),qe=W(Me);if(h=arguments,m=this,A=Me,qe){if(void 0===w)return M=kt=A,w=setTimeout(Y,c),R?V(kt):b;if(O)return clearTimeout(w),w=setTimeout(Y,c),V(A)}return void 0===w&&(w=setTimeout(Y,c)),b}return c=hE(c)||0,qt(u)&&(R=!!u.leading,_=(O="maxWait"in u)?YL(hE(u.maxWait)||0,c):_,N="trailing"in u?!!u.trailing:N),he.cancel=function(){void 0!==w&&clearTimeout(w),M=0,h=A=m=w=void 0},he.flush=function(){return void 0===w?b:ne(uE())},he};class h_ extends la{constructor(c){super(c),this._fireSelectionChangeDoneDebounced=u_(u=>{this.document.fire("selectionChangeDone",u)},200)}observe(){const c=this.document;c.on("arrowKey",(u,h)=>{c.selection.isFake&&this.isEnabled&&h.preventDefault()},{context:"$capture"}),c.on("arrowKey",(u,h)=>{c.selection.isFake&&this.isEnabled&&this._handleSelectionMove(h.keyCode)},{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(c){const u=this.document.selection,h=new Sl(u.getRanges(),{backward:u.isBackward,fake:!1});c!=zi.arrowleft&&c!=zi.arrowup||h.setTo(h.getFirstPosition()),c!=zi.arrowright&&c!=zi.arrowdown||h.setTo(h.getLastPosition());const m={oldSelection:u,newSelection:h,domSelection:null};this.document.fire("selectionChange",m),this._fireSelectionChangeDoneDebounced(m)}}function Ed(g){var c=-1,u=null==g?0:g.length;for(this.__data__=new vg;++cw))return!1;var M=_.get(g),R=_.get(c);if(M&&R)return M==c&&R==g;var O=-1,N=!0,V=2&u?new pE:void 0;for(_.set(g,c),_.set(c,g);++O{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout(()=>{this.flush(),c.change(()=>{})},50)}),u.on("blur",(h,m)=>{const _=u.selection.editableElement;null!==_&&_!==m.target||(u.isFocused=!1,this._isFocusChanging=!1,c.change(()=>{}))})}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(c){this.fire(c.type,c)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class da extends la{constructor(c){super(c),this.mutationObserver=c.getObserver(Hy),this.focusObserver=c.getObserver(g_),this.selection=this.document.selection,this.domConverter=c.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=u_(u=>{this.document.fire("selectionChangeDone",u)},200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._documentIsSelectingInactivityTimeoutDebounced=u_(()=>this.document.isSelecting=!1,5e3),this._loopbackCounter=0}observe(c){const u=c.ownerDocument,h=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,u),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(c,"selectstart",()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()},{priority:"highest"}),this.listenTo(c,"keydown",h,{priority:"highest",useCapture:!0}),this.listenTo(c,"keyup",h,{priority:"highest",useCapture:!0}),this._documents.has(u)||(this.listenTo(u,"mouseup",h,{priority:"highest",useCapture:!0}),this.listenTo(u,"selectionchange",(m,_)=>{this.document.isComposing&&!ae.isAndroid||(this._handleSelectionChange(_,u),this._documentIsSelectingInactivityTimeoutDebounced())}),this._documents.add(u))}stopObserving(c){this.stopListening(c)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(c,u){if(!this.isEnabled)return;const h=u.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(h.anchorNode))return;this.mutationObserver.flush();const m=this.domConverter.domSelectionToView(h);if(0!=m.rangeCount){if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.selection.isEqual(m)||!this.domConverter.isDomSelectionCorrect(h))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.selection.isSimilar(m))this.view.forceRender();else{const _={oldSelection:this.selection,newSelection:m,domSelection:h};this.document.fire("selectionChange",_),this._fireSelectionChangeDoneDebounced(_)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class tB extends Hc{constructor(c){super(c),this.domEventType=["compositionstart","compositionupdate","compositionend"];const u=this.document;u.on("compositionstart",()=>{u.isComposing=!0},{priority:"low"}),u.on("compositionend",()=>{u.isComposing=!1},{priority:"low"})}onDomEvent(c){this.fire(c.type,c,{data:c.data})}}class Ml{constructor(c,u={}){this._files=u.cacheFiles?vE(c):null,this._native=c}get files(){return this._files||(this._files=vE(this._native)),this._files}get types(){return this._native.types}getData(c){return this._native.getData(c)}setData(c,u){this._native.setData(c,u)}set effectAllowed(c){this._native.effectAllowed=c}get effectAllowed(){return this._native.effectAllowed}set dropEffect(c){this._native.dropEffect=c}get dropEffect(){return this._native.dropEffect}setDragImage(c,u,h){this._native.setDragImage(c,u,h)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function vE(g){const c=Array.from(g.files||[]),u=Array.from(g.items||[]);return c.length?c:u.filter(h=>"file"===h.kind).map(h=>h.getAsFile())}class bE extends Hc{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(c){const u=c.getTargetRanges(),h=this.view,m=h.document;let _=null,b=null,w=[];if(c.dataTransfer&&(_=new Ml(c.dataTransfer)),null!==c.data?b=c.data:_&&(b=_.getData("text/plain")),m.selection.isFake)w=Array.from(m.selection.getRanges());else if(u.length)w=u.map(A=>{const M=h.domConverter.domPositionToView(A.startContainer,A.startOffset),R=h.domConverter.domPositionToView(A.endContainer,A.endOffset);return M?h.createRange(M,R):R?h.createRange(R):void 0}).filter(A=>!!A);else if(ae.isAndroid){const A=c.target.ownerDocument.defaultView.getSelection();w=Array.from(h.domConverter.domSelectionToView(A).getRanges())}if(ae.isAndroid&&"insertCompositionText"==c.inputType&&b&&b.endsWith("\n"))this.fire(c.type,c,{inputType:"insertParagraph",targetRanges:[h.createRange(w[0].end)]});else if("insertText"==c.inputType&&b&&b.includes("\n")){const A=b.split(/\n{1,2}/g);let M=w;for(let R=0;R{if(this.isEnabled&&((m=h.keyCode)==zi.arrowright||m==zi.arrowleft||m==zi.arrowup||m==zi.arrowdown)){const _=new el(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(_,h),_.stop.called&&u.stop()}var m})}observe(){}stopObserving(){}}class jy extends la{constructor(c){super(c);const u=this.document;u.on("keydown",(h,m)=>{if(!this.isEnabled||m.keyCode!=zi.tab||m.ctrlKey)return;const _=new el(u,"tab",u.selection.getFirstRange());u.fire(_,m),_.stop.called&&h.stop()})}observe(){}stopObserving(){}}const Md=function(g){return Gx(g,5)};class iB extends(_t()){constructor(c){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 n_(c),this.domConverter=new Og(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new $L(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new Fy(this.document),this.addObserver(Hy),this.addObserver(g_),this.addObserver(da),this.addObserver(Fg),this.addObserver(h_),this.addObserver(tB),this.addObserver(M1),this.addObserver(bE),this.addObserver(jy),this.document.on("arrowKey",lE,{priority:"low"}),function TW(g){g.document.on("arrowKey",(c,u)=>function(h,m,_){if(m.keyCode==zi.arrowright){const b=m.domTarget.ownerDocument.defaultView.getSelection(),w=1==b.rangeCount&&b.getRangeAt(0).collapsed;if(w||m.shiftKey){const R=_.domPositionToView(b.focusNode,b.focusOffset);if(null===R)return;let O=!1;const N=R.getLastMatchingPosition(V=>(V.item.is("uiElement")&&(O=!0),!(!V.item.is("uiElement")&&!V.item.is("attributeElement"))));if(O){const V=_.viewPositionToDom(N);w?b.collapse(V.parent,V.offset):b.extend(V.parent,V.offset)}}}}(0,u,g.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}),ae.isiOS&&this.listenTo(this.document,"blur",(u,h)=>{this.domConverter.mapDomToView(h.domEvent.relatedTarget)||this.domConverter._clearDomSelection()})}attachDomRoot(c,u="main"){const h=this.document.getRoot(u);h._name=c.tagName.toLowerCase();const m={};for(const{name:b,value:w}of Array.from(c.attributes))m[b]=w,"class"===b?this._writer.addClass(w.split(" "),h):this._writer.setAttribute(b,w,h);this._initialDomRootAttributes.set(c,m);const _=()=>{this._writer.setAttribute("contenteditable",(!h.isReadOnly).toString(),h),h.isReadOnly?this._writer.addClass("ck-read-only",h):this._writer.removeClass("ck-read-only",h)};_(),this.domRoots.set(u,c),this.domConverter.bindElements(c,h),this._renderer.markToSync("children",h),this._renderer.markToSync("attributes",h),this._renderer.domDocuments.add(c.ownerDocument),h.on("change:children",(b,w)=>this._renderer.markToSync("children",w)),h.on("change:attributes",(b,w)=>this._renderer.markToSync("attributes",w)),h.on("change:text",(b,w)=>this._renderer.markToSync("text",w)),h.on("change:isReadOnly",()=>this.change(_)),h.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const b of this._observers.values())b.observe(c,u)}detachDomRoot(c){const u=this.domRoots.get(c);Array.from(u.attributes).forEach(({name:m})=>u.removeAttribute(m));const h=this._initialDomRootAttributes.get(u);for(const m in h)u.setAttribute(m,h[m]);this.domRoots.delete(c),this.domConverter.unbindDomElement(u);for(const m of this._observers.values())m.stopObserving(u)}getDomRoot(c="main"){return this.domRoots.get(c)}addObserver(c){let u=this._observers.get(c);if(u)return u;u=new c(this),this._observers.set(c,u);for(const[h,m]of this.domRoots)u.observe(m,h);return u.enable(),u}getObserver(c){return this._observers.get(c)}disableObservers(){for(const c of this._observers.values())c.disable()}enableObservers(){for(const c of this._observers.values())c.enable()}scrollToTheSelection({alignToTop:c,forceScroll:u,viewportOffset:h=20,ancestorOffset:m=20}={}){const _=this.document.selection.getFirstRange();if(!_)return;const b=Md({alignToTop:c,forceScroll:u,viewportOffset:h,ancestorOffset:m});"number"==typeof h&&(h={top:h,bottom:h,left:h,right:h});const w={target:this.domConverter.viewRangeToDom(_),viewportOffset:h,ancestorOffset:m,alignToTop:c,forceScroll:u};this.fire("scrollToTheSelection",w,b),function({target:A,viewportOffset:M=0,ancestorOffset:R=0,alignToTop:O,forceScroll:N}){const V=li(A);let W=V,Y=null;for(M="number"==typeof(ne=M)?{top:ne,bottom:ne,left:ne,right:ne}:ne;W;){let ne;ne=Kf(W==V?A:Y),Ps({parent:ne,getRect:()=>Wx(A,W),alignToTop:O,ancestorOffset:R,forceScroll:N});const he=Wx(A,W);if(qf({window:W,rect:he,viewportOffset:M,alignToTop:O,forceScroll:N}),W.parent!=W){if(Y=W.frameElement,W=W.parent,!Y)return}else W=null}var ne}(w)}focus(){if(!this.document.isFocused){const c=this.document.selection.editableElement;c&&(this.domConverter.focus(c),this.forceRender())}}change(c){if(this.isRenderingInProgress||this._postFixersInProgress)throw new fe("cannot-change-view-tree",this);try{if(this._ongoingChange)return c(this._writer);this._ongoingChange=!0;const u=c(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),u}catch(u){fe.rethrowUnexpectedError(u,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(g_).flush(),this.change(()=>{})}destroy(){for(const c of this._observers.values())c.destroy();this.document.destroy(),this.stopListening()}createPositionAt(c,u){return vt._createAt(c,u)}createPositionAfter(c){return vt._createAfter(c)}createPositionBefore(c){return vt._createBefore(c)}createRange(c,u){return new ni(c,u)}createRangeOn(c){return ni._createOn(c)}createRangeIn(c){return ni._createIn(c)}createSelection(...c){return new Sl(...c)}_disableRendering(c){this._renderingDisabled=c,0==c&&this.change(()=>{})}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class Su{is(){throw new Error("is() method is abstract")}}class Rl extends Su{constructor(c){super(),this.parent=null,this._attrs=ta(c)}get document(){return null}get index(){let c;if(!this.parent)return null;if(null===(c=this.parent.getChildIndex(this)))throw new fe("model-node-not-found-in-parent",this);return c}get startOffset(){let c;if(!this.parent)return null;if(null===(c=this.parent.getChildStartOffset(this)))throw new fe("model-node-not-found-in-parent",this);return c}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const c=this.index;return null!==c&&this.parent.getChild(c+1)||null}get previousSibling(){const c=this.index;return null!==c&&this.parent.getChild(c-1)||null}get root(){let c=this;for(;c.parent;)c=c.parent;return c}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const c=[];let u=this;for(;u.parent;)c.unshift(u.startOffset),u=u.parent;return c}getAncestors(c={}){const u=[];let h=c.includeSelf?this:this.parent;for(;h;)u[c.parentFirst?"push":"unshift"](h),h=h.parent;return u}getCommonAncestor(c,u={}){const h=this.getAncestors(u),m=c.getAncestors(u);let _=0;for(;h[_]==m[_]&&h[_];)_++;return 0===_?null:h[_-1]}isBefore(c){if(this==c||this.root!==c.root)return!1;const u=this.getPath(),h=c.getPath(),m=Dr(u,h);switch(m){case"prefix":return!0;case"extension":return!1;default:return u[m](u[h[0]]=h[1],u),{})),c}_clone(c){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(c,u){this._attrs.set(c,u)}_setAttributesTo(c){this._attrs=ta(c)}_removeAttribute(c){return this._attrs.delete(c)}_clearAttributes(){this._attrs.clear()}}Rl.prototype.is=function(g){return"node"===g||"model:node"===g};class Rd{constructor(c){this._nodes=[],c&&this._insertNodes(0,c)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce((c,u)=>c+u.offsetSize,0)}getNode(c){return this._nodes[c]||null}getNodeIndex(c){const u=this._nodes.indexOf(c);return-1==u?null:u}getNodeStartOffset(c){const u=this.getNodeIndex(c);return null===u?null:this._nodes.slice(0,u).reduce((h,m)=>h+m.offsetSize,0)}indexToOffset(c){if(c==this._nodes.length)return this.maxOffset;const u=this._nodes[c];if(!u)throw new fe("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(u)}offsetToIndex(c){let u=0;for(const h of this._nodes){if(c>=u&&c1e4)return h.slice(0,_).concat(m).concat(h.slice(_+0,h.length));{const w=Array.from(h);return w.splice(_,0,...m),w}}(this._nodes,Array.from(u),c)}_removeNodes(c,u=1){return this._nodes.splice(c,u)}toJSON(){return this._nodes.map(c=>c.toJSON())}}class to extends Rl{constructor(c,u){super(u),this._data=c||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const c=super.toJSON();return c.data=this.data,c}_clone(){return new to(this.data,this.getAttributes())}static fromJSON(c){return new to(c.data,c.attributes)}}to.prototype.is=function(g){return"$text"===g||"model:$text"===g||"text"===g||"model:text"===g||"node"===g||"model:node"===g};class Gc extends Su{constructor(c,u,h){if(super(),this.textNode=c,u<0||u>c.offsetSize)throw new fe("model-textproxy-wrong-offsetintext",this);if(h<0||u+h>c.offsetSize)throw new fe("model-textproxy-wrong-length",this);this.data=c.data.substring(u,u+h),this.offsetInText=u}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 c=this.textNode.getPath();return c.length>0&&(c[c.length-1]+=this.offsetInText),c}getAncestors(c={}){const u=[];let h=c.includeSelf?this:this.parent;for(;h;)u[c.parentFirst?"push":"unshift"](h),h=h.parent;return u}hasAttribute(c){return this.textNode.hasAttribute(c)}getAttribute(c){return this.textNode.getAttribute(c)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}Gc.prototype.is=function(g){return"$textProxy"===g||"model:$textProxy"===g||"textProxy"===g||"model:textProxy"===g};class On extends Rl{constructor(c,u,h){super(u),this._children=new Rd,this.name=c,h&&this._insertChild(0,h)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(c){return this._children.getNode(c)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(c){return this._children.getNodeIndex(c)}getChildStartOffset(c){return this._children.getNodeStartOffset(c)}offsetToIndex(c){return this._children.offsetToIndex(c)}getNodeByPath(c){let u=this;for(const h of c)u=u.getChild(u.offsetToIndex(h));return u}findAncestor(c,u={}){let h=u.includeSelf?this:this.parent;for(;h;){if(h.name===c)return h;h=h.parent}return null}toJSON(){const c=super.toJSON();if(c.name=this.name,this._children.length>0){c.children=[];for(const u of this._children)c.children.push(u.toJSON())}return c}_clone(c=!1){const u=c?Array.from(this._children).map(h=>h._clone(!0)):void 0;return new On(this.name,this.getAttributes(),u)}_appendChild(c){this._insertChild(this.childCount,c)}_insertChild(c,u){const h="string"==typeof(m=u)?[new to(m)]:(Zn(m)||(m=[m]),Array.from(m).map(_=>"string"==typeof _?new to(_):_ instanceof Gc?new to(_.data,_.getAttributes()):_));var m;for(const m of h)null!==m.parent&&m._remove(),m.parent=this;this._children._insertNodes(c,h)}_removeChildren(c,u=1){const h=this._children._removeNodes(c,u);for(const m of h)m.parent=null;return h}static fromJSON(c){let u;if(c.children){u=[];for(const h of c.children)u.push(h.name?On.fromJSON(h):to.fromJSON(h))}return new On(c.name,c.attributes,u)}}On.prototype.is=function(g,c){return c?c===this.name&&("element"===g||"model:element"===g):"element"===g||"model:element"===g||"node"===g||"model:node"===g};class lc{constructor(c){if(!c||!c.boundaries&&!c.startPosition)throw new fe("model-tree-walker-no-start-position",null);const u=c.direction||"forward";if("forward"!=u&&"backward"!=u)throw new fe("model-tree-walker-unknown-direction",c,{direction:u});this.direction=u,this.boundaries=c.boundaries||null,this._position=c.startPosition?c.startPosition.clone():ct._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!c.singleCharacters,this.shallow=!!c.shallow,this.ignoreElementEnd=!!c.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(c){let u,h,m,_;do{m=this.position,_=this._visitedParent,({done:u,value:h}=this.next())}while(!u&&c(h));u||(this._position=m,this._visitedParent=_)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const c=this.position,u=this.position.clone(),h=this._visitedParent;if(null===h.parent&&u.offset===h.maxOffset)return{done:!0,value:void 0};if(h===this._boundaryEndParent&&u.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const m=m_(u,h),_=m||yE(u,h,m);if(_ instanceof On){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(u))return{done:!0,value:void 0};u.offset++}else u.path.push(0),this._visitedParent=_;return this._position=u,Bg("elementStart",_,c,u,1)}if(_ instanceof to){let b;if(this.singleCharacters)b=1;else{let M=_.endOffset;this._boundaryEndParent==h&&this.boundaries.end.offsetR&&(R=this.boundaries.start.offset),w=u.offset-R}const M=new Gc(b,u.offset-b.startOffset-w,w);return u.offset-=w,this._position=u,Bg("text",M,c,u,w)}return u.path.pop(),this._position=u,this._visitedParent=h.parent,Bg("elementStart",h,c,u,1)}}function Bg(g,c,u,h,m){return{done:!1,value:{type:g,item:c,previousPosition:u,nextPosition:h,length:m}}}class ct extends Su{constructor(c,u,h="toNone"){if(super(),!c.is("element")&&!c.is("documentFragment"))throw new fe("model-position-root-invalid",c);if(!(u instanceof Array)||0===u.length)throw new fe("model-position-path-incorrect-format",c,{path:u});c.is("rootElement")?u=u.slice():(u=[...c.getPath(),...u],c=c.root),this.root=c,this.path=u,this.stickiness=h}get offset(){return this.path[this.path.length-1]}set offset(c){this.path[this.path.length-1]=c}get parent(){let c=this.root;for(let u=0;u1)return!1;if(1===m)return R1(c,this,h);if(-1===m)return R1(this,c,h)}return this.path.length===c.path.length||P1(this.path.length>c.path.length?this.path:c.path,u)}hasSameParentAs(c){return this.root===c.root&&"same"==Dr(this.getParentPath(),c.getParentPath())}getTransformedByOperation(c){let u;switch(c.type){case"insert":u=this._getTransformedByInsertOperation(c);break;case"move":case"remove":case"reinsert":u=this._getTransformedByMoveOperation(c);break;case"split":u=this._getTransformedBySplitOperation(c);break;case"merge":u=this._getTransformedByMergeOperation(c);break;default:u=ct._createAt(this)}return u}_getTransformedByInsertOperation(c){return this._getTransformedByInsertion(c.position,c.howMany)}_getTransformedByMoveOperation(c){return this._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany)}_getTransformedBySplitOperation(c){const u=c.movedRange;return u.containsPosition(this)||u.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(c.splitPosition,c.moveTargetPosition):c.graveyardPosition?this._getTransformedByMove(c.graveyardPosition,c.insertionPosition,1):this._getTransformedByInsertion(c.insertionPosition,1)}_getTransformedByMergeOperation(c){const u=c.movedRange;let h;return u.containsPosition(this)||u.start.isEqual(this)?(h=this._getCombined(c.sourcePosition,c.targetPosition),c.sourcePosition.isBefore(c.targetPosition)&&(h=h._getTransformedByDeletion(c.deletionPosition,1))):h=this.isEqual(c.deletionPosition)?ct._createAt(c.deletionPosition):this._getTransformedByMove(c.deletionPosition,c.graveyardPosition,1),h}_getTransformedByDeletion(c,u){const h=ct._createAt(this);if(this.root!=c.root)return h;if("same"==Dr(c.getParentPath(),this.getParentPath())){if(c.offsetthis.offset)return null;h.offset-=u}}else if("prefix"==Dr(c.getParentPath(),this.getParentPath())){const m=c.path.length-1;if(c.offset<=this.path[m]){if(c.offset+u>this.path[m])return null;h.path[m]-=u}}return h}_getTransformedByInsertion(c,u){const h=ct._createAt(this);if(this.root!=c.root)return h;if("same"==Dr(c.getParentPath(),this.getParentPath()))(c.offset=m;){if(h.path[b]+w!==_.maxOffset)return!1;w=1,b--,_=_.parent}return!0}(g,u+1)}function P1(g,c){for(;cu+1;){const _=m.maxOffset-h.offset;0!==_&&c.push(new Ke(h,h.getShiftedBy(_))),h.path=h.path.slice(0,-1),h.offset++,m=m.parent}for(;h.path.length<=this.end.path.length;){const _=this.end.path[h.path.length-1],b=_-h.offset;0!==b&&c.push(new Ke(h,h.getShiftedBy(b))),h.offset=_,h.path.push(0)}return c}getWalker(c={}){return c.boundaries=this,new lc(c)}*getItems(c={}){c.boundaries=this,c.ignoreElementEnd=!0;const u=new lc(c);for(const h of u)yield h.item}*getPositions(c={}){c.boundaries=this;const u=new lc(c);yield u.position;for(const h of u)yield h.nextPosition}getTransformedByOperation(c){switch(c.type){case"insert":return this._getTransformedByInsertOperation(c);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(c);case"split":return[this._getTransformedBySplitOperation(c)];case"merge":return[this._getTransformedByMergeOperation(c)]}return[new Ke(this.start,this.end)]}getTransformedByOperations(c){const u=[new Ke(this.start,this.end)];for(const h of c)for(let m=0;m0?new this(h,m):new this(m,h)}static _createIn(c){return new this(ct._createAt(c,0),ct._createAt(c,c.maxOffset))}static _createOn(c){return this._createFromPositionAndShift(ct._createBefore(c),c.offsetSize)}static _createFromRanges(c){if(0===c.length)throw new fe("range-create-from-ranges-empty-array",null);if(1==c.length)return c[0].clone();const u=c[0];c.sort((_,b)=>_.start.isAfter(b.start)?1:-1);const h=c.indexOf(u),m=new this(u.start,u.end);if(h>0)for(let _=h-1;c[_].end.isEqual(m.start);_++)m.start=ct._createAt(c[_].start);for(let _=h+1;_{if(u.viewPosition)return;const h=this._modelToViewMapping.get(u.modelPosition.parent);if(!h)throw new fe("mapping-model-position-view-parent-not-found",this,{modelPosition:u.modelPosition});u.viewPosition=this.findPositionIn(h,u.modelPosition.offset)},{priority:"low"}),this.on("viewToModelPosition",(c,u)=>{if(u.modelPosition)return;const h=this.findMappedViewAncestor(u.viewPosition),m=this._viewToModelMapping.get(h),_=this._toModelOffset(u.viewPosition.parent,u.viewPosition.offset,h);u.modelPosition=ct._createAt(m,_)},{priority:"low"})}bindElements(c,u){this._modelToViewMapping.set(c,u),this._viewToModelMapping.set(u,c)}unbindViewElement(c,u={}){const h=this.toModelElement(c);if(this._elementToMarkerNames.has(c))for(const m of this._elementToMarkerNames.get(c))this._unboundMarkerNames.add(m);u.defer?this._deferredBindingRemovals.set(c,c.root):(this._viewToModelMapping.delete(c),this._modelToViewMapping.get(h)==c&&this._modelToViewMapping.delete(h))}unbindModelElement(c){const u=this.toViewElement(c);this._modelToViewMapping.delete(c),this._viewToModelMapping.get(u)==c&&this._viewToModelMapping.delete(u)}bindElementToMarker(c,u){const h=this._markerNameToElements.get(u)||new Set;h.add(c);const m=this._elementToMarkerNames.get(c)||new Set;m.add(u),this._markerNameToElements.set(u,h),this._elementToMarkerNames.set(c,m)}unbindElementFromMarkerName(c,u){const h=this._markerNameToElements.get(u);h&&(h.delete(c),0==h.size&&this._markerNameToElements.delete(u));const m=this._elementToMarkerNames.get(c);m&&(m.delete(u),0==m.size&&this._elementToMarkerNames.delete(c))}flushUnboundMarkerNames(){const c=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),c}flushDeferredBindings(){for(const[c,u]of this._deferredBindingRemovals)c.root==u&&this.unbindViewElement(c);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(c){return this._viewToModelMapping.get(c)}toViewElement(c){return this._modelToViewMapping.get(c)}toModelRange(c){return new Ke(this.toModelPosition(c.start),this.toModelPosition(c.end))}toViewRange(c){return new ni(this.toViewPosition(c.start),this.toViewPosition(c.end))}toModelPosition(c){const u={viewPosition:c,mapper:this};return this.fire("viewToModelPosition",u),u.modelPosition}toViewPosition(c,u={}){const h={modelPosition:c,mapper:this,isPhantom:u.isPhantom};return this.fire("modelToViewPosition",h),h.viewPosition}markerNameToElements(c){const u=this._markerNameToElements.get(c);if(!u)return null;const h=new Set;for(const m of u)if(m.is("attributeElement"))for(const _ of m.getElementsWithSameId())h.add(_);else h.add(m);return h}registerViewToModelLength(c,u){this._viewToModelLengthCallbacks.set(c,u)}findMappedViewAncestor(c){let u=c.parent;for(;!this._viewToModelMapping.has(u);)u=u.parent;return u}_toModelOffset(c,u,h){if(h!=c)return this._toModelOffset(c.parent,c.index,h)+this._toModelOffset(c,u,c);if(c.is("$text"))return u;let m=0;for(let _=0;_1?c[0]+":"+c[1]:c[0]}var oB=Object.defineProperty,rB=Object.defineProperties,F1=Object.getOwnPropertyDescriptors,sB=Object.getOwnPropertySymbols,zW=Object.prototype.hasOwnProperty,N1=Object.prototype.propertyIsEnumerable,aB=(g,c,u)=>c in g?oB(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,wE=(g,c)=>{for(var u in c||(c={}))zW.call(c,u)&&aB(g,u,c[u]);if(sB)for(var u of sB(c))N1.call(c,u)&&aB(g,u,c[u]);return g},lB=(g,c)=>rB(g,F1(c));class cB extends(vn()){constructor(c){super(),this._conversionApi=wE({dispatcher:this},c),this._firedEventsMap=new WeakMap}convertChanges(c,u,h){const m=this._createConversionApi(h,c.getRefreshedItems());for(const b of c.getMarkersToRemove())this._convertMarkerRemove(b.name,b.range,m);const _=this._reduceChanges(c.getChanges());for(const b of _)"insert"===b.type?this._convertInsert(Ke._createFromPositionAndShift(b.position,b.length),m):"reinsert"===b.type?this._convertReinsert(Ke._createFromPositionAndShift(b.position,b.length),m):"remove"===b.type?this._convertRemove(b.position,b.length,b.name,m):this._convertAttribute(b.range,b.attributeKey,b.attributeOldValue,b.attributeNewValue,m);m.mapper.flushDeferredBindings();for(const b of m.mapper.flushUnboundMarkerNames()){const w=u.get(b).getRange();this._convertMarkerRemove(b,w,m),this._convertMarkerAdd(b,w,m)}for(const b of c.getMarkersToAdd())this._convertMarkerAdd(b.name,b.range,m);m.consumable.verifyAllConsumed("insert")}convert(c,u,h,m={}){const _=this._createConversionApi(h,void 0,m);this._convertInsert(c,_);for(const[b,w]of u)this._convertMarkerAdd(b,w,_);_.consumable.verifyAllConsumed("insert")}convertSelection(c,u,h){const m=this._createConversionApi(h);this.fire("cleanSelection",{selection:c},m);const _=c.getFirstPosition().root;if(!m.mapper.toViewElement(_))return;const b=Array.from(u.getMarkersAtPosition(c.getFirstPosition()));if(this._addConsumablesForSelection(m.consumable,c,b),this.fire("selection",{selection:c},m),c.isCollapsed){for(const w of b)if(m.consumable.test(c,"addMarker:"+w.name)){const A=w.getRange();if(!HW(c.getFirstPosition(),w,m.mapper))continue;this.fire(`addMarker:${w.name}`,{item:c,markerName:w.name,markerRange:A},m)}for(const w of c.getAttributeKeys())if(m.consumable.test(c,"attribute:"+w)){const A={item:c,range:c.getFirstRange(),attributeKey:w,attributeOldValue:null,attributeNewValue:c.getAttribute(w)};this.fire(`attribute:${w}:$text`,A,m)}}}_convertInsert(c,u,h={}){h.doNotAddConsumables||this._addConsumablesForInsert(u.consumable,c);for(const m of Array.from(c.getWalker({shallow:!0})).map(xE))this._testAndFire("insert",m,u)}_convertRemove(c,u,h,m){this.fire(`remove:${h}`,{position:c,length:u},m)}_convertAttribute(c,u,h,m,_){this._addConsumablesForRange(_.consumable,c,`attribute:${u}`);for(const b of c){const w={item:b.item,range:Ke._createFromPositionAndShift(b.previousPosition,b.length),attributeKey:u,attributeOldValue:h,attributeNewValue:m};this._testAndFire(`attribute:${u}`,w,_)}}_convertReinsert(c,u){const h=Array.from(c.getWalker({shallow:!0}));this._addConsumablesForInsert(u.consumable,h);for(const m of h.map(xE))this._testAndFire("insert",lB(wE({},m),{reconversion:!0}),u)}_convertMarkerAdd(c,u,h){if("$graveyard"==u.root.rootName)return;const m=`addMarker:${c}`;if(h.consumable.add(u,m),this.fire(m,{markerName:c,markerRange:u},h),h.consumable.consume(u,m)){this._addConsumablesForRange(h.consumable,u,m);for(const _ of u.getItems()){if(!h.consumable.test(_,m))continue;const b={item:_,range:Ke._createOn(_),markerName:c,markerRange:u};this.fire(m,b,h)}}}_convertMarkerRemove(c,u,h){"$graveyard"!=u.root.rootName&&this.fire(`removeMarker:${c}`,{markerName:c,markerRange:u},h)}_reduceChanges(c){const u={changes:c};return this.fire("reduceChanges",u),u.changes}_addConsumablesForInsert(c,u){for(const h of u){const m=h.item;if(null===c.test(m,"insert")){c.add(m,"insert");for(const _ of m.getAttributeKeys())c.add(m,"attribute:"+_)}}return c}_addConsumablesForRange(c,u,h){for(const m of u.getItems())c.add(m,h);return c}_addConsumablesForSelection(c,u,h){c.add(u,"selection");for(const m of h)c.add(u,"addMarker:"+m.name);for(const m of u.getAttributeKeys())c.add(u,"attribute:"+m);return c}_testAndFire(c,u,h){const m=`${c}:${(M=u).item.is("element")?M.item.name:"$text"}`,_=u.item.is("$textProxy")?h.consumable._getSymbolForTextProxy(u.item):u.item,b=this._firedEventsMap.get(h),w=b.get(_);var M;if(w){if(w.has(m))return;w.add(m)}else b.set(_,new Set([m]));this.fire(m,u,h)}_testAndFireAddAttributes(c,u){const h={item:c,range:Ke._createOn(c)};for(const m of h.item.getAttributeKeys())h.attributeKey=m,h.attributeOldValue=null,h.attributeNewValue=h.item.getAttribute(m),this._testAndFire(`attribute:${m}`,h,u)}_createConversionApi(c,u=new Set,h={}){const m=lB(wE({},this._conversionApi),{consumable:new CE,writer:c,options:h,convertItem:_=>this._convertInsert(Ke._createOn(_),m),convertChildren:_=>this._convertInsert(Ke._createIn(_),m,{doNotAddConsumables:!0}),convertAttributes:_=>this._testAndFireAddAttributes(_,m),canReuseView:_=>!u.has(m.mapper.toModelElement(_))});return this._firedEventsMap.set(m,new Map),m}}function HW(g,c,u){const h=c.getRange(),m=Array.from(g.getAncestors());return m.shift(),m.reverse(),!m.some(_=>{if(h.containsItem(_))return!!u.toViewElement(_).getCustomProperty("addHighlight")})}function xE(g){return{item:g.item,range:Ke._createFromPositionAndShift(g.previousPosition,g.length)}}class Ls extends(vn(Su)){constructor(...c){super(),this._lastRangeBackward=!1,this._attrs=new Map,this._ranges=[],c.length&&this.setTo(...c)}get anchor(){if(this._ranges.length>0){const c=this._ranges[this._ranges.length-1];return this._lastRangeBackward?c.end:c.start}return null}get focus(){if(this._ranges.length>0){const c=this._ranges[this._ranges.length-1];return this._lastRangeBackward?c.start:c.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(c){if(this.rangeCount!=c.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(c.anchor)||!this.focus.isEqual(c.focus))return!1;for(const u of this._ranges){let h=!1;for(const m of c._ranges)if(u.isEqual(m)){h=!0;break}if(!h)return!1}return!0}*getRanges(){for(const c of this._ranges)yield new Ke(c.start,c.end)}getFirstRange(){let c=null;for(const u of this._ranges)c&&!u.start.isBefore(c.start)||(c=u);return c?new Ke(c.start,c.end):null}getLastRange(){let c=null;for(const u of this._ranges)c&&!u.end.isAfter(c.end)||(c=u);return c?new Ke(c.start,c.end):null}getFirstPosition(){const c=this.getFirstRange();return c?c.start.clone():null}getLastPosition(){const c=this.getLastRange();return c?c.end.clone():null}setTo(...c){let[u,h,m]=c;if("object"==typeof h&&(m=h,h=void 0),null===u)this._setRanges([]);else if(u instanceof Ls)this._setRanges(u.getRanges(),u.isBackward);else if(u&&"function"==typeof u.getRanges)this._setRanges(u.getRanges(),u.isBackward);else if(u instanceof Ke)this._setRanges([u],!!m&&!!m.backward);else if(u instanceof ct)this._setRanges([new Ke(u)]);else if(u instanceof Rl){const _=!!m&&!!m.backward;let b;if("in"==h)b=Ke._createIn(u);else if("on"==h)b=Ke._createOn(u);else{if(void 0===h)throw new fe("model-selection-setto-required-second-parameter",[this,u]);b=new Ke(ct._createAt(u,h))}this._setRanges([b],_)}else{if(!Zn(u))throw new fe("model-selection-setto-not-selectable",[this,u]);this._setRanges(u,m&&!!m.backward)}}_setRanges(c,u=!1){const h=Array.from(c),m=h.some(_=>{if(!(_ instanceof Ke))throw new fe("model-selection-set-ranges-not-range",[this,c]);return this._ranges.every(b=>!b.isEqual(_))});(h.length!==this._ranges.length||m)&&(this._replaceAllRanges(h),this._lastRangeBackward=!!u,this.fire("change:range",{directChange:!0}))}setFocus(c,u){if(null===this.anchor)throw new fe("model-selection-setfocus-no-ranges",[this,c]);const h=ct._createAt(c,u);if("same"==h.compareWith(this.focus))return;const m=this.anchor;this._ranges.length&&this._popRange(),"before"==h.compareWith(m)?(this._pushRange(new Ke(h,m)),this._lastRangeBackward=!0):(this._pushRange(new Ke(m,h)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(c){return this._attrs.get(c)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(c){return this._attrs.has(c)}removeAttribute(c){this.hasAttribute(c)&&(this._attrs.delete(c),this.fire("change:attribute",{attributeKeys:[c],directChange:!0}))}setAttribute(c,u){this.getAttribute(c)!==u&&(this._attrs.set(c,u),this.fire("change:attribute",{attributeKeys:[c],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const c=new WeakSet;for(const u of this.getRanges()){const h=L1(u.start,c);Vg(h,u)&&(yield h);for(const _ of u.getWalker()){const b=_.item;"elementEnd"==_.type&&kE(b,c,u)&&(yield b)}const m=L1(u.end,c);DE(m,u)&&(yield m)}}containsEntireContent(c=this.anchor.root){const u=ct._createAt(c,0),h=ct._createAt(c,"end");return u.isTouching(this.getFirstPosition())&&h.isTouching(this.getLastPosition())}_pushRange(c){this._checkRange(c),this._ranges.push(new Ke(c.start,c.end))}_checkRange(c){for(let u=0;u0;)this._popRange()}_popRange(){this._ranges.pop()}}function __(g,c){return!c.has(g)&&(c.add(g),g.root.document.model.schema.isBlock(g)&&!!g.parent)}function kE(g,c,u){return __(g,c)&&$y(g,u)}function L1(g,c){const u=g.parent.root.document.model.schema,h=g.parent.getAncestors({parentFirst:!0,includeSelf:!0});let m=!1;const _=h.find(b=>!m&&(m=u.isLimit(b),!m&&__(b,c)));return h.forEach(b=>c.add(b)),_}function $y(g,c){const u=function(h){const m=h.root.document.model.schema;let _=h.parent;for(;_;){if(m.isBlock(_))return _;_=_.parent}}(g);return!u||!c.containsRange(Ke._createOn(u),!0)}function Vg(g,c){return!!g&&(!(!c.isCollapsed&&!g.isEmpty)||!c.start.isTouching(ct._createAt(g,g.maxOffset))&&$y(g,c))}function DE(g,c){return!!g&&(!(!c.isCollapsed&&!g.isEmpty)||!c.end.isTouching(ct._createAt(g,0))&&$y(g,c))}Ls.prototype.is=function(g){return"selection"===g||"model:selection"===g};class Na extends(vn(Ke)){constructor(c,u){super(c,u),Uy.call(this)}detach(){this.stopListening()}toRange(){return new Ke(this.start,this.end)}static fromRange(c){return new Na(c.start,c.end)}}function Uy(){this.listenTo(this.root.document.model,"applyOperation",(g,c)=>{const u=c[0];u.isDocumentOperation&&Wy.call(this,u)},{priority:"low"})}function Wy(g){const c=this.getTransformedByOperation(g),u=Ke._createFromRanges(c),h=!u.isEqual(this),m=function(b,w){switch(w.type){case"insert":return b.containsPosition(w.position);case"move":case"remove":case"reinsert":case"merge":return b.containsPosition(w.sourcePosition)||b.start.isEqual(w.sourcePosition)||b.containsPosition(w.targetPosition);case"split":return b.containsPosition(w.splitPosition)||b.containsPosition(w.insertionPosition)}return!1}(this,g);let _=null;if(h){"$graveyard"==u.root.rootName&&(_="remove"==g.type?g.sourcePosition:g.deletionPosition);const b=this.toRange();this.start=u.start,this.end=u.end,this.fire("change:range",b,{deletionPosition:_})}else m&&this.fire("change:content",this.toRange(),{deletionPosition:_})}Na.prototype.is=function(g){return"liveRange"===g||"model:liveRange"===g||"range"==g||"model:range"===g};const Pl="selection:";class cc extends(vn(Su)){constructor(c){super(),this._selection=new dB(c),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(c){return this._selection.containsEntireContent(c)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(c){return this._selection.getAttribute(c)}hasAttribute(c){return this._selection.hasAttribute(c)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(c){this._selection.observeMarkers(c)}_setFocus(c,u){this._selection.setFocus(c,u)}_setTo(...c){this._selection.setTo(...c)}_setAttribute(c,u){this._selection.setAttribute(c,u)}_removeAttribute(c){this._selection.removeAttribute(c)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(c){this._selection.restoreGravity(c)}static _getStoreAttributeKey(c){return Pl+c}static _isStoreAttributeKey(c){return c.startsWith(Pl)}}cc.prototype.is=function(g){return"selection"===g||"model:selection"==g||"documentSelection"==g||"model:documentSelection"==g};class dB extends Ls{constructor(c){super(),this.markers=new Oa({idProperty:"name"}),this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this._model=c.model,this._document=c,this.listenTo(this._model,"applyOperation",(u,h)=>{const m=h[0];m.isDocumentOperation&&"marker"!=m.type&&"rename"!=m.type&&"noop"!=m.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",(u,h,m,_)=>{this._updateMarker(h,_)}),this.listenTo(this._document,"change",(u,h)=>{!function(m,_){const b=m.document.differ;for(const w of b.getChanges()){if("insert"!=w.type)continue;const A=w.position.parent;w.length===A.maxOffset&&m.enqueueChange(_,M=>{const R=Array.from(A.getAttributeKeys()).filter(O=>O.startsWith(Pl));for(const O of R)M.removeAttribute(O,A)})}}(this._model,h)})}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 c=0;c{if(this._hasChangedRange=!0,u.root==this._document.graveyard){this._selectionRestorePosition=_.deletionPosition;const b=this._ranges.indexOf(u);this._ranges.splice(b,1),u.detach()}}),u}updateMarkers(){if(!this._observedMarkers.size)return;const c=[];let u=!1;for(const m of this._model.markers){const _=m.name.split(":",1)[0];if(!this._observedMarkers.has(_))continue;const b=m.getRange();for(const w of this.getRanges())b.containsRange(w,!w.isCollapsed)&&c.push(m)}const h=Array.from(this.markers);for(const m of c)this.markers.has(m)||(this.markers.add(m),u=!0);for(const m of Array.from(this.markers))c.includes(m)||(this.markers.remove(m),u=!0);u&&this.fire("change:marker",{oldMarkers:h,directChange:!1})}_updateMarker(c,u){const h=c.name.split(":",1)[0];if(!this._observedMarkers.has(h))return;let m=!1;const _=Array.from(this.markers),b=this.markers.has(c);if(u){let w=!1;for(const A of this.getRanges())if(u.containsRange(A,!A.isCollapsed)){w=!0;break}w&&!b?(this.markers.add(c),m=!0):!w&&b&&(this.markers.remove(c),m=!0)}else b&&(this.markers.remove(c),m=!0);m&&this.fire("change:marker",{oldMarkers:_,directChange:!1})}_updateAttributes(c){const u=ta(this._getSurroundingAttributes()),h=ta(this.getAttributes());if(c)this._attributePriority=new Map,this._attrs=new Map;else for(const[_,b]of this._attributePriority)"low"==b&&(this._attrs.delete(_),this._attributePriority.delete(_));this._setAttributesTo(u);const m=[];for(const[_,b]of this.getAttributes())h.has(_)&&h.get(_)===b||m.push(_);for(const[_]of h)this.hasAttribute(_)||m.push(_);m.length>0&&this.fire("change:attribute",{attributeKeys:m,directChange:!1})}_setAttribute(c,u,h=!0){const m=h?"normal":"low";return("low"!=m||"normal"!=this._attributePriority.get(c))&&super.getAttribute(c)!==u&&(this._attrs.set(c,u),this._attributePriority.set(c,m),!0)}_removeAttribute(c,u=!0){const h=u?"normal":"low";return!("low"==h&&"normal"==this._attributePriority.get(c)||(this._attributePriority.set(c,h),!super.hasAttribute(c)||(this._attrs.delete(c),0)))}_setAttributesTo(c){const u=new Set;for(const[h,m]of this.getAttributes())c.get(h)!==m&&this._removeAttribute(h,!1);for(const[h,m]of c)this._setAttribute(h,m,!1)&&u.add(h);return u}*getStoredAttributes(){const c=this.getFirstPosition().parent;if(this.isCollapsed&&c.isEmpty)for(const u of c.getAttributeKeys())u.startsWith(Pl)&&(yield[u.substr(10),c.getAttribute(u)])}_getSurroundingAttributes(){const c=this.getFirstPosition(),u=this._model.schema;if("$graveyard"==c.root.rootName)return null;let h=null;if(this.isCollapsed){const m=c.textNode?c.textNode:c.nodeBefore,_=c.textNode?c.textNode:c.nodeAfter;if(this.isGravityOverridden||(h=v_(m,u)),h||(h=v_(_,u)),!this.isGravityOverridden&&!h){let b=m;for(;b&&!h;)b=b.previousSibling,h=v_(b,u)}if(!h){let b=_;for(;b&&!h;)b=b.nextSibling,h=v_(b,u)}h||(h=this.getStoredAttributes())}else{const m=this.getFirstRange();for(const _ of m){if(_.item.is("element")&&u.isObject(_.item)){h=v_(_.item,u);break}if("text"==_.type){h=_.item.getAttributes();break}}}return h}_fixGraveyardSelection(c){const u=this._model.schema.getNearestSelectionRange(c);u&&this._pushRange(u)}}function v_(g,c){if(!g)return null;if(g instanceof Gc||g instanceof to)return g.getAttributes();if(!c.isInline(g))return null;if(!c.isObject(g))return[];const u=[];for(const[h,m]of g.getAttributes())c.checkAttribute("$text",h)&&!1!==c.getAttributeProperties(h).copyFromObject&&u.push([h,m]);return u}class B1{constructor(c){this._dispatchers=c}add(c){for(const u of this._dispatchers)c(u);return this}}class V1 extends B1{elementToElement(c){return this.add(function(u){const h=SE(u.model),m=zg(u.view,"container");return h.attributes.length&&(h.children=!0),_=>{_.on(`insert:${h.name}`,function(b,w=b_){return(A,M,R)=>{if(!w(M.item,R.consumable,{preflight:!0}))return;const O=b(M.item,R,M);if(!O)return;w(M.item,R.consumable);const N=R.mapper.toViewPosition(M.range.start);R.mapper.bindElements(M.item,O),R.writer.insert(N,O),R.convertAttributes(M.item),Ky(O,M.item.getChildren(),R,{reconversion:M.reconversion})}}(m,z1(h)),{priority:u.converterPriority||"normal"}),(h.children||h.attributes.length)&&_.on("reduceChanges",qy(h),{priority:"low"})}}(c))}elementToStructure(c){return this.add(function(u){const h=SE(u.model),m=zg(u.view,"container");return h.children=!0,_=>{if(_._conversionApi.schema.checkChild(h.name,"$text"))throw new fe("conversion-element-to-structure-disallowed-text",_,{elementName:h.name});var b,w;_.on(`insert:${h.name}`,(b=m,w=z1(h),(A,M,R)=>{if(!w(M.item,R.consumable,{preflight:!0}))return;const O=new Map;var W,Y,ne;R.writer._registerSlotFactory((W=M.item,Y=O,ne=R,(he,Me)=>{const qe=he.createContainerElement("$slot");let kt=null;if("children"===Me)kt=Array.from(W.getChildren());else{if("function"!=typeof Me)throw new fe("conversion-slot-mode-unknown",ne.dispatcher,{modeOrFilter:Me});kt=Array.from(W.getChildren()).filter($t=>Me($t))}return Y.set(qe,kt),qe}));const N=b(M.item,R,M);if(R.writer._clearSlotFactory(),!N)return;(function(W,Y,ne){const he=Array.from(Y.values()).flat(),Me=new Set(he);if(Me.size!=he.length)throw new fe("conversion-slot-filter-overlap",ne.dispatcher,{element:W});if(Me.size!=W.childCount)throw new fe("conversion-slot-filter-incomplete",ne.dispatcher,{element:W})})(M.item,O,R),w(M.item,R.consumable);const V=R.mapper.toViewPosition(M.range.start);R.mapper.bindElements(M.item,N),R.writer.insert(V,N),R.convertAttributes(M.item),function(W,Y,ne,he){ne.mapper.on("modelToViewPosition",kt,{priority:"highest"});let Me=null,qe=null;for([Me,qe]of Y)Ky(W,qe,ne,he),ne.writer.move(ne.writer.createRangeIn(Me),ne.writer.createPositionBefore(Me)),ne.writer.remove(Me);function kt($t,tn){const Wn=qe.indexOf(tn.modelPosition.nodeAfter);Wn<0||(tn.viewPosition=tn.mapper.findPositionIn(Me,Wn))}ne.mapper.off("modelToViewPosition",kt)}(N,O,R,{reconversion:M.reconversion})}),{priority:u.converterPriority||"normal"}),_.on("reduceChanges",qy(h),{priority:"low"})}}(c))}attributeToElement(c){return this.add(function(u){let h=(u=Md(u)).model;"string"==typeof h&&(h={key:h});let m=`attribute:${h.key}`;if(h.name&&(m+=":"+h.name),h.values)for(const b of h.values)u.view[b]=zg(u.view[b],"attribute");else u.view=zg(u.view,"attribute");const _=TE(u);return b=>{var w;b.on(m,(w=_,(A,M,R)=>{if(!R.consumable.test(M.item,A.name))return;const O=w(M.attributeOldValue,R,M),N=w(M.attributeNewValue,R,M);if(!O&&!N)return;R.consumable.consume(M.item,A.name);const V=R.writer;if(M.item instanceof Ls||M.item instanceof cc)V.wrap(V.document.selection.getFirstRange(),N);else{let Y=R.mapper.toViewRange(M.range);null!==M.attributeOldValue&&O&&(Y=V.unwrap(Y,O)),null!==M.attributeNewValue&&N&&V.wrap(Y,N)}}),{priority:u.converterPriority||"normal"})}}(c))}attributeToAttribute(c){return this.add(function(u){let h=(u=Md(u)).model;"string"==typeof h&&(h={key:h});let m=`attribute:${h.key}`;if(h.name&&(m+=":"+h.name),h.values)for(const b of h.values)u.view[b]=EE(u.view[b]);else u.view=EE(u.view);const _=TE(u);return b=>{var w;b.on(m,(w=_,(A,M,R)=>{if(!R.consumable.test(M.item,A.name))return;const O=w(M.attributeOldValue,R,M),N=w(M.attributeNewValue,R,M);if(!O&&!N)return;R.consumable.consume(M.item,A.name);const V=R.mapper.toViewElement(M.item),W=R.writer;if(!V)throw new fe("conversion-attribute-to-attribute-on-text",R.dispatcher,M);if(null!==M.attributeOldValue&&O)if("class"==O.key){const Y=ho(O.value);for(const ne of Y)W.removeClass(ne,V)}else if("style"==O.key){const Y=Object.keys(O.value);for(const ne of Y)W.removeStyle(ne,V)}else W.removeAttribute(O.key,V);if(null!==M.attributeNewValue&&N)if("class"==N.key){const Y=ho(N.value);for(const ne of Y)W.addClass(ne,V)}else if("style"==N.key){const Y=Object.keys(N.value);for(const ne of Y)W.setStyle(ne,N.value[ne],V)}else W.setAttribute(N.key,N.value,V)}),{priority:u.converterPriority||"normal"})}}(c))}markerToElement(c){return this.add(function(u){const h=zg(u.view,"ui");return m=>{var _;m.on(`addMarker:${u.model}`,(_=h,(b,w,A)=>{w.isOpening=!0;const M=_(w,A);w.isOpening=!1;const R=_(w,A);if(!M||!R)return;const O=w.markerRange;if(O.isCollapsed&&!A.consumable.consume(O,b.name))return;for(const W of O)if(!A.consumable.consume(W.item,b.name))return;const N=A.mapper,V=A.writer;V.insert(N.toViewPosition(O.start),M),A.mapper.bindElementToMarker(M,w.markerName),O.isCollapsed||(V.insert(N.toViewPosition(O.end),R),A.mapper.bindElementToMarker(R,w.markerName)),b.stop()}),{priority:u.converterPriority||"normal"}),m.on(`removeMarker:${u.model}`,(b,w,A)=>{const M=A.mapper.markerNameToElements(w.markerName);if(M){for(const R of M)A.mapper.unbindElementFromMarkerName(R,w.markerName),A.writer.clear(A.writer.createRangeOn(R),R);A.writer.clearClonedElementsGroup(w.markerName),b.stop()}},{priority:u.converterPriority||"normal"})}}(c))}markerToHighlight(c){return this.add((u=c,h=>{var m,_;h.on(`addMarker:${u.model}`,(m=u.view,(_,b,w)=>{if(!b.item||!(b.item instanceof Ls||b.item instanceof cc||b.item.is("$textProxy")))return;const A=Bs(m,b,w);if(!A||!w.consumable.consume(b.item,_.name))return;const M=w.writer,R=AE(M,A);if(b.item instanceof Ls||b.item instanceof cc)M.wrap(M.document.selection.getFirstRange(),R);else{const N=w.mapper.toViewRange(b.range),V=M.wrap(N,R);for(const W of V.getItems())if(W.is("attributeElement")&&W.isSimilar(R)){w.mapper.bindElementToMarker(W,b.markerName);break}}}),{priority:u.converterPriority||"normal"}),h.on(`addMarker:${u.model}`,(_=u.view,(b,w,A)=>{if(!(w.item&&w.item instanceof On))return;const M=Bs(_,w,A);if(!M||!A.consumable.test(w.item,b.name))return;const R=A.mapper.toViewElement(w.item);if(R&&R.getCustomProperty("addHighlight")){A.consumable.consume(w.item,b.name);for(const O of Ke._createIn(w.item))A.consumable.consume(O.item,b.name);R.getCustomProperty("addHighlight")(R,M,A.writer),A.mapper.bindElementToMarker(R,w.markerName)}}),{priority:u.converterPriority||"normal"}),h.on(`removeMarker:${u.model}`,function(_){return(b,w,A)=>{if(w.markerRange.isCollapsed)return;const M=Bs(_,w,A);if(!M)return;const R=AE(A.writer,M),O=A.mapper.markerNameToElements(w.markerName);if(O){for(const N of O)A.mapper.unbindElementFromMarkerName(N,w.markerName),N.is("attributeElement")?A.writer.unwrap(A.writer.createRangeOn(N),R):N.getCustomProperty("removeHighlight")(N,M.id,A.writer);A.writer.clearClonedElementsGroup(w.markerName),b.stop()}}}(u.view),{priority:u.converterPriority||"normal"})}));var u}markerToData(c){return this.add(function(u){const h=(u=Md(u)).model;let m=u.view;return m||(m=_=>({group:h,name:_.substr(u.model.length+1)})),_=>{var b,w;_.on(`addMarker:${h}`,(b=m,(w,A,M)=>{const R=b(A.markerName,M);if(!R)return;const O=A.markerRange;M.consumable.consume(O,w.name)&&(IE(O,!1,M,A,R),IE(O,!0,M,A,R),w.stop())}),{priority:u.converterPriority||"normal"}),_.on(`removeMarker:${h}`,(w=m,(A,M,R)=>{const O=w(M.markerName,R);if(!O)return;const N=R.mapper.markerNameToElements(M.markerName);if(N){for(const W of N)R.mapper.unbindElementFromMarkerName(W,M.markerName),W.is("containerElement")?(V(`data-${O.group}-start-before`,W),V(`data-${O.group}-start-after`,W),V(`data-${O.group}-end-before`,W),V(`data-${O.group}-end-after`,W)):R.writer.clear(R.writer.createRangeOn(W),W);R.writer.clearClonedElementsGroup(M.markerName),A.stop()}function V(W,Y){if(Y.hasAttribute(W)){const ne=new Set(Y.getAttribute(W).split(","));ne.delete(O.name),0==ne.size?R.writer.removeAttribute(W,Y):R.writer.setAttribute(W,Array.from(ne).join(","),Y)}}}),{priority:u.converterPriority||"normal"})}}(c))}}function AE(g,c){const u=g.createAttributeElement("span",c.attributes);return c.classes&&u._addClass(c.classes),"number"==typeof c.priority&&(u._priority=c.priority),u._id=c.id,u}function IE(g,c,u,h,m){const _=c?g.start:g.end,b=_.nodeAfter&&_.nodeAfter.is("element")?_.nodeAfter:null,w=_.nodeBefore&&_.nodeBefore.is("element")?_.nodeBefore:null;if(b||w){let A,M;c&&b||!c&&!w?(A=b,M=!0):(A=w,M=!1);const R=u.mapper.toViewElement(A);if(R)return void function(O,N,V,W,Y,ne){const he=`data-${ne.group}-${N?"start":"end"}-${V?"before":"after"}`,Me=O.hasAttribute(he)?O.getAttribute(he).split(","):[];Me.unshift(ne.name),W.writer.setAttribute(he,Me.join(","),O),W.mapper.bindElementToMarker(O,Y.markerName)}(R,c,M,u,h,m)}!function(A,M,R,O,N){const Y=R.writer.createUIElement(`${N.group}-${M?"start":"end"}`,N.name?{name:N.name}:null);R.writer.insert(A,Y),R.mapper.bindElementToMarker(Y,O.markerName)}(u.mapper.toViewPosition(_),c,u,h,m)}function SE(g){return"string"==typeof g&&(g={name:g}),{name:g.name,attributes:g.attributes?ho(g.attributes):[],children:!!g.children}}function zg(g,c){return"function"==typeof g?g:(u,h)=>function(m,_,b){let w;"string"==typeof m&&(m={name:m});const A=_.writer,M=Object.assign({},m.attributes);if(w="container"==b?A.createContainerElement(m.name,M):"attribute"==b?A.createAttributeElement(m.name,M,{priority:m.priority||Vh.DEFAULT_PRIORITY}):A.createUIElement(m.name,M),m.styles){const R=Object.keys(m.styles);for(const O of R)A.setStyle(O,m.styles[O],w)}if(m.classes){const R=m.classes;if("string"==typeof R)A.addClass(R,w);else for(const O of R)A.addClass(O,w)}return w}(g,h,c)}function TE(g){return g.model.values?(c,u,h)=>{const m=g.view[c];return m?m(c,u,h):null}:g.view}function EE(g){return"string"==typeof g?c=>({key:g,value:c}):"object"==typeof g?g.value?()=>g:c=>({key:g.key,value:c}):g}function Bs(g,c,u){const h="function"==typeof g?g(c,u):g;return h?(h.priority||(h.priority=10),h.id||(h.id=c.markerName),h):null}function qy(g){const c=(u=g,(h,m)=>{if(!h.is("element",u.name))return!1;if("attribute"==m.type){if(u.attributes.includes(m.attributeKey))return!0}else if(u.children)return!0;return!1});var u;return(u,h)=>{const m=[];h.reconvertedElements||(h.reconvertedElements=new Set);for(const _ of h.changes){const b="attribute"==_.type?_.range.start.nodeAfter:_.position.parent;if(b&&c(b,_)){if(!h.reconvertedElements.has(b)){h.reconvertedElements.add(b);const w=ct._createBefore(b);let A=m.length;for(let M=m.length-1;M>=0;M--){const R=m[M],O=("attribute"==R.type?R.range.start:R.position).compareWith(w);if("before"==O||"remove"==R.type&&"same"==O)break;A=M}m.splice(A,0,{type:"remove",name:b.name,position:w,length:1},{type:"reinsert",name:b.name,position:w,length:1})}}else m.push(_)}h.changes=m}}function z1(g){return(c,u,h={})=>{const m=["insert"];for(const _ of g.attributes)c.hasAttribute(_)&&m.push(`attribute:${_}`);return!!m.every(_=>u.test(c,_))&&(h.preflight||m.forEach(_=>u.consume(c,_)),!0)}}function Ky(g,c,u,h){for(const m of c)Vs(g.root,m,u,h)||u.convertItem(m)}function Vs(g,c,u,h){const{writer:m,mapper:_}=u;if(!h.reconversion)return!1;const b=_.toViewElement(c);return!(!b||b.root==g||!u.canReuseView(b)||(m.move(m.createRangeOn(b),_.toViewPosition(ct._createBefore(c))),0))}function b_(g,c,{preflight:u}={}){return u?c.test(g,"insert"):c.consume(g,"insert")}function H1(g){const{schema:c,document:u}=g.model;for(const h of u.getRoots())if(h.isEmpty&&!c.checkChild(h,"$text")&&c.checkChild(h,"paragraph"))return g.insertElement("paragraph",h),!0;return!1}function G1(g,c,u){const h=u.createContext(g);return!!u.checkChild(h,"paragraph")&&!!u.checkChild(h.push("paragraph"),c)}function ME(g,c){const u=c.createElement("paragraph");return c.insert(u,g),c.createPositionAt(u,0)}var RE=Object.defineProperty,uB=Object.defineProperties,PE=Object.getOwnPropertyDescriptors,OE=Object.getOwnPropertySymbols,FE=Object.prototype.hasOwnProperty,hB=Object.prototype.propertyIsEnumerable,NE=(g,c,u)=>c in g?RE(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class j1 extends B1{elementToElement(c){return this.add(Yy(c))}elementToAttribute(c){return this.add(function(u){LE(u=Md(u));const h=BE(u,!1),m=$1(u.view),_=m?`element:${m}`:"element";return b=>{b.on(_,h,{priority:u.converterPriority||"low"})}}(c))}attributeToAttribute(c){return this.add(function(u){let h=null;("string"==typeof(u=Md(u)).view||u.view.key)&&(h=function(_){"string"==typeof _.view&&(_.view={key:_.view});const b=_.view.key;let w;return w="class"==b||"style"==b?{["class"==b?"classes":"styles"]:_.view.value}:{attributes:{[b]:void 0===_.view.value?/[\s\S]*/:_.view.value}},_.view.name&&(w.name=_.view.name),_.view=w,b}(u)),LE(u,h);const m=BE(u,!0);return _=>{_.on("element",m,{priority:u.converterPriority||"low"})}}(c))}elementToMarker(c){return this.add(function(u){const h=(b=u.model,(w,A)=>{const M="string"==typeof b?b:b(w,A);return A.writer.createElement("$marker",{"data-name":M})});var b,m;return Yy((m=((b,w)=>{for(var A in w||(w={}))FE.call(w,A)&&NE(b,A,w[A]);if(OE)for(var A of OE(w))hB.call(w,A)&&NE(b,A,w[A]);return b})({},u),uB(m,PE({model:h}))))}(c))}dataToMarker(c){return this.add(function(u){(u=Md(u)).model||(u.model=b=>b?u.view+":"+b:u.view);const h={view:u.view,model:u.model},m=Wh(U1(h,"start")),_=Wh(U1(h,"end"));return b=>{b.on(`element:${u.view}-start`,m,{priority:u.converterPriority||"normal"}),b.on(`element:${u.view}-end`,_,{priority:u.converterPriority||"normal"});const w=ui.low,A=ui.highest,M=ui.get(u.converterPriority)/A;var R;b.on("element",(R=h,(O,N,V)=>{const W=`data-${R.view}`;function Y(ne,he){for(const Me of he){const qe=R.model(Me,V),kt=V.writer.createElement("$marker",{"data-name":qe});V.writer.insert(kt,ne),N.modelCursor=N.modelCursor.isEqual(ne)?N.modelCursor.getShiftedBy(1):N.modelCursor._getTransformedByInsertion(ne,1),N.modelRange=N.modelRange._getTransformedByInsertion(ne,1)[0]}}(V.consumable.test(N.viewItem,{attributes:W+"-end-after"})||V.consumable.test(N.viewItem,{attributes:W+"-start-after"})||V.consumable.test(N.viewItem,{attributes:W+"-end-before"})||V.consumable.test(N.viewItem,{attributes:W+"-start-before"}))&&(N.modelRange||Object.assign(N,V.convertChildren(N.viewItem,N.modelCursor)),V.consumable.consume(N.viewItem,{attributes:W+"-end-after"})&&Y(N.modelRange.end,N.viewItem.getAttribute(W+"-end-after").split(",")),V.consumable.consume(N.viewItem,{attributes:W+"-start-after"})&&Y(N.modelRange.end,N.viewItem.getAttribute(W+"-start-after").split(",")),V.consumable.consume(N.viewItem,{attributes:W+"-end-before"})&&Y(N.modelRange.start,N.viewItem.getAttribute(W+"-end-before").split(",")),V.consumable.consume(N.viewItem,{attributes:W+"-start-before"})&&Y(N.modelRange.start,N.viewItem.getAttribute(W+"-start-before").split(",")))}),{priority:w+M})}}(c))}}function Yy(g){const c=Wh(g=Md(g)),u=$1(g.view),h=u?`element:${u}`:"element";return m=>{m.on(h,c,{priority:g.converterPriority||"normal"})}}function $1(g){return"string"==typeof g?g:"object"==typeof g&&"string"==typeof g.name?g.name:null}function Wh(g){const c=new sc(g.view);return(u,h,m)=>{const _=c.match(h.viewItem);if(!_)return;const b=_.match;if(b.name=!0,!m.consumable.test(h.viewItem,b))return;const w=(R=m,(A=g.model)instanceof Function?A(h.viewItem,R):R.writer.createElement(A));var A,R;w&&m.safeInsert(w,h.modelCursor)&&(m.consumable.consume(h.viewItem,b),m.convertChildren(h.viewItem,w),m.updateConversionResult(w,h))}}function LE(g,c=null){g.model={key:"object"!=typeof g.model?g.model:g.model.key,value:"object"!=typeof g.model||void 0===g.model.value?null===c||(_=>_.getAttribute(c)):g.model.value}}function BE(g,c){const u=new sc(g.view);return(h,m,_)=>{if(!m.modelRange&&c)return;const b=u.match(m.viewItem);if(!b||(function(R,O){const N="function"==typeof R?R(O):R;return!("object"==typeof N&&!$1(N)||N.classes||N.attributes||N.styles)}(g.view,m.viewItem)?b.match.name=!0:delete b.match.name,!_.consumable.test(m.viewItem,b.match)))return;const w=g.model.key,A="function"==typeof g.model.value?g.model.value(m.viewItem,_):g.model.value;null!==A&&(m.modelRange||Object.assign(m,_.convertChildren(m.viewItem,m.modelCursor)),function(R,O,N,V){let W=!1;for(const Y of Array.from(R.getItems({shallow:N})))V.schema.checkAttribute(Y,O.key)&&(W=!0,Y.hasAttribute(O.key)||V.writer.setAttribute(O.key,O.value,Y));return W}(m.modelRange,{key:w,value:A},c,_)&&(_.consumable.test(m.viewItem,{name:!0})&&(b.match.name=!0),_.consumable.consume(m.viewItem,b.match)))}}function U1(g,c){return{view:`${g.view}-${c}`,model:(u,h)=>{const m=u.getAttribute("name"),_=g.model(m,h);return h.writer.createElement("$marker",{"data-name":_})}}}function W1(g,c){return g.isCollapsed?function(u,h){const m=u.start,_=h.getNearestSelectionRange(m);if(!_){const w=m.getAncestors().reverse().find(A=>h.isObject(A));return w?Ke._createOn(w):null}if(!_.isCollapsed)return _;const b=_.start;return m.isEqual(b)?null:new Ke(b)}(g,c):function(u,h){const{start:m,end:_}=u,b=h.checkChild(m,"$text"),w=h.checkChild(_,"$text"),A=h.getLimitElement(m),M=h.getLimitElement(_);if(A===M){if(b&&w)return null;if(function(N,V,W){const Y=N.nodeAfter&&!W.isLimit(N.nodeAfter)||W.checkChild(N,"$text"),ne=V.nodeBefore&&!W.isLimit(V.nodeBefore)||W.checkChild(V,"$text");return Y||ne}(m,_,h)){const N=m.nodeAfter&&h.isSelectable(m.nodeAfter)?null:h.getNearestSelectionRange(m,"forward"),V=_.nodeBefore&&h.isSelectable(_.nodeBefore)?null:h.getNearestSelectionRange(_,"backward");return new Ke(N?N.start:m,V?V.end:_)}}const R=A&&!A.is("rootElement"),O=M&&!M.is("rootElement");if(R||O){const N=m.nodeAfter&&_.nodeBefore&&m.nodeAfter.parent===_.nodeBefore.parent,V=R&&(!N||!y_(m.nodeAfter,h)),W=O&&(!N||!y_(_.nodeBefore,h));let Y=m,ne=_;return V&&(Y=ct._createBefore(qh(A,h))),W&&(ne=ct._createAfter(qh(M,h))),new Ke(Y,ne)}return null}(g,c)}function qh(g,c){let u=g,h=u;for(;c.isLimit(h)&&h.parent;)u=h,h=h.parent;return u}function y_(g,c){return g&&c.isSelectable(g)}class zE extends(_t()){constructor(c,u){super(),this.model=c,this.view=new iB(u),this.mapper=new nB,this.downcastDispatcher=new cB({mapper:this.mapper,schema:c.schema});const h=this.model.document,m=h.selection,_=this.model.markers;var b,w,A,M,R;this.listenTo(this.model,"_beforeChanges",()=>{this.view._disableRendering(!0)},{priority:"highest"}),this.listenTo(this.model,"_afterChanges",()=>{this.view._disableRendering(!1)},{priority:"lowest"}),this.listenTo(h,"change",()=>{this.view.change(M=>{this.downcastDispatcher.convertChanges(h.differ,_,M),this.downcastDispatcher.convertSelection(m,_,M)})},{priority:"low"}),this.listenTo(this.view.document,"selectionChange",(M=this.model,R=this.mapper,(O,N)=>{const V=N.newSelection,W=[];for(const ne of V.getRanges())W.push(R.toModelRange(ne));const Y=M.createSelection(W,{backward:V.isBackward});Y.isEqual(M.document.selection)||M.change(ne=>{ne.setSelection(Y)})})),this.listenTo(this.view.document,"beforeinput",(b=this.mapper,w=this.model.schema,A=this.view,(M,R)=>{if(!A.document.isComposing||ae.isAndroid)for(let O=0;O{if(!O.consumable.consume(R.item,M.name))return;const N=O.writer,V=O.mapper.toViewPosition(R.range.start),W=N.createText(R.item.data);N.insert(V,W)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(M,R,O)=>{O.convertAttributes(R.item),R.reconversion||!R.item.is("element")||R.item.isEmpty||O.convertChildren(R.item)},{priority:"lowest"}),this.downcastDispatcher.on("remove",(M,R,O)=>{const N=O.mapper.toViewPosition(R.position),V=R.position.getShiftedBy(R.length),W=O.mapper.toViewPosition(V,{isPhantom:!0}),Y=O.writer.createRange(N,W),ne=O.writer.remove(Y.getTrimmed());for(const he of O.writer.createRangeIn(ne).getItems())O.mapper.unbindViewElement(he,{defer:!0})},{priority:"low"}),this.downcastDispatcher.on("cleanSelection",(M,R,O)=>{const N=O.writer,V=N.document.selection;for(const W of V.getRanges())W.isCollapsed&&W.end.parent.isAttached()&&O.writer.mergeAttributes(W.start);N.setSelection(null)}),this.downcastDispatcher.on("selection",(M,R,O)=>{const N=R.selection;if(N.isCollapsed||!O.consumable.consume(N,"selection"))return;const V=[];for(const W of N.getRanges())V.push(O.mapper.toViewRange(W));O.writer.setSelection(V,{backward:N.isBackward})},{priority:"low"}),this.downcastDispatcher.on("selection",(M,R,O)=>{const N=R.selection;if(!N.isCollapsed||!O.consumable.consume(N,"selection"))return;const V=O.writer,W=N.getFirstPosition(),Y=O.mapper.toViewPosition(W),ne=V.breakAttributes(Y);V.setSelection(ne)},{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using(M=>{if("$graveyard"==M.rootName)return null;const R=new mr(this.view.document,M.name);return R.rootName=M.rootName,this.mapper.bindElements(M,R),R})}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(c){const u="string"==typeof c?c:c.name,h=this.model.markers.get(u);if(!h)throw new fe("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:u});this.model.change(()=>{this.model.markers._refresh(h)})}reconvertItem(c){this.model.change(()=>{this.model.document.differ._refreshItem(c)})}}class Kh{constructor(){this._consumables=new Map}add(c,u){let h;c.is("$text")||c.is("documentFragment")?this._consumables.set(c,!0):(this._consumables.has(c)?h=this._consumables.get(c):(h=new pB(c),this._consumables.set(c,h)),h.add(u))}test(c,u){const h=this._consumables.get(c);return void 0===h?null:c.is("$text")||c.is("documentFragment")?h:h.test(u)}consume(c,u){return!!this.test(c,u)&&(c.is("$text")||c.is("documentFragment")?this._consumables.set(c,!1):this._consumables.get(c).consume(u),!0)}revert(c,u){const h=this._consumables.get(c);void 0!==h&&(c.is("$text")||c.is("documentFragment")?this._consumables.set(c,!0):h.revert(u))}static consumablesFromElement(c){const u={element:c,name:!0,attributes:[],classes:[],styles:[]},h=c.getAttributeKeys();for(const b of h)"style"!=b&&"class"!=b&&u.attributes.push(b);const m=c.getClassNames();for(const b of m)u.classes.push(b);const _=c.getStyleNames();for(const b of _)u.styles.push(b);return u}static createFrom(c,u){if(u||(u=new Kh),c.is("$text"))return u.add(c),u;c.is("element")&&u.add(c,Kh.consumablesFromElement(c)),c.is("documentFragment")&&u.add(c);for(const h of c.getChildren())u=Kh.createFrom(h,u);return u}}const Yh=["attributes","classes","styles"];class pB{constructor(c){this.element=c,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(c){c.name&&(this._canConsumeName=!0);for(const u of Yh)u in c&&this._add(u,c[u])}test(c){if(c.name&&!this._canConsumeName)return this._canConsumeName;for(const u of Yh)if(u in c){const h=this._test(u,c[u]);if(!0!==h)return h}return!0}consume(c){c.name&&(this._canConsumeName=!1);for(const u of Yh)u in c&&this._consume(u,c[u])}revert(c){c.name&&(this._canConsumeName=!0);for(const u of Yh)u in c&&this._revert(u,c[u])}_add(c,u){const h=fs(u)?u:[u],m=this._consumables[c];for(const _ of h){if("attributes"===c&&("class"===_||"style"===_))throw new fe("viewconsumable-invalid-attribute",this);if(m.set(_,!0),"styles"===c)for(const b of this.element.document.stylesProcessor.getRelatedStyles(_))m.set(b,!0)}}_test(c,u){const h=fs(u)?u:[u],m=this._consumables[c];for(const _ of h)if("attributes"!==c||"class"!==_&&"style"!==_){const b=m.get(_);if(void 0===b)return null;if(!b)return!1}else{const b="class"==_?"classes":"styles",w=this._test(b,[...this._consumables[b].keys()]);if(!0!==w)return w}return!0}_consume(c,u){const h=fs(u)?u:[u],m=this._consumables[c];for(const _ of h)if("attributes"!==c||"class"!==_&&"style"!==_){if(m.set(_,!1),"styles"==c)for(const b of this.element.document.stylesProcessor.getRelatedStyles(_))m.set(b,!1)}else{const b="class"==_?"classes":"styles";this._consume(b,[...this._consumables[b].keys()])}}_revert(c,u){const h=fs(u)?u:[u],m=this._consumables[c];for(const _ of h)if("attributes"!==c||"class"!==_&&"style"!==_)!1===m.get(_)&&m.set(_,!0);else{const b="class"==_?"classes":"styles";this._revert(b,[...this._consumables[b].keys()])}}}class gB extends(_t()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",(c,u)=>{u[0]=new Qh(u[0])},{priority:"highest"}),this.on("checkChild",(c,u)=>{u[0]=new Qh(u[0]),u[1]=this.getDefinition(u[1])},{priority:"highest"})}register(c,u){if(this._sourceDefinitions[c])throw new fe("schema-cannot-register-item-twice",this,{itemName:c});this._sourceDefinitions[c]=[Object.assign({},u)],this._clearCache()}extend(c,u){if(!this._sourceDefinitions[c])throw new fe("schema-cannot-extend-missing-item",this,{itemName:c});this._sourceDefinitions[c].push(Object.assign({},u)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(c){let u;return u="string"==typeof c?c:"is"in c&&(c.is("$text")||c.is("$textProxy"))?"$text":c.name,this.getDefinitions()[u]}isRegistered(c){return!!this.getDefinition(c)}isBlock(c){const u=this.getDefinition(c);return!(!u||!u.isBlock)}isLimit(c){const u=this.getDefinition(c);return!(!u||!u.isLimit&&!u.isObject)}isObject(c){const u=this.getDefinition(c);return!!u&&!!(u.isObject||u.isLimit&&u.isSelectable&&u.isContent)}isInline(c){const u=this.getDefinition(c);return!(!u||!u.isInline)}isSelectable(c){const u=this.getDefinition(c);return!(!u||!u.isSelectable&&!u.isObject)}isContent(c){const u=this.getDefinition(c);return!(!u||!u.isContent&&!u.isObject)}checkChild(c,u){return!!u&&this._checkContextMatch(u,c)}checkAttribute(c,u){const h=this.getDefinition(c.last);return!!h&&h.allowAttributes.includes(u)}checkMerge(c,u){if(c instanceof ct){const h=c.nodeBefore,m=c.nodeAfter;if(!(h instanceof On))throw new fe("schema-check-merge-no-element-before",this);if(!(m instanceof On))throw new fe("schema-check-merge-no-element-after",this);return this.checkMerge(h,m)}for(const h of u.getChildren())if(!this.checkChild(c,h))return!1;return!0}addChildCheck(c){this.on("checkChild",(u,[h,m])=>{if(!m)return;const _=c(h,m);"boolean"==typeof _&&(u.stop(),u.return=_)},{priority:"high"})}addAttributeCheck(c){this.on("checkAttribute",(u,[h,m])=>{const _=c(h,m);"boolean"==typeof _&&(u.stop(),u.return=_)},{priority:"high"})}setAttributeProperties(c,u){this._attributeProperties[c]=Object.assign(this.getAttributeProperties(c),u)}getAttributeProperties(c){return this._attributeProperties[c]||{}}getLimitElement(c){let u;for(u=c instanceof ct?c.parent:(c instanceof Ke?[c]:Array.from(c.getRanges())).reduce((h,m)=>{const _=m.getCommonAncestor();return h?h.getCommonAncestor(_,{includeSelf:!0}):_},null);!this.isLimit(u)&&u.parent;)u=u.parent;return u}checkAttributeInSelection(c,u){if(c.isCollapsed){const h=[...c.getFirstPosition().getAncestors(),new to("",c.getAttributes())];return this.checkAttribute(h,u)}{const h=c.getRanges();for(const m of h)for(const _ of m)if(this.checkAttribute(_.item,u))return!0}return!1}*getValidRanges(c,u){c=function*(h){for(const m of h)yield*m.getMinimalFlatRanges()}(c);for(const h of c)yield*this._getValidRangesForRange(h,u)}getNearestSelectionRange(c,u="both"){if("$graveyard"==c.root.rootName)return null;if(this.checkChild(c,"$text"))return new Ke(c);let h,m;const _=c.getAncestors().reverse().find(b=>this.isLimit(b))||c.root;"both"!=u&&"backward"!=u||(h=new lc({boundaries:Ke._createIn(_),startPosition:c,direction:"backward"})),"both"!=u&&"forward"!=u||(m=new lc({boundaries:Ke._createIn(_),startPosition:c}));for(const b of function*(w,A){let M=!1;for(;!M;){if(M=!0,w){const R=w.next();R.done||(M=!1,yield{walker:w,value:R.value})}if(A){const R=A.next();R.done||(M=!1,yield{walker:A,value:R.value})}}}(h,m)){const A=b.value;if(A.type==(b.walker==h?"elementEnd":"elementStart")&&this.isObject(A.item))return Ke._createOn(A.item);if(this.checkChild(A.nextPosition,"$text"))return new Ke(A.nextPosition)}return null}findAllowedParent(c,u){let h=c.parent;for(;h;){if(this.checkChild(h,u))return h;if(this.isLimit(h))return null;h=h.parent}return null}setAllowedAttributes(c,u,h){const m=h.model;for(const[_,b]of Object.entries(u))m.schema.checkAttribute(c,_)&&h.setAttribute(_,b,c)}removeDisallowedAttributes(c,u){for(const h of c)if(h.is("$text"))Y1(this,h,u);else{const m=Ke._createIn(h).getPositions();for(const _ of m)Y1(this,_.nodeBefore||_.parent,u)}}getAttributesWithProperty(c,u,h){const m={};for(const[_,b]of c.getAttributes()){const w=this.getAttributeProperties(_);void 0!==w[u]&&(void 0!==h&&h!==w[u]||(m[_]=b))}return m}createContext(c){return new Qh(c)}_clearCache(){this._compiledDefinitions=null}_compile(){const c={},u=this._sourceDefinitions,h=Object.keys(u);for(const m of h)c[m]=mB(u[m],m);for(const m of h)fB(c,m);for(const m of h)_B(c,m);for(const m of h)HE(c,m);for(const m of h)Qy(c,m),q1(c,m);for(const m of h)K1(c,m),vB(c,m),bB(c,m);this._compiledDefinitions=c}_checkContextMatch(c,u,h=u.length-1){const m=u.getItem(h);if(c.allowIn.includes(m.name)){if(0==h)return!0;{const _=this.getDefinition(m);return this._checkContextMatch(_,u,h-1)}}return!1}*_getValidRangesForRange(c,u){let h=c.start,m=c.start;for(const _ of c.getItems({shallow:!0}))_.is("element")&&(yield*this._getValidRangesForRange(Ke._createIn(_),u)),this.checkAttribute(_,u)||(h.isEqual(m)||(yield new Ke(h,m)),h=ct._createAfter(_)),m=ct._createAfter(_);h.isEqual(m)||(yield new Ke(h,m))}}class Qh{constructor(c){if(c instanceof Qh)return c;let u;u="string"==typeof c?[c]:Array.isArray(c)?c:c.getAncestors({includeSelf:!0}),this._items=u.map(Xh)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(c){const u=new Qh([c]);return u._items=[...this._items,...u._items],u}getItem(c){return this._items[c]}*getNames(){yield*this._items.map(c=>c.name)}endsWith(c){return Array.from(this.getNames()).join(" ").endsWith(c)}startsWith(c){return Array.from(this.getNames()).join(" ").startsWith(c)}}function mB(g,c){const u={name:c,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(h,m){for(const _ of h){const b=Object.keys(_).filter(w=>w.startsWith("is"));for(const w of b)m[w]=!!_[w]}}(g,u),Pd(g,u,"allowIn"),Pd(g,u,"allowContentOf"),Pd(g,u,"allowWhere"),Pd(g,u,"allowAttributes"),Pd(g,u,"allowAttributesOf"),Pd(g,u,"allowChildren"),Pd(g,u,"inheritTypesFrom"),function(h,m){for(const _ of h){const b=_.inheritAllFrom;b&&(m.allowContentOf.push(b),m.allowWhere.push(b),m.allowAttributesOf.push(b),m.inheritTypesFrom.push(b))}}(g,u),u}function fB(g,c){const u=g[c];for(const h of u.allowChildren){const m=g[h];m&&m.allowIn.push(c)}u.allowChildren.length=0}function _B(g,c){for(const u of g[c].allowContentOf)g[u]&&GE(g,u).forEach(h=>{h.allowIn.push(c)});delete g[c].allowContentOf}function HE(g,c){for(const u of g[c].allowWhere){const h=g[u];h&&g[c].allowIn.push(...h.allowIn)}delete g[c].allowWhere}function Qy(g,c){for(const u of g[c].allowAttributesOf){const h=g[u];h&&g[c].allowAttributes.push(...h.allowAttributes)}delete g[c].allowAttributesOf}function q1(g,c){const u=g[c];for(const h of u.inheritTypesFrom){const m=g[h];if(m){const _=Object.keys(m).filter(b=>b.startsWith("is"));for(const b of _)b in u||(u[b]=m[b])}}delete u.inheritTypesFrom}function K1(g,c){const u=g[c],h=u.allowIn.filter(m=>g[m]);u.allowIn=Array.from(new Set(h))}function vB(g,c){const u=g[c];for(const h of u.allowIn)g[h].allowChildren.push(c)}function bB(g,c){const u=g[c];u.allowAttributes=Array.from(new Set(u.allowAttributes))}function Pd(g,c,u){for(const h of g){const m=h[u];"string"==typeof m?c[u].push(m):Array.isArray(m)&&c[u].push(...m)}}function GE(g,c){const u=g[c];return(h=g,Object.keys(h).map(m=>h[m])).filter(m=>m.allowIn.includes(u.name));var h}function Xh(g){return"string"==typeof g||g.is("documentFragment")?{name:"string"==typeof g?g:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:g.is("element")?g.name:"$text",*getAttributeKeys(){yield*g.getAttributeKeys()},getAttribute:c=>g.getAttribute(c)}}function Y1(g,c,u){for(const h of c.getAttributeKeys())g.checkAttribute(c,h)||u.removeAttribute(h,c)}var jE=Object.defineProperty,yB=Object.defineProperties,GW=Object.getOwnPropertyDescriptors,C_=Object.getOwnPropertySymbols,CB=Object.prototype.hasOwnProperty,$E=Object.prototype.propertyIsEnumerable,Q1=(g,c,u)=>c in g?jE(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class UE extends(vn()){constructor(c){var u;super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi=(u=((h,m)=>{for(var _ in m||(m={}))CB.call(m,_)&&Q1(h,_,m[_]);if(C_)for(var _ of C_(m))$E.call(m,_)&&Q1(h,_,m[_]);return h})({},c),yB(u,GW({consumable:null,writer:null,store:null,convertItem:(h,m)=>this._convertItem(h,m),convertChildren:(h,m)=>this._convertChildren(h,m),safeInsert:(h,m)=>this._safeInsert(h,m),updateConversionResult:(h,m)=>this._updateConversionResult(h,m),splitToAllowedParent:(h,m)=>this._splitToAllowedParent(h,m),getSplitParts:h=>this._getSplitParts(h),keepEmptyElement:h=>this._keepEmptyElement(h)})))}convert(c,u,h=["$root"]){this.fire("viewCleanup",c),this._modelCursor=function(b,w){let A;for(const M of new Qh(b)){const R={};for(const N of M.getAttributeKeys())R[N]=M.getAttribute(N);const O=w.createElement(M.name,R);A&&w.insert(O,A),A=ct._createAt(O,0)}return A}(h,u),this.conversionApi.writer=u,this.conversionApi.consumable=Kh.createFrom(c),this.conversionApi.store={};const{modelRange:m}=this._convertItem(c,this._modelCursor),_=u.createDocumentFragment();if(m){this._removeEmptyElements();for(const b of Array.from(this._modelCursor.parent.getChildren()))u.append(b,_);_.markers=function(b,w){const A=new Set,M=new Map,R=Ke._createIn(b).getItems();for(const O of R)O.is("element","$marker")&&A.add(O);for(const O of A){const N=O.getAttribute("data-name"),V=w.createPositionBefore(O);M.has(N)?M.get(N).end=V.clone():M.set(N,new Ke(V.clone())),w.remove(O)}return M}(_,u)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,_}_convertItem(c,u){const h={viewItem:c,modelCursor:u,modelRange:null};if(c.is("element")?this.fire(`element:${c.name}`,h,this.conversionApi):c.is("$text")?this.fire("text",h,this.conversionApi):this.fire("documentFragment",h,this.conversionApi),h.modelRange&&!(h.modelRange instanceof Ke))throw new fe("view-conversion-dispatcher-incorrect-result",this);return{modelRange:h.modelRange,modelCursor:h.modelCursor}}_convertChildren(c,u){let h=u.is("position")?u:ct._createAt(u,0);const m=new Ke(h);for(const _ of Array.from(c.getChildren())){const b=this._convertItem(_,h);b.modelRange instanceof Ke&&(m.end=b.modelRange.end,h=b.modelCursor)}return{modelRange:m,modelCursor:h}}_safeInsert(c,u){const h=this._splitToAllowedParent(c,u);return!!h&&(this.conversionApi.writer.insert(c,h.position),!0)}_updateConversionResult(c,u){const h=this._getSplitParts(c),m=this.conversionApi.writer;u.modelRange||(u.modelRange=m.createRange(m.createPositionBefore(c),m.createPositionAfter(h[h.length-1])));const _=this._cursorParents.get(c);u.modelCursor=_?m.createPositionAt(_,0):u.modelRange.end}_splitToAllowedParent(c,u){const{schema:h,writer:m}=this.conversionApi;let _=h.findAllowedParent(u,c);if(_){if(_===u.parent)return{position:u};this._modelCursor.parent.getAncestors().includes(_)&&(_=null)}if(!_)return G1(u,c,h)?{position:ME(u,m)}:null;const b=this.conversionApi.writer.split(u,_),w=[];for(const M of b.range.getWalker())if("elementEnd"==M.type)w.push(M.item);else{const R=w.pop();this._registerSplitPair(R,M.item)}const A=b.range.end.parent;return this._cursorParents.set(c,A),{position:b.position,cursorParent:A}}_registerSplitPair(c,u){this._splitParts.has(c)||this._splitParts.set(c,[c]);const h=this._splitParts.get(c);this._splitParts.set(u,h),h.push(u)}_getSplitParts(c){let u;return u=this._splitParts.has(c)?this._splitParts.get(c):[c],u}_keepEmptyElement(c){this._emptyElementsToKeep.add(c)}_removeEmptyElements(){let c=!1;for(const u of this._splitParts.keys())u.isEmpty&&!this._emptyElementsToKeep.has(u)&&(this.conversionApi.writer.remove(u),this._splitParts.delete(u),c=!0);c&&this._removeEmptyElements()}}class X1{getHtml(c){const u=de.document.implementation.createHTMLDocument("").createElement("div");return u.appendChild(c),u.innerHTML}}class WE{constructor(c){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new Og(c,{renderingMode:"data"}),this.htmlWriter=new X1}toData(c){const u=this.domConverter.viewToDom(c);return this.htmlWriter.getHtml(u)}toView(c){const u=this._toDom(c);return this.domConverter.domToView(u,{skipComments:this.skipComments})}registerRawContentMatcher(c){this.domConverter.registerRawContentMatcher(c)}useFillerType(c){this.domConverter.blockFillerMode="marked"==c?"markedNbsp":"nbsp"}_toDom(c){c.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(c=`${c}`);const u=this.domParser.parseFromString(c,"text/html"),h=u.createDocumentFragment(),m=u.body.childNodes;for(;m.length>0;)h.appendChild(m[0]);return h}}class Xy extends(vn()){constructor(c,u){super(),this.model=c,this.mapper=new nB,this.downcastDispatcher=new cB({mapper:this.mapper,schema:c.schema}),this.downcastDispatcher.on("insert:$text",(h,m,_)=>{if(!_.consumable.consume(m.item,h.name))return;const b=_.writer,w=_.mapper.toViewPosition(m.range.start),A=b.createText(m.item.data);b.insert(w,A)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(h,m,_)=>{_.convertAttributes(m.item),m.reconversion||!m.item.is("element")||m.item.isEmpty||_.convertChildren(m.item)},{priority:"lowest"}),this.upcastDispatcher=new UE({schema:c.schema}),this.viewDocument=new n_(u),this.stylesProcessor=u,this.htmlProcessor=new WE(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new Fy(this.viewDocument),this.upcastDispatcher.on("text",(h,m,{schema:_,consumable:b,writer:w})=>{let A=m.modelCursor;if(!b.test(m.viewItem))return;if(!_.checkChild(A,"$text")){if(!G1(A,"$text",_)||0==m.viewItem.data.trim().length)return;const R=A.nodeBefore;A=ME(A,w),R&&R.is("element","$marker")&&(w.move(w.createRangeOn(R),A),A=w.createPositionAfter(R))}b.consume(m.viewItem);const M=w.createText(m.viewItem.data);w.insert(M,A),m.modelRange=w.createRange(A,A.getShiftedBy(M.offsetSize)),m.modelCursor=m.modelRange.end},{priority:"lowest"}),this.upcastDispatcher.on("element",(h,m,_)=>{if(!m.modelRange&&_.consumable.consume(m.viewItem,{name:!0})){const{modelRange:b,modelCursor:w}=_.convertChildren(m.viewItem,m.modelCursor);m.modelRange=b,m.modelCursor=w}},{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",(h,m,_)=>{if(!m.modelRange&&_.consumable.consume(m.viewItem,{name:!0})){const{modelRange:b,modelCursor:w}=_.convertChildren(m.viewItem,m.modelCursor);m.modelRange=b,m.modelCursor=w}},{priority:"lowest"}),_t().prototype.decorate.call(this,"init"),_t().prototype.decorate.call(this,"set"),_t().prototype.decorate.call(this,"get"),_t().prototype.decorate.call(this,"toView"),_t().prototype.decorate.call(this,"toModel"),this.on("init",()=>{this.fire("ready")},{priority:"lowest"}),this.on("ready",()=>{this.model.enqueueChange({isUndoable:!1},H1)},{priority:"lowest"})}get(c={}){const{rootName:u="main",trim:h="empty"}=c;if(!this._checkIfRootsExists([u]))throw new fe("datacontroller-get-non-existent-root",this);const m=this.model.document.getRoot(u);return m.isAttached()||St("datacontroller-get-detached-root",this),"empty"!==h||this.model.hasContent(m,{ignoreWhitespaces:!0})?this.stringify(m,c):""}stringify(c,u={}){const h=this.toView(c,u);return this.processor.toData(h)}toView(c,u={}){const h=this.viewDocument,m=this._viewWriter;this.mapper.clearBindings();const _=Ke._createIn(c),b=new Rg(h);this.mapper.bindElements(c,b);const w=c.is("documentFragment")?c.markers:function(A){const M=[],R=A.root.document;if(!R)return new Map;const O=Ke._createIn(A);for(const N of R.model.markers){const V=N.getRange(),W=V.isCollapsed,Y=V.start.isEqual(O.start)||V.end.isEqual(O.end);if(W&&Y)M.push([N.name,V]);else{const ne=O.getIntersection(V);ne&&M.push([N.name,ne])}}return M.sort(([N,V],[W,Y])=>{if("after"!==V.end.compareWith(Y.start))return 1;if("before"!==V.start.compareWith(Y.end))return-1;switch(V.start.compareWith(Y.start)){case"before":return 1;case"after":return-1;default:switch(V.end.compareWith(Y.end)){case"before":return 1;case"after":return-1;default:return W.localeCompare(N)}}}),new Map(M)}(c);return this.downcastDispatcher.convert(_,w,m,u),b}init(c){if(this.model.document.version)throw new fe("datacontroller-init-document-not-empty",this);let u={};if("string"==typeof c?u.main=c:u=c,!this._checkIfRootsExists(Object.keys(u)))throw new fe("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},h=>{for(const m of Object.keys(u)){const _=this.model.document.getRoot(m);h.insert(this.parse(u[m],_),_,0)}}),Promise.resolve()}set(c,u={}){let h={};if("string"==typeof c?h.main=c:h=c,!this._checkIfRootsExists(Object.keys(h)))throw new fe("datacontroller-set-non-existent-root",this);this.model.enqueueChange(u.batchType||{},m=>{m.setSelection(null),m.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const _ of Object.keys(h)){const b=this.model.document.getRoot(_);m.remove(m.createRangeIn(b)),m.insert(this.parse(h[_],b),b,0)}})}parse(c,u="$root"){const h=this.processor.toView(c);return this.toModel(h,u)}toModel(c,u="$root"){return this.model.change(h=>this.upcastDispatcher.convert(c,h,u))}addStyleProcessorRules(c){c(this.stylesProcessor)}registerRawContentMatcher(c){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(c),this.htmlProcessor.registerRawContentMatcher(c)}destroy(){this.stopListening()}_checkIfRootsExists(c){for(const u of c)if(!this.model.document.getRoot(u))return!1;return!0}}class w_{constructor(c,u){this._helpers=new Map,this._downcast=ho(c),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=ho(u),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(c,u){const h=this._downcast.includes(u);if(!this._upcast.includes(u)&&!h)throw new fe("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:c,dispatchers:[u],isDowncast:h})}for(c){if(!this._helpers.has(c))throw new fe("conversion-for-unknown-group",this);return this._helpers.get(c)}elementToElement(c){this.for("downcast").elementToElement(c);for(const{model:u,view:h}of Zy(c))this.for("upcast").elementToElement({model:u,view:h,converterPriority:c.converterPriority})}attributeToElement(c){this.for("downcast").attributeToElement(c);for(const{model:u,view:h}of Zy(c))this.for("upcast").elementToAttribute({view:h,model:u,converterPriority:c.converterPriority})}attributeToAttribute(c){this.for("downcast").attributeToAttribute(c);for(const{model:u,view:h}of Zy(c))this.for("upcast").attributeToAttribute({view:h,model:u})}_createConversionHelpers({name:c,dispatchers:u,isDowncast:h}){if(this._helpers.has(c))throw new fe("conversion-group-exists",this);const m=h?new V1(u):new j1(u);this._helpers.set(c,m)}}function*Zy(g){if(g.model.values)for(const c of g.model.values){const u={key:g.model.key,value:c},h=g.view[c],m=g.upcastAlso?g.upcastAlso[c]:void 0;yield*Jy(u,h,m)}else yield*Jy(g.model,g.view,g.upcastAlso)}function*Jy(g,c,u){if(yield{model:g,view:c},u)for(const h of ho(u))yield{model:g,view:h}}class zs{constructor(c){this.baseVersion=c,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const c=Object.assign({},this);return c.__className=this.constructor.className,delete c.batch,delete c.isDocumentOperation,c}static get className(){return"Operation"}static fromJSON(c,u){return new this(c.baseVersion)}}function e0(g,c){const u=qE(c),h=u.reduce((b,w)=>b+w.offsetSize,0),m=g.parent;x_(g);const _=g.index;return m._insertChild(_,u),Hg(m,_+u.length),Hg(m,_),new Ke(g,g.getShiftedBy(h))}function t0(g){if(!g.isFlat)throw new fe("operation-utils-remove-range-not-flat",this);const c=g.start.parent;x_(g.start),x_(g.end);const u=c._removeChildren(g.start.index,g.end.index-g.start.index);return Hg(c,g.start.index),u}function Od(g,c){if(!g.isFlat)throw new fe("operation-utils-move-range-not-flat",this);const u=t0(g);return e0(c=c._getTransformedByDeletion(g.start,g.end.offset-g.start.offset),u)}function qE(g){const c=[];!function u(h){if("string"==typeof h)c.push(new to(h));else if(h instanceof Gc)c.push(new to(h.data,h.getAttributes()));else if(h instanceof Rl)c.push(h);else if(Zn(h))for(const m of h)u(m)}(g);for(let u=1;uc.maxOffset)throw new fe("move-operation-nodes-do-not-exist",this);if(c===u&&h=h&&this.targetPosition.path[_]h._clone(!0))),u=new Ur(this.position,c,this.baseVersion);return u.shouldReceiveAttributes=this.shouldReceiveAttributes,u}getReversed(){const u=new ct(this.position.root.document.graveyard,[0]);return new kn(this.position,this.nodes.maxOffset,u,this.baseVersion+1)}_validate(){const c=this.position.parent;if(!c||c.maxOffsetu._clone(!0))),e0(this.position,c)}toJSON(){const c=super.toJSON();return c.position=this.position.toJSON(),c.nodes=this.nodes.toJSON(),c}static get className(){return"InsertOperation"}static fromJSON(c,u){const h=[];for(const _ of c.nodes)h.push(_.name?On.fromJSON(_):to.fromJSON(_));const m=new Ur(ct.fromJSON(c.position,u),h,c.baseVersion);return m.shouldReceiveAttributes=c.shouldReceiveAttributes,m}}class Gn extends zs{constructor(c,u,h,m,_){super(_),this.splitPosition=c.clone(),this.splitPosition.stickiness="toNext",this.howMany=u,this.insertionPosition=h,this.graveyardPosition=m?m.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const c=this.insertionPosition.path.slice();return c.push(0),new ct(this.insertionPosition.root,c)}get movedRange(){const c=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Ke(this.splitPosition,c)}get affectedSelectable(){const c=[Ke._createFromPositionAndShift(this.splitPosition,0),Ke._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&c.push(Ke._createFromPositionAndShift(this.graveyardPosition,0)),c}clone(){return new Gn(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const u=new ct(this.splitPosition.root.document.graveyard,[0]);return new To(this.moveTargetPosition,this.howMany,this.splitPosition,u,this.baseVersion+1)}_validate(){const c=this.splitPosition.parent;if(!c||c.maxOffset{if(g.key===c.key&&g.range.start.hasSameParentAs(c.range.start)){const h=g.range.getDifference(c.range).map(_=>new fr(_,g.key,g.oldValue,g.newValue,0)),m=g.range.getIntersection(c.range);return m&&u.aIsStrong&&h.push(new fr(m,c.key,c.newValue,g.newValue,0)),0==h.length?[new Sr(0)]:h}return[g]}),Zi(fr,Ur,(g,c)=>{if(g.range.start.hasSameParentAs(c.position)&&g.range.containsPosition(c.position)){const u=g.range._getTransformedByInsertion(c.position,c.howMany,!c.shouldReceiveAttributes).map(h=>new fr(h,g.key,g.oldValue,g.newValue,g.baseVersion));if(c.shouldReceiveAttributes){const h=JE(c,g.key,g.oldValue);h&&u.unshift(h)}return u}return g.range=g.range._getTransformedByInsertion(c.position,c.howMany,!1)[0],[g]}),Zi(fr,To,(g,c)=>{const u=[];g.range.start.hasSameParentAs(c.deletionPosition)&&(g.range.containsPosition(c.deletionPosition)||g.range.start.isEqual(c.deletionPosition))&&u.push(Ke._createFromPositionAndShift(c.graveyardPosition,1));const h=g.range._getTransformedByMergeOperation(c);return h.isCollapsed||u.push(h),u.map(m=>new fr(m,g.key,g.oldValue,g.newValue,g.baseVersion))}),Zi(fr,kn,(g,c)=>function(h,m){const _=Ke._createFromPositionAndShift(m.sourcePosition,m.howMany);let b=null,w=[];_.containsRange(h,!0)?b=h:h.start.hasSameParentAs(_.start)?(w=h.getDifference(_),b=h.getIntersection(_)):w=[h];const A=[];for(let M of w){M=M._getTransformedByDeletion(m.sourcePosition,m.howMany);const R=m.getMovedRangeStart(),O=M.start.hasSameParentAs(R),N=M._getTransformedByInsertion(R,m.howMany,O);A.push(...N)}return b&&A.push(b._getTransformedByMove(m.sourcePosition,m.targetPosition,m.howMany,!1)[0]),A}(g.range,c).map(h=>new fr(h,g.key,g.oldValue,g.newValue,g.baseVersion))),Zi(fr,Gn,(g,c)=>{if(g.range.end.isEqual(c.insertionPosition))return c.graveyardPosition||g.range.end.offset++,[g];if(g.range.start.hasSameParentAs(c.splitPosition)&&g.range.containsPosition(c.splitPosition)){const u=g.clone();return u.range=new Ke(c.moveTargetPosition.clone(),g.range.end._getCombined(c.splitPosition,c.moveTargetPosition)),g.range.end=c.splitPosition.clone(),g.range.end.stickiness="toPrevious",[g,u]}return g.range=g.range._getTransformedBySplitOperation(c),[g]}),Zi(Ur,fr,(g,c)=>{const u=[g];if(g.shouldReceiveAttributes&&g.position.hasSameParentAs(c.range.start)&&c.range.containsPosition(g.position)){const h=JE(g,c.key,c.newValue);h&&u.push(h)}return u}),Zi(Ur,Ur,(g,c,u)=>(g.position.isEqual(c.position)&&u.aIsStrong||(g.position=g.position._getTransformedByInsertOperation(c)),[g])),Zi(Ur,kn,(g,c)=>(g.position=g.position._getTransformedByMoveOperation(c),[g])),Zi(Ur,Gn,(g,c)=>(g.position=g.position._getTransformedBySplitOperation(c),[g])),Zi(Ur,To,(g,c)=>(g.position=g.position._getTransformedByMergeOperation(c),[g])),Zi(Hs,Ur,(g,c)=>(g.oldRange&&(g.oldRange=g.oldRange._getTransformedByInsertOperation(c)[0]),g.newRange&&(g.newRange=g.newRange._getTransformedByInsertOperation(c)[0]),[g])),Zi(Hs,Hs,(g,c,u)=>{if(g.name==c.name){if(!u.aIsStrong)return[new Sr(0)];g.oldRange=c.newRange?c.newRange.clone():null}return[g]}),Zi(Hs,To,(g,c)=>(g.oldRange&&(g.oldRange=g.oldRange._getTransformedByMergeOperation(c)),g.newRange&&(g.newRange=g.newRange._getTransformedByMergeOperation(c)),[g])),Zi(Hs,kn,(g,c,u)=>{if(g.oldRange&&(g.oldRange=Ke._createFromRanges(g.oldRange._getTransformedByMoveOperation(c))),g.newRange){if(u.abRelation){const h=Ke._createFromRanges(g.newRange._getTransformedByMoveOperation(c));if("left"==u.abRelation.side&&c.targetPosition.isEqual(g.newRange.start))return g.newRange.end=h.end,g.newRange.start.path=u.abRelation.path,[g];if("right"==u.abRelation.side&&c.targetPosition.isEqual(g.newRange.end))return g.newRange.start=h.start,g.newRange.end.path=u.abRelation.path,[g]}g.newRange=Ke._createFromRanges(g.newRange._getTransformedByMoveOperation(c))}return[g]}),Zi(Hs,Gn,(g,c,u)=>{if(g.oldRange&&(g.oldRange=g.oldRange._getTransformedBySplitOperation(c)),g.newRange){if(u.abRelation){const h=g.newRange._getTransformedBySplitOperation(c);return g.newRange.start.isEqual(c.splitPosition)&&u.abRelation.wasStartBeforeMergedElement?g.newRange.start=ct._createAt(c.insertionPosition):g.newRange.start.isEqual(c.splitPosition)&&!u.abRelation.wasInLeftElement&&(g.newRange.start=ct._createAt(c.moveTargetPosition)),g.newRange.end=g.newRange.end.isEqual(c.splitPosition)&&u.abRelation.wasInRightElement?ct._createAt(c.moveTargetPosition):g.newRange.end.isEqual(c.splitPosition)&&u.abRelation.wasEndBeforeMergedElement?ct._createAt(c.insertionPosition):h.end,[g]}g.newRange=g.newRange._getTransformedBySplitOperation(c)}return[g]}),Zi(To,Ur,(g,c)=>(g.sourcePosition.hasSameParentAs(c.position)&&(g.howMany+=c.howMany),g.sourcePosition=g.sourcePosition._getTransformedByInsertOperation(c),g.targetPosition=g.targetPosition._getTransformedByInsertOperation(c),[g])),Zi(To,To,(g,c,u)=>{if(g.sourcePosition.isEqual(c.sourcePosition)&&g.targetPosition.isEqual(c.targetPosition)){if(u.bWasUndone){const h=c.graveyardPosition.path.slice();return h.push(0),g.sourcePosition=new ct(c.graveyardPosition.root,h),g.howMany=0,[g]}return[new Sr(0)]}if(g.sourcePosition.isEqual(c.sourcePosition)&&!g.targetPosition.isEqual(c.targetPosition)&&!u.bWasUndone&&"splitAtSource"!=u.abRelation){const h="$graveyard"==g.targetPosition.root.rootName,m="$graveyard"==c.targetPosition.root.rootName;if(m&&!h||(!h||m)&&u.aIsStrong){const _=c.targetPosition._getTransformedByMergeOperation(c),b=g.targetPosition._getTransformedByMergeOperation(c);return[new kn(_,g.howMany,b,0)]}return[new Sr(0)]}return g.sourcePosition.hasSameParentAs(c.targetPosition)&&(g.howMany+=c.howMany),g.sourcePosition=g.sourcePosition._getTransformedByMergeOperation(c),g.targetPosition=g.targetPosition._getTransformedByMergeOperation(c),g.graveyardPosition.isEqual(c.graveyardPosition)&&u.aIsStrong||(g.graveyardPosition=g.graveyardPosition._getTransformedByMergeOperation(c)),[g]}),Zi(To,kn,(g,c,u)=>{const h=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany);return"remove"==c.type&&!u.bWasUndone&&!u.forceWeakRemove&&g.deletionPosition.hasSameParentAs(c.sourcePosition)&&h.containsPosition(g.sourcePosition)?[new Sr(0)]:(g.sourcePosition.hasSameParentAs(c.targetPosition)&&(g.howMany+=c.howMany),g.sourcePosition.hasSameParentAs(c.sourcePosition)&&(g.howMany-=c.howMany),g.sourcePosition=g.sourcePosition._getTransformedByMoveOperation(c),g.targetPosition=g.targetPosition._getTransformedByMoveOperation(c),g.graveyardPosition.isEqual(c.targetPosition)||(g.graveyardPosition=g.graveyardPosition._getTransformedByMoveOperation(c)),[g])}),Zi(To,Gn,(g,c,u)=>{if(c.graveyardPosition&&(g.graveyardPosition=g.graveyardPosition._getTransformedByDeletion(c.graveyardPosition,1),g.deletionPosition.isEqual(c.graveyardPosition)&&(g.howMany=c.howMany)),g.targetPosition.isEqual(c.splitPosition)){const h=0!=c.howMany,m=c.graveyardPosition&&g.deletionPosition.isEqual(c.graveyardPosition);if(h||m||"mergeTargetNotMoved"==u.abRelation)return g.sourcePosition=g.sourcePosition._getTransformedBySplitOperation(c),[g]}if(g.sourcePosition.isEqual(c.splitPosition)){if("mergeSourceNotMoved"==u.abRelation)return g.howMany=0,g.targetPosition=g.targetPosition._getTransformedBySplitOperation(c),[g];if("mergeSameElement"==u.abRelation||g.sourcePosition.offset>0)return g.sourcePosition=c.moveTargetPosition.clone(),g.targetPosition=g.targetPosition._getTransformedBySplitOperation(c),[g]}return g.sourcePosition.hasSameParentAs(c.splitPosition)&&(g.howMany=c.splitPosition.offset),g.sourcePosition=g.sourcePosition._getTransformedBySplitOperation(c),g.targetPosition=g.targetPosition._getTransformedBySplitOperation(c),[g]}),Zi(kn,Ur,(g,c)=>{const u=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany)._getTransformedByInsertOperation(c,!1)[0];return g.sourcePosition=u.start,g.howMany=u.end.offset-u.start.offset,g.targetPosition.isEqual(c.position)||(g.targetPosition=g.targetPosition._getTransformedByInsertOperation(c)),[g]}),Zi(kn,kn,(g,c,u)=>{const h=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany),m=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany);let _,b=u.aIsStrong,w=!u.aIsStrong;if("insertBefore"==u.abRelation||"insertAfter"==u.baRelation?w=!0:"insertAfter"!=u.abRelation&&"insertBefore"!=u.baRelation||(w=!1),_=g.targetPosition.isEqual(c.targetPosition)&&w?g.targetPosition._getTransformedByDeletion(c.sourcePosition,c.howMany):g.targetPosition._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),e2(g,c)&&e2(c,g))return[c.getReversed()];if(h.containsPosition(c.targetPosition)&&h.containsRange(m,!0))return h.start=h.start._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),h.end=h.end._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),$g([h],_);if(m.containsPosition(g.targetPosition)&&m.containsRange(h,!0))return h.start=h.start._getCombined(c.sourcePosition,c.getMovedRangeStart()),h.end=h.end._getCombined(c.sourcePosition,c.getMovedRangeStart()),$g([h],_);const A=Dr(g.sourcePosition.getParentPath(),c.sourcePosition.getParentPath());if("prefix"==A||"extension"==A)return h.start=h.start._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),h.end=h.end._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),$g([h],_);"remove"!=g.type||"remove"==c.type||u.aWasUndone||u.forceWeakRemove?"remove"==g.type||"remove"!=c.type||u.bWasUndone||u.forceWeakRemove||(b=!1):b=!0;const M=[],R=h.getDifference(m);for(const N of R){N.start=N.start._getTransformedByDeletion(c.sourcePosition,c.howMany),N.end=N.end._getTransformedByDeletion(c.sourcePosition,c.howMany);const V="same"==Dr(N.start.getParentPath(),c.getMovedRangeStart().getParentPath()),W=N._getTransformedByInsertion(c.getMovedRangeStart(),c.howMany,V);M.push(...W)}const O=h.getIntersection(m);return null!==O&&b&&(O.start=O.start._getCombined(c.sourcePosition,c.getMovedRangeStart()),O.end=O.end._getCombined(c.sourcePosition,c.getMovedRangeStart()),0===M.length?M.push(O):1==M.length?m.start.isBefore(h.start)||m.start.isEqual(h.start)?M.unshift(O):M.push(O):M.splice(1,0,O)),0===M.length?[new Sr(g.baseVersion)]:$g(M,_)}),Zi(kn,Gn,(g,c,u)=>{let h=g.targetPosition.clone();g.targetPosition.isEqual(c.insertionPosition)&&c.graveyardPosition&&"moveTargetAfter"!=u.abRelation||(h=g.targetPosition._getTransformedBySplitOperation(c));const m=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany);if(m.end.isEqual(c.insertionPosition))return c.graveyardPosition||g.howMany++,g.targetPosition=h,[g];if(m.start.hasSameParentAs(c.splitPosition)&&m.containsPosition(c.splitPosition)){let b=new Ke(c.splitPosition,m.end);return b=b._getTransformedBySplitOperation(c),$g([new Ke(m.start,c.splitPosition),b],h)}g.targetPosition.isEqual(c.splitPosition)&&"insertAtSource"==u.abRelation&&(h=c.moveTargetPosition),g.targetPosition.isEqual(c.insertionPosition)&&"insertBetween"==u.abRelation&&(h=g.targetPosition);const _=[m._getTransformedBySplitOperation(c)];if(c.graveyardPosition){const b=m.start.isEqual(c.graveyardPosition)||m.containsPosition(c.graveyardPosition);g.howMany>1&&b&&!u.aWasUndone&&_.push(Ke._createFromPositionAndShift(c.insertionPosition,1))}return $g(_,h)}),Zi(kn,To,(g,c,u)=>{const h=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany);if(c.deletionPosition.hasSameParentAs(g.sourcePosition)&&h.containsPosition(c.sourcePosition))if("remove"!=g.type||u.forceWeakRemove){if(1==g.howMany)return u.bWasUndone?(g.sourcePosition=c.graveyardPosition.clone(),g.targetPosition=g.targetPosition._getTransformedByMergeOperation(c),[g]):[new Sr(0)]}else if(!u.aWasUndone){const _=[];let b=c.graveyardPosition.clone(),w=c.targetPosition._getTransformedByMergeOperation(c);g.howMany>1&&(_.push(new kn(g.sourcePosition,g.howMany-1,g.targetPosition,0)),b=b._getTransformedByMove(g.sourcePosition,g.targetPosition,g.howMany-1),w=w._getTransformedByMove(g.sourcePosition,g.targetPosition,g.howMany-1));const A=c.deletionPosition._getCombined(g.sourcePosition,g.targetPosition),M=new kn(b,1,A,0),R=M.getMovedRangeStart().path.slice();R.push(0);const O=new ct(M.targetPosition.root,R);w=w._getTransformedByMove(b,A,1);const N=new kn(w,c.howMany,O,0);return _.push(M),_.push(N),_}const m=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany)._getTransformedByMergeOperation(c);return g.sourcePosition=m.start,g.howMany=m.end.offset-m.start.offset,g.targetPosition=g.targetPosition._getTransformedByMergeOperation(c),[g]}),Zi(tl,Ur,(g,c)=>(g.position=g.position._getTransformedByInsertOperation(c),[g])),Zi(tl,To,(g,c)=>g.position.isEqual(c.deletionPosition)?(g.position=c.graveyardPosition.clone(),g.position.stickiness="toNext",[g]):(g.position=g.position._getTransformedByMergeOperation(c),[g])),Zi(tl,kn,(g,c)=>(g.position=g.position._getTransformedByMoveOperation(c),[g])),Zi(tl,tl,(g,c,u)=>{if(g.position.isEqual(c.position)){if(!u.aIsStrong)return[new Sr(0)];g.oldName=c.newName}return[g]}),Zi(tl,Gn,(g,c)=>{if("same"==Dr(g.position.path,c.splitPosition.getParentPath())&&!c.graveyardPosition){const u=new tl(g.position.getShiftedBy(1),g.oldName,g.newName,0);return[g,u]}return g.position=g.position._getTransformedBySplitOperation(c),[g]}),Zi(Fd,Fd,(g,c,u)=>{if(g.root===c.root&&g.key===c.key){if(!u.aIsStrong||g.newValue===c.newValue)return[new Sr(0)];g.oldValue=c.newValue}return[g]}),Zi(Ol,Ol,(g,c)=>g.rootName===c.rootName&&g.isAdd===c.isAdd?[new Sr(0)]:[g]),Zi(Gn,Ur,(g,c)=>(g.splitPosition.hasSameParentAs(c.position)&&g.splitPosition.offset{if(!g.graveyardPosition&&!u.bWasUndone&&g.splitPosition.hasSameParentAs(c.sourcePosition)){const h=c.graveyardPosition.path.slice();h.push(0);const m=new ct(c.graveyardPosition.root,h),_=Gn.getInsertionPosition(new ct(c.graveyardPosition.root,h)),b=new Gn(m,0,_,null,0);return g.splitPosition=g.splitPosition._getTransformedByMergeOperation(c),g.insertionPosition=Gn.getInsertionPosition(g.splitPosition),g.graveyardPosition=b.insertionPosition.clone(),g.graveyardPosition.stickiness="toNext",[b,g]}return g.splitPosition.hasSameParentAs(c.deletionPosition)&&!g.splitPosition.isAfter(c.deletionPosition)&&g.howMany--,g.splitPosition.hasSameParentAs(c.targetPosition)&&(g.howMany+=c.howMany),g.splitPosition=g.splitPosition._getTransformedByMergeOperation(c),g.insertionPosition=Gn.getInsertionPosition(g.splitPosition),g.graveyardPosition&&(g.graveyardPosition=g.graveyardPosition._getTransformedByMergeOperation(c)),[g]}),Zi(Gn,kn,(g,c,u)=>{const h=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany);if(g.graveyardPosition){const _=h.start.isEqual(g.graveyardPosition)||h.containsPosition(g.graveyardPosition);if(!u.bWasUndone&&_){const b=g.splitPosition._getTransformedByMoveOperation(c),w=g.graveyardPosition._getTransformedByMoveOperation(c),A=w.path.slice();A.push(0);const M=new ct(w.root,A);return[new kn(b,g.howMany,M,0)]}g.graveyardPosition=g.graveyardPosition._getTransformedByMoveOperation(c)}const m=g.splitPosition.isEqual(c.targetPosition);if(m&&("insertAtSource"==u.baRelation||"splitBefore"==u.abRelation))return g.howMany+=c.howMany,g.splitPosition=g.splitPosition._getTransformedByDeletion(c.sourcePosition,c.howMany),g.insertionPosition=Gn.getInsertionPosition(g.splitPosition),[g];if(m&&u.abRelation&&u.abRelation.howMany){const{howMany:_,offset:b}=u.abRelation;return g.howMany+=_,g.splitPosition=g.splitPosition.getShiftedBy(b),[g]}return g.splitPosition.hasSameParentAs(c.sourcePosition)&&h.containsPosition(g.splitPosition)?(g.howMany-=c.howMany-(g.splitPosition.offset-c.sourcePosition.offset),g.splitPosition.hasSameParentAs(c.targetPosition)&&g.splitPosition.offset{if(g.splitPosition.isEqual(c.splitPosition)){if(!g.graveyardPosition&&!c.graveyardPosition)return[new Sr(0)];if(g.graveyardPosition&&c.graveyardPosition&&g.graveyardPosition.isEqual(c.graveyardPosition))return[new Sr(0)];if("splitBefore"==u.abRelation)return g.howMany=0,g.graveyardPosition=g.graveyardPosition._getTransformedBySplitOperation(c),[g]}if(g.graveyardPosition&&c.graveyardPosition&&g.graveyardPosition.isEqual(c.graveyardPosition)){const h="$graveyard"==g.splitPosition.root.rootName,m="$graveyard"==c.splitPosition.root.rootName;if(m&&!h||(!h||m)&&u.aIsStrong){const _=[];return c.howMany&&_.push(new kn(c.moveTargetPosition,c.howMany,c.splitPosition,0)),g.howMany&&_.push(new kn(g.splitPosition,g.howMany,g.moveTargetPosition,0)),_}return[new Sr(0)]}if(g.graveyardPosition&&(g.graveyardPosition=g.graveyardPosition._getTransformedBySplitOperation(c)),g.splitPosition.isEqual(c.insertionPosition)&&"splitBefore"==u.abRelation)return g.howMany++,[g];if(c.splitPosition.isEqual(g.insertionPosition)&&"splitBefore"==u.baRelation){const h=c.insertionPosition.path.slice();h.push(0);const m=new ct(c.insertionPosition.root,h);return[g,new kn(g.insertionPosition,1,m,0)]}return g.splitPosition.hasSameParentAs(c.splitPosition)&&g.splitPosition.offset{const u=c[0];u.isDocumentOperation&&wB.call(this,u)},{priority:"low"})}function wB(g){const c=this.getTransformedByOperation(g);if(!this.isEqual(c)){const u=this.toPosition();this.path=c.path,this.root=c.root,this.fire("change",u)}}jn.prototype.is=function(g){return"livePosition"===g||"model:livePosition"===g||"position"==g||"model:position"===g};class Ug{constructor(c={}){"string"==typeof c&&(c="transparent"===c?{isUndoable:!1}:{},St("batch-constructor-deprecated-string-type"));const{isUndoable:u=!0,isLocal:h=!0,isUndo:m=!1,isTyping:_=!1}=c;this.operations=[],this.isUndoable=u,this.isLocal=h,this.isUndo=m,this.isTyping=_}get type(){return St("batch-type-deprecated"),"default"}get baseVersion(){for(const c of this.operations)if(null!==c.baseVersion)return c.baseVersion;return null}addOperation(c){return c.batch=this,this.operations.push(c),c}}var xB=Object.defineProperty,kB=Object.defineProperties,DB=Object.getOwnPropertyDescriptors,t2=Object.getOwnPropertySymbols,n2=Object.prototype.hasOwnProperty,AB=Object.prototype.propertyIsEnumerable,o2=(g,c,u)=>c in g?xB(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,r2=(g,c)=>{for(var u in c||(c={}))n2.call(c,u)&&o2(g,u,c[u]);if(t2)for(var u of t2(c))AB.call(c,u)&&o2(g,u,c[u]);return g};class IB{constructor(c){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=c}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(c){const u=c;switch(u.type){case"insert":if(this._isInInsertedElement(u.position.parent))return;this._markInsert(u.position.parent,u.position.offset,u.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const h of u.range.getItems({shallow:!0}))this._isInInsertedElement(h.parent)||this._markAttribute(h);break;case"remove":case"move":case"reinsert":{if(u.sourcePosition.isEqual(u.targetPosition)||u.sourcePosition.getShiftedBy(u.howMany).isEqual(u.targetPosition))return;const h=this._isInInsertedElement(u.sourcePosition.parent),m=this._isInInsertedElement(u.targetPosition.parent);h||this._markRemove(u.sourcePosition.parent,u.sourcePosition.offset,u.howMany),m||this._markInsert(u.targetPosition.parent,u.getMovedRangeStart().offset,u.howMany);break}case"rename":{if(this._isInInsertedElement(u.position.parent))return;this._markRemove(u.position.parent,u.position.offset,1),this._markInsert(u.position.parent,u.position.offset,1);const h=Ke._createFromPositionAndShift(u.position,1);for(const m of this._markerCollection.getMarkersIntersectingRange(h)){const _=m.getData();this.bufferMarkerChange(m.name,_,_)}break}case"split":{const h=u.splitPosition.parent;this._isInInsertedElement(h)||this._markRemove(h,u.splitPosition.offset,u.howMany),this._isInInsertedElement(u.insertionPosition.parent)||this._markInsert(u.insertionPosition.parent,u.insertionPosition.offset,1),u.graveyardPosition&&this._markRemove(u.graveyardPosition.parent,u.graveyardPosition.offset,1);break}case"merge":{const h=u.sourcePosition.parent;this._isInInsertedElement(h.parent)||this._markRemove(h.parent,h.startOffset,1),this._markInsert(u.graveyardPosition.parent,u.graveyardPosition.offset,1);const _=u.targetPosition.parent;this._isInInsertedElement(_)||this._markInsert(_,u.targetPosition.offset,h.maxOffset);break}case"detachRoot":case"addRoot":{const h=u.affectedSelectable;if(!h._isLoaded||h.isAttached()==u.isAdd)return;this._bufferRootStateChange(u.rootName,u.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":if(!u.root._isLoaded)return;this._bufferRootAttributeChange(u.root.rootName,u.key,u.oldValue,u.newValue)}this._cachedChanges=null}bufferMarkerChange(c,u,h){u.range&&u.range.root.is("rootElement")&&!u.range.root._isLoaded&&(u.range=null),h.range&&h.range.root.is("rootElement")&&!h.range.root._isLoaded&&(h.range=null);let m=this._changedMarkers.get(c);m?m.newMarkerData=h:(m={newMarkerData:h,oldMarkerData:u},this._changedMarkers.set(c,m)),null==m.oldMarkerData.range&&null==h.range&&this._changedMarkers.delete(c)}getMarkersToRemove(){const c=[];for(const[u,h]of this._changedMarkers)null!=h.oldMarkerData.range&&c.push({name:u,range:h.oldMarkerData.range});return c}getMarkersToAdd(){const c=[];for(const[u,h]of this._changedMarkers)null!=h.newMarkerData.range&&c.push({name:u,range:h.newMarkerData.range});return c}getChangedMarkers(){return Array.from(this._changedMarkers).map(([c,u])=>({name:c,data:{oldRange:u.oldMarkerData.range,newRange:u.newMarkerData.range}}))}hasDataChanges(){if(this._changesInElement.size>0||this._changedRoots.size>0)return!0;for(const{newMarkerData:c,oldMarkerData:u}of this._changedMarkers.values()){if(c.affectsData!==u.affectsData)return!0;if(c.affectsData){const h=c.range&&!u.range,m=!c.range&&u.range,_=c.range&&u.range&&!c.range.isEqual(u.range);if(h||m||_)return!0}}return!1}getChanges(c={}){if(this._cachedChanges)return c.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let u=[];for(const h of this._changesInElement.keys()){const m=this._changesInElement.get(h).sort((R,O)=>R.offset===O.offset?R.type!=O.type?"remove"==R.type?-1:1:0:R.offseth.position.root!=m.position.root?h.position.root.rootNameh);for(const h of u)delete h.changeCount,"attribute"==h.type&&(delete h.position,delete h.length);return this._changeCount=0,this._cachedChangesWithGraveyard=u,this._cachedChanges=u.filter(D_),c.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map(c=>{const u=r2({},c);return void 0!==u.state&&delete u.attributes,u})}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(c,u){if(!this._changedRoots.has(c))return void this._changedRoots.set(c,{name:c,state:u?"attached":"detached"});const h=this._changedRoots.get(c);void 0!==h.state?(delete h.state,void 0===h.attributes&&this._changedRoots.delete(c)):h.state=u?"attached":"detached"}_bufferRootAttributeChange(c,u,h,m){const _=this._changedRoots.get(c)||{name:c},b=_.attributes||{};if(b[u]){const w=b[u];m===w.oldValue?delete b[u]:w.newValue=m}else b[u]={oldValue:h,newValue:m};0===Object.entries(b).length?(delete _.attributes,void 0===_.state&&this._changedRoots.delete(c)):(_.attributes=b,this._changedRoots.set(c,_))}_refreshItem(c){if(this._isInInsertedElement(c.parent))return;this._markRemove(c.parent,c.startOffset,c.offsetSize),this._markInsert(c.parent,c.startOffset,c.offsetSize),this._refreshedItems.add(c);const u=Ke._createOn(c);for(const h of this._markerCollection.getMarkersIntersectingRange(u)){const m=h.getData();this.bufferMarkerChange(h.name,m,m)}this._cachedChanges=null}_bufferRootLoad(c){if(c.isAttached()){this._bufferRootStateChange(c.rootName,!0),this._markInsert(c,0,c.maxOffset);for(const h of c.getAttributeKeys())this._bufferRootAttributeChange(c.rootName,h,null,c.getAttribute(h));for(const h of this._markerCollection)if(h.getRange().root==c){const m=h.getData();this.bufferMarkerChange(h.name,(u=r2({},m),kB(u,DB({range:null}))),m)}var u}}_markInsert(c,u,h){if(c.root.is("rootElement")&&!c.root._isLoaded)return;const m={type:"insert",offset:u,howMany:h,count:this._changeCount++};this._markChange(c,m)}_markRemove(c,u,h){if(c.root.is("rootElement")&&!c.root._isLoaded)return;const m={type:"remove",offset:u,howMany:h,count:this._changeCount++};this._markChange(c,m),this._removeAllNestedChanges(c,u,h)}_markAttribute(c){if(c.root.is("rootElement")&&!c.root._isLoaded)return;const u={type:"attribute",offset:c.startOffset,howMany:c.offsetSize,count:this._changeCount++};this._markChange(c.parent,u)}_markChange(c,u){this._makeSnapshot(c);const h=this._getChangesForElement(c);this._handleChange(u,h),h.push(u);for(let m=0;mh.offset){if(m>_){const b={type:"attribute",offset:_,howMany:m-_,count:this._changeCount++};this._handleChange(b,u),u.push(b)}c.nodesToHandle=h.offset-c.offset,c.howMany=c.nodesToHandle}else c.offset>=h.offset&&c.offset<_&&(m>_?(c.nodesToHandle=m-_,c.offset=_):c.nodesToHandle=0);if("remove"==h.type&&c.offseth.offset){const b={type:"attribute",offset:h.offset,howMany:m-h.offset,count:this._changeCount++};this._handleChange(b,u),u.push(b),c.nodesToHandle=h.offset-c.offset,c.howMany=c.nodesToHandle}"attribute"==h.type&&(c.offset>=h.offset&&m<=_?(c.nodesToHandle=0,c.howMany=0,c.offset=0):c.offset<=h.offset&&m>=_&&(h.howMany=0))}}c.howMany=c.nodesToHandle,delete c.nodesToHandle}_getInsertDiff(c,u,h){return{type:"insert",position:ct._createAt(c,u),name:h.name,attributes:new Map(h.attributes),length:1,changeCount:this._changeCount++}}_getRemoveDiff(c,u,h){return{type:"remove",position:ct._createAt(c,u),name:h.name,attributes:new Map(h.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(c,u,h){const m=[];h=new Map(h);for(const[_,b]of u){const w=h.has(_)?h.get(_):null;w!==b&&m.push({type:"attribute",position:c.start,range:c.clone(),length:1,attributeKey:_,attributeOldValue:b,attributeNewValue:w,changeCount:this._changeCount++}),h.delete(_)}for(const[_,b]of h)m.push({type:"attribute",position:c.start,range:c.clone(),length:1,attributeKey:_,attributeOldValue:null,attributeNewValue:b,changeCount:this._changeCount++});return m}_isInInsertedElement(c){const u=c.parent;if(!u)return!1;const h=this._changesInElement.get(u),m=c.startOffset;if(h)for(const _ of h)if("insert"==_.type&&m>=_.offset&&m<_.offset+_.howMany)return!0;return this._isInInsertedElement(u)}_removeAllNestedChanges(c,u,h){const m=new Ke(ct._createAt(c,u),ct._createAt(c,u+h));for(const _ of m.getItems({shallow:!0}))_.is("element")&&(this._elementSnapshots.delete(_),this._changesInElement.delete(_),this._removeAllNestedChanges(_,0,_.maxOffset))}}function k_(g){const c=[];for(const u of g)if(u.is("$text"))for(let h=0;hh){for(let b=0;b<_.offset-h;b++)u.push("e");m+=_.offset-h}if("insert"==_.type){for(let b=0;b<_.howMany;b++)u.push("i");h=_.offset+_.howMany}else if("remove"==_.type){for(let b=0;b<_.howMany;b++)u.push("r");h=_.offset,m+=_.howMany}else u.push(..."a".repeat(_.howMany).split("")),h=_.offset+_.howMany,m+=_.howMany}if(mthis._version+1&&this._gaps.set(this._version,c),this._version=c}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(c){if(c.baseVersion!==this.version)throw new fe("model-document-history-addoperation-incorrect-version",this,{operation:c,historyVersion:this.version});this._operations.push(c),this._version++,this._baseVersionToOperationIndex.set(c.baseVersion,this._operations.length-1)}getOperations(c,u=this.version){if(!this._operations.length)return[];const h=this._operations[0];void 0===c&&(c=h.baseVersion);let m=u-1;for(const[w,A]of this._gaps)c>w&&cw&&mthis.lastOperation.baseVersion)return[];let _=this._baseVersionToOperationIndex.get(c);void 0===_&&(_=0);let b=this._baseVersionToOperationIndex.get(m);return void 0===b&&(b=this._operations.length-1),this._operations.slice(_,b+1)}getOperation(c){const u=this._baseVersionToOperationIndex.get(c);if(void 0!==u)return this._operations[u]}setOperationAsUndone(c,u){this._undoPairs.set(u,c),this._undoneOperations.add(c)}isUndoingOperation(c){return this._undoPairs.has(c)}isUndoneOperation(c){return this._undoneOperations.has(c)}getUndoneOperation(c){return this._undoPairs.get(c)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class A_ extends On{constructor(c,u,h="main"){super(u),this._isAttached=!0,this._isLoaded=!0,this._document=c,this.rootName=h}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}A_.prototype.is=function(g,c){return c?c===this.name&&("rootElement"===g||"model:rootElement"===g||"element"===g||"model:element"===g):"rootElement"===g||"model:rootElement"===g||"element"===g||"model:element"===g||"node"===g||"model:node"===g};var a2=Object.defineProperty,jW=Object.defineProperties,$W=Object.getOwnPropertyDescriptors,SB=Object.getOwnPropertySymbols,J1=Object.prototype.hasOwnProperty,ek=Object.prototype.propertyIsEnumerable,TB=(g,c,u)=>c in g?a2(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,EB=(g,c)=>{for(var u in c||(c={}))J1.call(c,u)&&TB(g,u,c[u]);if(SB)for(var u of SB(c))ek.call(c,u)&&TB(g,u,c[u]);return g},tk=(g,c)=>jW(g,$W(c));const l2="$graveyard";class MB extends(vn()){constructor(c){super(),this.model=c,this.history=new s2,this.selection=new cc(this),this.roots=new Oa({idProperty:"rootName"}),this.differ=new IB(c.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",l2),this.listenTo(c,"applyOperation",(u,h)=>{const m=h[0];m.isDocumentOperation&&this.differ.bufferOperation(m)},{priority:"high"}),this.listenTo(c,"applyOperation",(u,h)=>{const m=h[0];m.isDocumentOperation&&this.history.addOperation(m)},{priority:"low"}),this.listenTo(this.selection,"change",()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0}),this.listenTo(c.markers,"update",(u,h,m,_,b)=>{const w=tk(EB({},h.getData()),{range:_});this.differ.bufferMarkerChange(h.name,b,w),null===m&&h.on("change",(A,M)=>{const R=h.getData();this.differ.bufferMarkerChange(h.name,tk(EB({},R),{range:M}),R)})}),this.registerPostFixer(u=>{let h=!1;for(const m of this.roots)m.isAttached()||m.isEmpty||(u.remove(u.createRangeIn(m)),h=!0);for(const m of this.model.markers)m.getRange().root.isAttached()||(u.removeMarker(m),h=!0);return h})}get version(){return this.history.version}set version(c){this.history.version=c}get graveyard(){return this.getRoot(l2)}createRoot(c="$root",u="main"){if(this.roots.get(u))throw new fe("model-document-createroot-name-exists",this,{name:u});const h=new A_(this,c,u);return this.roots.add(h),h}destroy(){this.selection.destroy(),this.stopListening()}getRoot(c="main"){return this.roots.get(c)}getRootNames(c=!1){return this.getRoots(c).map(u=>u.rootName)}getRoots(c=!1){return this.roots.filter(u=>u!=this.graveyard&&(c||u.isAttached())&&u._isLoaded)}registerPostFixer(c){this._postFixers.add(c)}toJSON(){const c=Fh(this);return c.selection="[engine.model.DocumentSelection]",c.model="[engine.model.Model]",c}_handleChangeBlock(c){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(c),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",c.batch):this.fire("change",c.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const c=this.getRoots();return c.length?c[0]:this.graveyard}_getDefaultRange(){const c=this._getDefaultRoot(),u=this.model,h=u.schema,m=u.createPositionFromPath(c,[0]);return h.getNearestSelectionRange(m)||u.createRange(m)}_validateSelectionRange(c){return c2(c.start)&&c2(c.end)}_callPostFixers(c){let u=!1;do{for(const h of this._postFixers)if(this.selection.refresh(),u=h(c),u)break}while(u)}}function c2(g){const c=g.textNode;if(c){const u=c.data,h=g.offset-c.startOffset;return!Gr(u,h)&&!MT(u,h)}return!0}var RB=Object.defineProperty,d2=Object.defineProperties,n0=Object.getOwnPropertyDescriptors,ik=Object.getOwnPropertySymbols,nk=Object.prototype.hasOwnProperty,PB=Object.prototype.propertyIsEnumerable,Tr=(g,c,u)=>c in g?RB(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class il extends(vn()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(c){return this._markers.has(c instanceof Wg?c.name:c)}get(c){return this._markers.get(c)||null}_set(c,u,h=!1,m=!1){const _=c instanceof Wg?c.name:c;if(_.includes(","))throw new fe("markercollection-incorrect-marker-name",this);const b=this._markers.get(_);if(b){const R=b.getData(),O=b.getRange();let N=!1;return O.isEqual(u)||(b._attachLiveRange(Na.fromRange(u)),N=!0),h!=b.managedUsingOperations&&(b._managedUsingOperations=h,N=!0),"boolean"==typeof m&&m!=b.affectsData&&(b._affectsData=m,N=!0),N&&this.fire(`update:${_}`,b,O,u,R),b}const w=Na.fromRange(u),A=new Wg(_,w,h,m);var M;return this._markers.set(_,A),this.fire(`update:${_}`,A,null,u,(M=((R,O)=>{for(var N in O||(O={}))nk.call(O,N)&&Tr(R,N,O[N]);if(ik)for(var N of ik(O))PB.call(O,N)&&Tr(R,N,O[N]);return R})({},A.getData()),d2(M,n0({range:null})))),A}_remove(c){const u=c instanceof Wg?c.name:c,h=this._markers.get(u);return!!h&&(this._markers.delete(u),this.fire(`update:${u}`,h,h.getRange(),null,h.getData()),this._destroyMarker(h),!0)}_refresh(c){const u=c instanceof Wg?c.name:c,h=this._markers.get(u);if(!h)throw new fe("markercollection-refresh-marker-not-exists",this);const m=h.getRange();this.fire(`update:${u}`,h,m,m,h.getData())}*getMarkersAtPosition(c){for(const u of this)u.getRange().containsPosition(c)&&(yield u)}*getMarkersIntersectingRange(c){for(const u of this)null!==u.getRange().getIntersection(c)&&(yield u)}destroy(){for(const c of this._markers.values())this._destroyMarker(c);this._markers=null,this.stopListening()}*getMarkersGroup(c){for(const u of this._markers.values())u.name.startsWith(c+":")&&(yield u)}_destroyMarker(c){c.stopListening(),c._detachLiveRange()}}class Wg extends(vn(Su)){constructor(c,u,h,m){super(),this.name=c,this._liveRange=this._attachLiveRange(u),this._managedUsingOperations=h,this._affectsData=m}get managedUsingOperations(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(c){return this._liveRange&&this._detachLiveRange(),c.delegate("change:range").to(this),c.delegate("change:content").to(this),this._liveRange=c,c}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}Wg.prototype.is=function(g){return"marker"===g||"model:marker"===g};class oi extends zs{constructor(c,u){super(null),this.sourcePosition=c.clone(),this.howMany=u}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const c=super.toJSON();return c.sourcePosition=this.sourcePosition.toJSON(),c}_validate(){if(this.sourcePosition.root.document)throw new fe("detach-operation-on-document-node",this)}_execute(){t0(Ke._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class nl extends Su{constructor(c){super(),this.markers=new Map,this._children=new Rd,c&&this._insertChild(0,c)}[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(c){return this._children.getNode(c)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(c){return this._children.getNodeIndex(c)}getChildStartOffset(c){return this._children.getNodeStartOffset(c)}getPath(){return[]}getNodeByPath(c){let u=this;for(const h of c)u=u.getChild(u.offsetToIndex(h));return u}offsetToIndex(c){return this._children.offsetToIndex(c)}toJSON(){const c=[];for(const u of this._children)c.push(u.toJSON());return c}static fromJSON(c){const u=[];for(const h of c)u.push(h.name?On.fromJSON(h):to.fromJSON(h));return new nl(u)}_appendChild(c){this._insertChild(this.childCount,c)}_insertChild(c,u){const h="string"==typeof(m=u)?[new to(m)]:(Zn(m)||(m=[m]),Array.from(m).map(_=>"string"==typeof _?new to(_):_ instanceof Gc?new to(_.data,_.getAttributes()):_));var m;for(const m of h)null!==m.parent&&m._remove(),m.parent=this;this._children._insertNodes(c,h)}_removeChildren(c,u=1){const h=this._children._removeNodes(c,u);for(const m of h)m.parent=null;return h}}nl.prototype.is=function(g){return"documentFragment"===g||"model:documentFragment"===g};class OB{constructor(c,u){this.model=c,this.batch=u}createText(c,u){return new to(c,u)}createElement(c,u){return new On(c,u)}createDocumentFragment(){return new nl}cloneElement(c,u=!0){return c._clone(u)}insert(c,u,h=0){if(this._assertWriterUsedCorrectly(),c instanceof to&&""==c.data)return;const m=ct._createAt(u,h);if(c.parent){if(FB(c.root,m.root))return void this.move(Ke._createOn(c),m);if(c.root.document)throw new fe("model-writer-insert-forbidden-move",this);this.remove(c)}const b=new Ur(m,c,m.root.document?m.root.document.version:null);if(c instanceof to&&(b.shouldReceiveAttributes=!0),this.batch.addOperation(b),this.model.applyOperation(b),c instanceof nl)for(const[w,A]of c.markers){const M=ct._createAt(A.root,0),R={range:new Ke(A.start._getCombined(M,m),A.end._getCombined(M,m)),usingOperation:!0,affectsData:!0};this.model.markers.has(w)?this.updateMarker(w,R):this.addMarker(w,R)}}insertText(c,u,h,m){u instanceof nl||u instanceof On||u instanceof ct?this.insert(this.createText(c),u,h):this.insert(this.createText(c,u),h,m)}insertElement(c,u,h,m){u instanceof nl||u instanceof On||u instanceof ct?this.insert(this.createElement(c),u,h):this.insert(this.createElement(c,u),h,m)}append(c,u){this.insert(c,u,"end")}appendText(c,u,h){u instanceof nl||u instanceof On?this.insert(this.createText(c),u,"end"):this.insert(this.createText(c,u),h,"end")}appendElement(c,u,h){u instanceof nl||u instanceof On?this.insert(this.createElement(c),u,"end"):this.insert(this.createElement(c,u),h,"end")}setAttribute(c,u,h){if(this._assertWriterUsedCorrectly(),h instanceof Ke){const m=h.getMinimalFlatRanges();for(const _ of m)u2(this,c,u,_)}else h2(this,c,u,h)}setAttributes(c,u){for(const[h,m]of ta(c))this.setAttribute(h,m,u)}removeAttribute(c,u){if(this._assertWriterUsedCorrectly(),u instanceof Ke){const h=u.getMinimalFlatRanges();for(const m of h)u2(this,c,null,m)}else h2(this,c,null,u)}clearAttributes(c){this._assertWriterUsedCorrectly();const u=h=>{for(const m of h.getAttributeKeys())this.removeAttribute(m,h)};if(c instanceof Ke)for(const h of c.getItems())u(h);else u(c)}move(c,u,h){if(this._assertWriterUsedCorrectly(),!(c instanceof Ke))throw new fe("writer-move-invalid-range",this);if(!c.isFlat)throw new fe("writer-move-range-not-flat",this);const m=ct._createAt(u,h);if(m.isEqual(c.start))return;if(this._addOperationForAffectedMarkers("move",c),!FB(c.root,m.root))throw new fe("writer-move-different-document",this);const b=new kn(c.start,c.end.offset-c.start.offset,m,c.root.document?c.root.document.version:null);this.batch.addOperation(b),this.model.applyOperation(b)}remove(c){this._assertWriterUsedCorrectly();const u=(c instanceof Ke?c:Ke._createOn(c)).getMinimalFlatRanges().reverse();for(const h of u)this._addOperationForAffectedMarkers("move",h),p2(h.start,h.end.offset-h.start.offset,this.batch,this.model)}merge(c){this._assertWriterUsedCorrectly();const u=c.nodeBefore,h=c.nodeAfter;if(this._addOperationForAffectedMarkers("merge",c),!(u instanceof On))throw new fe("writer-merge-no-element-before",this);if(!(h instanceof On))throw new fe("writer-merge-no-element-after",this);c.root.document?this._merge(c):this._mergeDetached(c)}createPositionFromPath(c,u,h){return this.model.createPositionFromPath(c,u,h)}createPositionAt(c,u){return this.model.createPositionAt(c,u)}createPositionAfter(c){return this.model.createPositionAfter(c)}createPositionBefore(c){return this.model.createPositionBefore(c)}createRange(c,u){return this.model.createRange(c,u)}createRangeIn(c){return this.model.createRangeIn(c)}createRangeOn(c){return this.model.createRangeOn(c)}createSelection(...c){return this.model.createSelection(...c)}_mergeDetached(c){const u=c.nodeBefore,h=c.nodeAfter;this.move(Ke._createIn(h),ct._createAt(u,"end")),this.remove(h)}_merge(c){const u=ct._createAt(c.nodeBefore,"end"),h=ct._createAt(c.nodeAfter,0),_=new ct(c.root.document.graveyard,[0]),w=new To(h,c.nodeAfter.maxOffset,u,_,c.root.document.version);this.batch.addOperation(w),this.model.applyOperation(w)}rename(c,u){if(this._assertWriterUsedCorrectly(),!(c instanceof On))throw new fe("writer-rename-not-element-instance",this);const h=c.root.document?c.root.document.version:null,m=new tl(ct._createBefore(c),c.name,u,h);this.batch.addOperation(m),this.model.applyOperation(m)}split(c,u){this._assertWriterUsedCorrectly();let h,m,_=c.parent;if(!_.parent)throw new fe("writer-split-element-no-parent",this);if(u||(u=_.parent),!c.parent.getAncestors({includeSelf:!0}).includes(u))throw new fe("writer-split-invalid-limit-element",this);do{const b=_.root.document?_.root.document.version:null,w=_.maxOffset-c.offset,A=Gn.getInsertionPosition(c),M=new Gn(c,w,A,null,b);this.batch.addOperation(M),this.model.applyOperation(M),h||m||(h=_,m=c.parent.nextSibling),_=(c=this.createPositionAfter(c.parent)).parent}while(_!==u);return{position:c,range:new Ke(ct._createAt(h,"end"),ct._createAt(m,0))}}wrap(c,u){if(this._assertWriterUsedCorrectly(),!c.isFlat)throw new fe("writer-wrap-range-not-flat",this);const h=u instanceof On?u:new On(u);if(h.childCount>0)throw new fe("writer-wrap-element-not-empty",this);if(null!==h.parent)throw new fe("writer-wrap-element-attached",this);this.insert(h,c.start);const m=new Ke(c.start.getShiftedBy(1),c.end.getShiftedBy(1));this.move(m,ct._createAt(h,0))}unwrap(c){if(this._assertWriterUsedCorrectly(),null===c.parent)throw new fe("writer-unwrap-element-no-parent",this);this.move(Ke._createIn(c),this.createPositionAfter(c)),this.remove(c)}addMarker(c,u){if(this._assertWriterUsedCorrectly(),!u||"boolean"!=typeof u.usingOperation)throw new fe("writer-addmarker-no-usingoperation",this);const h=u.usingOperation,m=u.range,_=void 0!==u.affectsData&&u.affectsData;if(this.model.markers.has(c))throw new fe("writer-addmarker-marker-exists",this);if(!m)throw new fe("writer-addmarker-no-range",this);return h?(I_(this,c,null,m,_),this.model.markers.get(c)):this.model.markers._set(c,m,h,_)}updateMarker(c,u){this._assertWriterUsedCorrectly();const h="string"==typeof c?c:c.name,m=this.model.markers.get(h);if(!m)throw new fe("writer-updatemarker-marker-not-exists",this);if(!u)return St("writer-updatemarker-reconvert-using-editingcontroller",{markerName:h}),void this.model.markers._refresh(m);const _="boolean"==typeof u.usingOperation,b="boolean"==typeof u.affectsData,w=b?u.affectsData:m.affectsData;if(!_&&!u.range&&!b)throw new fe("writer-updatemarker-wrong-options",this);const A=m.getRange(),M=u.range?u.range:A;_&&u.usingOperation!==m.managedUsingOperations?u.usingOperation?I_(this,h,null,M,w):(I_(this,h,A,null,w),this.model.markers._set(h,M,void 0,w)):m.managedUsingOperations?I_(this,h,A,M,w):this.model.markers._set(h,M,void 0,w)}removeMarker(c){this._assertWriterUsedCorrectly();const u="string"==typeof c?c:c.name;if(!this.model.markers.has(u))throw new fe("writer-removemarker-no-marker",this);const h=this.model.markers.get(u);h.managedUsingOperations?I_(this,u,h.getRange(),null,h.affectsData):this.model.markers._remove(u)}addRoot(c,u="$root"){this._assertWriterUsedCorrectly();const h=this.model.document.getRoot(c);if(h&&h.isAttached())throw new fe("writer-addroot-root-exists",this);const m=this.model.document,_=new Ol(c,u,!0,m,m.version);return this.batch.addOperation(_),this.model.applyOperation(_),this.model.document.getRoot(c)}detachRoot(c){this._assertWriterUsedCorrectly();const u="string"==typeof c?this.model.document.getRoot(c):c;if(!u||!u.isAttached())throw new fe("writer-detachroot-no-root",this);for(const _ of this.model.markers)_.getRange().root===u&&this.removeMarker(_);for(const _ of u.getAttributeKeys())this.removeAttribute(_,u);this.remove(this.createRangeIn(u));const h=this.model.document,m=new Ol(u.rootName,u.name,!1,h,h.version);this.batch.addOperation(m),this.model.applyOperation(m)}setSelection(...c){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...c)}setSelectionFocus(c,u){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(c,u)}setSelectionAttribute(c,u){if(this._assertWriterUsedCorrectly(),"string"==typeof c)this._setSelectionAttribute(c,u);else for(const[h,m]of ta(c))this._setSelectionAttribute(h,m)}removeSelectionAttribute(c){if(this._assertWriterUsedCorrectly(),"string"==typeof c)this._removeSelectionAttribute(c);else for(const u of c)this._removeSelectionAttribute(u)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(c){this.model.document.selection._restoreGravity(c)}_setSelectionAttribute(c,u){const h=this.model.document.selection;if(h.isCollapsed&&h.anchor.parent.isEmpty){const m=cc._getStoreAttributeKey(c);this.setAttribute(m,u,h.anchor.parent)}h._setAttribute(c,u)}_removeSelectionAttribute(c){const u=this.model.document.selection;if(u.isCollapsed&&u.anchor.parent.isEmpty){const h=cc._getStoreAttributeKey(c);this.removeAttribute(h,u.anchor.parent)}u._removeAttribute(c)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new fe("writer-incorrect-use",this)}_addOperationForAffectedMarkers(c,u){for(const h of this.model.markers){if(!h.managedUsingOperations)continue;const m=h.getRange();let _=!1;if("move"===c){const b=u;_=b.containsPosition(m.start)||b.start.isEqual(m.start)||b.containsPosition(m.end)||b.end.isEqual(m.end)}else{const A=u.nodeAfter;_=m.start.parent==u.nodeBefore&&m.start.isAtEnd||m.end.parent==A&&0==m.end.offset||m.end.nodeAfter==A||m.start.nodeAfter==A}_&&this.updateMarker(h.name,{range:m})}}}function u2(g,c,u,h){const m=g.model,_=m.document;let b,w,A,M=h.start;for(const O of h.getWalker({shallow:!0}))A=O.item.getAttribute(c),b&&w!=A&&(w!=u&&R(),M=b),b=O.nextPosition,w=A;function R(){const O=new Ke(M,b),V=new fr(O,c,w,u,O.root.document?_.version:null);g.batch.addOperation(V),m.applyOperation(V)}b instanceof ct&&b!=M&&w!=u&&R()}function h2(g,c,u,h){const m=g.model,_=m.document,b=h.getAttribute(c);let w,A;b!=u&&(h.root===h?A=new Fd(h,c,b,u,h.document?_.version:null):(w=new Ke(ct._createBefore(h),g.createPositionAfter(h)),A=new fr(w,c,b,u,w.root.document?_.version:null)),g.batch.addOperation(A),m.applyOperation(A))}function I_(g,c,u,h,m){const _=g.model,w=new Hs(c,u,h,_.markers,!!m,_.document.version);g.batch.addOperation(w),_.applyOperation(w)}function p2(g,c,u,h){let m;if(g.root.document){const _=h.document,b=new ct(_.graveyard,[0]);m=new kn(g,c,b,_.version)}else m=new oi(g,c);u.addOperation(m),h.applyOperation(m)}function FB(g,c){return g===c||g instanceof A_&&c instanceof A_}function UW(g,c,u={}){if(c.isCollapsed)return;const h=c.getFirstRange();if("$graveyard"==h.root.rootName)return;const m=g.schema;g.change(_=>{if(!u.doNotResetEntireContent&&function(M,R){const O=M.getLimitElement(R);if(!R.containsEntireContent(O))return!1;const N=R.getFirstRange();return N.start.parent!=N.end.parent&&M.checkChild(O,"paragraph")}(m,c))return void function(M,R){const O=M.model.schema.getLimitElement(R);M.remove(M.createRangeIn(O)),ok(M,M.createPositionAt(O,0),R)}(_,c);const b={};if(!u.doNotAutoparagraph){const M=c.getSelectedElement();M&&Object.assign(b,m.getAttributesWithProperty(M,"copyOnReplace",!0))}const[w,A]=function(M){const R=M.root.document.model,O=M.start;let N=M.end;if(R.hasContent(M,{ignoreMarkers:!0})){const V=function(W){const Y=W.parent,ne=Y.root.document.model.schema,he=Y.getAncestors({parentFirst:!0,includeSelf:!0});for(const Me of he){if(ne.isLimit(Me))return null;if(ne.isBlock(Me))return Me}}(N);if(V&&N.isTouching(R.createPositionAt(V,0))){const W=R.createSelection(M);R.modifySelection(W,{direction:"backward"});const Y=W.getLastPosition(),ne=R.createRange(Y,N);R.hasContent(ne,{ignoreMarkers:!0})||(N=Y)}}return[jn.fromPosition(O,"toPrevious"),jn.fromPosition(N,"toNext")]}(h);w.isTouching(A)||_.remove(_.createRange(w,A)),u.leaveUnmerged||(function(M,R,O){const N=M.model;if(!o0(M.model.schema,R,O))return;const[V,W]=function(Y,ne){const he=Y.getAncestors(),Me=ne.getAncestors();let qe=0;for(;he[qe]&&he[qe]==Me[qe];)qe++;return[he[qe],Me[qe]]}(R,O);!V||!W||(!N.hasContent(V,{ignoreMarkers:!0})&&N.hasContent(W,{ignoreMarkers:!0})?Kg(M,R,O,V.parent):qg(M,R,O,V.parent))}(_,w,A),m.removeDisallowedAttributes(w.parent.getChildren(),_)),r0(_,c,w),!u.doNotAutoparagraph&&function(M,R){const O=M.checkChild(R,"$text"),N=M.checkChild(R,"paragraph");return!O&&N}(m,w)&&ok(_,w,c,b),w.detach(),A.detach()})}function qg(g,c,u,h){const m=c.parent,_=u.parent;if(m!=h&&_!=h){for(c=g.createPositionAfter(m),(u=g.createPositionBefore(_)).isEqual(c)||g.insert(_,c),g.merge(c);u.parent.isEmpty;){const b=u.parent;u=g.createPositionBefore(b),g.remove(b)}o0(g.model.schema,c,u)&&qg(g,c,u,h)}}function Kg(g,c,u,h){const m=c.parent,_=u.parent;if(m!=h&&_!=h){for(c=g.createPositionAfter(m),(u=g.createPositionBefore(_)).isEqual(c)||g.insert(m,u);c.parent.isEmpty;){const b=c.parent;c=g.createPositionBefore(b),g.remove(b)}u=g.createPositionBefore(_),function(b,w){const A=w.nodeBefore,M=w.nodeAfter;A.name!=M.name&&b.rename(A,M.name),b.clearAttributes(A),b.setAttributes(Object.fromEntries(M.getAttributes()),A),b.merge(w)}(g,u),o0(g.model.schema,c,u)&&Kg(g,c,u,h)}}function o0(g,c,u){const h=c.parent,m=u.parent;return h!=m&&!g.isLimit(h)&&!g.isLimit(m)&&function(_,b,w){const A=new Ke(_,b);for(const M of A.getWalker())if(w.isLimit(M.item))return!1;return!0}(c,u,g)}function ok(g,c,u,h={}){const m=g.createElement("paragraph");g.model.schema.setAllowedAttributes(m,h,g),g.insert(m,c),r0(g,u,g.createPositionAt(m,0))}function r0(g,c,u){c instanceof cc?g.setSelection(u):c.setTo(u)}function S_(g,c){const u=[];Array.from(g.getItems({direction:"backward"})).map(h=>c.createRangeOn(h)).filter(h=>(h.start.isAfter(g.start)||h.start.isEqual(g.start))&&(h.end.isBefore(g.end)||h.end.isEqual(g.end))).forEach(h=>{u.push(h.start.parent),c.remove(h)}),u.forEach(h=>{let m=h;for(;m.parent&&m.isEmpty;){const _=c.createRangeOn(m);m=m.parent,c.remove(_)}})}class NB{constructor(c,u,h){this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null,this._nodeToSelect=null,this.model=c,this.writer=u,this.position=h,this.canMergeWith=new Set([this.position.parent]),this.schema=c.schema,this._documentFragment=u.createDocumentFragment(),this._documentFragmentPosition=u.createPositionAt(this._documentFragment,0)}handleNodes(c){for(const u of Array.from(c))this._handleNode(u);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(c){const u=this.writer.createPositionAfter(this._lastNode),h=this.writer.createPositionAfter(c);if(h.isAfter(u)){if(this._lastNode=c,this.position.parent!=c||!this.position.isAtEnd)throw new fe("insertcontent-invalid-insertion-position",this);this.position=h,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Ke._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Ke(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(c){if(this.schema.isObject(c))return void this._handleObject(c);let u=this._checkAndAutoParagraphToAllowedPosition(c);u||(u=this._checkAndSplitToAllowedPosition(c),u)?(this._appendToFragment(c),this._firstNode||(this._firstNode=c),this._lastNode=c):this._handleDisallowedNode(c)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const c=jn.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=c.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=c.toPosition(),c.detach()}_handleObject(c){this._checkAndSplitToAllowedPosition(c)?this._appendToFragment(c):this._tryAutoparagraphing(c)}_handleDisallowedNode(c){c.is("element")?this.handleNodes(c.getChildren()):this._tryAutoparagraphing(c)}_appendToFragment(c){if(!this.schema.checkChild(this.position,c))throw new fe("insertcontent-wrong-position",this,{node:c,position:this.position});this.writer.insert(c,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(c.offsetSize),this._nodeToSelect=this.schema.isObject(c)&&!this.schema.checkChild(this.position,"$text")?c:null,this._filterAttributesOf.push(c)}_setAffectedBoundaries(c){this._affectedStart||(this._affectedStart=jn.fromPosition(c,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(c)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=jn.fromPosition(c,"toNext"))}_mergeOnLeft(){const c=this._firstNode;if(!(c instanceof On&&this._canMergeLeft(c)))return;const u=jn._createBefore(c);u.stickiness="toNext";const h=jn.fromPosition(this.position,"toNext");this._affectedStart.isEqual(u)&&(this._affectedStart.detach(),this._affectedStart=jn._createAt(u.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=u.nodeBefore,this._lastNode=u.nodeBefore),this.writer.merge(u),u.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=jn._createAt(u.nodeBefore,"end","toNext")),this.position=h.toPosition(),h.detach(),this._filterAttributesOf.push(this.position.parent),u.detach()}_mergeOnRight(){const c=this._lastNode;if(!(c instanceof On&&this._canMergeRight(c)))return;const u=jn._createAfter(c);if(u.stickiness="toNext",!this.position.isEqual(u))throw new fe("insertcontent-invalid-insertion-position",this);this.position=ct._createAt(u.nodeBefore,"end");const h=jn.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(u)&&(this._affectedEnd.detach(),this._affectedEnd=jn._createAt(u.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=u.nodeBefore,this._lastNode=u.nodeBefore),this.writer.merge(u),u.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=jn._createAt(u.nodeBefore,0,"toPrevious")),this.position=h.toPosition(),h.detach(),this._filterAttributesOf.push(this.position.parent),u.detach()}_canMergeLeft(c){const u=c.previousSibling;return u instanceof On&&this.canMergeWith.has(u)&&this.model.schema.checkMerge(u,c)}_canMergeRight(c){const u=c.nextSibling;return u instanceof On&&this.canMergeWith.has(u)&&this.model.schema.checkMerge(c,u)}_tryAutoparagraphing(c){const u=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,u)&&this.schema.checkChild(u,c)&&(u._appendChild(c),this._handleNode(u))}_checkAndAutoParagraphToAllowedPosition(c){if(this.schema.checkChild(this.position.parent,c))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",c))return!1;this._insertPartialFragment();const u=this.writer.createElement("paragraph");return this.writer.insert(u,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=u,this.position=this.writer.createPositionAt(u,0),!0}_checkAndSplitToAllowedPosition(c){const u=this._getAllowedIn(this.position.parent,c);if(!u)return!1;for(u!=this.position.parent&&this._insertPartialFragment();u!=this.position.parent;)if(this.position.isAtStart){const h=this.position.parent;this.position=this.writer.createPositionBefore(h),h.isEmpty&&h.parent===u&&this.writer.remove(h)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const h=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=h,this.canMergeWith.add(this.position.nodeAfter)}return!0}_getAllowedIn(c,u){return this.schema.checkChild(c,u)?c:this.schema.isLimit(c)?null:this._getAllowedIn(c.parent,u)}}function rk(g,c,u="auto"){const h=g.getSelectedElement();if(h&&c.schema.isObject(h)&&!c.schema.isInline(h))return"before"==u||"after"==u?c.createRange(c.createPositionAt(h,u)):c.createRangeOn(h);const m=gr(g.getSelectedBlocks());if(!m)return c.createRange(g.focus);if(m.isEmpty)return c.createRange(c.createPositionAt(m,0));const _=c.createPositionAfter(m);return g.focus.isTouching(_)?c.createRange(_):c.createRange(c.createPositionBefore(m))}const s0=' ,.?!:;"-()';function WW(g,c){const{isForward:u,walker:h,unit:m,schema:_,treatEmojiAsSingleUnit:b}=g,{type:w,item:A,nextPosition:M}=c;if("text"==w)return"word"===g.unit?function(R,O){let N=R.position.textNode;for(N||(N=O?R.position.nodeAfter:R.position.nodeBefore);N&&N.is("$text");){const V=R.position.offset-N.startOffset;if(ak(N,V,O))N=O?R.position.nodeAfter:R.position.nodeBefore;else{if(LB(N.data,V,O))break;R.next()}}return R.position}(h,u):function(R,O,N){const V=R.position.textNode;if(V){const W=V.data;let Y=R.position.offset-V.startOffset;for(;Gr(W,Y)||"character"==O&&MT(W,Y)||N&&Os(W,Y);)R.next(),Y=R.position.offset-V.startOffset}return R.position}(h,m,b);if(w==(u?"elementStart":"elementEnd")){if(_.isSelectable(A))return ct._createAt(A,u?"after":"before");if(_.checkChild(M,"$text"))return M}else{if(_.isLimit(A))return void h.skip(()=>!0);if(_.checkChild(M,"$text"))return M}}function sk(g,c){const h=ct._createAt(g.root,c?"end":0);return c?new Ke(g,h):new Ke(h,g)}function LB(g,c,u){return s0.includes(g.charAt(c+(u?0:-1)))}function ak(g,c,u){return c===(u?g.offsetSize:0)}class m2 extends(_t()){constructor(){super(),this.markers=new il,this.document=new MB(this),this.schema=new gB,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach(c=>this.decorate(c)),this.on("applyOperation",(c,u)=>{u[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((c,u)=>{if("$marker"===u.name)return!0}),function VE(g){g.document.registerPostFixer(c=>function(u,h){const m=h.document.selection,_=h.schema,b=[];let w=!1;for(const A of m.getRanges()){const M=W1(A,_);M&&!M.isEqual(A)?(b.push(M),w=!0):b.push(A)}return w&&u.setSelection(function(A){const M=[...A],R=new Set;let O=1;for(;O!R.has(V))}(b),{backward:m.isBackward}),!1}(c,g))}(this),this.document.registerPostFixer(H1),this.on("insertContent",(c,[u,h])=>{var m,_,b;c.return=(_=u,b=h,(m=this).change(w=>{const A=b||m.document.selection;A.isCollapsed||m.deleteContent(A,{doNotAutoparagraph:!0});const M=new NB(m,w,A.anchor),R=[];let O;if(_.is("documentFragment")){if(_.markers.size){const W=[];for(const[Y,ne]of _.markers){const{start:he,end:Me}=ne,qe=he.isEqual(Me);W.push({position:he,name:Y,isCollapsed:qe},{position:Me,name:Y,isCollapsed:qe})}W.sort(({position:Y},{position:ne})=>Y.isBefore(ne)?1:-1);for(const{position:Y,name:ne,isCollapsed:he}of W){let Me=null,qe=null;const kt=Y.parent===_&&Y.isAtStart;kt||Y.parent===_&&Y.isAtEnd?he&&(qe=kt?"start":"end"):(Me=w.createElement("$marker"),w.insert(Me,Y)),R.push({name:ne,element:Me,collapsed:qe})}}O=_.getChildren()}else O=[_];M.handleNodes(O);let N=M.getSelectionRange();if(_.is("documentFragment")&&R.length){const W=N?Na.fromRange(N):null,Y={};for(let ne=R.length-1;ne>=0;ne--){const{name:he,element:Me,collapsed:qe}=R[ne],kt=!Y[he];if(kt&&(Y[he]=[]),Me){const $t=w.createPositionAt(Me,"before");Y[he].push($t),w.remove(Me)}else{const $t=M.getAffectedRange();if(!$t){qe&&Y[he].push(M.position);continue}Y[he].push(qe?$t[qe]:kt?$t.start:$t.end)}}for(const[ne,[he,Me]]of Object.entries(Y))he&&Me&&he.root===Me.root&&w.addMarker(ne,{usingOperation:!0,affectsData:!0,range:new Ke(he,Me)});W&&(N=W.toRange(),W.detach())}N&&(A instanceof cc?w.setSelection(N):A.setTo(N));const V=M.getAffectedRange()||m.createRange(A.anchor);return M.destroy(),V}))}),this.on("insertObject",(c,[u,h,m])=>{c.return=function g2(g,c,u,h={}){if(!g.schema.isObject(c))throw new fe("insertobject-element-not-an-object",g,{object:c});const m=u||g.document.selection;let _=m;h.findOptimalPosition&&g.schema.isBlock(c)&&(_=g.createSelection(rk(m,g,h.findOptimalPosition)));const b=gr(m.getSelectedBlocks()),w={};return b&&Object.assign(w,g.schema.getAttributesWithProperty(b,"copyOnReplace",!0)),g.change(A=>{_.isCollapsed||g.deleteContent(_,{doNotAutoparagraph:!0});let M=c;const R=_.anchor.parent;!g.schema.checkChild(R,c)&&g.schema.checkChild(R,"paragraph")&&g.schema.checkChild("paragraph",c)&&(M=A.createElement("paragraph"),A.insert(c,M)),g.schema.setAllowedAttributes(M,w,A);const O=g.insertContent(M,_);return O.isCollapsed||h.setSelection&&function(N,V,W,Y){const ne=N.model;if("on"==W)return void N.setSelection(V,"on");if("after"!=W)throw new fe("insertobject-invalid-place-parameter-value",ne);let he=V.nextSibling;ne.schema.isInline(V)?N.setSelection(V,"after"):(!(he&&ne.schema.checkChild(he,"$text"))&&ne.schema.checkChild(V.parent,"paragraph")&&(he=N.createElement("paragraph"),ne.schema.setAllowedAttributes(he,Y,N),ne.insertContent(he,N.createPositionAfter(V))),he&&N.setSelection(he,0))}(A,c,h.setSelection,w),O})}(this,u,h,m)}),this.on("canEditAt",c=>{const u=!this.document.isReadOnly;c.return=u,u||c.stop()})}change(c){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new Ug,callback:c}),this._runPendingChanges()[0]):c(this._currentWriter)}catch(u){fe.rethrowUnexpectedError(u,this)}}enqueueChange(c,u){try{c?"function"==typeof c?(u=c,c=new Ug):c instanceof Ug||(c=new Ug(c)):c=new Ug,this._pendingChanges.push({batch:c,callback:u}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(h){fe.rethrowUnexpectedError(h,this)}}applyOperation(c){c._execute()}insertContent(c,u,h,...m){const _=a0(u,h);return this.fire("insertContent",[c,_,h,...m])}insertObject(c,u,h,m,..._){const b=a0(u,h);return this.fire("insertObject",[c,b,m,m,..._])}deleteContent(c,u){UW(this,c,u)}modifySelection(c,u){!function(h,m,_={}){const b=h.schema,w="backward"!=_.direction,A=_.unit?_.unit:"character",M=!!_.treatEmojiAsSingleUnit,O=new lc({boundaries:sk(m.focus,w),singleCharacters:!0,direction:w?"forward":"backward"}),N={walker:O,schema:b,isForward:w,unit:A,treatEmojiAsSingleUnit:M};let V;for(;V=O.next();){if(V.done)return;const W=WW(N,V.value);if(W)return void(m instanceof cc?h.change(Y=>{Y.setSelectionFocus(W)}):m.setFocus(W))}}(this,c,u)}getSelectedContent(c){return h=c,this.change(m=>{const _=m.createDocumentFragment(),b=h.getFirstRange();if(!b||b.isCollapsed)return _;const w=b.start.root,A=b.start.getCommonPath(b.end),M=w.getNodeByPath(A);let R;R=b.start.parent==b.end.parent?b:m.createRange(m.createPositionAt(M,b.start.path[A.length]),m.createPositionAt(M,b.end.path[A.length]+1));const O=R.end.offset-R.start.offset;for(const N of R.getItems({shallow:!0}))N.is("$textProxy")?m.appendText(N.data,N.getAttributes(),_):m.append(m.cloneElement(N,!0),_);if(R!=b){const N=b._getTransformedByMove(R.start,m.createPositionAt(_,0),O)[0],V=m.createRange(m.createPositionAt(_,0),N.start);S_(m.createRange(N.end,m.createPositionAt(_,"end")),m),S_(V,m)}return _});var h}hasContent(c,u={}){const h=c instanceof Ke?c:Ke._createIn(c);if(h.isCollapsed)return!1;const{ignoreWhitespaces:m=!1,ignoreMarkers:_=!1}=u;if(!_)for(const b of this.markers.getMarkersIntersectingRange(h))if(b.affectsData)return!0;for(const b of h.getItems())if(this.schema.isContent(b)&&(!b.is("$textProxy")||!m||-1!==b.data.search(/\S/)))return!0;return!1}canEditAt(c){const u=a0(c);return this.fire("canEditAt",[u])}createPositionFromPath(c,u,h){return new ct(c,u,h)}createPositionAt(c,u){return ct._createAt(c,u)}createPositionAfter(c){return ct._createAfter(c)}createPositionBefore(c){return ct._createBefore(c)}createRange(c,u){return new Ke(c,u)}createRangeIn(c){return Ke._createIn(c)}createRangeOn(c){return Ke._createOn(c)}createSelection(...c){return new Ls(...c)}createBatch(c){return new Ug(c)}createOperationFromJSON(c){return Gg.fromJSON(c,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const c=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){this._currentWriter=new OB(this,this._pendingChanges[0].batch);const h=this._pendingChanges[0].callback(this._currentWriter);c.push(h),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return c}}function a0(g,c){if(g)return g instanceof Ls||g instanceof cc?g:g instanceof Rl?c||0===c?new Ls(g,c):g.is("rootElement")?new Ls(g,"in"):new Ls(g,"on"):new Ls(g)}class ep extends Hc{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(c){this.fire(c.type,c)}}class lk extends Hc{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(c){this.fire(c.type,c)}}class $c{constructor(c){this.document=c}createDocumentFragment(c){return new Rg(this.document,c)}createElement(c,u,h){return new ra(this.document,c,u,h)}createText(c){return new eo(this.document,c)}clone(c,u=!1){return c._clone(u)}appendChild(c,u){return u._appendChild(c)}insertChild(c,u,h){return h._insertChild(c,u)}removeChildren(c,u,h){return h._removeChildren(c,u)}remove(c){const u=c.parent;return u?this.removeChildren(u.getChildIndex(c),1,u):[]}replace(c,u){const h=c.parent;if(h){const m=h.getChildIndex(c);return this.removeChildren(m,1,h),this.insertChild(m,u,h),!0}return!1}unwrapElement(c){const u=c.parent;if(u){const h=u.getChildIndex(c);this.remove(c),this.insertChild(h,c.getChildren(),u)}}rename(c,u){const h=new ra(this.document,c,u.getAttributes(),u.getChildren());return this.replace(u,h)?h:null}setAttribute(c,u,h){h._setAttribute(c,u)}removeAttribute(c,u){u._removeAttribute(c)}addClass(c,u){u._addClass(c)}removeClass(c,u){u._removeClass(c)}setStyle(c,u,h){Es(c)&&void 0===h?u._setStyle(c):h._setStyle(c,u)}removeStyle(c,u){u._removeStyle(c)}setCustomProperty(c,u,h){h._setCustomProperty(c,u)}removeCustomProperty(c,u){return u._removeCustomProperty(c)}createPositionAt(c,u){return vt._createAt(c,u)}createPositionAfter(c){return vt._createAfter(c)}createPositionBefore(c){return vt._createBefore(c)}createRange(c,u){return new ni(c,u)}createRangeOn(c){return ni._createOn(c)}createRangeIn(c){return ni._createIn(c)}createSelection(...c){return new Sl(...c)}}class l0{constructor(){this._commands=new Map}add(c,u){this._commands.set(c,u)}get(c){return this._commands.get(c)}execute(c,...u){const h=this.get(c);if(!h)throw new fe("commandcollection-command-not-found",this,{commandName:c});return h.execute(...u)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const c of this.commands())c.destroy()}}class BB extends(_t()){constructor(c={}){super();const u=this.constructor;this._context=c.context||new l1({language:c.language||u.defaultConfig&&u.defaultConfig.language}),this._context._addEditor(this,!c.context);const m=Array.from(u.builtinPlugins||[]);this.config=new AT(c,u.defaultConfig),this.config.define("plugins",m),this.config.define(this._context._getEditorConfig()),this.plugins=new a1(this,m,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new l0,this.set("state","initializing"),this.once("ready",()=>this.state="ready",{priority:"high"}),this.once("destroy",()=>this.state="destroyed",{priority:"high"}),this.model=new m2,this.on("change:isReadOnly",()=>{this.model.document.isReadOnly=this.isReadOnly});const _=new rE;this.data=new Xy(this.model,_),this.editing=new zE(this.model,_),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new w_([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 c1(this),this.keystrokes.listenTo(this.editing.view.document)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(c){throw new fe("editor-isreadonly-has-no-setter")}enableReadOnlyMode(c){if("string"!=typeof c&&"symbol"!=typeof c)throw new fe("editor-read-only-lock-id-invalid",null,{lockId:c});this._readOnlyLocks.has(c)||(this._readOnlyLocks.add(c),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(c){if("string"!=typeof c&&"symbol"!=typeof c)throw new fe("editor-read-only-lock-id-invalid",null,{lockId:c});this._readOnlyLocks.has(c)&&(this._readOnlyLocks.delete(c),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}initPlugins(){const c=this.config,u=c.get("plugins"),h=c.get("removePlugins")||[],m=c.get("extraPlugins")||[],_=c.get("substitutePlugins")||[];return this.plugins.init(u.concat(m),h,_)}destroy(){let c=Promise.resolve();return"initializing"==this.state&&(c=new Promise(u=>this.once("ready",u))),c.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(c,...u){try{return this.commands.execute(c,...u)}catch(h){fe.rethrowUnexpectedError(h,this)}}focus(){this.editing.view.focus()}static create(...c){throw new Error("This is an abstract method.")}}function Yg(g){return class extends g{setData(c){this.data.set(c)}getData(c){return this.data.get(c)}}}{const g=Yg(Object);Yg.setData=g.prototype.setData,Yg.getData=g.prototype.getData}function Qg(g){return class extends g{updateSourceElement(c){if(!this.sourceElement)throw new fe("editor-missing-sourceelement",this);const u=this.config.get("updateSourceElementOnDestroy"),h=this.sourceElement instanceof HTMLTextAreaElement;if(!u&&!h)return void Pa(this.sourceElement,"");const m="string"==typeof c?c:this.data.get();Pa(this.sourceElement,m)}}}Qg.updateSourceElement=Qg(Object).prototype.updateSourceElement;class _r extends Iy{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new Oa({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(c){if("string"!=typeof c)throw new fe("pendingactions-add-invalid-message",this);const u=new(_t());return u.set("message",c),this._actions.add(u),this.hasAny=!0,u}remove(c){this._actions.remove(c),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const hn={bold:'',cancel:'',caption:'',check:'',cog:'',eraser:'',history:'',image:'',imageUpload:'',imageAssetManager:'',imageUrl:'',lowVision:'\n',textAlternative:'',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 c0=ft(5542);At()(c0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const{threeVerticalDots:f2}=hn,_2={alignLeft:hn.alignLeft,bold:hn.bold,importExport:hn.importExport,paragraph:hn.paragraph,plus:hn.plus,text:hn.text,threeVerticalDots:hn.threeVerticalDots,pilcrow:hn.pilcrow,dragIndicator:hn.dragIndicator};class Tu extends gi{constructor(c,u){super(c);const h=this.bindTemplate,m=this.t;this.options=u||{},this.set("ariaLabel",m("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new Bo,this.keystrokes=new ea,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new zB(c),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const _="rtl"===c.uiLanguageDirection;this._focusCycler=new Ad({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[_?"arrowright":"arrowleft","arrowup"],focusNext:[_?"arrowleft":"arrowright","arrowdown"]}});const b=["ck","ck-toolbar",h.to("class"),h.if("isCompact","ck-toolbar_compact")];var w;this.options.shouldGroupWhenFull&&this.options.isFloating&&b.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:b,role:"toolbar","aria-label":h.to("ariaLabel"),style:{maxWidth:h.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(w=this,w.bindTemplate.to(A=>{A.target===w.element&&A.preventDefault()}))}}),this._behavior=this.options.shouldGroupWhenFull?new GB(this):new HB(this)}render(){super.render(),this.focusTracker.add(this.element);for(const c of this.items)this.focusTracker.add(c.element);this.items.on("add",(c,u)=>{this.focusTracker.add(u.element)}),this.items.on("remove",(c,u)=>{this.focusTracker.remove(u.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(c,u,h){this.items.addMany(this._buildItemsFromConfig(c,u,h))}_buildItemsFromConfig(c,u,h){const m=PL(c),_=h||m.removeItems;return this._cleanItemsConfiguration(m.items,u,_).map(b=>qt(b)?this._createNestedToolbarDropdown(b,u,_):"|"===b?new r1:"-"===b?new EL:u.create(b)).filter(b=>!!b)}_cleanItemsConfiguration(c,u,h){const m=c.filter((_,b,w)=>"|"===_||-1===h.indexOf(_)&&("-"===_?!this.options.shouldGroupWhenFull||(St("toolbarview-line-break-ignored-when-grouping-items",w),!1):!(!qt(_)&&!u.has(_)&&(St("toolbarview-item-unavailable",{item:_}),1))));return this._cleanSeparatorsAndLineBreaks(m)}_cleanSeparatorsAndLineBreaks(c){const u=b=>"-"!==b&&"|"!==b,h=c.length,m=c.findIndex(u);if(-1===m)return[];const _=h-c.slice().reverse().findIndex(u);return c.slice(m,_).filter((b,w,A)=>!!u(b)||!(w>0&&A[w-1]===b))}_createNestedToolbarDropdown(c,u,h){let{label:m,icon:_,items:b,tooltip:w=!0,withText:A=!1}=c;if(b=this._cleanItemsConfiguration(b,u,h),!b.length)return null;const M=dc(this.locale);return m||St("toolbarview-nested-toolbar-dropdown-missing-label",c),M.class="ck-toolbar__nested-toolbar-dropdown",M.buttonView.set({label:m,tooltip:w,withText:!!A}),!1!==_?M.buttonView.icon=_2[_]||_||f2:M.buttonView.withText=!0,M_(M,()=>M.toolbarView._buildItemsFromConfig(b,u,h)),M}}class zB extends gi{constructor(c){super(c),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class HB{constructor(c){const u=c.bindTemplate;c.set("isVertical",!1),c.itemsView.children.bindTo(c.items).using(h=>h),c.focusables.bindTo(c.items).using(h=>h),c.extendTemplate({attributes:{class:[u.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class GB{constructor(c){this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,this.view=c,this.viewChildren=c.children,this.viewFocusables=c.focusables,this.viewItemsView=c.itemsView,this.viewFocusTracker=c.focusTracker,this.viewLocale=c.locale,this.ungroupedItems=c.createCollection(),this.groupedItems=c.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),c.itemsView.children.bindTo(this.ungroupedItems).using(u=>u),this.ungroupedItems.on("change",this._updateFocusCycleableItems.bind(this)),c.children.on("change",this._updateFocusCycleableItems.bind(this)),c.items.on("change",(u,h)=>{const m=h.index,_=Array.from(h.added);for(const b of h.removed)m>=this.ungroupedItems.length?this.groupedItems.remove(b):this.ungroupedItems.remove(b);for(let b=m;bthis.ungroupedItems.length?this.groupedItems.add(w,b-this.ungroupedItems.length):this.ungroupedItems.add(w,b)}this._updateGrouping()}),c.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(c){this.viewElement=c.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(c)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!Th(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const c=this.groupedItems.length;let u;for(;this._areItemsOverflowing;)this._groupLastItem(),u=!0;if(!u&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==c&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const c=this.viewElement,u=this.viewLocale.uiLanguageDirection,h=new un(c.lastChild),m=new un(c);if(!this.cachedPadding){const _=de.window.getComputedStyle(c);this.cachedPadding=Number.parseInt(_["ltr"===u?"paddingRight":"paddingLeft"])}return"ltr"===u?h.right>m.right-this.cachedPadding:h.left{c&&c===u.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),c=u.contentRect.width)}),this._updateGrouping()}_enableGroupingOnMaxWidthChange(c){c.on("change:maxWidth",()=>{this._updateGrouping()})}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new r1),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 c=this.viewLocale,u=c.t,h=dc(c);return h.class="ck-toolbar__grouped-dropdown",h.panelPosition="ltr"===c.uiLanguageDirection?"sw":"se",M_(h,this.groupedItems),h.buttonView.set({label:u("Show more items"),tooltip:!0,tooltipPosition:"rtl"===c.uiLanguageDirection?"se":"sw",icon:f2}),h}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map(c=>{this.viewFocusables.add(c)}),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}class T_ extends gi{constructor(c){super(c);const u=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",u.if("isVisible","ck-hidden",h=>!h)],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class Xg extends gi{constructor(c){super(c),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}class d0 extends gi{constructor(c,u=new ky){super(c);const h=this.bindTemplate,m=new jB(c);this.set({label:"",isVisible:!0}),this.labelView=u,this.labelView.bind("text").to(this,"label"),this.children=this.createCollection(),this.children.addMany([this.labelView,m]),m.set({role:"group",ariaLabelledBy:u.id}),m.focusTracker.destroy(),m.keystrokes.destroy(),this.items=m.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",h.if("isVisible","ck-hidden",_=>!_)]},children:this.children})}focus(){if(this.items){const c=this.items.find(u=>!(u instanceof Xg));c&&c.focus()}}}var ck=ft(1046);At()(ck.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class jB extends gi{constructor(c){super(c),this._listItemGroupToChangeListeners=new WeakMap;const u=this.bindTemplate;this.focusables=new Dl,this.items=this.createCollection(),this.focusTracker=new Bo,this.keystrokes=new ea,this._focusCycler=new Ad({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:u.to("role"),"aria-label":u.to("ariaLabel"),"aria-labelledby":u.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const c of this.items)c instanceof d0?this._registerFocusableItemsGroup(c):c instanceof T_&&this._registerFocusableListItem(c);this.items.on("change",(c,u)=>{for(const h of u.removed)h instanceof d0?this._deregisterFocusableItemsGroup(h):this._deregisterFocusableListItem(h);for(const h of Array.from(u.added).reverse())h instanceof d0?this._registerFocusableItemsGroup(h,u.index):this._registerFocusableListItem(h,u.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(c,u){this.focusTracker.add(c.element),this.focusables.add(c,u)}_deregisterFocusableListItem(c){this.focusTracker.remove(c.element),this.focusables.remove(c)}_getOnGroupItemsChangeCallback(c){return(u,h)=>{for(const m of h.removed)this._deregisterFocusableListItem(m);for(const m of Array.from(h.added).reverse())this._registerFocusableListItem(m,this.items.getIndex(c)+h.index)}}_registerFocusableItemsGroup(c,u){Array.from(c.items).forEach((m,_)=>{this._registerFocusableListItem(m,void 0!==u?u+_:void 0)});const h=this._getOnGroupItemsChangeCallback(c);this._listItemGroupToChangeListeners.set(c,h),c.items.on("change",h)}_deregisterFocusableItemsGroup(c){for(const u of c.items)this._deregisterFocusableListItem(u);c.items.off("change",this._listItemGroupToChangeListeners.get(c)),this._listItemGroupToChangeListeners.delete(c)}}var Eo=ft(7686);At()(Eo.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class u0 extends gi{constructor(c,u){super(c);const h=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(u),this.arrowView=this._createArrowView(),this.keystrokes=new ea,this.focusTracker=new Bo,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",h.to("class"),h.if("isVisible","ck-hidden",m=>!m),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",(c,u)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),u())}),this.keystrokes.set("arrowleft",(c,u)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),u())})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(c){const u=c||new Hn;return c||u.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),u.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),u.delegate("execute").to(this),u}_createArrowView(){const c=new Hn,u=c.bindTemplate;return c.icon=BT,c.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":u.to("isOn"),"aria-haspopup":!0,"aria-expanded":u.to("isOn",h=>String(h))}}),c.bind("isEnabled").to(this),c.bind("label").to(this),c.bind("tooltip").to(this),c.delegate("execute").to(this,"open"),c}}var $B=ft(7339);At()($B.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var E_=ft(3949);function dc(g,c=kW){const u="function"==typeof c?new c(g):c,h=new xW(g),m=new Jf(g,u,h);return u.bind("isEnabled").to(m),u instanceof u0?u.arrowView.bind("isOn").to(m,"isOpen"):u.bind("isOn").to(m,"isOpen"),(b=_=m).on("render",()=>{Ce({emitter:b,activator:()=>b.isOpen,callback:()=>{b.isOpen=!1},contextElements:()=>[b.element,...b.focusTracker._elements]})}),function(b){b.on("execute",w=>{w.source instanceof Dg||(b.isOpen=!1)})}(_),function(b){b.focusTracker.on("change:isFocused",(w,A,M)=>{b.isOpen&&!M&&(b.isOpen=!1)})}(_),function(b){b.keystrokes.set("arrowdown",(w,A)=>{b.isOpen&&(b.panelView.focus(),A())}),b.keystrokes.set("arrowup",(w,A)=>{b.isOpen&&(b.panelView.focusLast(),A())})}(_),function(b){b.on("change:isOpen",(w,A,M)=>{if(M)return;const R=b.panelView.element;R&&R.contains(de.document.activeElement)&&b.buttonView.focus()})}(_),function(b){b.on("change:isOpen",(w,A,M)=>{M&&b.panelView.focus()},{priority:"low"})}(_),m;var _,b}function M_(g,c,u={}){g.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),g.isOpen?tp(g,c,u):g.once("change:isOpen",()=>tp(g,c,u),{priority:"highest"}),u.enableActiveItemFocusOnDropdownOpen&&Zg(g,()=>g.toolbarView.items.find(h=>h.isOn))}function tp(g,c,u){const h=g.locale,m=h.t,_=g.toolbarView=new Tu(h),b="function"==typeof c?c():c;_.ariaLabel=u.ariaLabel||m("Dropdown toolbar"),u.maxWidth&&(_.maxWidth=u.maxWidth),u.class&&(_.class=u.class),u.isCompact&&(_.isCompact=u.isCompact),u.isVertical&&(_.isVertical=!0),b instanceof Dl?_.items.bindTo(b).using(w=>w):_.items.addMany(b),g.panelView.children.add(_),_.items.delegate("execute").to(g)}function h0(g,c,u={}){g.isOpen?p0(g,c,u):g.once("change:isOpen",()=>p0(g,c,u),{priority:"highest"}),Zg(g,()=>g.listView.items.find(h=>h instanceof T_&&h.children.first.isOn))}function p0(g,c,u){const h=g.locale,m=g.listView=new jB(h),_="function"==typeof c?c():c;m.ariaLabel=u.ariaLabel,m.role=u.role,R_(g,m.items,_,h),g.panelView.children.add(m),m.items.delegate("execute").to(g)}function Zg(g,c){g.on("change:isOpen",()=>{if(!g.isOpen)return;const u=c();u&&("function"==typeof u.focus?u.focus():St("ui-dropdown-focus-child-on-open-child-missing-focus",{view:u}))},{priority:ui.low-10})}function R_(g,c,u,h){c.bindTo(u).using(m=>{if("separator"===m.type)return new Xg(h);if("group"===m.type){const _=new d0(h);return _.set({label:m.label}),R_(g,_.items,m.items,h),_.items.delegate("execute").to(g),_}if("button"===m.type||"switchbutton"===m.type){const _=new T_(h);let b;return"button"===m.type?(b=new Hn(h),b.extendTemplate({attributes:{"aria-checked":b.bindTemplate.to("isOn")}})):b=new Dg(h),b.bind(...Object.keys(m.model)).to(m.model),b.delegate("execute").to(_),_.children.add(b),_}return null})}At()(E_.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Bd=(g,c,u)=>{const h=new wW(g.locale);return h.set({id:c,ariaDescribedById:u}),h.bind("isReadOnly").to(g,"isEnabled",m=>!m),h.bind("hasError").to(g,"errorText",m=>!!m),h.on("input",()=>{g.errorText=null}),g.bind("isEmpty","isFocused","placeholder").to(h),h},ip=(g,c=0,u=1)=>g>u?u:gMath.round(u*g)/u,Jg=g=>("#"===g[0]&&(g=g.substring(1)),g.length<6?{r:parseInt(g[0]+g[0],16),g:parseInt(g[1]+g[1],16),b:parseInt(g[2]+g[2],16),a:4===g.length?Wr(parseInt(g[3]+g[3],16)/255,2):1}:{r:parseInt(g.substring(0,2),16),g:parseInt(g.substring(2,4),16),b:parseInt(g.substring(4,6),16),a:8===g.length?Wr(parseInt(g.substring(6,8),16)/255,2):1}),P_=g=>{const{h:c,s:u,l:h}=(({h:g,s:c,v:u,a:h})=>{const m=(200-c)*u/100;return{h:Wr(g),s:Wr(m>0&&m<200?c*u/100/(m<=100?m:200-m)*100:0),l:Wr(m/2),a:Wr(h,2)}})(g);return`hsl(${c}, ${u}%, ${h}%)`},g0=g=>{const c=g.toString(16);return c.length<2?"0"+c:c},b2=(g,c)=>{if(g===c)return!0;for(const u in g)if(g[u]!==c[u])return!1;return!0},m0={},uk=g=>{let c=m0[g];return c||(c=document.createElement("template"),c.innerHTML=g,m0[g]=c),c},hk=(g,c,u)=>{g.dispatchEvent(new CustomEvent(c,{bubbles:!0,detail:u}))};let em=!1;const y2=g=>"touches"in g,C2=(g,c)=>{const u=y2(c)?c.touches[0]:c,h=g.el.getBoundingClientRect();hk(g.el,"move",g.getMove({x:ip((u.pageX-(h.left+window.pageXOffset))/h.width),y:ip((u.pageY-(h.top+window.pageYOffset))/h.height)}))};class F_{constructor(c,u,h,m){const _=uk(`
`);c.appendChild(_.content.cloneNode(!0));const b=c.querySelector(`[part=${u}]`);b.addEventListener("mousedown",this),b.addEventListener("touchstart",this),b.addEventListener("keydown",this),this.el=b,this.xy=m,this.nodes=[b.firstChild,b]}set dragging(c){const u=c?document.addEventListener:document.removeEventListener;u(em?"touchmove":"mousemove",this),u(em?"touchend":"mouseup",this)}handleEvent(c){switch(c.type){case"mousedown":case"touchstart":if(c.preventDefault(),u=c,em&&!y2(u)||(em||(em=y2(u)),0)||!em&&0!=c.button)return;this.el.focus(),C2(this,c),this.dragging=!0;break;case"mousemove":case"touchmove":c.preventDefault(),C2(this,c);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":((u,h)=>{const m=h.keyCode;m>40||u.xy&&m<37||m<33||(h.preventDefault(),hk(u.el,"move",u.getMove({x:39===m?.01:37===m?-.01:34===m?.05:33===m?-.05:35===m?1:36===m?-1:0,y:40===m?.01:38===m?-.01:0},!0)))})(this,c)}var u}style(c){c.forEach((u,h)=>{for(const m in u)this.nodes[h].style.setProperty(m,u[m])})}}class pk extends F_{constructor(c){super(c,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:c}){this.h=c,this.style([{left:c/360*100+"%",color:P_({h:c,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${Wr(c)}`)}getMove(c,u){return{h:u?ip(this.h+360*c.x,0,360):360*c.x}}}class qB extends F_{constructor(c){super(c,"saturation",'aria-label="Color"',!0)}update(c){this.hsva=c,this.style([{top:100-c.v+"%",left:`${c.s}%`,color:P_(c)},{"background-color":P_({h:c.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${Wr(c.s)}%, Brightness ${Wr(c.v)}%`)}getMove(c,u){return{s:u?ip(this.hsva.s+100*c.x,0,100):100*c.x,v:u?ip(this.hsva.v-100*c.y,0,100):Math.round(100-100*c.y)}}}const N_=Symbol("same"),L_=Symbol("color"),B_=Symbol("hsva"),gk=Symbol("update"),mk=Symbol("parts"),w2=Symbol("css"),fk=Symbol("sliders");class YW extends HTMLElement{static get observedAttributes(){return["color"]}get[w2](){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[fk](){return[qB,pk]}get color(){return this[L_]}set color(c){if(!this[N_](c)){const u=this.colorModel.toHsva(c);this[gk](u),this[L_]=c}}constructor(){super();const c=uk(``),u=this.attachShadow({mode:"open"});u.appendChild(c.content.cloneNode(!0)),u.addEventListener("move",this),this[mk]=this[fk].map(h=>new h(u))}connectedCallback(){if(this.hasOwnProperty("color")){const c=this.color;delete this.color,this.color=c}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(c,u,h){const m=this.colorModel.fromAttr(h);this[N_](m)||(this.color=m)}handleEvent(c){const u=this[B_],h={...u,...c.detail};let m;this[gk](h),b2(h,u)||this[N_](m=this.colorModel.fromHsva(h))||(this[L_]=m,hk(this,"color-changed",{value:m}))}[N_](c){return this.color&&this.colorModel.equal(c,this.color)}[gk](c){this[B_]=c,this[mk].forEach(u=>u.update(c))}}const KB={defaultColor:"#000",toHsva:g=>(({r:g,g:c,b:u,a:h})=>{const m=Math.max(g,c,u),_=m-Math.min(g,c,u),b=_?m===g?(c-u)/_:m===c?2+(u-g)/_:4+(g-c)/_:0;return{h:Wr(60*(b<0?b+6:b)),s:Wr(m?_/m*100:0),v:Wr(m/255*100),a:h}})(Jg(g)),fromHsva:({h:g,s:c,v:u})=>(({r:g,g:c,b:u,a:h})=>{const m=h<1?g0(Wr(255*h)):"";return"#"+g0(g)+g0(c)+g0(u)+m})((({h:g,s:c,v:u,a:h})=>{g=g/360*6,c/=100,u/=100;const m=Math.floor(g),_=u*(1-c),b=u*(1-(g-m)*c),w=u*(1-(1-g+m)*c),A=m%6;return{r:Wr(255*[u,b,_,_,w,u][A]),g:Wr(255*[w,u,u,b,_,_][A]),b:Wr(255*[_,_,w,u,u,b][A]),a:Wr(h,2)}})({h:g,s:c,v:u,a:1})),equal:(g,c)=>g.toLowerCase()===c.toLowerCase()||b2(Jg(g),Jg(c)),fromAttr:g=>g};class Eu extends YW{get colorModel(){return KB}}customElements.define("hex-color-picker",class extends Eu{});var x2=ft(3398);At()(x2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),_t(Oa);var ke=ft(4157);At()(ke.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class im{constructor(c){this._components=new Map,this.editor=c}*names(){for(const c of this._components.values())yield c.originalName}add(c,u){this._components.set(Ui(c),{callback:u,originalName:c})}create(c){if(!this.has(c))throw new fe("componentfactory-item-missing",this,{name:c});return this._components.get(Ui(c)).callback(this.editor.locale)}has(c){return this._components.has(Ui(c))}}function Ui(g){return String(g).toLowerCase()}var k2=ft(8793);At()(k2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var np=Object.defineProperty,D2=Object.getOwnPropertySymbols,_k=Object.prototype.hasOwnProperty,QW=Object.prototype.propertyIsEnumerable,f0=(g,c,u)=>c in g?np(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,pn=(g,c)=>{for(var u in c||(c={}))_k.call(c,u)&&f0(g,u,c[u]);if(D2)for(var u of D2(c))QW.call(c,u)&&f0(g,u,c[u]);return g};const A2=wd("px"),I2=de.document.body,S2={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}},vk=class extends gi{constructor(g){super(g);const c=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",c.to("position",u=>`ck-balloon-panel_${u}`),c.if("isVisible","ck-balloon-panel_visible"),c.if("withArrow","ck-balloon-panel_with-arrow"),c.to("class")],style:{top:c.to("top",A2),left:c.to("left",A2)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(g){this.show();const c=vk.defaultPositions,u=Object.assign({},{element:this.element,positions:[c.southArrowNorth,c.southArrowNorthMiddleWest,c.southArrowNorthMiddleEast,c.southArrowNorthWest,c.southArrowNorthEast,c.northArrowSouth,c.northArrowSouthMiddleWest,c.northArrowSouthMiddleEast,c.northArrowSouthWest,c.northArrowSouthEast,c.viewportStickyNorth],limiter:I2,fitInViewport:!0},g),h=vk._getOptimalPosition(u)||S2,m=parseInt(h.left),_=parseInt(h.top),b=h.name,w=h.config||{},{withArrow:A=!0}=w;this.top=_,this.left=m,this.position=b,this.withArrow=A}pin(g){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(g):this._stopPinning()},this._startPinning(g),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(g){this.attachTo(g);const c=bk(g.target),u=g.limiter?bk(g.limiter):I2;this.listenTo(de.document,"scroll",(h,m)=>{const _=m.target,b=c&&_.contains(c),w=u&&_.contains(u);!b&&!w&&c&&u||this.attachTo(g)},{useCapture:!0}),this.listenTo(de.window,"resize",()=>{this.attachTo(g)})}_stopPinning(){this.stopListening(de.document,"scroll"),this.stopListening(de.window,"resize")}};let ua=vk;function bk(g){return vs(g)?g:by(g)?g.commonAncestorContainer:"function"==typeof g?bk(g()):null}function T2(g={}){const{sideOffset:c=ua.arrowSideOffset,heightOffset:u=ua.arrowHeightOffset,stickyVerticalOffset:h=ua.stickyVerticalOffset,config:m}=g;return{northWestArrowSouthWest:(w,A)=>pn({top:_(w,A),left:w.left-c,name:"arrow_sw"},m&&{config:m}),northWestArrowSouthMiddleWest:(w,A)=>pn({top:_(w,A),left:w.left-.25*A.width-c,name:"arrow_smw"},m&&{config:m}),northWestArrowSouth:(w,A)=>pn({top:_(w,A),left:w.left-A.width/2,name:"arrow_s"},m&&{config:m}),northWestArrowSouthMiddleEast:(w,A)=>pn({top:_(w,A),left:w.left-.75*A.width+c,name:"arrow_sme"},m&&{config:m}),northWestArrowSouthEast:(w,A)=>pn({top:_(w,A),left:w.left-A.width+c,name:"arrow_se"},m&&{config:m}),northArrowSouthWest:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-c,name:"arrow_sw"},m&&{config:m}),northArrowSouthMiddleWest:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-.25*A.width-c,name:"arrow_smw"},m&&{config:m}),northArrowSouth:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-A.width/2,name:"arrow_s"},m&&{config:m}),northArrowSouthMiddleEast:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-.75*A.width+c,name:"arrow_sme"},m&&{config:m}),northArrowSouthEast:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-A.width+c,name:"arrow_se"},m&&{config:m}),northEastArrowSouthWest:(w,A)=>pn({top:_(w,A),left:w.right-c,name:"arrow_sw"},m&&{config:m}),northEastArrowSouthMiddleWest:(w,A)=>pn({top:_(w,A),left:w.right-.25*A.width-c,name:"arrow_smw"},m&&{config:m}),northEastArrowSouth:(w,A)=>pn({top:_(w,A),left:w.right-A.width/2,name:"arrow_s"},m&&{config:m}),northEastArrowSouthMiddleEast:(w,A)=>pn({top:_(w,A),left:w.right-.75*A.width+c,name:"arrow_sme"},m&&{config:m}),northEastArrowSouthEast:(w,A)=>pn({top:_(w,A),left:w.right-A.width+c,name:"arrow_se"},m&&{config:m}),southWestArrowNorthWest:w=>pn({top:b(w),left:w.left-c,name:"arrow_nw"},m&&{config:m}),southWestArrowNorthMiddleWest:(w,A)=>pn({top:b(w),left:w.left-.25*A.width-c,name:"arrow_nmw"},m&&{config:m}),southWestArrowNorth:(w,A)=>pn({top:b(w),left:w.left-A.width/2,name:"arrow_n"},m&&{config:m}),southWestArrowNorthMiddleEast:(w,A)=>pn({top:b(w),left:w.left-.75*A.width+c,name:"arrow_nme"},m&&{config:m}),southWestArrowNorthEast:(w,A)=>pn({top:b(w),left:w.left-A.width+c,name:"arrow_ne"},m&&{config:m}),southArrowNorthWest:w=>pn({top:b(w),left:w.left+w.width/2-c,name:"arrow_nw"},m&&{config:m}),southArrowNorthMiddleWest:(w,A)=>pn({top:b(w),left:w.left+w.width/2-.25*A.width-c,name:"arrow_nmw"},m&&{config:m}),southArrowNorth:(w,A)=>pn({top:b(w),left:w.left+w.width/2-A.width/2,name:"arrow_n"},m&&{config:m}),southArrowNorthMiddleEast:(w,A)=>pn({top:b(w),left:w.left+w.width/2-.75*A.width+c,name:"arrow_nme"},m&&{config:m}),southArrowNorthEast:(w,A)=>pn({top:b(w),left:w.left+w.width/2-A.width+c,name:"arrow_ne"},m&&{config:m}),southEastArrowNorthWest:w=>pn({top:b(w),left:w.right-c,name:"arrow_nw"},m&&{config:m}),southEastArrowNorthMiddleWest:(w,A)=>pn({top:b(w),left:w.right-.25*A.width-c,name:"arrow_nmw"},m&&{config:m}),southEastArrowNorth:(w,A)=>pn({top:b(w),left:w.right-A.width/2,name:"arrow_n"},m&&{config:m}),southEastArrowNorthMiddleEast:(w,A)=>pn({top:b(w),left:w.right-.75*A.width+c,name:"arrow_nme"},m&&{config:m}),southEastArrowNorthEast:(w,A)=>pn({top:b(w),left:w.right-A.width+c,name:"arrow_ne"},m&&{config:m}),westArrowEast:(w,A)=>pn({top:w.top+w.height/2-A.height/2,left:w.left-A.width-u,name:"arrow_e"},m&&{config:m}),eastArrowWest:(w,A)=>pn({top:w.top+w.height/2-A.height/2,left:w.right+u,name:"arrow_w"},m&&{config:m}),viewportStickyNorth:(w,A,M,R)=>{const O=R||M;return w.getIntersection(O)?O.height-w.height>h?null:{top:O.top+h,left:w.left+w.width/2-A.width/2,name:"arrowless",config:pn({withArrow:!1},m)}:null}};function _(w,A){return w.top-A.height-u}function b(w){return w.bottom+u}}ua.arrowSideOffset=25,ua.arrowHeightOffset=10,ua.stickyVerticalOffset=20,ua._getOptimalPosition=Ot,ua.defaultPositions=T2();var XB=ft(3332);At()(XB.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const yk="ck-tooltip",Jt=class extends(Za()){constructor(g){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,Jt._editors.add(g),Jt._instance)return Jt._instance;Jt._instance=this,this.tooltipTextView=new gi(g.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 ua(g.locale),this.balloonPanelView.class=yk,this.balloonPanelView.content.add(this.tooltipTextView),this._pinTooltipDebounced=u_(this._pinTooltip,600),this.listenTo(de.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(de.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(de.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(de.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(de.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(g){const c=g.ui.view&&g.ui.view.body;Jt._editors.delete(g),this.stopListening(g.ui),c&&c.has(this.balloonPanelView)&&c.remove(this.balloonPanelView),Jt._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),Jt._instance=null)}static getPositioningFunctions(g){const c=Jt.defaultBalloonPositions;return{s:[c.southArrowNorth,c.southArrowNorthEast,c.southArrowNorthWest],n:[c.northArrowSouth],e:[c.eastArrowWest],w:[c.westArrowEast],sw:[c.southArrowNorthEast],se:[c.southArrowNorthWest]}[g]}_onEnterOrFocus(g,{target:c}){const u=M2(c);var h;u&&u!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(u,{text:(h=u).dataset.ckeTooltipText,position:h.dataset.ckeTooltipPosition||"s",cssClass:h.dataset.ckeTooltipClass||""}))}_onLeaveOrBlur(g,{target:c,relatedTarget:u}){if("mouseleave"===g.name){if(!vs(c)||this._currentElementWithTooltip&&c!==this._currentElementWithTooltip)return;const h=M2(c),m=M2(u);h&&h!==m&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&c!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(g,{target:c}){this._currentElementWithTooltip&&(c.contains(this.balloonPanelView.element)&&c.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(g,{text:c,position:u,cssClass:h}){const m=gr(Jt._editors.values()).ui.view.body;m.has(this.balloonPanelView)||m.add(this.balloonPanelView),this.tooltipTextView.text=c,this.balloonPanelView.pin({target:g,positions:Jt.getPositioningFunctions(u)}),this._resizeObserver=new Nc(g,()=>{Th(g)||this._unpinTooltip()}),this.balloonPanelView.class=[yk,h].filter(_=>_).join(" ");for(const _ of Jt._editors)this.listenTo(_.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=g,this._currentTooltipPosition=u}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const g of Jt._editors)this.stopListening(g.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy()}_updateTooltipPosition(){Th(this._currentElementWithTooltip)?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:Jt.getPositioningFunctions(this._currentTooltipPosition)}):this._unpinTooltip()}};let V_=Jt;function M2(g){return vs(g)?g.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}V_.defaultBalloonPositions=T2({heightOffset:5,sideOffset:13}),V_._editors=new Set,V_._instance=null;const nm=function(g,c,u){var h=!0,m=!0;if("function"!=typeof g)throw new TypeError("Expected a function");return qt(u)&&(h="leading"in u?!!u.leading:h,m="trailing"in u?!!u.trailing:m),u_(g,c,{leading:h,maxWait:c,trailing:m})};var Nl=Object.defineProperty,_0=Object.getOwnPropertySymbols,ZB=Object.prototype.hasOwnProperty,XW=Object.prototype.propertyIsEnumerable,R2=(g,c,u)=>c in g?Nl(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class ZW extends(Za()){constructor(c){super(),this.editor=c,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=nm(this._showBalloon.bind(this),50,{leading:!0}),c.on("ready",this._handleEditorReady.bind(this))}destroy(){const c=this._balloonView;c&&(c.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const c=this.editor;(c.config.get("ui.poweredBy.forceVisible")||"VALID"!==function(u){function h(V){return V.length>=40&&V.length<=255?"VALID":"INVALID"}if(!u)return"INVALID";let m="";try{m=atob(u)}catch{return"INVALID"}const _=m.split("-"),b=_[0],w=_[1];if(!w)return h(u);try{atob(w)}catch{try{if(atob(b),!atob(b).length)return h(u)}catch{return h(u)}}if(b.length<40||b.length>255)return"INVALID";let A="";try{atob(b),A=atob(w)}catch{return"INVALID"}if(8!==A.length)return"INVALID";const M=Number(A.substring(0,4)),R=Number(A.substring(4,6))-1,O=Number(A.substring(6,8)),N=new Date(M,R,O);return N{this._updateLastFocusedEditableElement(),m?this._showBalloon():this._hideBalloon()}),c.ui.focusTracker.on("change:focusedElement",(u,h,m)=>{this._updateLastFocusedEditableElement(),m&&this._showBalloon()}),c.ui.on("update",()=>{this._showBalloonThrottled()}))}_createBalloonView(){const c=this.editor,u=this._balloonView=new ua,h=v0(c),m=new et(c.locale,h.label);u.content.add(m),u.set({class:"ck-powered-by-balloon"}),c.ui.view.body.add(u),c.ui.focusTracker.add(u.element),this._balloonView=u}_showBalloon(){if(!this._lastFocusedEditableElement)return;const c=function(u,h){const m=v0(u);var w;return{target:h,positions:["right"===m.side?O2(h,w=m,(A,M)=>A.left+A.width-M.width-w.horizontalOffset):function(b,w){return O2(b,w,A=>A.left+w.horizontalOffset)}(h,m)]}}(this.editor,this._lastFocusedEditableElement);c&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(c))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const c=this.editor,h=c.ui.focusTracker.focusedElement;if(!c.ui.focusTracker.isFocused||!h)return void(this._lastFocusedEditableElement=null);const m=Array.from(c.ui.getEditableElementsNames()).map(_=>c.ui.getEditableElement(_));this._lastFocusedEditableElement=m.includes(h)?h:m[0]}}class et extends gi{constructor(c,u){super(c);const h=new Qo,m=this.bindTemplate;h.set({content:'\n',isColorInherited:!1}),h.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:[...u?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[u]}]:[],h],on:{dragstart:m.to(_=>_.preventDefault())}}]})}}function O2(g,c,u){return(h,m)=>{const _=new un(g);if(_.width<350||_.height<50)return null;let b;b="inside"===c.position?_.bottom-m.height:_.bottom-m.height/2,b-=c.verticalOffset;const w=u(_,m),A=h.clone().moveTo(w,b).getIntersection(m.clone().moveTo(w,b)).getVisible();return!A||A.getArea(){for(var u in c||(c={}))ZB.call(c,u)&&R2(g,u,c[u]);if(_0)for(var u of _0(c))XW.call(c,u)&&R2(g,u,c[u]);return g})({position:u,label:"Powered by",verticalOffset:"inside"===u?5:0,horizontalOffset:5,side:"ltr"===g.locale.contentLanguageDirection?"right":"left"},c)}var F2=ft(3210);At()(F2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class wk{constructor(c){this.editor=c}announce(c,u,h="polite"){const m=this.editor;this.view||(this.view=new N2(m.locale),m.ui.view.body.add(this.view));let _=this.view.regionViews.find(b=>b.regionName===c);_||(_=new L2(this.view.locale),this.view.regionViews.add(_)),_.set({regionName:c,text:u,politeness:h})}}class N2 extends gi{constructor(c){super(c),this.regionViews=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-aria-live-announcer"]},children:this.regionViews})}}class L2 extends gi{constructor(c){super(c);const u=this.bindTemplate;this.set("regionName",""),this.set("text",""),this.set("politeness","polite"),this.setTemplate({tag:"div",attributes:{role:"region","data-region":u.to("regionName"),"aria-live":u.to("politeness")},children:[{text:u.to("text")}]})}}var tV=Object.defineProperty,xk=Object.getOwnPropertySymbols,B2=Object.prototype.hasOwnProperty,iV=Object.prototype.propertyIsEnumerable,kk=(g,c,u)=>c in g?tV(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class Dk extends(_t()){constructor(c){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[];const u=c.editing.view;this.editor=c,this.componentFactory=new im(c),this.focusTracker=new Bo,this.tooltipManager=new V_(c),this.poweredBy=new ZW(c),this.ariaLiveAnnouncer=new wk(c),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",()=>{this.isReady=!0}),this.listenTo(u.document,"layoutChanged",this.update.bind(this)),this.listenTo(u,"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 c of this._editableElementsMap.values())c.ckeditorInstance=null,this.editor.keystrokes.stopListening(c);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(c,u){this._editableElementsMap.set(c,u),u.ckeditorInstance||(u.ckeditorInstance=this.editor),this.focusTracker.add(u);const h=()=>{this.editor.editing.view.getDomRoot(c)||this.editor.keystrokes.listenTo(u)};this.isReady?h():this.once("ready",h)}removeEditableElement(c){const u=this._editableElementsMap.get(c);u&&(this._editableElementsMap.delete(c),this.editor.keystrokes.stopListening(u),this.focusTracker.remove(u),u.ckeditorInstance=null)}getEditableElement(c="main"){return this._editableElementsMap.get(c)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(c,u={}){c.isRendered?(this.focusTracker.add(c.element),this.editor.keystrokes.listenTo(c.element)):c.once("render",()=>{this.focusTracker.add(c.element),this.editor.keystrokes.listenTo(c.element)}),this._focusableToolbarDefinitions.push({toolbarView:c,options:u})}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 c=this.editor,u=c.config.get("ui.viewportOffset");if(u)return u;const h=c.config.get("toolbar.viewportTopOffset");return h?(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:h}):{top:0}}_initFocusTracking(){const c=this.editor,u=c.editing.view;let h,m;c.keystrokes.set("Alt+F10",(_,b)=>{const w=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(w)&&!Array.from(u.domRoots.values()).includes(w)&&(h=w);const A=this._getCurrentFocusedToolbarDefinition();A&&m||(m=this._getFocusableCandidateToolbarDefinitions());for(let M=0;M{const w=this._getCurrentFocusedToolbarDefinition();w&&(h?(h.focus(),h=null):c.editing.view.focus(),w.options.afterBlur&&w.options.afterBlur(),b())})}_getFocusableCandidateToolbarDefinitions(){const c=[];for(const u of this._focusableToolbarDefinitions){const{toolbarView:h,options:m}=u;(Th(h.element)||m.beforeFocus)&&c.push(u)}return c.sort((u,h)=>Ak(u)-Ak(h)),c}_getCurrentFocusedToolbarDefinition(){for(const c of this._focusableToolbarDefinitions)if(c.toolbarView.element&&c.toolbarView.element.contains(this.focusTracker.focusedElement))return c;return null}_focusFocusableCandidateToolbar(c){const{toolbarView:u,options:{beforeFocus:h}}=c;return h&&h(),!!Th(u.element)&&(u.focus(),!0)}_handleScrollToTheSelection(c,u){const h=((m,_)=>{for(var b in _||(_={}))B2.call(_,b)&&kk(m,b,_[b]);if(xk)for(var b of xk(_))iV.call(_,b)&&kk(m,b,_[b]);return m})({top:0,bottom:0,left:0,right:0},this.viewportOffset);u.viewportOffset.top+=h.top,u.viewportOffset.bottom+=h.bottom,u.viewportOffset.left+=h.left,u.viewportOffset.right+=h.right}}function Ak(g){const{toolbarView:c,options:u}=g;let h=10;return Th(c.element)&&h--,u.isContextual&&h--,h}var op=ft(9688);At()(op.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class om extends gi{constructor(c){super(c),this.body=new Oh(c)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class nV extends om{constructor(c){super(c),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:c.uiLanguageDirection,lang:c.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 c=this.t,u=new ky;return u.text=c("Rich Text Editor"),u.extendTemplate({attributes:{class:"ck-voice-label"}}),u}}class oV extends gi{constructor(c,u,h){super(c),this.name=null,this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:c.contentLanguage,dir:c.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=h,this._hasExternalElement=!!this._editableElement,this._editingView=u}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 c=this._editingView;function u(h){c.change(m=>{const _=c.document.getRoot(h.name);m.addClass(h.isFocused?"ck-focused":"ck-blurred",_),m.removeClass(h.isFocused?"ck-blurred":"ck-focused",_)})}c.isRenderingInProgress?function h(m){c.once("change:isRenderingInProgress",(_,b,w)=>{w?h(m):u(m)})}(this):u(this)}}class V2 extends oV{constructor(c,u,h,m={}){super(c,u,h);const _=c.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=m.label||(()=>_("Editor editing area: %0",this.name))}render(){super.render();const c=this._editingView;c.change(u=>{const h=c.document.getRoot(this.name);u.setAttribute("aria-label",this._generateLabel(this),h)})}}var Ik=ft(8847);At()(Ik.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class rp extends Iy{static get pluginName(){return"Notification"}init(){this.on("show:warning",(c,u)=>{window.alert(u.message)},{priority:"lowest"})}showSuccess(c,u={}){this._showNotification({message:c,type:"success",namespace:u.namespace,title:u.title})}showInfo(c,u={}){this._showNotification({message:c,type:"info",namespace:u.namespace,title:u.title})}showWarning(c,u={}){this._showNotification({message:c,type:"warning",namespace:u.namespace,title:u.title})}_showNotification(c){this.fire(c.namespace?`show:${c.type}:${c.namespace}`:`show:${c.type}`,{message:c.message,type:c.type,title:c.title||""})}}class z_ extends(_t()){constructor(c,u){super(),u&&$h(this,u),c&&this.set(c)}}var Tk=ft(4650);At()(Tk.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var H2=ft(7676);At()(H2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const b0=wd("px");class y0 extends ht{constructor(c){super(c),this._viewToStack=new Map,this._idToStack=new Map,this._view=null,this._rotatorView=null,this._fakePanelsView=null,this.positionLimiter=()=>{const u=this.editor.editing.view,h=u.document.selection.editableElement;return h?u.domConverter.mapViewToDom(h.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(c){return Array.from(this._viewToStack.keys()).includes(c)}add(c){if(this._view||this._createPanelView(),this.hasView(c.view))throw new fe("contextualballoon-add-view-exist",[this,c]);const u=c.stackId||"main";if(!this._idToStack.has(u))return this._idToStack.set(u,new Map([[c.view,c]])),this._viewToStack.set(c.view,this._idToStack.get(u)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!c.singleViewMode||this.showStack(u));const h=this._idToStack.get(u);c.singleViewMode&&this.showStack(u),h.set(c.view,c),this._viewToStack.set(c.view,h),h===this._visibleStack&&this._showView(c)}remove(c){if(!this.hasView(c))throw new fe("contextualballoon-remove-view-not-exist",[this,c]);const u=this._viewToStack.get(c);this._singleViewMode&&this.visibleView===c&&(this._singleViewMode=!1),this.visibleView===c&&(1===u.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(u.values())[u.size-2])),1===u.size?(this._idToStack.delete(this._getStackId(u)),this._numberOfStacks=this._idToStack.size):u.delete(c),this._viewToStack.delete(c)}updatePosition(c){c&&(this._visibleStack.get(this.visibleView).position=c),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(c){this.visibleStack=c;const u=this._idToStack.get(c);if(!u)throw new fe("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==u&&this._showView(Array.from(u.values()).pop())}_createPanelView(){this._view=new ua(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(c){return Array.from(this._idToStack.entries()).find(u=>u[1]===c)[0]}_showNextStack(){const c=Array.from(this._idToStack.values());let u=c.indexOf(this._visibleStack)+1;c[u]||(u=0),this.showStack(this._getStackId(c[u]))}_showPrevStack(){const c=Array.from(this._idToStack.values());let u=c.indexOf(this._visibleStack)-1;c[u]||(u=c.length-1),this.showStack(this._getStackId(c[u]))}_createRotatorView(){const c=new G2(this.editor.locale),u=this.editor.locale.t;return this.view.content.add(c),c.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(h,m)=>!m&&h>1),c.on("change:isNavigationVisible",()=>this.updatePosition(),{priority:"low"}),c.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(h,m)=>{if(m<2)return"";const _=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return u("%0 of %1",[_,m])}),c.buttonNextView.on("execute",()=>{c.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()}),c.buttonPrevView.on("execute",()=>{c.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()}),c}_createFakePanelsView(){const c=new JW(this.editor.locale,this.view);return c.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(u,h)=>!h&&u>=2?Math.min(u-1,2):0),c.listenTo(this.view,"change:top",()=>c.updatePosition()),c.listenTo(this.view,"change:left",()=>c.updatePosition()),this.editor.ui.view.body.add(c),c}_showView({view:c,balloonClassName:u="",withArrow:h=!0,singleViewMode:m=!1}){this.view.class=u,this.view.withArrow=h,this._rotatorView.showView(c),this.visibleView=c,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),m&&(this._singleViewMode=!0)}_getBalloonPosition(){let c=Array.from(this._visibleStack.values()).pop().position;return c&&(c.limiter||(c=Object.assign({},c,{limiter:this.positionLimiter})),c=Object.assign({},c,{viewportOffsetConfig:this.editor.ui.viewportOffset})),c}}class G2 extends gi{constructor(c){super(c);const u=c.t,h=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new Bo,this.buttonPrevView=this._createButtonView(u("Previous"),''),this.buttonNextView=this._createButtonView(u("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",h.to("isNavigationVisible",m=>m?"":"ck-hidden")]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:h.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(c){this.hideView(),this.content.add(c)}hideView(){this.content.clear()}_createButtonView(c,u){const h=new Hn(this.locale);return h.set({label:c,icon:u,tooltip:!0}),h}}class JW extends gi{constructor(c,u){super(c);const h=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=u,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",h.to("numberOfPanels",m=>m?"":"ck-hidden")],style:{top:h.to("top",b0),left:h.to("left",b0),width:h.to("width",b0),height:h.to("height",b0)}},children:this.content}),this.on("change:numberOfPanels",(m,_,b,w)=>{b>w?this._addPanels(b-w):this._removePanels(w-b),this.updatePosition()})}_addPanels(c){for(;c--;){const u=new gi;u.setTemplate({tag:"div"}),this.content.add(u),this.registerChild(u)}}_removePanels(c){for(;c--;){const u=this.content.last;this.content.remove(u),this.deregisterChild(u),u.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:c,left:u}=this._balloonPanelView,{width:h,height:m}=new un(this._balloonPanelView.element);Object.assign(this,{top:c,left:u,width:h,height:m})}}}var j2=ft(5868);At()(j2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const H_=wd("px");class $2 extends gi{constructor(c){super(c);const u=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 rc({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:u.to("isSticky",h=>h?"block":"none"),height:u.to("isSticky",h=>h?H_(this._contentPanelRect.height):null)}}}).render(),this._contentPanel=new rc({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",u.if("isSticky","ck-sticky-panel__content_sticky"),u.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:u.to("isSticky",h=>h?H_(this._contentPanelPlaceholder.getBoundingClientRect().width):null),top:u.to("_stickyTopOffset",h=>h&&H_(h)),bottom:u.to("_stickyBottomOffset",h=>h&&H_(h)),marginLeft:u.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(de.document,"scroll",()=>{this.checkIfShouldBeSticky()},{useCapture:!0}),this.listenTo(this,"change:isActive",()=>{this.checkIfShouldBeSticky()})}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();const c=new un(this.limiterElement);let u=c.getVisible();if(u){const h=new un(de.window);h.top+=this.viewportTopOffset,h.height-=this.viewportTopOffset,u=u.getIntersection(h)}if(u&&c.topu.bottom){const m=Math.max(c.bottom-u.bottom,0)+this.limiterBottomOffset;c.bottom-m>c.top+this._contentPanelRect.height?this._stickToBottomOfLimiter(m):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset{this.reset(),this.focus(),this.fire("reset")}),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",_=>!_),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 tq extends gi{constructor(){super();const c=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",c.if("isVisible","ck-hidden",u=>!u)],tabindex:-1},children:[{tag:"span",children:[{text:[c.to("primaryText")]}]},{tag:"span",children:[{text:[c.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class C0 extends gi{constructor(c){super(c),this.children=this.createCollection(),this.focusTracker=new Bo,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new Ad({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const c of this.children)this.focusTracker.add(c.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}var Ek=/[\\^$.*+?()[\]{}|]/g,W2=RegExp(Ek.source);const q2=function(g){return(g=p1(g))&&W2.test(g)?g.replace(Ek,"\\$&"):g};var Mk=ft(6770);At()(Mk.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var wi=Object.defineProperty,y=Object.getOwnPropertySymbols,Y2=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,uc=(g,c,u)=>c in g?wi(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class sV extends gi{constructor(c,u){super(c),this._config=u,this.filteredView=u.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new Bo,this.keystrokes=new ea,this.resultsView=new C0(c),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),u.infoView&&u.infoView.instance?this.infoView=u.infoView.instance:(this.infoView=new tq,this._enableDefaultInfoViewBehavior(),this.on("render",()=>{this.search("")})),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new Ad({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",(h,{resultsCount:m,totalItemsCount:_})=>{this.resultsCount=m,this.totalItemsCount=_}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",u.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const c=u=>u.stopPropagation();for(const u of this.focusableChildren)this.focusTracker.add(u.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",c),this.keystrokes.set("arrowleft",c),this.keystrokes.set("arrowup",c),this.keystrokes.set("arrowdown",c)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search("")}search(c){const u=c?new RegExp(q2(c),"ig"):null,h=this.filteredView.filter(u);this.fire("search",((m,_)=>{for(var b in _||(_={}))Y2.call(_,b)&&uc(m,b,_[b]);if(y)for(var b of y(_))T.call(_,b)&&uc(m,b,_[b]);return m})({query:c},h))}_createSearchTextQueryView(){const c=new U2(this.locale,this._config.queryView);return this.listenTo(c.fieldView,"input",()=>{this.search(c.fieldView.element.value)}),c.on("reset",()=>this.reset()),c.bind("isEnabled").to(this),c}_enableDefaultInfoViewBehavior(){const c=this.locale.t,u=this.infoView;function h(m,{query:_,resultsCount:b,totalItemsCount:w}){return"function"==typeof m?m(_,b,w):m}this.on("search",(m,_)=>{if(_.resultsCount)u.set({isVisible:!1});else{const b=this._config.infoView&&this._config.infoView.text;let w,A;_.totalItemsCount?b&&b.notFound?(w=b.notFound.primary,A=b.notFound.secondary):(w=c("No results found"),A=""):b&&b.noSearchableItems?(w=b.noSearchableItems.primary,A=b.noSearchableItems.secondary):(w=c("No searchable items"),A=""),u.set({primaryText:h(w,_),secondaryText:h(A,_),isVisible:!0})}})}}var G_=ft(8157);At()(G_.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const j_=class extends sV{constructor(g,c){super(g,c),this._config=c;const u=wd("px");this.extendTemplate({attributes:{class:["ck-autocomplete"]}});const h=this.resultsView.bindTemplate;this.resultsView.set("isVisible",!1),this.resultsView.set("_position","s"),this.resultsView.set("_width",0),this.resultsView.extendTemplate({attributes:{class:[h.if("isVisible","ck-hidden",m=>!m),h.to("_position",m=>`ck-search__results_${m}`)],style:{width:h.to("_width",u)}}}),this.focusTracker.on("change:isFocused",(m,_,b)=>{this._updateResultsVisibility(),b?this.resultsView.element.scrollTop=0:c.resetOnBlur&&this.queryView.reset()}),this.on("search",()=>{this._updateResultsVisibility(),this._updateResultsViewWidthAndPosition()}),this.keystrokes.set("esc",(m,_)=>{this.resultsView.isVisible&&(this.queryView.focus(),this.resultsView.isVisible=!1,_())}),this.listenTo(de.document,"scroll",()=>{this._updateResultsViewWidthAndPosition()}),this.on("change:isEnabled",()=>{this._updateResultsVisibility()}),this.filteredView.on("execute",(m,{value:_})=>{this.focus(),this.reset(),this.queryView.fieldView.value=this.queryView.fieldView.element.value=_,this.resultsView.isVisible=!1}),this.resultsView.on("change:isVisible",()=>{this._updateResultsViewWidthAndPosition()})}_updateResultsViewWidthAndPosition(){if(!this.resultsView.isVisible)return;this.resultsView._width=new un(this.queryView.fieldView.element).width;const g=j_._getOptimalPosition({element:this.resultsView.element,target:this.queryView.element,fitInViewport:!0,positions:j_.defaultResultsPositions});this.resultsView._position=g?g.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 sm=j_;sm.defaultResultsPositions=[g=>({top:g.bottom,left:g.left,name:"s"}),(g,c)=>({top:g.top-c.height,left:g.left,name:"n"})],sm._getOptimalPosition=Ot;var Rk=ft(8960);At()(Rk.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var w0=ft(8010);At()(w0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Q2 extends gi{constructor(c,u){super(c);const h=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid",void 0),u&&this.children.addMany(u),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",h.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:h.if("isCollapsed","hidden"),"aria-labelledby":h.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}focus(){this.buttonView.focus()}_createButtonView(){const c=new Hn(this.locale),u=c.bindTemplate;return c.set({withText:!0,icon:BT}),c.extendTemplate({attributes:{"aria-expanded":u.to("isOn",h=>String(h))}}),c.bind("label").to(this),c.bind("isOn").to(this,"isCollapsed",h=>!h),c.on("execute",()=>{this.isCollapsed=!this.isCollapsed}),c}}var x0=ft(498);At()(x0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),wd("px");var X2=ft(9695);At()(X2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),wd("px"),wd("px");class Z2 extends Dk{constructor(c,u){super(c),this.view=u,this._toolbarConfig=PL(c.config.get("toolbar")),this._elementReplacer=new Ub,this.listenTo(c.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(c){const h=this.view,m=this.editor.editing.view,_=h.editable,b=m.document.getRoot();_.name=b.rootName,h.render();const w=_.element;this.setEditableElement(_.name,w),h.editable.bind("isFocused").to(this.focusTracker),m.attachDomRoot(w),c&&this._elementReplacer.replace(c,this.element),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){super.destroy();const c=this.view,u=this.editor.editing.view;this._elementReplacer.restore(),u.detachDomRoot(c.editable.name),c.destroy()}_initToolbar(){const c=this.view;c.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),c.stickyPanel.limiterElement=c.element,c.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",({top:u})=>u||0),c.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(c.toolbar)}_initPlaceholder(){const c=this.editor,u=c.editing.view,h=u.document.getRoot(),m=c.sourceElement;let _;const b=c.config.get("placeholder");b&&(_="string"==typeof b?b:b[this.view.editable.name]),!_&&m&&"textarea"===m.tagName.toLowerCase()&&(_=m.getAttribute("placeholder")),_&&(h.placeholder=_),po({view:u,element:h,isDirectHost:!1,keepOnFocus:!0})}_handleScrollToTheSelectionWithStickyPanel(c,u,h){const m=this.view.stickyPanel;if(m.isSticky){const _=new un(m.element).height;u.viewportOffset.top+=_}else{const _=()=>{this.editor.editing.view.scrollToTheSelection(h)};this.listenTo(m,"change:isSticky",_),setTimeout(()=>{this.stopListening(m,"change:isSticky",_)},20)}}}var J2=ft(3143);At()(J2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class dV extends nV{constructor(c,u,h={}){super(c),this.stickyPanel=new $2(c),this.toolbar=new Tu(c,{shouldGroupWhenFull:h.shouldToolbarGroupWhenFull}),this.editable=new V2(c,u)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}class eM{constructor(c){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof c.crashNumberLimit?c.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof c.minimumNonErrorTimePeriod?c.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=u=>{const h="error"in u?u.error:u.reason;h instanceof Error&&this._handleError(h,u)},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(c,u){this._listeners[c]||(this._listeners[c]=[]),this._listeners[c].push(u)}off(c,u){this._listeners[c]=this._listeners[c].filter(h=>h!==u)}_fire(c,...u){const h=this._listeners[c]||[];for(const m of h)m.apply(this,[null,...u])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(c,u){if(this._shouldReactToError(c)){this.crashes.push({message:c.message,stack:c.stack,filename:u instanceof ErrorEvent?u.filename:void 0,lineno:u instanceof ErrorEvent?u.lineno:void 0,colno:u instanceof ErrorEvent?u.colno:void 0,date:this._now()});const h=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:c,causesRestart:h}),h?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(c){return c.is&&c.is("CKEditorError")&&null!=c.context&&"ready"===this.state&&this._isErrorComingFromThisItem(c)}_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 k0(g,c=new Set){const u=[g],h=new Set;let m=0;for(;u.length>m;){const _=u[m++];if(!h.has(_)&&tM(_)&&!c.has(_))if(h.add(_),Symbol.iterator in _)try{for(const b of _)u.push(b)}catch{}else for(const b in _)"defaultValue"!==b&&u.push(_[b])}return h}function tM(g){const c=Object.prototype.toString.call(g),u=typeof g;return!("number"===u||"boolean"===u||"string"===u||"symbol"===u||"function"===u||"[object Date]"===c||"[object RegExp]"===c||"[object Module]"===c||null==g||g._watchdogExcluded||g instanceof EventTarget||g instanceof Event)}function iM(g,c,u=new Set){if(g===c&&"object"==typeof(h=g)&&null!==h)return!0;var h;const m=k0(g,u),_=k0(c,u);for(const b of m)if(_.has(b))return!0;return!1}var uV=Object.defineProperty,ol=Object.defineProperties,hV=Object.getOwnPropertyDescriptors,D0=Object.getOwnPropertySymbols,pV=Object.prototype.hasOwnProperty,A0=Object.prototype.propertyIsEnumerable,Fk=(g,c,u)=>c in g?uV(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Nk=(g,c)=>{for(var u in c||(c={}))pV.call(c,u)&&Fk(g,u,c[u]);if(D0)for(var u of D0(c))A0.call(c,u)&&Fk(g,u,c[u]);return g};class nM extends eM{constructor(c,u={}){super(u),this._editor=null,this._initUsingData=!0,this._editables={},this._throttledSave=nm(this._save.bind(this),"number"==typeof u.saveInterval?u.saveInterval:5e3),c&&(this._creator=(h,m)=>c.create(h,m)),this._destructor=h=>h.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(c){this._creator=c}setDestructor(c){this._destructor=c}_restart(){return Promise.resolve().then(()=>(this.state="initializing",this._fire("stateChange"),this._destroy())).catch(c=>{console.error("An error happened during the editor destroying.",c)}).then(()=>{const c={},u=[],h=this._config.rootsAttributes||{},m={};for(const[A,M]of Object.entries(this._data.roots))M.isLoaded?(c[A]="",m[A]=h[A]||{}):u.push(A);const _=(b=Nk({},this._config),ol(b,hV({extraPlugins:this._config.extraPlugins||[],lazyRoots:u,rootsAttributes:m,_watchdogInitialData:this._data})));var b;return delete _.initialData,_.extraPlugins.push(gV),this._initUsingData?this.create(c,_,_.context):vs(this._elementOrData)?this.create(this._elementOrData,_,_.context):this.create(this._editables,_,_.context)}).then(()=>{this._fire("restart")})}create(c=this._elementOrData,u=this._config,h){return Promise.resolve().then(()=>(super._startErrorHandling(),this._elementOrData=c,this._initUsingData="string"==typeof c||Object.keys(c).length>0&&"string"==typeof Object.values(c)[0],this._config=this._cloneEditorConfiguration(u)||{},this._config.context=h,this._creator(c,this._config))).then(m=>{this._editor=m,m.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=m.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 c=this._editor;return this._editor=null,c.model.document.off("change:data",this._throttledSave),this._destructor(c)})}_save(){const c=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=c}catch(u){console.error(u,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(c){this._excludedProps=c}_getData(){const c=this._editor,u=c.model.document.roots.filter(w=>w.isAttached()&&"$graveyard"!=w.rootName),{plugins:h}=c,m=h.has("CommentsRepository")&&h.get("CommentsRepository"),_=h.has("TrackChanges")&&h.get("TrackChanges"),b={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};u.forEach(w=>{b.roots[w.rootName]={content:JSON.stringify(Array.from(w.getChildren())),attributes:JSON.stringify(Array.from(w.getAttributes())),isLoaded:w._isLoaded}});for(const w of c.model.markers)w._affectsData&&(b.markers[w.name]={rangeJSON:w.getRange().toJSON(),usingOperation:w._managedUsingOperations,affectsData:w._affectsData});return m&&(b.commentThreads=JSON.stringify(m.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),_&&(b.suggestions=JSON.stringify(_.getSuggestions({toJSON:!0,skipNotAttached:!0}))),b}_getEditables(){const c={};for(const u of this.editor.model.document.getRootNames()){const h=this.editor.ui.getEditableElement(u);h&&(c[u]=h)}return c}_isErrorComingFromThisItem(c){return iM(this._editor,c.context,this._excludedProps)}_cloneEditorConfiguration(c){return jx(c,(u,h)=>vs(u)||"context"===h?u:void 0)}}class gV{constructor(c){this.editor=c,this._data=c.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",c=>{c.stop(),this.editor.model.enqueueChange({isUndoable:!1},u=>{this._restoreCollaborationData(),this._restoreEditorData(u)}),this.editor.data.fire("ready")},{priority:999})}_createNode(c,u){if("name"in u){const h=c.createElement(u.name,u.attributes);if(u.children)for(const m of u.children)h._appendChild(this._createNode(c,m));return h}return c.createText(u.data,u.attributes)}_restoreEditorData(c){const u=this.editor;Object.entries(this._data.roots).forEach(([h,{content:m,attributes:_}])=>{const b=JSON.parse(m),w=JSON.parse(_),A=u.model.document.getRoot(h);for(const[M,R]of w)c.setAttribute(M,R,A);for(const M of b){const R=this._createNode(c,M);c.insert(R,A,"end")}}),Object.entries(this._data.markers).forEach(([h,m])=>{const{document:_}=u.model,b=m,{rangeJSON:{start:w,end:A}}=b,M=((W,Y)=>{var ne={};for(var he in W)pV.call(W,he)&&Y.indexOf(he)<0&&(ne[he]=W[he]);if(null!=W&&D0)for(var he of D0(W))Y.indexOf(he)<0&&A0.call(W,he)&&(ne[he]=W[he]);return ne})(b,["rangeJSON"]),R=_.getRoot(w.root),O=c.createPositionFromPath(R,w.path,w.stickiness),N=c.createPositionFromPath(R,A.path,A.stickiness),V=c.createRange(O,N);c.addMarker(h,Nk({range:V},M))})}_restoreCollaborationData(){const c=JSON.parse(this._data.commentThreads),u=JSON.parse(this._data.suggestions);c.forEach(h=>{const m=this.editor.config.get("collaboration.channelId"),_=this.editor.plugins.get("CommentsRepository");_.hasCommentThread(h.threadId)&&_.getCommentThread(h.threadId).remove(),_.addCommentThread(Nk({channelId:m},h))}),u.forEach(h=>{const m=this.editor.plugins.get("TrackChangesEditing");m.hasSuggestion(h.id)?m.getSuggestion(h.id).attributes=h.attributes:m.addSuggestionData(h)})}}const am=Symbol("MainQueueId");class mV{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(c){this._onEmptyCallbacks.push(c)}enqueue(c,u){const h=c===am;this._activeActions++,this._queues.get(c)||this._queues.set(c,Promise.resolve());const m=Promise.all(h?this._queues.values():[this._queues.get(am),this._queues.get(c)]).then(u),_=m.catch(()=>{});return this._queues.set(c,_),m.finally(()=>{this._activeActions--,this._queues.get(c)===_&&0===this._activeActions&&this._onEmptyCallbacks.forEach(b=>b())})}}function oM(g){return Array.isArray(g)?g:[g]}class lm extends(Yg(Qg(BB))){constructor(c,u={}){if(!I0(c)&&void 0!==u.initialData)throw new fe("editor-create-initial-data",null);var _,b;super(u),void 0===this.config.get("initialData")&&this.config.set("initialData",I0(_=c)?(b=_)instanceof HTMLTextAreaElement?b.value:b.innerHTML:_),I0(c)&&(this.sourceElement=c),this.model.document.createRoot();const h=!this.config.get("toolbar.shouldNotGroupWhenFull"),m=new dV(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:h});this.ui=new Z2(this,m),function(_){if(!Zr(_.updateSourceElement))throw new fe("attachtoform-missing-elementapi-interface",_);const b=_.sourceElement;if((w=b)&&"textarea"===w.tagName.toLowerCase()&&b.form){let w;const A=b.form,M=()=>_.updateSourceElement();Zr(A.submit)&&(w=A.submit,A.submit=()=>{M(),w.apply(A)}),A.addEventListener("submit",M),_.on("destroy",()=>{A.removeEventListener("submit",M),w&&(A.submit=w)})}var w}(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(c,u={}){return new Promise(h=>{const m=new this(c,u);h(m.initPlugins().then(()=>m.ui.init(I0(c)?c:null)).then(()=>m.data.init(m.config.get("initialData"))).then(()=>m.fire("ready")).then(()=>m))})}}function I0(g){return vs(g)}lm.Context=l1,lm.EditorWatchdog=nM,lm.ContextWatchdog=class extends eM{constructor(g,c={}){super(c),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new mV,this._watchdogConfig=c,this._creator=u=>g.create(u),this._destructor=u=>u.destroy(),this._actionQueues.onEmpty(()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))})}setCreator(g){this._creator=g}setDestructor(g){this._destructor=g}get context(){return this._context}create(g={}){return this._actionQueues.enqueue(am,()=>(this._contextConfig=g,this._create()))}getItem(g){return this._getWatchdog(g)._item}getItemState(g){return this._getWatchdog(g).state}add(g){const c=oM(g);return Promise.all(c.map(u=>this._actionQueues.enqueue(u.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 h;if(this._watchdogs.has(u.id))throw new Error(`Item with the given id is already added: '${u.id}'.`);if("editor"===u.type)return h=new nM(null,this._watchdogConfig),h.setCreator(u.creator),h._setExcludedProperties(this._contextProps),u.destructor&&h.setDestructor(u.destructor),this._watchdogs.set(u.id,h),h.on("error",(m,{error:_,causesRestart:b})=>{this._fire("itemError",{itemId:u.id,error:_}),b&&this._actionQueues.enqueue(u.id,()=>new Promise(w=>{const A=()=>{h.off("restart",A),this._fire("itemRestart",{itemId:u.id}),w()};h.on("restart",A)}))}),h.create(u.sourceElementOrData,u.config,this._context);throw new Error(`Not supported item type: '${u.type}'.`)})))}remove(g){const c=oM(g);return Promise.all(c.map(u=>this._actionQueues.enqueue(u,()=>{const h=this._getWatchdog(u);return this._watchdogs.delete(u),h.destroy()})))}destroy(){return this._actionQueues.enqueue(am,()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_restart(){return this._actionQueues.enqueue(am,()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch(g=>{console.error("An error happened during destroying the context or items.",g)}).then(()=>this._create()).then(()=>this._fire("restart"))))}_create(){return Promise.resolve().then(()=>(this._startErrorHandling(),this._creator(this._contextConfig))).then(g=>(this._context=g,this._contextProps=k0(this._context),Promise.all(Array.from(this._watchdogs.values()).map(c=>(c._setExcludedProperties(this._contextProps),c.create(void 0,void 0,this._context))))))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling();const g=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map(c=>c.destroy())).then(()=>this._destructor(g))})}_getWatchdog(g){const c=this._watchdogs.get(g);if(!c)throw new Error(`Item with the given id was not registered: ${g}.`);return c}_isErrorComingFromThisItem(g){for(const c of this._watchdogs.values())if(c._isErrorComingFromThisItem(g))return!1;return iM(this._context,g.context)}};class $_ extends Hc{constructor(c){super(c),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const u=this.document;function h(m){return(_,b)=>{b.preventDefault();const w=b.dropRange?[b.dropRange]:null,A=new dt(u,m);u.fire(A,{dataTransfer:b.dataTransfer,method:_.name,targetRanges:w,target:b.target,domEvent:b.domEvent}),A.stop.called&&b.stopPropagation()}}this.listenTo(u,"paste",h("clipboardInput"),{priority:"low"}),this.listenTo(u,"drop",h("clipboardInput"),{priority:"low"}),this.listenTo(u,"dragover",h("dragging"),{priority:"low"})}onDomEvent(c){const m={dataTransfer:new Ml("clipboardData"in c?c.clipboardData:c.dataTransfer,{cacheFiles:"drop"==c.type||"paste"==c.type})};"drop"!=c.type&&"dragover"!=c.type||(m.dropRange=function(_,b){const w=b.target.ownerDocument,A=b.clientX,M=b.clientY;let R;return w.caretRangeFromPoint&&w.caretRangeFromPoint(A,M)?R=w.caretRangeFromPoint(A,M):b.rangeParent&&(R=w.createRange(),R.setStart(b.rangeParent,b.rangeOffset),R.collapse(!0)),R?_.domConverter.domRangeToView(R):null}(this.view,c)),this.fire(c.type,c,m)}}const rM=["figcaption","li"],sM=["ol","ul"];function aM(g){if(g.is("$text")||g.is("$textProxy"))return g.data;if(g.is("element","img")&&g.hasAttribute("alt"))return g.getAttribute("alt");if(g.is("element","br"))return"\n";let c="",u=null;for(const h of g.getChildren())c+=Uc(h,u)+aM(h),u=h;return c}function Uc(g,c){return c?g.is("element","li")&&!g.isEmpty&&g.getChild(0).is("containerElement")||sM.includes(g.name)&&sM.includes(c.name)?"\n\n":g.is("containerElement")||c.is("containerElement")?rM.includes(g.name)||rM.includes(c.name)?"\n":"\n\n":"":""}class Ll extends ht{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver($_),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(c,u,h){const m=this.editor.model.getSelectedContent(u);this.fire("outputTransformation",{dataTransfer:c,content:m,method:h})}_setupPasteDrop(){const c=this.editor,u=c.model,h=c.editing.view,m=h.document;this.listenTo(m,"clipboardInput",(_,b)=>{"paste"!=b.method||c.model.canEditAt(c.model.document.selection)||_.stop()},{priority:"highest"}),this.listenTo(m,"clipboardInput",(_,b)=>{const w=b.dataTransfer;let A;if(b.content)A=b.content;else{let O="";w.getData("text/html")?O=w.getData("text/html").replace(/(\s+)<\/span>/g,(V,W)=>1==W.length?" ":W).replace(//g,""):w.getData("text/plain")&&(((M=(M=w.getData("text/plain")).replace(/&/g,"&").replace(//g,">").replace(/\r?\n\r?\n/g,"

").replace(/\r?\n/g,"
").replace(/\t/g,"    ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g,"  ")).includes("

")||M.includes("
"))&&(M=`

${M}

`),O=M),A=this.editor.data.htmlProcessor.toView(O)}var M;const R=new dt(this,"inputTransformation");this.fire(R,{content:A,dataTransfer:w,targetRanges:b.targetRanges,method:b.method}),R.stop.called&&_.stop(),h.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(_,b)=>{if(b.content.isEmpty)return;const w=this.editor.data.toModel(b.content,"$clipboardHolder");0!=w.childCount&&(_.stop(),u.change(()=>{this.fire("contentInsertion",{content:w,method:b.method,dataTransfer:b.dataTransfer,targetRanges:b.targetRanges})}))},{priority:"low"}),this.listenTo(this,"contentInsertion",(_,b)=>{b.resultRange=u.insertContent(b.content)},{priority:"low"})}_setupCopyCut(){const c=this.editor,u=c.model.document,h=c.editing.view.document,m=(_,b)=>{const w=b.dataTransfer;b.preventDefault(),this._fireOutputTransformationEvent(w,u.selection,_.name)};this.listenTo(h,"copy",m,{priority:"low"}),this.listenTo(h,"cut",(_,b)=>{c.model.canEditAt(c.model.document.selection)?m(_,b):b.preventDefault()},{priority:"low"}),this.listenTo(this,"outputTransformation",(_,b)=>{const w=c.data.toView(b.content);h.fire("clipboardOutput",{dataTransfer:b.dataTransfer,content:w,method:b.method})},{priority:"low"}),this.listenTo(h,"clipboardOutput",(_,b)=>{b.content.isEmpty||(b.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(b.content)),b.dataTransfer.setData("text/plain",aM(b.content))),"cut"==b.method&&c.model.deleteContent(u.selection)},{priority:"low"})}}class lM{constructor(c,u=20){this._batch=null,this.model=c,this._size=0,this.limit=u,this._isLocked=!1,this._changeCallback=(h,m)=>{m.isLocal&&m.isUndoable&&m!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(c){this._size+=c,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(c=!1){this.isLocked&&!c||(this._batch=null,this._size=0)}}class cM extends Bi{constructor(c,u){super(c),this._buffer=new lM(c.model,u),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(c={}){const u=this.editor.model,h=u.document,m=c.text||"",_=m.length;let b=h.selection;if(c.selection?b=c.selection:c.range&&(b=u.createSelection(c.range)),!u.canEditAt(b))return;const w=c.resultRange;u.enqueueChange(this._buffer.batch,A=>{this._buffer.lock();const M=Array.from(h.selection.getAttributes());u.deleteContent(b),m&&u.insertContent(A.createText(m,M),b),w?A.setSelection(w):b.is("documentSelection")||A.setSelection(b),this._buffer.unlock(),this._buffer.input(_)})}}const dM=["insertText","insertReplacementText"];class uM extends la{constructor(c){super(c),this.focusObserver=c.getObserver(g_),ae.isAndroid&&dM.push("insertCompositionText");const u=c.document;u.on("beforeinput",(h,m)=>{if(!this.isEnabled)return;const{data:_,targetRanges:b,inputType:w,domEvent:A}=m;if(!dM.includes(w))return;this.focusObserver.flush();const M=new dt(u,"insertText");u.fire(M,new Uh(c,A,{text:_,selection:c.createSelection(b)})),M.stop.called&&h.stop()}),u.on("compositionend",(h,{data:m,domEvent:_})=>{this.isEnabled&&!ae.isAndroid&&m&&u.fire("insertText",new Uh(c,_,{text:m,selection:u.selection}))},{priority:"lowest"})}observe(){}stopObserving(){}}class Lk extends ht{static get pluginName(){return"Input"}init(){const c=this.editor,u=c.model,h=c.editing.view,m=u.document.selection;h.addObserver(uM);const _=new cM(c,c.config.get("typing.undoStep")||20);c.commands.add("insertText",_),c.commands.add("input",_),this.listenTo(h.document,"insertText",(b,w)=>{h.document.isComposing||w.preventDefault();const{text:A,selection:M,resultRange:R}=w,O=Array.from(M.getRanges()).map(W=>c.editing.mapper.toModelRange(W));let N=A;if(ae.isAndroid){const W=Array.from(O[0].getItems()).reduce((Y,ne)=>Y+(ne.is("$textProxy")?ne.data:""),"");W&&(W.length<=N.length?N.startsWith(W)&&(N=N.substring(W.length),O[0].start=O[0].start.getShiftedBy(W.length)):W.startsWith(N)&&(O[0].start=O[0].start.getShiftedBy(N.length),N=""))}const V={text:N,selection:u.createSelection(O)};R&&(V.resultRange=c.editing.mapper.toModelRange(R)),c.execute("insertText",V),h.scrollToTheSelection()}),ae.isAndroid?this.listenTo(h.document,"keydown",(b,w)=>{!m.isCollapsed&&229==w.keyCode&&h.document.isComposing&&U_(u,_)}):this.listenTo(h.document,"compositionstart",()=>{m.isCollapsed||U_(u,_)})}}function U_(g,c){if(!c.isEnabled)return;const u=c.buffer;u.lock(),g.enqueueChange(u.batch,()=>{g.deleteContent(g.document.selection)}),u.unlock()}class S0 extends Bi{constructor(c,u){super(c),this.direction=u,this._buffer=new lM(c.model,c.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(c={}){const u=this.editor.model,h=u.document;u.enqueueChange(this._buffer.batch,m=>{this._buffer.lock();const _=m.createSelection(c.selection||h.selection);if(!u.canEditAt(_))return;const b=c.sequence||1,w=_.isCollapsed;if(_.isCollapsed&&u.modifySelection(_,{direction:this.direction,unit:c.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(b))return void this._replaceEntireContentWithParagraph(m);if(this._shouldReplaceFirstBlockWithParagraph(_,b))return void this.editor.execute("paragraph",{selection:_});if(_.isCollapsed)return;let A=0;_.getFirstRange().getMinimalFlatRanges().forEach(M=>{A+=bh(M.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))}),u.deleteContent(_,{doNotResetEntireContent:w,direction:this.direction}),this._buffer.input(A),m.setSelection(_),this._buffer.unlock()})}_shouldEntireContentBeReplacedWithParagraph(c){if(c>1)return!1;const u=this.editor.model,h=u.document.selection,m=u.schema.getLimitElement(h);if(!h.isCollapsed||!h.containsEntireContent(m)||!u.schema.checkChild(m,"paragraph"))return!1;const _=m.getChild(0);return!_||!_.is("element","paragraph")}_replaceEntireContentWithParagraph(c){const u=this.editor.model,m=u.schema.getLimitElement(u.document.selection),_=c.createElement("paragraph");c.remove(c.createRangeIn(m)),c.insert(_,m),c.setSelection(_,0)}_shouldReplaceFirstBlockWithParagraph(c,u){const h=this.editor.model;if(u>1||"backward"!=this.direction||!c.isCollapsed)return!1;const m=c.getFirstPosition(),_=h.schema.getLimitElement(m),b=_.getChild(0);return m.parent==b&&!!c.containsEntireContent(b)&&!!h.schema.checkChild(_,"paragraph")&&"paragraph"!=b.name}}const zd="selection",sp="backward",cm="forward",Bk={deleteContent:{unit:zd,direction:sp},deleteContentBackward:{unit:"codePoint",direction:sp},deleteWordBackward:{unit:"word",direction:sp},deleteHardLineBackward:{unit:zd,direction:sp},deleteSoftLineBackward:{unit:zd,direction:sp},deleteContentForward:{unit:"character",direction:cm},deleteWordForward:{unit:"word",direction:cm},deleteHardLineForward:{unit:zd,direction:cm},deleteSoftLineForward:{unit:zd,direction:cm}};class Vk extends la{constructor(c){super(c);const u=c.document;let h=0;u.on("keydown",()=>{h++}),u.on("keyup",()=>{h=0}),u.on("beforeinput",(m,_)=>{if(!this.isEnabled)return;const{targetRanges:b,domEvent:w,inputType:A}=_,M=Bk[A];if(!M)return;const R={direction:M.direction,unit:M.unit,sequence:h};R.unit==zd&&(R.selectionToRemove=c.createSelection(b[0])),"deleteContentBackward"===A&&(ae.isAndroid&&(R.sequence=1),function(N){if(1!=N.length||N[0].isCollapsed)return!1;const V=N[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let W=0;for(const{nextPosition:Y}of V){if(Y.parent.is("$text")){const ne=Y.parent.data,he=Y.offset;if(Gr(ne,he)||MT(ne,he)||Os(ne,he))continue;W++}else W++;if(W>1)return!0}return!1}(b)&&(R.unit=zd,R.selectionToRemove=c.createSelection(b)));const O=new el(u,"delete",b[0]);u.fire(O,new Uh(c,w,R)),O.stop.called&&m.stop()}),ae.isBlink&&function(m){const _=m.view,b=_.document;let w=null,A=!1;function M(O){return O==zi.backspace||O==zi.delete}function R(O){return O==zi.backspace?sp:cm}b.on("keydown",(O,{keyCode:N})=>{w=N,A=!1}),b.on("keyup",(O,{keyCode:N,domEvent:V})=>{const W=b.selection,Y=m.isEnabled&&N==w&&M(N)&&!W.isCollapsed&&!A;if(w=null,Y){const ne=W.getFirstRange(),he=new el(b,"delete",ne),Me={unit:zd,direction:R(N),selectionToRemove:W};b.fire(he,new Uh(_,V,Me))}}),b.on("beforeinput",(O,{inputType:N})=>{const V=Bk[N];M(w)&&V&&V.direction==R(w)&&(A=!0)},{priority:"high"}),b.on("beforeinput",(O,{inputType:N,data:V})=>{w==zi.delete&&"insertText"==N&&"\x7f"==V&&O.stop()},{priority:"high"})}(this)}observe(){}stopObserving(){}}class ys extends ht{static get pluginName(){return"Delete"}init(){const c=this.editor,u=c.editing.view,h=u.document,m=c.model.document;u.addObserver(Vk),this._undoOnBackspace=!1;const _=new S0(c,"forward");c.commands.add("deleteForward",_),c.commands.add("forwardDelete",_),c.commands.add("delete",new S0(c,"backward")),this.listenTo(h,"delete",(b,w)=>{h.isComposing||w.preventDefault();const{direction:A,sequence:M,selectionToRemove:R,unit:O}=w,N="forward"===A?"deleteForward":"delete",V={sequence:M};if("selection"==O){const W=Array.from(R.getRanges()).map(Y=>c.editing.mapper.toModelRange(Y));V.selection=c.model.createSelection(W)}else V.unit=O;c.execute(N,V),u.scrollToTheSelection()},{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(h,"delete",(b,w)=>{this._undoOnBackspace&&"backward"==w.direction&&1==w.sequence&&"codePoint"==w.unit&&(this._undoOnBackspace=!1,c.execute("undo"),w.preventDefault(),b.stop())},{context:"$capture"}),this.listenTo(m,"change",()=>{this._undoOnBackspace=!1}))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class _V extends ht{static get requires(){return[Lk,ys]}static get pluginName(){return"Typing"}}function hM(g,c){let u=g.start;return{text:Array.from(g.getWalker({ignoreElementEnd:!1})).reduce((h,{item:m})=>m.is("$text")||m.is("$textProxy")?h+m.data:(u=c.createPositionAfter(m),""),""),range:c.createRange(u,g.end)}}class T0 extends(_t()){constructor(c,u){super(),this.model=c,this.testCallback=u,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",()=>{this.isEnabled?this._startListening():(this.stopListening(c.document.selection),this.stopListening(c.document))}),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const c=this.model.document;this.listenTo(c.selection,"change:range",(u,{directChange:h})=>{h&&(c.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1))}),this.listenTo(c,"change:data",(u,h)=>{!h.isUndo&&h.isLocal&&this._evaluateTextBeforeSelection("data",{batch:h})})}_evaluateTextBeforeSelection(c,u={}){const h=this.model,m=h.document.selection,_=h.createRange(h.createPositionAt(m.focus.parent,0),m.focus),{text:b,range:w}=hM(_,h),A=this.testCallback(b);if(!A&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!A,A){const M=Object.assign(u,{text:b,range:w});"object"==typeof A&&Object.assign(M,A),this.fire(`matched:${c}`,M)}}}class pM extends ht{constructor(c){super(c),this._isNextGravityRestorationSkipped=!1,this.attributes=new Set,this._overrideUid=null}static get pluginName(){return"TwoStepCaretMovement"}init(){const c=this.editor,m=c.locale,_=c.model.document.selection;this.listenTo(c.editing.view.document,"arrowKey",(b,w)=>{if(!_.isCollapsed||w.shiftKey||w.altKey||w.ctrlKey)return;const A=w.keyCode==zi.arrowright,M=w.keyCode==zi.arrowleft;if(!A&&!M)return;const R=m.contentLanguageDirection;let O=!1;O="ltr"===R&&A||"rtl"===R&&M?this._handleForwardMovement(w):this._handleBackwardMovement(w),!0===O&&b.stop()},{context:"$text",priority:"highest"}),this.listenTo(_,"change:range",(b,w)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!w.directChange&&ha(_.getFirstPosition(),this.attributes)||this._restoreGravity())}),this._enableClickingAfterNode(),this._enableInsertContentSelectionAttributesFixer(),this._handleDeleteContentAfterNode()}registerAttribute(c){this.attributes.add(c)}_handleForwardMovement(c){const u=this.attributes,h=this.editor.model,m=h.document.selection,_=m.getFirstPosition();return!(this._isGravityOverridden||_.isAtStart&&Wc(m,u)||!ha(_,u)||(Hd(c),Wc(m,u)&&ha(_,u,!0)?Mu(h,u):this._overrideGravity(),0))}_handleBackwardMovement(c){const u=this.attributes,h=this.editor.model,m=h.document.selection,_=m.getFirstPosition();return this._isGravityOverridden?(Hd(c),this._restoreGravity(),ha(_,u,!0)?Mu(h,u):E0(h,u,_),!0):_.isAtStart?!!Wc(m,u)&&(Hd(c),E0(h,u,_),!0):!Wc(m,u)&&ha(_,u,!0)?(Hd(c),E0(h,u,_),!0):!!zk(_,u)&&(_.isAtEnd&&!Wc(m,u)&&ha(_,u)?(Hd(c),E0(h,u,_),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}_enableClickingAfterNode(){const c=this.editor,u=c.model,h=u.document.selection,m=c.editing.view.document;c.editing.view.addObserver(lk);let _=!1;this.listenTo(m,"mousedown",()=>{_=!0}),this.listenTo(m,"selectionChange",()=>{const b=this.attributes;if(!_||(_=!1,!h.isCollapsed)||!Wc(h,b))return;const w=h.getFirstPosition();ha(w,b)&&(w.isAtStart||ha(w,b,!0)?Mu(u,b):this._isGravityOverridden||this._overrideGravity())})}_enableInsertContentSelectionAttributesFixer(){const c=this.editor.model,u=c.document.selection,h=this.attributes;this.listenTo(c,"insertContent",()=>{const m=u.getFirstPosition();Wc(u,h)&&ha(m,h)&&Mu(c,h)},{priority:"low"})}_handleDeleteContentAfterNode(){const c=this.editor,u=c.model,h=u.document.selection;let _=!1,b=!1;this.listenTo(c.editing.view.document,"delete",(w,A)=>{_="backward"===A.direction},{priority:"high"}),this.listenTo(u,"deleteContent",()=>{if(!_)return;const w=h.getFirstPosition();b=Wc(h,this.attributes)&&!zk(w,this.attributes)},{priority:"high"}),this.listenTo(u,"deleteContent",()=>{_&&(_=!1,b||c.model.enqueueChange(()=>{const w=h.getFirstPosition();Wc(h,this.attributes)&&ha(w,this.attributes)&&(w.isAtStart||ha(w,this.attributes,!0)?Mu(u,this.attributes):this._isGravityOverridden||this._overrideGravity())}))},{priority:"low"})}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change(c=>c.overrideSelectionGravity())}_restoreGravity(){this.editor.model.change(c=>{c.restoreSelectionGravity(this._overrideUid),this._overrideUid=null})}}function Wc(g,c){for(const u of c)if(g.hasAttribute(u))return!0;return!1}function E0(g,c,u){const h=u.nodeBefore;g.change(m=>{if(h){const _=[],b=g.schema.isObject(h)&&g.schema.isInline(h);for(const[w,A]of h.getAttributes())!g.schema.checkAttribute("$text",w)||b&&!1===g.schema.getAttributeProperties(w).copyFromObject||_.push([w,A]);m.setSelectionAttribute(_)}else m.removeSelectionAttribute(c)})}function Mu(g,c){g.change(u=>{u.removeSelectionAttribute(c)})}function Hd(g){g.preventDefault()}function zk(g,c){return ha(g.getShiftedBy(-1),c)}function ha(g,c,u=!1){const{nodeBefore:h,nodeAfter:m}=g;for(const _ of c){const b=h?h.getAttribute(_):void 0,w=m?m.getAttribute(_):void 0;if((!u||void 0!==b&&void 0!==w)&&w!==b)return!0}return!1}const vV={copyright:{from:"(c)",to:"\xa9"},registeredTrademark:{from:"(r)",to:"\xae"},trademark:{from:"(tm)",to:"\u2122"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"\xbd",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"\u2153",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"\u2154",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"\xbc",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"\xbe",null]},lessThanOrEqual:{from:"<=",to:"\u2264"},greaterThanOrEqual:{from:">=",to:"\u2265"},notEqual:{from:"!=",to:"\u2260"},arrowLeft:{from:"<-",to:"\u2190"},arrowRight:{from:"->",to:"\u2192"},horizontalEllipsis:{from:"...",to:"\u2026"},enDash:{from:/(^| )(--)( )$/,to:[null,"\u2013",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"\u2014",null]},quotesPrimary:{from:ap('"'),to:[null,"\u201c",null,"\u201d"]},quotesSecondary:{from:ap("'"),to:[null,"\u2018",null,"\u2019"]},quotesPrimaryEnGb:{from:ap("'"),to:[null,"\u2018",null,"\u2019"]},quotesSecondaryEnGb:{from:ap('"'),to:[null,"\u201c",null,"\u201d"]},quotesPrimaryPl:{from:ap('"'),to:[null,"\u201e",null,"\u201d"]},quotesSecondaryPl:{from:ap("'"),to:[null,"\u201a",null,"\u2019"]}},gM={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},mM=["symbols","mathematical","typography","quotes"];function fM(g){return"string"==typeof g?new RegExp(`(${q2(g)})$`):g}function bV(g){return"string"==typeof g?()=>[g]:g instanceof Array?()=>g:g}function yV(g){return(g.textNode?g.textNode:g.nodeAfter).getAttributes()}function ap(g){return new RegExp(`(^|\\s)(${g})([^${g}]*)(${g})$`)}function W_(g,c,u,h){return h.createRange(dm(g,c,u,!0,h),dm(g,c,u,!1,h))}function dm(g,c,u,h,m){let _=g.textNode||(h?g.nodeBefore:g.nodeAfter),b=null;for(;_&&_.getAttribute(c)==u;)b=_,_=h?_.previousSibling:_.nextSibling;return b?m.createPositionAt(b,h?"before":"after"):g}function*_M(g,c){for(const u of c)u&&g.getAttributeProperties(u[0]).copyOnEnter&&(yield u)}class vM extends Bi{execute(){this.editor.model.change(c=>{this.enterBlock(c),this.fire("afterExecute",{writer:c})})}enterBlock(c){const u=this.editor.model,h=u.document.selection,m=u.schema,_=h.isCollapsed,b=h.getFirstRange(),w=b.start.parent,A=b.end.parent;if(m.isLimit(w)||m.isLimit(A))return _||w!=A||u.deleteContent(h),!1;if(_){const M=_M(c.model.schema,h.getAttributes());return Hk(c,b.start),c.setSelectionAttribute(M),!0}{const M=!(b.start.isAtStart&&b.end.isAtEnd),R=w==A;if(u.deleteContent(h,{leaveUnmerged:M}),M){if(R)return Hk(c,h.focus),!0;c.setSelection(A,0)}}return!1}}function Hk(g,c){g.split(c),g.setSelection(c.parent.nextSibling,0)}const CV={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class bM extends la{constructor(c){super(c);const u=this.document;let h=!1;u.on("keydown",(m,_)=>{h=_.shiftKey}),u.on("beforeinput",(m,_)=>{if(!this.isEnabled)return;let b=_.inputType;ae.isSafari&&h&&"insertParagraph"==b&&(b="insertLineBreak");const w=_.domEvent,A=CV[b];if(!A)return;const M=new el(u,"enter",_.targetRanges[0]);u.fire(M,new Uh(c,w,{isSoft:A.isSoft})),M.stop.called&&m.stop()})}observe(){}stopObserving(){}}class Ru extends ht{static get pluginName(){return"Enter"}init(){const c=this.editor,u=c.editing.view,h=u.document;u.addObserver(bM),c.commands.add("enter",new vM(c)),this.listenTo(h,"enter",(m,_)=>{h.isComposing||_.preventDefault(),_.isSoft||(c.execute("enter"),u.scrollToTheSelection())},{priority:"low"})}}class wV extends Bi{execute(){const c=this.editor.model,u=c.document;c.change(h=>{(function(m,_,b){const w=b.isCollapsed,A=b.getFirstRange(),R=A.end.parent,O=A.start.parent==R;if(w){const N=_M(m.schema,b.getAttributes());yM(m,_,A.end),_.removeSelectionAttribute(b.getAttributeKeys()),_.setSelectionAttribute(N)}else{const N=!(A.start.isAtStart&&A.end.isAtEnd);m.deleteContent(b,{leaveUnmerged:N}),O?yM(m,_,b.focus):N&&_.setSelection(R,0)}})(c,h,u.selection),this.fire("afterExecute",{writer:h})})}refresh(){const c=this.editor.model;this.isEnabled=function(h,m){if(m.rangeCount>1)return!1;const _=m.anchor;if(!_||!h.checkChild(_,"softBreak"))return!1;const b=m.getFirstRange(),w=b.start.parent,A=b.end.parent;return!((Gk(w,h)||Gk(A,h))&&w!==A)}(c.schema,c.document.selection)}}function yM(g,c,u){const h=c.createElement("softBreak");g.insertContent(h,u),c.setSelection(h,"after")}function Gk(g,c){return!g.is("rootElement")&&(c.isLimit(g)||Gk(g.parent,c))}class xV extends ht{static get pluginName(){return"ShiftEnter"}init(){const c=this.editor,h=c.conversion,m=c.editing.view,_=m.document;c.model.schema.register("softBreak",{allowWhere:"$text",isInline:!0}),h.for("upcast").elementToElement({model:"softBreak",view:"br"}),h.for("downcast").elementToElement({model:"softBreak",view:(b,{writer:w})=>w.createEmptyElement("br")}),m.addObserver(bM),c.commands.add("shiftEnter",new wV(c)),this.listenTo(_,"enter",(b,w)=>{_.isComposing||w.preventDefault(),w.isSoft&&(c.execute("shiftEnter"),m.scrollToTheSelection())},{priority:"low"})}}class kV extends(vn()){constructor(){super(...arguments),this._stack=[]}add(c,u){const h=this._stack,m=h[0];this._insertDescriptor(c);const _=h[0];m===_||jk(m,_)||this.fire("change:top",{oldDescriptor:m,newDescriptor:_,writer:u})}remove(c,u){const h=this._stack,m=h[0];this._removeDescriptor(c);const _=h[0];m===_||jk(m,_)||this.fire("change:top",{oldDescriptor:m,newDescriptor:_,writer:u})}_insertDescriptor(c){const u=this._stack,h=u.findIndex(_=>_.id===c.id);if(jk(c,u[h]))return;h>-1&&u.splice(h,1);let m=0;for(;u[m]&&DV(u[m],c);)m++;u.splice(m,0,c)}_removeDescriptor(c){const u=this._stack,h=u.findIndex(m=>m.id===c);h>-1&&u.splice(h,1)}}function jk(g,c){return g&&c&&g.priority==c.priority&&M0(g.classes)==M0(c.classes)}function DV(g,c){return g.priority>c.priority||!(g.priorityM0(c.classes)}function M0(g){return Array.isArray(g)?g.sort().join(","):g}const CM='',Ae="ck-widget",wM="ck-widget_selected";function dr(g){return!!g.is("element")&&!!g.getCustomProperty("widget")}function $k(g,c,u={}){if(!g.is("containerElement"))throw new fe("widget-to-widget-wrong-element-type",null,{element:g});return c.setAttribute("contenteditable","false",g),c.addClass(Ae,g),c.setCustomProperty("widget",!0,g),g.getFillerOffset=SV,c.setCustomProperty("widgetLabel",[],g),u.label&&(m=u.label,g.getCustomProperty("widgetLabel").push(m)),u.hasSelectionHandle&&function(h,m){const _=m.createUIElement("div",{class:"ck ck-widget__selection-handle"},function(b){const w=this.toDomElement(b),A=new Qo;return A.set("content",CM),A.render(),w.appendChild(A.element),w});m.insert(m.createPositionAt(h,0),_),m.addClass(["ck-widget_with-selection-handle"],h)}(g,c),xM(g,c),g;var m}function AV(g,c,u){if(c.classes&&u.addClass(ho(c.classes),g),c.attributes)for(const h in c.attributes)u.setAttribute(h,c.attributes[h],g)}function IV(g,c,u){if(c.classes&&u.removeClass(ho(c.classes),g),c.attributes)for(const h in c.attributes)u.removeAttribute(h,g)}function xM(g,c,u=AV,h=IV){const m=new kV;m.on("change:top",(_,b)=>{b.oldDescriptor&&h(g,b.oldDescriptor,b.writer),b.newDescriptor&&u(g,b.newDescriptor,b.writer)}),c.setCustomProperty("addHighlight",(_,b,w)=>m.add(b,w),g),c.setCustomProperty("removeHighlight",(_,b,w)=>m.remove(b,w),g)}function kM(g,c,u={}){return c.addClass(["ck-editor__editable","ck-editor__nested-editable"],g),c.setAttribute("role","textbox",g),u.label&&c.setAttribute("aria-label",u.label,g),c.setAttribute("contenteditable",g.isReadOnly?"false":"true",g),g.on("change:isReadOnly",(h,m,_)=>{c.setAttribute("contenteditable",_?"false":"true",g)}),g.on("change:isFocused",(h,m,_)=>{_?c.addClass("ck-editor__nested-editable_focused",g):c.removeClass("ck-editor__nested-editable_focused",g)}),xM(g,c),g}function DM(g,c){const u=g.getSelectedElement();if(u){const h=Ou(g);if(h)return c.createRange(c.createPositionAt(u,h))}return rk(g,c)}function SV(){return null}const qc="widget-type-around";function Pu(g,c,u){return!!g&&dr(g)&&!u.isInline(c)}function Ou(g){return g.getAttribute(qc)}var TV=ft(4921);At()(TV.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Uk=["before","after"],iq=(new DOMParser).parseFromString('',"image/svg+xml").firstChild,q_="ck-widget__type-around_disabled";class EV extends ht{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get requires(){return[Ru,ys]}init(){const c=this.editor,u=c.editing.view;this.on("change:isEnabled",(h,m,_)=>{u.change(b=>{for(const w of u.document.roots)_?b.removeClass(q_,w):b.addClass(q_,w)}),_||c.model.change(b=>{b.removeSelectionAttribute(qc)})}),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(c,u){const h=this.editor,m=h.editing.view,_=h.model.schema.getAttributesWithProperty(c,"copyOnReplace",!0);h.execute("insertParagraph",{position:h.model.createPositionAt(c,u),attributes:_}),m.focus(),m.scrollToTheSelection()}_listenToIfEnabled(c,u,h,m){this.listenTo(c,u,(..._)=>{this.isEnabled&&h(..._)},m)}_insertParagraphAccordingToFakeCaretPosition(){const c=this.editor.model.document.selection,u=Ou(c);if(!u)return!1;const h=c.getSelectedElement();return this._insertParagraph(h,u),!0}_enableTypeAroundUIInjection(){const c=this.editor,u=c.model.schema,h=c.locale.t,m={before:h("Insert paragraph before block"),after:h("Insert paragraph after block")};c.editing.downcastDispatcher.on("insert",(_,b,w)=>{const A=w.mapper.toViewElement(b.item);A&&Pu(A,b.item,u)&&(function(M,R,O){const N=M.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},function(V){const W=this.toDomElement(V);return function(Y,ne){for(const he of Uk){const Me=new rc({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${he}`],title:ne[he],"aria-hidden":"true"},children:[Y.ownerDocument.importNode(iq,!0)]});Y.appendChild(Me.render())}}(W,R),function(Y){const ne=new rc({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});Y.appendChild(ne.render())}(W),W});M.insert(M.createPositionAt(O,"end"),N)}(w.writer,m,A),A.getCustomProperty("widgetLabel").push(()=>this.isEnabled?h("Press Enter to type after or press Shift + Enter to type before the widget"):""))},{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const c=this.editor,u=c.model,h=u.document.selection,m=u.schema;function b(w){return`ck-widget_type-around_show-fake-caret_${w}`}this._listenToIfEnabled(c.editing.view.document,"arrowKey",(w,A)=>{this._handleArrowKeyPress(w,A)},{context:[dr,"$text"],priority:"high"}),this._listenToIfEnabled(h,"change:range",(w,A)=>{A.directChange&&c.model.change(M=>{M.removeSelectionAttribute(qc)})}),this._listenToIfEnabled(u.document,"change:data",()=>{const w=h.getSelectedElement();w&&Pu(c.editing.mapper.toViewElement(w),w,m)||c.model.change(A=>{A.removeSelectionAttribute(qc)})}),this._listenToIfEnabled(c.editing.downcastDispatcher,"selection",(w,A,M)=>{const R=M.writer;if(this._currentFakeCaretModelElement){const W=M.mapper.toViewElement(this._currentFakeCaretModelElement);W&&(R.removeClass(Uk.map(b),W),this._currentFakeCaretModelElement=null)}const O=A.selection.getSelectedElement();if(!O)return;const N=M.mapper.toViewElement(O);if(!Pu(N,O,m))return;const V=Ou(A.selection);V&&(R.addClass(b(V),N),this._currentFakeCaretModelElement=O)}),this._listenToIfEnabled(c.ui.focusTracker,"change:isFocused",(w,A,M)=>{M||c.model.change(R=>{R.removeSelectionAttribute(qc)})})}_handleArrowKeyPress(c,u){const h=this.editor,m=h.model,_=m.document.selection,b=m.schema,w=h.editing.view,A=function(O,N){const V=Lc(O,N);return"down"===V||"right"===V}(u.keyCode,h.locale.contentLanguageDirection),M=w.document.selection.getSelectedElement();let R;Pu(M,h.editing.mapper.toModelElement(M),b)?R=this._handleArrowKeyPressOnSelectedWidget(A):_.isCollapsed?R=this._handleArrowKeyPressWhenSelectionNextToAWidget(A):u.shiftKey||(R=this._handleArrowKeyPressWhenNonCollapsedSelection(A)),R&&(u.preventDefault(),c.stop())}_handleArrowKeyPressOnSelectedWidget(c){const u=this.editor.model,h=Ou(u.document.selection);return u.change(m=>h?h!==(c?"after":"before")&&(m.removeSelectionAttribute(qc),!0):(m.setSelectionAttribute(qc,c?"after":"before"),!0))}_handleArrowKeyPressWhenSelectionNextToAWidget(c){const u=this.editor,h=u.model,m=h.schema,_=u.plugins.get("Widget"),b=_._getObjectElementNextToSelection(c);return!!Pu(u.editing.mapper.toViewElement(b),b,m)&&(h.change(w=>{_._setSelectionOverElement(b),w.setSelectionAttribute(qc,c?"before":"after")}),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(c){const u=this.editor,h=u.model,m=h.schema,_=u.editing.mapper,b=h.document.selection,w=c?b.getLastPosition().nodeBefore:b.getFirstPosition().nodeAfter;return!!Pu(_.toViewElement(w),w,m)&&(h.change(A=>{A.setSelection(w,"on"),A.setSelectionAttribute(qc,c?"after":"before")}),!0)}_enableInsertingParagraphsOnButtonClick(){const c=this.editor,u=c.editing.view;this._listenToIfEnabled(u.document,"mousedown",(h,m)=>{const _=m.domTarget.closest(".ck-widget__type-around__button");if(!_)return;const b=_.classList.contains("ck-widget__type-around__button_before")?"before":"after",w=function(M,R){const O=M.closest(".ck-widget");return R.mapDomToView(O)}(_,u.domConverter),A=c.editing.mapper.toModelElement(w);this._insertParagraph(A,b),m.preventDefault(),h.stop()})}_enableInsertingParagraphsOnEnterKeypress(){const c=this.editor,u=c.model.document.selection;this._listenToIfEnabled(c.editing.view.document,"enter",(m,_)=>{if("atTarget"!=m.eventPhase)return;const b=u.getSelectedElement(),w=c.editing.mapper.toViewElement(b),A=c.model.schema;let M;this._insertParagraphAccordingToFakeCaretPosition()?M=!0:Pu(w,b,A)&&(this._insertParagraph(b,_.isSoft?"before":"after"),M=!0),M&&(_.preventDefault(),m.stop())},{context:dr})}_enableInsertingParagraphsOnTypingKeystroke(){const c=this.editor.editing.view.document;this._listenToIfEnabled(c,"insertText",(u,h)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(h.selection=c.selection)},{priority:"high"}),ae.isAndroid?this._listenToIfEnabled(c,"keydown",(u,h)=>{229==h.keyCode&&this._insertParagraphAccordingToFakeCaretPosition()}):this._listenToIfEnabled(c,"compositionstart",()=>{this._insertParagraphAccordingToFakeCaretPosition()},{priority:"high"})}_enableDeleteIntegration(){const c=this.editor,h=c.model,m=h.schema;this._listenToIfEnabled(c.editing.view.document,"delete",(_,b)=>{if("atTarget"!=_.eventPhase)return;const w=Ou(h.document.selection);if(!w)return;const A=b.direction,M=h.document.selection.getSelectedElement(),R="forward"==A;if("before"===w===R)c.execute("delete",{selection:h.createSelection(M,"on")});else{const O=m.getNearestSelectionRange(h.createPositionAt(M,w),A);if(O)if(O.isCollapsed){const N=h.createSelection(O.start);if(h.modifySelection(N,{direction:A}),N.focus.isEqual(O.start)){const V=function(W,Y){let ne=Y;for(const he of Y.getAncestors({parentFirst:!0})){if(he.childCount>1||W.isLimit(he))break;ne=he}return ne}(m,O.start.parent);h.deleteContent(h.createSelection(V,"on"),{doNotAutoparagraph:!0})}else h.change(V=>{V.setSelection(O),c.execute(R?"deleteForward":"delete")})}else h.change(N=>{N.setSelection(O),c.execute(R?"deleteForward":"delete")})}b.preventDefault(),_.stop()},{context:dr})}_enableInsertContentIntegration(){const u=this.editor.model,h=u.document.selection;this._listenToIfEnabled(this.editor.model,"insertContent",(m,[_,b])=>{if(b&&!b.is("documentSelection"))return;const w=Ou(h);return w?(m.stop(),u.change(A=>{const M=h.getSelectedElement(),R=u.createPositionAt(M,w),O=A.createSelection(R),N=u.insertContent(_,O);return A.setSelection(O),N})):void 0},{priority:"high"})}_enableInsertObjectIntegration(){const u=this.editor.model.document.selection;this._listenToIfEnabled(this.editor.model,"insertObject",(h,m)=>{const[,_,b={}]=m;if(_&&!_.is("documentSelection"))return;const w=Ou(u);w&&(b.findOptimalPosition=w,m[3]=b)},{priority:"high"})}_enableDeleteContentIntegration(){const u=this.editor.model.document.selection;this._listenToIfEnabled(this.editor.model,"deleteContent",(h,[m])=>{m&&!m.is("documentSelection")||Ou(u)&&h.stop()},{priority:"high"})}}function R0(g,c,u){const h=g.schema,m=g.createRangeIn(c.root),_="forward"==u?"elementStart":"elementEnd";for(const{previousPosition:b,item:w,type:A}of m.getWalker({startPosition:c,direction:u})){if(h.isLimit(w)&&!h.isInline(w))return b;if(A==_&&h.isBlock(w))return null}return null}function IM(g,c,u){const h="backward"==u?c.end:c.start;if(g.checkChild(h,"$text"))return h;for(const{nextPosition:m}of c.getWalker({direction:u}))if(g.checkChild(m,"$text"))return m;return null}var hc=ft(3488);At()(hc.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Er extends ht{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get requires(){return[EV,ys]}init(){const c=this.editor,u=c.editing.view,h=u.document;this.editor.editing.downcastDispatcher.on("selection",(m,_,b)=>{const w=b.writer,A=_.selection;if(A.isCollapsed)return;const M=A.getSelectedElement();if(!M)return;const R=c.editing.mapper.toViewElement(M);var O;dr(R)&&b.consumable.consume(A,"selection")&&w.setSelection(w.createRangeOn(R),{fake:!0,label:(O=R,O.getCustomProperty("widgetLabel").reduce((N,V)=>"function"==typeof V?N?N+". "+V():V():N?N+". "+V:V,""))})}),this.editor.editing.downcastDispatcher.on("selection",(m,_,b)=>{this._clearPreviouslySelectedWidgets(b.writer);const w=b.writer,A=w.document.selection;let M=null;for(const R of A.getRanges())for(const O of R){const N=O.item;dr(N)&&!lp(N,M)&&(w.addClass(wM,N),this._previouslySelected.add(N),M=N)}},{priority:"low"}),u.addObserver(lk),this.listenTo(h,"mousedown",(...m)=>this._onMousedown(...m)),this.listenTo(h,"arrowKey",(...m)=>{this._handleSelectionChangeOnArrowKeyPress(...m)},{context:[dr,"$text"]}),this.listenTo(h,"arrowKey",(...m)=>{this._preventDefaultOnArrowKeyPress(...m)},{context:"$root"}),this.listenTo(h,"arrowKey",function MV(g){const c=g.model;return(u,h)=>{const _=h.keyCode==zi.arrowdown,b=h.shiftKey,w=c.document.selection;if(h.keyCode!=zi.arrowup&&!_)return;const A=_;if(b&&!(R=w).isCollapsed&&R.isBackward==A)return;var R;const M=function(R,O,N){const V=R.model;if(N){const W=O.isCollapsed?O.focus:O.getLastPosition(),Y=R0(V,W,"forward");if(!Y)return null;const ne=V.createRange(W,Y),he=IM(V.schema,ne,"backward");return he?V.createRange(W,he):null}{const W=O.isCollapsed?O.focus:O.getFirstPosition(),Y=R0(V,W,"backward");if(!Y)return null;const ne=V.createRange(Y,W),he=IM(V.schema,ne,"forward");return he?V.createRange(he,W):null}}(g,w,A);if(M){if(M.isCollapsed&&(w.isCollapsed||b))return;(M.isCollapsed||function(R,O,N){const V=R.model,W=R.view.domConverter;if(N){const qe=V.createSelection(O.start);V.modifySelection(qe),qe.focus.isAtEnd||O.start.isEqual(qe.focus)||(O=V.createRange(qe.focus,O.end))}const Y=R.mapper.toViewRange(O),ne=W.viewRangeToDom(Y),he=un.getDomRangeRects(ne);let Me;for(const qe of he)if(void 0!==Me){if(Math.round(qe.top)>=Me)return!1;Me=Math.max(Me,Math.round(qe.bottom))}else Me=Math.round(qe.bottom);return!0}(g,M,A))&&(c.change(R=>{const O=A?M.end:M.start;if(b){const N=c.createSelection(w.anchor);N.setFocus(O),R.setSelection(N)}else R.setSelection(O)}),u.stop(),h.preventDefault(),h.stopPropagation())}}}(this.editor.editing),{context:"$text"}),this.listenTo(h,"delete",(m,_)=>{this._handleDelete("forward"==_.direction)&&(_.preventDefault(),m.stop())},{context:"$root"})}_onMousedown(c,u){const h=this.editor,m=h.editing.view,_=m.document;let b=u.target;if(u.domEvent.detail>=3)return void(this._selectBlockContent(b)&&u.preventDefault());if(function(A){let M=A;for(;M;){if(M.is("editableElement")&&!M.is("rootElement"))return!0;if(dr(M))return!1;M=M.parent}return!1}(b)||!dr(b)&&(b=b.findAncestor(dr),!b))return;ae.isAndroid&&u.preventDefault(),_.isFocused||m.focus();const w=h.editing.mapper.toModelElement(b);this._setSelectionOverElement(w)}_selectBlockContent(c){const u=this.editor,h=u.model,m=u.editing.mapper,_=h.schema,b=m.findMappedViewAncestor(this.editor.editing.view.createPositionAt(c,0)),w=function(A,M){for(const R of A.getAncestors({includeSelf:!0,parentFirst:!0})){if(M.checkChild(R,"$text"))return R;if(M.isLimit(R)&&!M.isObject(R))break}return null}(m.toModelElement(b),h.schema);return!!w&&(h.change(A=>{const M=_.isLimit(w)?null:function(N,V){const W=new lc({startPosition:N});for(const{item:Y}of W){if(V.isLimit(Y)||!Y.is("element"))return null;if(V.checkChild(Y,"$text"))return Y}return null}(A.createPositionAfter(w),_),R=A.createPositionAt(w,0),O=M?A.createPositionAt(M,0):A.createPositionAt(w,"end");A.setSelection(A.createRange(R,O))}),!0)}_handleSelectionChangeOnArrowKeyPress(c,u){const h=u.keyCode,m=this.editor.model,_=m.schema,b=m.document.selection,w=b.getSelectedElement(),A=Lc(h,this.editor.locale.contentLanguageDirection),M="down"==A||"right"==A,R="up"==A||"down"==A;if(w&&_.isObject(w)){const N=M?b.getLastPosition():b.getFirstPosition(),V=_.getNearestSelectionRange(N,M?"forward":"backward");return void(V&&(m.change(W=>{W.setSelection(V)}),u.preventDefault(),c.stop()))}if(!b.isCollapsed&&!u.shiftKey){const N=b.getFirstPosition(),V=b.getLastPosition(),W=N.nodeAfter,Y=V.nodeBefore;return void((W&&_.isObject(W)||Y&&_.isObject(Y))&&(m.change(ne=>{ne.setSelection(M?V:N)}),u.preventDefault(),c.stop()))}if(!b.isCollapsed)return;const O=this._getObjectElementNextToSelection(M);if(O&&_.isObject(O)){if(_.isInline(O)&&R)return;this._setSelectionOverElement(O),u.preventDefault(),c.stop()}}_preventDefaultOnArrowKeyPress(c,u){const h=this.editor.model,m=h.schema,_=h.document.selection.getSelectedElement();_&&m.isObject(_)&&(u.preventDefault(),c.stop())}_handleDelete(c){const u=this.editor.model.document.selection;if(!this.editor.model.canEditAt(u)||!u.isCollapsed)return;const h=this._getObjectElementNextToSelection(c);return h?(this.editor.model.change(m=>{let _=u.anchor.parent;for(;_.isEmpty;){const b=_;_=b.parent,m.remove(b)}this._setSelectionOverElement(h)}),!0):void 0}_setSelectionOverElement(c){this.editor.model.change(u=>{u.setSelection(u.createRangeOn(c))})}_getObjectElementNextToSelection(c){const u=this.editor.model,h=u.schema,m=u.document.selection,_=u.createSelection(m);if(u.modifySelection(_,{direction:c?"forward":"backward"}),_.isEqual(m))return null;const b=c?_.focus.nodeBefore:_.focus.nodeAfter;return b&&h.isObject(b)?b:null}_clearPreviouslySelectedWidgets(c){for(const u of this._previouslySelected)c.removeClass(wM,u);this._previouslySelected.clear()}}function lp(g,c){return!!c&&Array.from(g.getAncestors()).includes(c)}class cp extends ht{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[y0]}static get pluginName(){return"WidgetToolbarRepository"}init(){const c=this.editor;if(c.plugins.has("BalloonToolbar")){const u=c.plugins.get("BalloonToolbar");this.listenTo(u,"show",h=>{(function(m){const _=m.getSelectedElement();return!(!_||!dr(_))})(c.editing.view.document.selection)&&h.stop()},{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",()=>{this._updateToolbarsVisibility()}),this.listenTo(c.ui,"update",()=>{this._updateToolbarsVisibility()}),this.listenTo(c.ui.focusTracker,"change:isFocused",()=>{this._updateToolbarsVisibility()},{priority:"low"})}destroy(){super.destroy();for(const c of this._toolbarDefinitions.values())c.view.destroy()}register(c,{ariaLabel:u,items:h,getRelatedElement:m,balloonClassName:_="ck-toolbar-container"}){if(!h.length)return void St("widget-toolbar-no-items",{toolbarId:c});const b=this.editor,w=b.t,A=new Tu(b.locale);if(A.ariaLabel=u||w("Widget toolbar"),this._toolbarDefinitions.has(c))throw new fe("widget-toolbar-duplicated",this,{toolbarId:c});const M={view:A,getRelatedElement:m,balloonClassName:_,itemsConfig:h,initialized:!1};b.ui.addToolbar(A,{isContextual:!0,beforeFocus:()=>{const R=m(b.editing.view.document.selection);R&&this._showToolbar(M,R)},afterBlur:()=>{this._hideToolbar(M)}}),this._toolbarDefinitions.set(c,M)}_updateToolbarsVisibility(){let c=0,u=null,h=null;for(const m of this._toolbarDefinitions.values()){const _=m.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&_)if(this.editor.ui.focusTracker.isFocused){const b=_.getAncestors().length;b>c&&(c=b,u=_,h=m)}else this._isToolbarVisible(m)&&this._hideToolbar(m);else this._isToolbarInBalloon(m)&&this._hideToolbar(m)}h&&this._showToolbar(h,u)}_hideToolbar(c){this._balloon.remove(c.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(c,u){this._isToolbarVisible(c)?rl(this.editor,u):this._isToolbarInBalloon(c)||(c.initialized||(c.initialized=!0,c.view.fillFromConfig(c.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:c.view,position:ge(this.editor,u),balloonClassName:c.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",()=>{for(const h of this._toolbarDefinitions.values())if(this._isToolbarVisible(h)){const m=h.getRelatedElement(this.editor.editing.view.document.selection);rl(this.editor,m)}}))}_isToolbarVisible(c){return this._balloon.visibleView===c.view}_isToolbarInBalloon(c){return this._balloon.hasView(c.view)}}function rl(g,c){const u=g.plugins.get("ContextualBalloon"),h=ge(g,c);u.updatePosition(h)}function ge(g,c){const h=ua.defaultPositions;return{target:g.editing.view.domConverter.mapViewToDom(c),positions:[h.northArrowSouth,h.northArrowSouthWest,h.northArrowSouthEast,h.southArrowNorth,h.southArrowNorthWest,h.southArrowNorthEast,h.viewportStickyNorth]}}_t(),_t();var dp=ft(8506);At()(dp.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Fu=wd("px");class hm extends gi{constructor(){super();const c=this.bindTemplate;this.set({isVisible:!1,left:null,top:null,width:null}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-clipboard-drop-target-line",c.if("isVisible","ck-hidden",u=>!u)],style:{left:c.to("left",u=>Fu(u)),top:c.to("top",u=>Fu(u)),width:c.to("width",u=>Fu(u))}}})}}class Gd extends ht{constructor(){super(...arguments),this.removeDropMarkerDelayed=Rh(()=>this.removeDropMarker(),40),this._updateDropMarkerThrottled=nm(c=>this._updateDropMarker(c),40),this._reconvertMarkerThrottled=nm(()=>{this.editor.model.markers.has("drop-target")&&this.editor.editing.reconvertMarker("drop-target")},0),this._dropTargetLineView=new hm,this._domEmitter=new(Za()),this._scrollables=new Map}static get pluginName(){return"DragDropTarget"}init(){this._setupDropMarker()}destroy(){this._domEmitter.stopListening();for(const{resizeObserver:c}of this._scrollables.values())c.destroy();return this._updateDropMarkerThrottled.cancel(),this.removeDropMarkerDelayed.cancel(),this._reconvertMarkerThrottled.cancel(),super.destroy()}updateDropMarker(c,u,h,m,_,b){this.removeDropMarkerDelayed.cancel();const w=up(this.editor,c,u,h,m,_,b);if(w)return b&&b.containsRange(w)?this.removeDropMarker():void this._updateDropMarkerThrottled(w)}getFinalDropRange(c,u,h,m,_,b){const w=up(this.editor,c,u,h,m,_,b);return this.removeDropMarker(),w}removeDropMarker(){const c=this.editor.model;this.removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),this._dropTargetLineView.isVisible=!1,c.markers.has("drop-target")&&c.change(u=>{u.removeMarker("drop-target")})}_setupDropMarker(){const c=this.editor;c.ui.view.body.add(this._dropTargetLineView),c.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),c.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(u,{writer:h})=>{if(c.model.schema.checkChild(u.markerRange.start,"$text"))return this._dropTargetLineView.isVisible=!1,this._createDropTargetPosition(h);u.markerRange.isCollapsed?this._updateDropTargetLine(u.markerRange):this._dropTargetLineView.isVisible=!1}})}_updateDropMarker(c){const u=this.editor,h=u.model.markers;u.model.change(m=>{h.has("drop-target")?h.get("drop-target").getRange().isEqual(c)||m.updateMarker("drop-target",{range:c}):m.addMarker("drop-target",{range:c,usingOperation:!1,affectsData:!1})})}_createDropTargetPosition(c){return c.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},function(u){const h=this.toDomElement(u);return h.append("\u2060",u.createElement("span"),"\u2060"),h})}_updateDropTargetLine(c){const u=this.editor.editing,h=c.start.nodeBefore,m=c.start.nodeAfter,_=c.start.parent,b=h?u.mapper.toViewElement(h):null,w=b?u.view.domConverter.mapViewToDom(b):null,A=m?u.mapper.toViewElement(m):null,M=A?u.view.domConverter.mapViewToDom(A):null,R=u.mapper.toViewElement(_),O=u.view.domConverter.mapViewToDom(R),N=this._getScrollableRect(R),{scrollX:V,scrollY:W}=de.window,Y=w?new un(w):null,ne=M?new un(M):null,he=new un(O).excludeScrollbarsAndBorders(),Me=Y?Y.bottom:he.top,qe=ne?ne.top:he.bottom,kt=de.window.getComputedStyle(O),$t=Me<=qe?(Me+qe)/2:qe;if(N.top<$t&&$tw.schema.checkChild(O,N))){if(w.schema.checkChild(O,"$text"))return w.createRange(O);if(R)return jd(g,Wk(g,R.parent),h,m)}}}else if(w.schema.isInline(M))return jd(g,M,h,m);if(w.schema.isBlock(M))return jd(g,M,h,m);if(w.schema.checkChild(M,"$block")){const R=Array.from(M.getChildren()).filter(V=>V.is("element")&&!pm(g,V));let O=0,N=R.length;if(0==N)return w.createRange(w.createPositionAt(M,"end"));for(;Oc in g?SM(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class PM extends ht{constructor(){super(...arguments),this._isBlockDragging=!1,this._domEmitter=new(Za())}static get pluginName(){return"DragDropBlockToolbar"}init(){const c=this.editor;if(this.listenTo(c,"change:isReadOnly",(u,h,m)=>{m?(this.forceDisabled("readOnlyMode"),this._isBlockDragging=!1):this.clearForceDisabled("readOnlyMode")}),ae.isAndroid&&this.forceDisabled("noAndroidSupport"),c.plugins.has("BlockToolbar")){const u=c.plugins.get("BlockToolbar").buttonView.element;this._domEmitter.listenTo(u,"dragstart",(h,m)=>this._handleBlockDragStart(m)),this._domEmitter.listenTo(de.document,"dragover",(h,m)=>this._handleBlockDragging(m)),this._domEmitter.listenTo(de.document,"drop",(h,m)=>this._handleBlockDragging(m)),this._domEmitter.listenTo(de.document,"dragend",()=>this._handleBlockDragEnd(),{useCapture:!0}),this.isEnabled&&u.setAttribute("draggable","true"),this.on("change:isEnabled",(h,m,_)=>{u.setAttribute("draggable",_?"true":"false")})}}destroy(){return this._domEmitter.stopListening(),super.destroy()}_handleBlockDragStart(c){if(!this.isEnabled)return;const u=this.editor.model,m=this.editor.editing.view,_=Array.from(u.document.selection.getSelectedBlocks()),b=u.createRange(u.createPositionBefore(_[0]),u.createPositionAfter(_[_.length-1]));u.change(w=>w.setSelection(b)),this._isBlockDragging=!0,m.focus(),m.getObserver($_).onDomEvent(c)}_handleBlockDragging(c){if(!this.isEnabled||!this._isBlockDragging)return;const u=c.clientX+("ltr"==this.editor.locale.contentLanguageDirection?100:-100),h=c.clientY,m=document.elementFromPoint(u,h),_=this.editor.editing.view;var b;m&&m.closest(".ck-editor__editable")&&_.getObserver($_).onDomEvent((b=((A,M)=>{for(var R in M||(M={}))MM.call(M,R)&&Kk(A,R,M[R]);if(qk)for(var R of qk(M))RM.call(M,R)&&Kk(A,R,M[R]);return A})({},c),TM(b,EM({type:c.type,dataTransfer:c.dataTransfer,target:m,clientX:u,clientY:h,preventDefault:()=>c.preventDefault(),stopPropagation:()=>c.stopPropagation()}))))}_handleBlockDragEnd(){this._isBlockDragging=!1}}var P0=ft(903);At()(P0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class nq extends ht{constructor(){super(...arguments),this._clearDraggableAttributesDelayed=Rh(()=>this._clearDraggableAttributes(),40),this._blockMode=!1,this._domEmitter=new(Za())}static get pluginName(){return"DragDrop"}static get requires(){return[Ll,Er,Gd,PM]}init(){const c=this.editor,u=c.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,u.addObserver($_),u.addObserver(lk),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDraggableAttributeHandling(),this.listenTo(c,"change:isReadOnly",(h,m,_)=>{_?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")}),this.on("change:isEnabled",(h,m,_)=>{_||this._finalizeDragging(!1)}),ae.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._previewContainer&&this._previewContainer.remove(),this._domEmitter.stopListening(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const c=this.editor,u=c.model,h=c.editing.view,m=h.document,_=c.plugins.get(Gd);this.listenTo(m,"dragstart",(b,w)=>{if(w.target&&w.target.is("editableElement")||(this._prepareDraggedRange(w.target),!this._draggedRange))return void w.preventDefault();this._draggingUid=Lt(),w.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",w.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const A=u.createSelection(this._draggedRange.toRange());this.editor.plugins.get("ClipboardPipeline")._fireOutputTransformationEvent(w.dataTransfer,A,"dragstart");const{dataTransfer:M,domTarget:R,domEvent:O}=w,{clientX:N}=O;this._updatePreview({dataTransfer:M,domTarget:R,clientX:N}),w.stopPropagation(),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")},{priority:"low"}),this.listenTo(m,"dragend",(b,w)=>{this._finalizeDragging(!w.dataTransfer.isCanceled&&"move"==w.dataTransfer.dropEffect)},{priority:"low"}),this._domEmitter.listenTo(de.document,"dragend",()=>{this._blockMode=!1},{useCapture:!0}),this.listenTo(m,"dragenter",()=>{this.isEnabled&&h.focus()}),this.listenTo(m,"dragleave",()=>{_.removeDropMarkerDelayed()}),this.listenTo(m,"dragging",(b,w)=>{if(!this.isEnabled)return void(w.dataTransfer.dropEffect="none");const{clientX:A,clientY:M}=w.domEvent;_.updateDropMarker(w.target,w.targetRanges,A,M,this._blockMode,this._draggedRange),this._draggedRange||(w.dataTransfer.dropEffect="copy"),ae.isGecko||("copy"==w.dataTransfer.effectAllowed?w.dataTransfer.dropEffect="copy":["all","copyMove"].includes(w.dataTransfer.effectAllowed)&&(w.dataTransfer.dropEffect="move")),b.stop()},{priority:"low"})}_setupClipboardInputIntegration(){const c=this.editor,u=c.editing.view.document,h=c.plugins.get(Gd);this.listenTo(u,"clipboardInput",(m,_)=>{if("drop"!=_.method)return;const{clientX:b,clientY:w}=_.domEvent,A=h.getFinalDropRange(_.target,_.targetRanges,b,w,this._blockMode,this._draggedRange);return A?(this._draggedRange&&this._draggingUid!=_.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid=""),"move"==PV(_.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(A,!0)?(this._finalizeDragging(!1),void m.stop()):void(_.targetRanges=[c.editing.mapper.toViewRange(A)])):(this._finalizeDragging(!1),void m.stop())},{priority:"high"})}_setupContentInsertionIntegration(){const c=this.editor.plugins.get(Ll);c.on("contentInsertion",(u,h)=>{if(!this.isEnabled||"drop"!==h.method)return;const m=h.targetRanges.map(_=>this.editor.editing.mapper.toModelRange(_));this.editor.model.change(_=>_.setSelection(m))},{priority:"high"}),c.on("contentInsertion",(u,h)=>{if(!this.isEnabled||"drop"!==h.method)return;const m="move"==PV(h.dataTransfer);this._finalizeDragging((!h.resultRange||!h.resultRange.isCollapsed)&&m)},{priority:"lowest"})}_setupDraggableAttributeHandling(){const c=this.editor,u=c.editing.view,h=u.document;this.listenTo(h,"mousedown",(m,_)=>{if(ae.isAndroid||!_)return;this._clearDraggableAttributesDelayed.cancel();let b=OM(_.target);if(ae.isBlink&&!c.isReadOnly&&!b&&!h.selection.isCollapsed){const w=h.selection.getSelectedElement();w&&dr(w)||(b=h.selection.editableElement)}b&&(u.change(w=>{w.setAttribute("draggable","true",b)}),this._draggableElement=c.editing.mapper.toModelElement(b))}),this.listenTo(h,"mouseup",()=>{ae.isAndroid||this._clearDraggableAttributesDelayed()})}_clearDraggableAttributes(){const c=this.editor.editing;c.view.change(u=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&u.removeAttribute("draggable",c.mapper.toViewElement(this._draggableElement)),this._draggableElement=null})}_finalizeDragging(c){const u=this.editor,h=u.model;u.plugins.get(Gd).removeDropMarker(),this._clearDraggableAttributes(),u.plugins.has("WidgetToolbarRepository")&&u.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop"),this._draggingUid="",this._previewContainer&&(this._previewContainer.remove(),this._previewContainer=void 0),this._draggedRange&&(c&&this.isEnabled&&h.change(m=>{const _=h.createSelection(this._draggedRange);h.deleteContent(_,{doNotAutoparagraph:!0});const b=_.getFirstPosition().parent;b.isEmpty&&!h.schema.checkChild(b,"$text")&&h.schema.checkChild(b,"paragraph")&&m.insertElement("paragraph",b,0)}),this._draggedRange.detach(),this._draggedRange=null)}_prepareDraggedRange(c){const u=this.editor,h=u.model,m=h.document.selection,_=c?OM(c):null;if(_){const M=u.editing.mapper.toModelElement(_);return this._draggedRange=Na.fromRange(h.createRangeOn(M)),this._blockMode=h.schema.isBlock(M),void(u.plugins.has("WidgetToolbarRepository")&&u.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop"))}if(m.isCollapsed&&!m.getFirstPosition().parent.isEmpty)return;const b=Array.from(m.getSelectedBlocks()),w=m.getFirstRange();if(0==b.length)return void(this._draggedRange=Na.fromRange(w));const A=FM(h,b);if(b.length>1)this._draggedRange=Na.fromRange(A),this._blockMode=!0;else if(1==b.length){const M=w.start.isTouching(A.start)&&w.end.isTouching(A.end);this._draggedRange=Na.fromRange(M?A:w),this._blockMode=M}h.change(M=>M.setSelection(this._draggedRange.toRange()))}_updatePreview({dataTransfer:c,domTarget:u,clientX:h}){const m=this.editor.editing.view,b=m.domConverter.mapViewToDom(m.document.selection.editableElement),w=de.window.getComputedStyle(b);this._previewContainer?this._previewContainer.firstElementChild&&this._previewContainer.removeChild(this._previewContainer.firstElementChild):(this._previewContainer=_d(de.document,"div",{style:"position: fixed; left: -999999px;"}),de.document.body.appendChild(this._previewContainer));const A=new un(b);if(b.contains(u))return;const M=parseFloat(w.paddingLeft),R=_d(de.document,"div");R.className="ck ck-content",R.style.width=w.width,R.style.paddingLeft=`${A.left-h+M}px`,ae.isiOS&&(R.style.backgroundColor="white"),R.innerHTML=c.getData("text/html"),c.setDragImage(R,0,0),this._previewContainer.appendChild(R)}}function PV(g){return ae.isGecko?g.dropEffect:["all","copyMove"].includes(g.effectAllowed)?"move":"copy"}function OM(g){if(g.is("editableElement"))return null;if(g.hasClass("ck-widget__selection-handle"))return g.findAncestor(dr);if(dr(g))return g;const c=g.findAncestor(u=>dr(u)||u.is("editableElement"));return dr(c)?c:null}function FM(g,c){const u=c[0],h=c[c.length-1],m=u.getCommonAncestor(h),_=g.createPositionBefore(u),b=g.createPositionAfter(h);if(m&&m.is("element")&&!g.schema.isLimit(m)){const w=g.createRangeOn(m),A=_.isTouching(w.start),M=b.isTouching(w.end);if(A&&M)return FM(g,[m])}return g.createRange(_,b)}class oq extends ht{static get pluginName(){return"PastePlainText"}static get requires(){return[Ll]}init(){const c=this.editor,u=c.model,h=c.editing.view,m=h.document,_=u.document.selection;let b=!1;h.addObserver($_),this.listenTo(m,"keydown",(w,A)=>{b=A.shiftKey}),c.plugins.get(Ll).on("contentInsertion",(w,A)=>{(b||function(M,R){if(M.childCount>1)return!1;const O=M.getChild(0);return!R.isObject(O)&&0==Array.from(O.getAttributeKeys()).length}(A.content,u.schema))&&u.change(M=>{const R=Array.from(_.getAttributes()).filter(([N])=>u.schema.getAttributeProperties(N).isFormatting);_.isCollapsed||u.deleteContent(_,{doNotAutoparagraph:!0}),R.push(..._.getAttributes());const O=M.createRangeIn(A.content);for(const N of O.getItems())N.is("$textProxy")&&M.setAttributes(R,N)})})}}class NM extends ht{static get pluginName(){return"Clipboard"}static get requires(){return[Ll,nq,oq]}}class rq extends Bi{constructor(c){super(c),this.affectsData=!1}execute(){const c=this.editor.model,u=c.document.selection;let h=c.schema.getLimitElement(u);if(u.containsEntireContent(h)||!LM(c.schema,h))do{if(h=h.parent,!h)return}while(!LM(c.schema,h));c.change(m=>{m.setSelection(h,"in")})}}function LM(g,c){return g.isLimit(c)&&(g.checkChild(c,"$text")||g.checkChild(c,"paragraph"))}const OV=kd("Ctrl+A");class FV extends ht{static get pluginName(){return"SelectAllEditing"}init(){const c=this.editor,u=c.editing.view.document;c.commands.add("selectAll",new rq(c)),this.listenTo(u,"keydown",(h,m)=>{Js(m)===OV&&(c.execute("selectAll"),m.preventDefault())})}}class Yk extends ht{static get pluginName(){return"SelectAllUI"}init(){const c=this.editor;c.ui.componentFactory.add("selectAll",u=>{const h=c.commands.get("selectAll"),m=new Hn(u);return m.set({label:(0,u.t)("Select all"),icon:'',keystroke:"Ctrl+A",tooltip:!0}),m.bind("isEnabled").to(h,"isEnabled"),this.listenTo(m,"execute",()=>{c.execute("selectAll"),c.editing.view.focus()}),m})}}class Y_ extends ht{static get requires(){return[FV,Yk]}static get pluginName(){return"SelectAll"}}var Qk=Object.defineProperty,Q_=Object.getOwnPropertySymbols,BM=Object.prototype.hasOwnProperty,X_=Object.prototype.propertyIsEnumerable,Xk=(g,c,u)=>c in g?Qk(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class VM extends Bi{constructor(c){super(c),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(c.data,"set",(u,h)=>{h[1]=((_,b)=>{for(var w in b||(b={}))BM.call(b,w)&&Xk(_,w,b[w]);if(Q_)for(var w of Q_(b))X_.call(b,w)&&Xk(_,w,b[w]);return _})({},h[1]);const m=h[1];m.batchType||(m.batchType={isUndoable:!1})},{priority:"high"}),this.listenTo(c.data,"set",(u,h)=>{h[1].batchType.isUndoable||this.clearStack()})}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(c){const u=this.editor.model.document.selection,h={ranges:u.hasOwnRange?Array.from(u.getRanges()):[],isBackward:u.isBackward};this._stack.push({batch:c,selection:h}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(c,u,h){const m=this.editor.model,_=m.document,b=[],w=c.map(M=>M.getTransformedByOperations(h)),A=w.flat();for(const M of w){const R=M.filter(O=>O.root!=_.graveyard).filter(O=>!NV(O,A));R.length&&(Z_(R),b.push(R[0]))}b.length&&m.change(M=>{M.setSelection(b,{backward:u})})}_undo(c,u){const h=this.editor.model,m=h.document;this._createdBatches.add(u);const _=c.operations.slice().filter(b=>b.isDocumentOperation);_.reverse();for(const b of _){const A=Array.from(m.history.getOperations(b.baseVersion+1)),M=QE([b.getReversed()],A,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let R of M){const O=R.affectedSelectable;O&&!h.canEditAt(O)&&(R=new Sr(R.baseVersion)),u.addOperation(R),h.applyOperation(R),m.history.setOperationAsUndone(b,R)}}}}function Z_(g){g.sort((c,u)=>c.start.isBefore(u.start)?-1:1);for(let c=1;cu!==g&&u.containsRange(g,!0))}class LV extends VM{execute(c=null){const u=c?this._stack.findIndex(_=>_.batch==c):this._stack.length-1,h=this._stack.splice(u,1)[0],m=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(m,()=>{this._undo(h.batch,m);const _=this.editor.model.document.history.getOperations(h.batch.baseVersion);this._restoreSelection(h.selection.ranges,h.selection.isBackward,_)}),this.fire("revert",h.batch,m),this.refresh()}}class BV extends VM{execute(){const c=this._stack.pop(),u=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(u,()=>{const m=this.editor.model.document.history.getOperations(c.batch.operations[c.batch.operations.length-1].baseVersion+1);this._restoreSelection(c.selection.ranges,c.selection.isBackward,m),this._undo(c.batch,u)}),this.refresh()}}class VV extends ht{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}init(){const c=this.editor;this._undoCommand=new LV(c),this._redoCommand=new BV(c),c.commands.add("undo",this._undoCommand),c.commands.add("redo",this._redoCommand),this.listenTo(c.model,"applyOperation",(u,h)=>{const m=h[0];if(!m.isDocumentOperation)return;const _=m.batch,b=this._redoCommand.createdBatches.has(_),w=this._undoCommand.createdBatches.has(_);this._batchRegistry.has(_)||(this._batchRegistry.add(_),_.isUndoable&&(b?this._undoCommand.addBatch(_):w||(this._undoCommand.addBatch(_),this._redoCommand.clearStack())))},{priority:"highest"}),this.listenTo(this._undoCommand,"revert",(u,h,m)=>{this._redoCommand.addBatch(m)}),c.keystrokes.set("CTRL+Z","undo"),c.keystrokes.set("CTRL+Y","redo"),c.keystrokes.set("CTRL+SHIFT+Z","redo")}}const O0='',J_='';class F0 extends ht{static get pluginName(){return"UndoUI"}init(){const c=this.editor,u=c.locale,h=c.t,m="ltr"==u.uiLanguageDirection?O0:J_,_="ltr"==u.uiLanguageDirection?J_:O0;this._addButton("undo",h("Undo"),"CTRL+Z",m),this._addButton("redo",h("Redo"),"CTRL+Y",_)}_addButton(c,u,h,m){const _=this.editor;_.ui.componentFactory.add(c,b=>{const w=_.commands.get(c),A=new Hn(b);return A.set({label:u,icon:m,keystroke:h,tooltip:!0}),A.bind("isEnabled").to(w,"isEnabled"),this.listenTo(A,"execute",()=>{_.execute(c),_.editing.view.focus()}),A})}}class zV extends ht{static get requires(){return[VV,F0]}static get pluginName(){return"Undo"}}class HV extends(_t()){constructor(){super();const c=new window.FileReader;this._reader=c,this._data=void 0,this.set("loaded",0),c.onprogress=u=>{this.loaded=u.loaded}}get error(){return this._reader.error}get data(){return this._data}read(c){const u=this._reader;return this.total=c.size,new Promise((h,m)=>{u.onload=()=>{const _=u.result;this._data=_,h(_)},u.onerror=()=>{m("error")},u.onabort=()=>{m("aborted")},this._reader.readAsDataURL(c)})}abort(){this._reader.abort()}}class pc extends ht{constructor(){super(...arguments),this.loaders=new Oa,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get requires(){return[_r]}init(){this.loaders.on("change",()=>this._updatePendingAction()),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(c,u)=>u?c/u*100:0)}getLoader(c){return this._loadersMap.get(c)||null}createLoader(c){if(!this.createUploadAdapter)return St("filerepository-no-upload-adapter"),null;const u=new N0(Promise.resolve(c),this.createUploadAdapter);return this.loaders.add(u),this._loadersMap.set(c,u),c instanceof Promise&&u.file.then(h=>{this._loadersMap.set(h,u)}).catch(()=>{}),u.on("change:uploaded",()=>{let h=0;for(const m of this.loaders)h+=m.uploaded;this.uploaded=h}),u.on("change:uploadTotal",()=>{let h=0;for(const m of this.loaders)m.uploadTotal&&(h+=m.uploadTotal);this.uploadTotal=h}),u}destroyLoader(c){const u=c instanceof N0?c:this.getLoader(c);u._destroy(),this.loaders.remove(u),this._loadersMap.forEach((h,m)=>{h===u&&this._loadersMap.delete(m)})}_updatePendingAction(){const c=this.editor.plugins.get(_r);if(this.loaders.length){if(!this._pendingAction){const u=this.editor.t,h=m=>`${u("Upload in progress")} ${parseInt(m)}%.`;this._pendingAction=c.add(h(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",h)}}else c.remove(this._pendingAction),this._pendingAction=null}}class N0 extends(_t()){constructor(c,u){super(),this.id=Lt(),this._filePromiseWrapper=this._createFilePromiseWrapper(c),this._adapter=u(this),this._reader=new HV,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(h,m)=>m?h/m*100:0),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then(c=>this._filePromiseWrapper?c:null):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new fe("filerepository-read-wrong-status",this);return this.status="reading",this.file.then(c=>this._reader.read(c)).then(c=>{if("reading"!==this.status)throw this.status;return this.status="idle",c}).catch(c=>{throw"aborted"===c?(this.status="aborted","aborted"):(this.status="error",this._reader.error?this._reader.error:c)})}upload(){if("idle"!=this.status)throw new fe("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then(()=>this._adapter.upload()).then(c=>(this.uploadResponse=c,this.status="idle",c)).catch(c=>{throw"aborted"===this.status?"aborted":(this.status="error",c)})}abort(){const c=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==c?this._reader.abort():"uploading"==c&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch(()=>{}),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(c){const u={};return u.promise=new Promise((h,m)=>{u.rejecter=m,u.isFulfilled=!1,c.then(_=>{u.isFulfilled=!0,h(_)}).catch(_=>{u.isFulfilled=!0,m(_)})}),u}}class GV extends Hn{constructor(c){super(c),this.buttonView=this,this._fileInputView=new zM(c),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.on("execute",()=>{this._fileInputView.open()}),this.extendTemplate({attributes:{class:"ck-file-dialog-button"}})}render(){super.render(),this.children.add(this._fileInputView)}}class zM extends gi{constructor(c){super(c),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const u=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:u.to("acceptedType"),multiple:u.to("allowMultipleFiles")},on:{change:u.to(()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""})}})}open(){this.element.click()}}const HM="ckCsrfToken";class jM{constructor(c,u,h){this.loader=c,this.url=u,this.t=h}upload(){return this.loader.file.then(c=>new Promise((u,h)=>{this._initRequest(),this._initListeners(u,h,c),this._sendRequest(c)}))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const c=this.xhr=new XMLHttpRequest;c.open("POST",this.url,!0),c.responseType="json"}_initListeners(c,u,h){const m=this.xhr,_=this.loader,b=(0,this.t)("Cannot upload file:")+` ${h.name}.`;m.addEventListener("error",()=>u(b)),m.addEventListener("abort",()=>u()),m.addEventListener("load",()=>{const w=m.response;if(!w||!w.uploaded)return u(w&&w.error&&w.error.message?w.error.message:b);c({default:w.url})}),m.upload&&m.upload.addEventListener("progress",w=>{w.lengthComputable&&(_.uploadTotal=w.total,_.uploaded=w.loaded)})}_sendRequest(c){const u=new FormData;u.append("upload",c),u.append("ckCsrfToken",function I(){let g=function(h){h=h.toLowerCase();const m=document.cookie.split(";");for(const _ of m){const b=_.split("=");if(decodeURIComponent(b[0].trim().toLowerCase())===h)return decodeURIComponent(b[1])}return null}(HM);var u;return g&&40==g.length||(g=function(h){let m="";const _=new Uint8Array(40);window.crypto.getRandomValues(_);for(let b=0;b<_.length;b++){const w="abcdefghijklmnopqrstuvwxyz0123456789".charAt(_[b]%36);m+=Math.random()>.5?w.toUpperCase():w}return m}(),u=g,document.cookie=encodeURIComponent(HM)+"="+encodeURIComponent(u)+";path=/"),g}()),this.xhr.send(u)}}function $d(g,c,u,h){let m,_=null;"function"==typeof h?m=h:(_=g.commands.get(h),m=()=>{g.execute(h)}),g.model.document.on("change:data",(b,w)=>{if(_&&!_.isEnabled||!c.isEnabled)return;const A=gr(g.model.document.selection.getRanges());if(!A.isCollapsed||w.isUndo||!w.isLocal)return;const M=Array.from(g.model.document.differ.getChanges()),R=M[0];if(1!=M.length||"insert"!==R.type||"$text"!=R.name||1!=R.length)return;const O=R.position.parent;if(O.is("element","codeBlock")||O.is("element","listItem")&&"function"!=typeof h&&!["numberedList","bulletedList","todoList"].includes(h)||_&&!0===_.value)return;const N=O.getChild(0),V=g.model.createRangeOn(N);if(!V.containsRange(A)&&!A.end.isEqual(V.end))return;const W=u.exec(N.data.substr(0,A.end.offset));W&&g.model.enqueueChange(Y=>{const ne=Y.createPositionAt(O,0),he=Y.createPositionAt(O,W[0].length),Me=new Na(ne,he);if(!1!==m({match:W})){Y.remove(Me);const qe=g.model.document.selection.getFirstRange(),kt=Y.createRangeIn(O);!O.isEmpty||kt.isEqual(qe)||kt.containsRange(qe,!0)||Y.remove(O)}Me.detach(),g.model.enqueueChange(()=>{g.plugins.get("Delete").requestUndoOnBackspace()})})})}function gm(g,c,u,h){let m,_;u instanceof RegExp?m=u:_=u,_=_||(b=>{let w;const A=[],M=[];for(;null!==(w=m.exec(b))&&!(w&&w.length<4);){let{index:R,1:O,2:N,3:V}=w;R+=w[0].length-(O+N+V).length;const ne=[R+O.length+N.length,R+O.length+N.length+V.length];A.push([R,R+O.length]),A.push(ne),M.push([R+O.length,R+O.length+N.length])}return{remove:A,format:M}}),g.model.document.on("change:data",(b,w)=>{if(w.isUndo||!w.isLocal||!c.isEnabled)return;const A=g.model,M=A.document.selection;if(!M.isCollapsed)return;const R=Array.from(A.document.differ.getChanges()),O=R[0];if(1!=R.length||"insert"!==O.type||"$text"!=O.name||1!=O.length)return;const N=M.focus,V=N.parent,{text:W,range:Y}=function(qe,kt){let $t=qe.start;return{text:Array.from(qe.getItems()).reduce((Wi,Wn)=>!Wn.is("$text")&&!Wn.is("$textProxy")||Wn.getAttribute("code")?($t=kt.createPositionAfter(Wn),""):Wi+Wn.data,""),range:kt.createRange($t,qe.end)}}(A.createRange(A.createPositionAt(V,0),N),A),ne=_(W),he=$M(Y.start,ne.format,A),Me=$M(Y.start,ne.remove,A);he.length&&Me.length&&A.enqueueChange(qe=>{if(!1!==h(qe,he)){for(const kt of Me.reverse())qe.remove(kt);A.enqueueChange(()=>{g.plugins.get("Delete").requestUndoOnBackspace()})}})})}function $M(g,c,u){return c.filter(h=>void 0!==h[0]&&void 0!==h[1]).map(h=>u.createRange(g.getShiftedBy(h[0]),g.getShiftedBy(h[1])))}function L0(g,c){return(u,h)=>{if(!g.commands.get(c).isEnabled)return!1;const m=g.model.schema.getValidRanges(h,c);for(const _ of m)u.setAttribute(c,!0,_);u.removeSelectionAttribute(c)}}class ee extends Bi{constructor(c,u){super(c),this.attributeKey=u}refresh(){const c=this.editor.model,u=c.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=c.schema.checkAttributeInSelection(u.selection,this.attributeKey)}execute(c={}){const u=this.editor.model,h=u.document.selection,m=void 0===c.forceValue?!this.value:c.forceValue;u.change(_=>{if(h.isCollapsed)m?_.setSelectionAttribute(this.attributeKey,!0):_.removeSelectionAttribute(this.attributeKey);else{const b=u.schema.getValidRanges(h.getRanges(),this.attributeKey);for(const w of b)m?_.setAttribute(this.attributeKey,m,w):_.removeAttribute(this.attributeKey,w)}})}_getValueFromFirstAllowedNode(){const c=this.editor.model,u=c.schema,h=c.document.selection;if(h.isCollapsed)return h.hasAttribute(this.attributeKey);for(const m of h.getRanges())for(const _ of m.getItems())if(u.checkAttribute(_,this.attributeKey))return _.hasAttribute(this.attributeKey);return!1}}const x="bold";class Zk extends ht{static get pluginName(){return"BoldEditing"}init(){const c=this.editor;c.model.schema.extend("$text",{allowAttributes:x}),c.model.schema.setAttributeProperties(x,{isFormatting:!0,copyOnEnter:!0}),c.conversion.attributeToElement({model:x,view:"strong",upcastAlso:["b",u=>{const h=u.getStyle("font-weight");return h&&("bold"==h||Number(h)>=600)?{name:!0,styles:["font-weight"]}:null}]}),c.commands.add(x,new ee(c,x)),c.keystrokes.set("CTRL+B",x)}}const Jk="bold";class C extends ht{static get pluginName(){return"BoldUI"}init(){const c=this.editor,u=c.t;c.ui.componentFactory.add(Jk,h=>{const m=c.commands.get(Jk),_=new Hn(h);return _.set({label:u("Bold"),icon:hn.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),_.bind("isOn","isEnabled").to(m,"value","isEnabled"),this.listenTo(_,"execute",()=>{c.execute(Jk),c.editing.view.focus()}),_})}}var k=ft(8603);At()(k.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const pp="italic";class jV extends ht{static get pluginName(){return"ItalicEditing"}init(){const c=this.editor;c.model.schema.extend("$text",{allowAttributes:pp}),c.model.schema.setAttributeProperties(pp,{isFormatting:!0,copyOnEnter:!0}),c.conversion.attributeToElement({model:pp,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),c.commands.add(pp,new ee(c,pp)),c.keystrokes.set("CTRL+I",pp)}}const eD="italic";class $V extends ht{static get pluginName(){return"ItalicUI"}init(){const c=this.editor,u=c.t;c.ui.componentFactory.add(eD,h=>{const m=c.commands.get(eD),_=new Hn(h);return _.set({label:u("Italic"),icon:'',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),_.bind("isOn","isEnabled").to(m,"value","isEnabled"),this.listenTo(_,"execute",()=>{c.execute(eD),c.editing.view.focus()}),_})}}class be extends Bi{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(c={}){const u=this.editor.model,h=u.schema,_=Array.from(u.document.selection.getSelectedBlocks()),b=void 0===c.forceValue?!this.value:c.forceValue;u.change(w=>{if(b){const A=_.filter(M=>ve(M)||tD(h,M));this._applyQuote(w,A)}else this._removeQuote(w,_.filter(ve))})}_getValue(){const c=gr(this.editor.model.document.selection.getSelectedBlocks());return!(!c||!ve(c))}_checkEnabled(){if(this.value)return!0;const u=this.editor.model.schema,h=gr(this.editor.model.document.selection.getSelectedBlocks());return!!h&&tD(u,h)}_removeQuote(c,u){ye(c,u).reverse().forEach(h=>{if(h.start.isAtStart&&h.end.isAtEnd)return void c.unwrap(h.start.parent);if(h.start.isAtStart){const _=c.createPositionBefore(h.start.parent);return void c.move(h,_)}h.end.isAtEnd||c.split(h.end);const m=c.createPositionAfter(h.end.parent);c.move(h,m)})}_applyQuote(c,u){const h=[];ye(c,u).reverse().forEach(m=>{let _=ve(m.start);_||(_=c.createElement("blockQuote"),c.wrap(m,_)),h.push(_)}),h.reverse().reduce((m,_)=>m.nextSibling==_?(c.merge(c.createPositionAfter(m)),m):_)}}function ve(g){return"blockQuote"==g.parent.name?g.parent:null}function ye(g,c){let u,h=0;const m=[];for(;h{const w=c.model.document.differ.getChanges();for(const A of w)if("insert"==A.type){const M=A.position.nodeAfter;if(!M)continue;if(M.is("element","blockQuote")&&M.isEmpty)return b.remove(M),!0;if(M.is("element","blockQuote")&&!u.checkChild(A.position,M))return b.unwrap(M),!0;if(M.is("element")){const R=b.createRangeIn(M);for(const O of R.getItems())if(O.is("element","blockQuote")&&!u.checkChild(b.createPositionBefore(O),O))return b.unwrap(O),!0}}else if("remove"==A.type){const M=A.position.parent;if(M.is("element","blockQuote")&&M.isEmpty)return b.remove(M),!0}return!1});const h=this.editor.editing.view.document,m=c.model.document.selection,_=c.commands.get("blockQuote");this.listenTo(h,"enter",(b,w)=>{!m.isCollapsed||!_.value||m.getLastPosition().parent.isEmpty&&(c.execute("blockQuote"),c.editing.view.scrollToTheSelection(),w.preventDefault(),b.stop())},{context:"blockquote"}),this.listenTo(h,"delete",(b,w)=>{if("backward"!=w.direction||!m.isCollapsed||!_.value)return;const A=m.getLastPosition().parent;A.isEmpty&&!A.previousSibling&&(c.execute("blockQuote"),c.editing.view.scrollToTheSelection(),w.preventDefault(),b.stop())},{context:"blockquote"})}}var UM=ft(3062);At()(UM.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ev extends ht{static get pluginName(){return"BlockQuoteUI"}init(){const c=this.editor,u=c.t;c.ui.componentFactory.add("blockQuote",h=>{const m=c.commands.get("blockQuote"),_=new Hn(h);return _.set({label:u("Block quote"),icon:hn.quote,tooltip:!0,isToggleable:!0}),_.bind("isOn","isEnabled").to(m,"value","isEnabled"),this.listenTo(_,"execute",()=>{c.execute("blockQuote"),c.editing.view.focus()}),_})}}class WM extends ht{static get pluginName(){return"CKBoxUI"}afterInit(){const c=this.editor,u=c.commands.get("ckbox");if(!u)return;const h=c.t;if(c.ui.componentFactory.add("ckbox",m=>{const _=new Hn(m);return _.set({label:h("Open file manager"),icon:'',tooltip:!0}),_.bind("isOn","isEnabled").to(u,"value","isEnabled"),_.on("execute",()=>{c.execute("ckbox")}),_}),c.plugins.has("ImageInsertUI")){const m=c.plugins.get("ImageInsertUI");m.registerIntegration({name:"assetManager",observable:u,buttonViewCreator:()=>{const _=this.editor.ui.componentFactory.create("ckbox");return _.icon=hn.imageAssetManager,_.bind("label").to(m,"isImageSelected",b=>h(b?"Replace image with file manager":"Insert image with file manager")),_},formViewCreator:()=>{const _=this.editor.ui.componentFactory.create("ckbox");return _.icon=hn.imageAssetManager,_.withText=!0,_.bind("label").to(m,"isImageSelected",b=>h(b?"Replace with file manager":"Insert with file manager")),_.on("execute",()=>{m.dropdownView.isOpen=!1}),_}})}}}var B=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],gp=g=>{let c=0;for(let u=0;u{let c=g/255;return c<=.04045?c/12.92:Math.pow((c+.055)/1.055,2.4)},B0=g=>{let c=Math.max(0,Math.min(1,g));return c<=.0031308?Math.trunc(12.92*c*255+.5):Math.trunc(255*(1.055*Math.pow(c,.4166666666666667)-.055)+.5)},V0=(g,c)=>(g<0?-1:1)*Math.pow(Math.abs(g),c),nD=class extends Error{constructor(g){super(g),this.name="ValidationError",this.message=g}},WV=g=>{let c=g>>8&255,u=255&g;return[iD(g>>16),iD(c),iD(u)]},pt=(g,c)=>{let u=Math.floor(g/361),h=Math.floor(g/19)%19,m=g%19;return[V0((u-9)/9,2)*c,V0((h-9)/9,2)*c,V0((m-9)/9,2)*c]},ri=Object.defineProperty,mp=Object.getOwnPropertySymbols,oD=Object.prototype.hasOwnProperty,qM=Object.prototype.propertyIsEnumerable,rD=(g,c,u)=>c in g?ri(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;function sD(g){const c=[];let u=0;for(const m in g){const _=parseInt(m,10);isNaN(_)||(_>u&&(u=_),c.push(`${g[m]} ${m}w`))}const h=[{srcset:c.join(","),sizes:`(max-width: ${u}px) 100vw, ${u}px`,type:"image/webp"}];return{imageFallbackUrl:g.default,imageSources:h}}function aD({url:g,method:c="GET",data:u,onUploadProgress:h,signal:m,authorization:_}){const b=new XMLHttpRequest;b.open(c,g.toString()),b.setRequestHeader("Authorization",_),b.setRequestHeader("CKBox-Version","CKEditor 5"),b.responseType="json";const w=()=>{b.abort()};return new Promise((A,M)=>{m.throwIfAborted(),m.addEventListener("abort",w),b.addEventListener("loadstart",()=>{m.addEventListener("abort",w)}),b.addEventListener("loadend",()=>{m.removeEventListener("abort",w)}),b.addEventListener("error",()=>{M()}),b.addEventListener("abort",()=>{M()}),b.addEventListener("load",()=>{const R=b.response;if(!R||R.statusCode>=400)return M(R&&R.message);A(R)}),h&&b.upload.addEventListener("progress",R=>{h(R)}),b.send(u)})}const KM={"image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"};var z0=Object.defineProperty,Ud=Object.getOwnPropertySymbols,qV=Object.prototype.hasOwnProperty,KV=Object.prototype.propertyIsEnumerable,H0=(g,c,u)=>c in g?z0(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Nu=(g,c)=>{for(var u in c||(c={}))qV.call(c,u)&&H0(g,u,c[u]);if(Ud)for(var u of Ud(c))KV.call(c,u)&&H0(g,u,c[u]);return g};class lD extends Bi{constructor(c){super(c),this._chosenAssets=new Set,this._wrapper=null,this._initListeners()}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){this.fire("ckbox:open")}_getValue(){return null!==this._wrapper}_checkEnabled(){const c=this.editor.commands.get("insertImage"),u=this.editor.commands.get("link");return!(!c.isEnabled&&!u.isEnabled)}_prepareOptions(){const c=this.editor.config.get("ckbox");return{theme:c.theme,language:c.language,tokenUrl:c.tokenUrl,serviceOrigin:c.serviceOrigin,forceDemoLabel:c.forceDemoLabel,dialog:{onClose:()=>this.fire("ckbox:close")},assets:{onChoose:u=>this.fire("ckbox:choose",u)}}}_initListeners(){const c=this.editor,u=c.model,h=!c.config.get("ckbox.ignoreDataId");this.on("ckbox",()=>{this.refresh()},{priority:"low"}),this.on("ckbox:open",()=>{this.isEnabled&&!this.value&&(this._wrapper=_d(document,"div",{class:"ck ckbox-wrapper"}),document.body.appendChild(this._wrapper),window.CKBox.mount(this._wrapper,this._prepareOptions()))}),this.on("ckbox:close",()=>{this.value&&(this._wrapper.remove(),this._wrapper=null,c.editing.view.focus())}),this.on("ckbox:choose",(m,_)=>{if(!this.isEnabled)return;const b=c.commands.get("insertImage"),w=c.commands.get("link"),A=function({assets:R,isImageAllowed:O,isLinkAllowed:N}){return R.map(V=>function(W){const Y=W.data.metadata;return!!Y&&Y.width&&Y.height}(V)?{id:V.data.id,type:"image",attributes:YV(V)}:{id:V.data.id,type:"link",attributes:cD(V)}).filter(V=>"image"===V.type?O:N)}({assets:_,isImageAllowed:b.isEnabled,isLinkAllowed:w.isEnabled}),M=A.length;0!==M&&(u.change(R=>{for(const O of A)this._insertAsset(O,O===A[M-1],R,1===M),h&&(setTimeout(()=>this._chosenAssets.delete(O),1e3),this._chosenAssets.add(O))}),c.editing.view.focus())}),this.listenTo(c,"destroy",()=>{this.fire("ckbox:close"),this._chosenAssets.clear()})}_insertAsset(c,u,h,m){const _=this.editor.model.document.selection;h.removeSelectionAttribute("linkHref"),"image"===c.type?this._insertImage(c):this._insertLink(c,h,m),u||h.setSelection(_.getLastPosition())}_insertImage(c){const u=this.editor,{imageFallbackUrl:h,imageSources:m,imageTextAlternative:_,imageWidth:b,imageHeight:w,imagePlaceholder:A}=c.attributes;u.execute("insertImage",{source:Nu({src:h,sources:m,alt:_,width:b,height:w},A?{placeholder:A}:null)})}_insertLink(c,u,h){const m=this.editor,_=m.model,b=_.document.selection,{linkName:w,linkHref:A}=c.attributes;if(b.isCollapsed){const M=ta(b.getAttributes()),R=u.createText(w,M);if(!h){const N=b.getLastPosition(),V=N.parent;"paragraph"===V.name&&V.isEmpty||m.execute("insertParagraph",{position:N});const W=_.insertContent(R);return u.setSelection(W),void m.execute("link",A)}const O=_.insertContent(R);u.setSelection(O)}m.execute("link",A)}}function YV(g){const{imageFallbackUrl:c,imageSources:u}=sD(g.data.imageUrls),{description:h,width:m,height:_,blurHash:b}=g.data.metadata,w=function(A){if(A)try{const M="32px",R=document.createElement("canvas");R.setAttribute("width",M),R.setAttribute("height",M);const O=R.getContext("2d");if(!O)return;const N=O.createImageData(32,32),V=((g,c,u,h)=>{(g=>{if(!g||g.length<6)throw new nD("The blurhash string must be at least 6 characters");let c=gp(g[0]),u=Math.floor(c/9)+1,h=c%9+1;if(g.length!==4+2*h*u)throw new nD(`blurhash length mismatch: length is ${g.length} but it should be ${4+2*h*u}`)})(g),h|=1;let m=gp(g[0]),_=Math.floor(m/9)+1,b=m%9+1,w=(gp(g[1])+1)/166,A=new Array(b*_);for(let O=0;Onew Promise((h,m)=>{var _=A=>{try{w(u.next(A))}catch(M){m(M)}},b=A=>{try{w(u.throw(A))}catch(M){m(M)}},w=A=>A.done?h(A.value):Promise.resolve(A.value).then(_,b);w((u=u.apply(g,c)).next())});class XM extends ht{static get pluginName(){return"CKBoxUtils"}static get requires(){return["CloudServices"]}init(){return QM(this,null,function*(){const c=this.editor,u=!!c.config.get("ckbox"),h=!!window.CKBox;if(!u&&!h)return;c.config.define("ckbox",{serviceOrigin:"https://api.ckbox.io",defaultUploadCategories:null,ignoreDataId:!1,language:c.locale.uiLanguage,theme:"lark",tokenUrl:c.config.get("cloudServices.tokenUrl")});const m=c.plugins.get("CloudServices"),_=c.config.get("cloudServices.tokenUrl"),b=c.config.get("ckbox.tokenUrl");if(!b)throw new fe("ckbox-plugin-missing-token-url",this);this._token=b==_?m.token:yield m.registerTokenUrl(b)})}getToken(){return this._token}getWorkspaceId(){const c=(0,this.editor.t)("Cannot access default workspace."),u=this.editor.config.get("ckbox.defaultUploadWorkspaceId"),h=function(m,_){const[,b]=m.value.split("."),w=JSON.parse(atob(b)),A=w.auth&&w.auth.ckbox&&w.auth.ckbox.workspaces||[w.aud];return _?"superadmin"==(w.auth&&w.auth.ckbox&&w.auth.ckbox.role)||A.includes(_)?_:null:A[0]}(this._token,u);if(null==h)throw on("ckbox-access-default-workspace-error"),c;return h}getCategoryIdForFile(c,u){return QM(this,null,function*(){const h=(0,this.editor.t)("Cannot determine a category for the uploaded file."),m=this.editor.config.get("ckbox.defaultUploadCategories"),_=this._getAvailableCategories(u),b="string"==typeof c?(w=yield function YM(g,c){return u=this,m=function*(){try{const _=yield fetch(g,((b,w)=>{for(var A in w||(w={}))oD.call(w,A)&&rD(b,A,w[A]);if(mp)for(var A of mp(w))qM.call(w,A)&&rD(b,A,w[A]);return b})({method:"HEAD",cache:"force-cache"},c));return _.ok&&_.headers.get("content-type")||""}catch{return""}},new Promise((_,b)=>{var w=R=>{try{M(m.next(R))}catch(O){b(O)}},A=R=>{try{M(m.throw(R))}catch(O){b(O)}},M=R=>R.done?_(R.value):Promise.resolve(R.value).then(w,A);M((m=m.apply(u,null)).next())});var u,m}(c,u),KM[w]):function(R){const O=R.name,N=new RegExp("\\.(?[^.]+)$");return O.match(N).groups.ext.toLowerCase()}(c);var w;const A=yield _;if(!A)throw h;if(m){const R=Object.keys(m).find(O=>m[O].find(N=>N.toLowerCase()==b));if(R){const O=A.find(N=>N.id===R||N.name===R);if(!O)throw h;return O.id}}const M=A.find(R=>R.extensions.find(O=>O.toLowerCase()==b));if(!M)throw h;return M.id})}_getAvailableCategories(c){return QM(this,null,function*(){const u=this.editor,h=this._token,{signal:m}=c,_=u.config.get("ckbox.serviceOrigin"),b=this.getWorkspaceId();try{const A=[];let M,R=0;do{const O=yield w(R);A.push(...O.items),M=O.totalCount-(R+50),R+=50}while(M>0);return A}catch{return m.throwIfAborted(),void on("ckbox-fetch-category-http-error")}function w(A){const M=new URL("categories",_);return M.searchParams.set("limit",50..toString()),M.searchParams.set("offset",A.toString()),M.searchParams.set("workspaceId",b),aD({url:M,signal:m,authorization:h.value})}})}}var dD=(g,c,u)=>new Promise((h,m)=>{var _=A=>{try{w(u.next(A))}catch(M){m(M)}},b=A=>{try{w(u.throw(A))}catch(M){m(M)}},w=A=>A.done?h(A.value):Promise.resolve(A.value).then(_,b);w((u=u.apply(g,c)).next())});class ZM extends ht{static get requires(){return["ImageUploadEditing","ImageUploadProgress",pc,Mr]}static get pluginName(){return"CKBoxUploadAdapter"}afterInit(){return dD(this,null,function*(){const c=this.editor,u=!!c.config.get("ckbox"),h=!!window.CKBox;if(!u&&!h)return;const m=c.plugins.get(pc),_=c.plugins.get(XM);m.createUploadAdapter=A=>new QV(A,c,_);const b=!c.config.get("ckbox.ignoreDataId"),w=c.plugins.get("ImageUploadEditing");b&&w.on("uploadComplete",(A,{imageElement:M,data:R})=>{c.model.change(O=>{O.setAttribute("ckboxImageId",R.ckboxImageId,M)})})})}}class QV{constructor(c,u,h){this.loader=c,this.token=h.getToken(),this.ckboxUtils=h,this.editor=u,this.controller=new AbortController,this.serviceOrigin=u.config.get("ckbox.serviceOrigin")}upload(){return dD(this,null,function*(){const c=this.ckboxUtils,u=this.editor.t,h=yield this.loader.file,m=yield c.getCategoryIdForFile(h,{signal:this.controller.signal}),_=new URL("assets",this.serviceOrigin),b=new FormData;return _.searchParams.set("workspaceId",c.getWorkspaceId()),b.append("categoryId",m),b.append("file",h),aD({method:"POST",url:_,data:b,onUploadProgress:w=>{w.lengthComputable&&(this.loader.uploadTotal=w.total,this.loader.uploaded=w.loaded)},signal:this.controller.signal,authorization:this.token.value}).then(w=>dD(this,null,function*(){const A=sD(w.imageUrls);return{ckboxImageId:w.id,default:A.imageFallbackUrl,sources:A.imageSources}})).catch(()=>{const w=u("Cannot upload file:")+` ${h.name}.`;return Promise.reject(w)})})}abort(){this.controller.abort()}}class Mr extends ht{static get pluginName(){return"CKBoxEditing"}static get requires(){return["LinkEditing","PictureEditing",ZM,XM]}init(){const c=this.editor,u=!!c.config.get("ckbox"),h=!!window.CKBox;(u||h)&&(this._checkImagePlugins(),c.config.get("ckbox.ignoreDataId")||(this._initSchema(),this._initConversion(),this._initFixers()),h&&c.commands.add("ckbox",new lD(c)))}_checkImagePlugins(){const c=this.editor;c.plugins.has("ImageBlockEditing")||c.plugins.has("ImageInlineEditing")||on("ckbox-plugin-image-feature-missing",c)}_initSchema(){const c=this.editor.model.schema;c.extend("$text",{allowAttributes:"ckboxLinkId"}),c.isRegistered("imageBlock")&&c.extend("imageBlock",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),c.isRegistered("imageInline")&&c.extend("imageInline",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),c.addAttributeCheck((u,h)=>{if(!u.last.getAttribute("linkHref")&&"ckboxLinkId"===h)return!1})}_initConversion(){const c=this.editor;c.conversion.for("downcast").add(h=>{h.on("attribute:ckboxLinkId:imageBlock",(m,_,b)=>{const{writer:w,mapper:A,consumable:M}=b;if(!M.consume(_.item,m.name))return;const R=[...A.toViewElement(_.item).getChildren()].find(O=>"a"===O.name);R&&(_.item.hasAttribute("ckboxLinkId")?w.setAttribute("data-ckbox-resource-id",_.item.getAttribute("ckboxLinkId"),R):w.removeAttribute("data-ckbox-resource-id",R))},{priority:"low"}),h.on("attribute:ckboxLinkId",(m,_,b)=>{const{writer:w,mapper:A,consumable:M}=b;if(M.consume(_.item,m.name)){if(_.attributeOldValue){const R=eR(w,_.attributeOldValue);w.unwrap(A.toViewRange(_.range),R)}if(_.attributeNewValue){const R=eR(w,_.attributeNewValue);_.item.is("selection")?w.wrap(w.document.selection.getFirstRange(),R):w.wrap(A.toViewRange(_.range),R)}}},{priority:"low"})}),c.conversion.for("upcast").add(h=>{h.on("element:a",(m,_,b)=>{const{writer:w,consumable:A}=b;if(!_.viewItem.getAttribute("href")||!A.consume(_.viewItem,{attributes:["data-ckbox-resource-id"]}))return;const M=_.viewItem.getAttribute("data-ckbox-resource-id");if(M)if(_.modelRange)for(let R of _.modelRange.getItems())R.is("$textProxy")&&(R=R.textNode),XV(R)&&w.setAttribute("ckboxLinkId",M,R);else w.setAttribute("ckboxLinkId",M,_.modelCursor.nodeBefore||_.modelCursor.parent)},{priority:"low"})}),c.conversion.for("downcast").attributeToAttribute({model:"ckboxImageId",view:"data-ckbox-resource-id"}),c.conversion.for("upcast").elementToAttribute({model:{key:"ckboxImageId",value:h=>h.getAttribute("data-ckbox-resource-id")},view:{attributes:{"data-ckbox-resource-id":/[\s\S]+/}}});const u=c.commands.get("replaceImageSource");u&&this.listenTo(u,"cleanupImage",(h,[m,_])=>{m.removeAttribute("ckboxImageId",_)})}_initFixers(){const c=this.editor,u=c.model,h=u.document.selection;var m;u.document.registerPostFixer((m=c,_=>{let b=!1;const w=m.model,A=m.commands.get("ckbox");if(!A)return b;for(const M of w.document.differ.getChanges()){if("insert"!==M.type&&"attribute"!==M.type)continue;const R="insert"===M.type?new Ke(M.position,M.position.getShiftedBy(M.length)):M.range,O="attribute"===M.type&&"linkHref"===M.attributeKey&&null===M.attributeNewValue;for(const N of R.getItems()){if(O&&N.hasAttribute("ckboxLinkId")){_.removeAttribute("ckboxLinkId",N),b=!0;continue}const V=JM(N,A._chosenAssets);for(const W of V){const Y="image"===W.type?"ckboxImageId":"ckboxLinkId";W.id!==N.getAttribute(Y)&&(_.setAttribute(Y,W.id,N),b=!0)}}}return b})),u.document.registerPostFixer(function(m){return _=>!(m.hasAttribute("linkHref")||!m.hasAttribute("ckboxLinkId")||(_.removeSelectionAttribute("ckboxLinkId"),0))}(h))}}function JM(g,c){const u=g.is("element","imageInline")||g.is("element","imageBlock"),h=g.hasAttribute("linkHref");return[...c].filter(m=>"image"===m.type&&u?m.attributes.imageFallbackUrl===g.getAttribute("src"):"link"===m.type&&h?m.attributes.linkHref===g.getAttribute("linkHref"):void 0)}function eR(g,c){const u=g.createAttributeElement("a",{"data-ckbox-resource-id":c},{priority:5});return g.setCustomProperty("link",!0,u),u}function XV(g){return!!g.is("$text")||!(!g.is("element","imageInline")&&!g.is("element","imageBlock"))}var uD=ft(443);At()(uD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class tR extends ht{static get pluginName(){return"CKFinderUI"}init(){const c=this.editor,h=c.t;if(c.ui.componentFactory.add("ckfinder",m=>{const _=c.commands.get("ckfinder"),b=new Hn(m);return b.set({label:h("Insert image or file"),icon:'',tooltip:!0}),b.bind("isEnabled").to(_),b.on("execute",()=>{c.execute("ckfinder"),c.editing.view.focus()}),b}),c.plugins.has("ImageInsertUI")){const m=c.plugins.get("ImageInsertUI"),_=c.commands.get("ckfinder");m.registerIntegration({name:"assetManager",observable:_,buttonViewCreator:()=>{const b=this.editor.ui.componentFactory.create("ckfinder");return b.icon=hn.imageAssetManager,b.bind("label").to(m,"isImageSelected",w=>h(w?"Replace image with file manager":"Insert image with file manager")),b},formViewCreator:()=>{const b=this.editor.ui.componentFactory.create("ckfinder");return b.icon=hn.imageAssetManager,b.withText=!0,b.bind("label").to(m,"isImageSelected",w=>h(w?"Replace with file manager":"Insert with file manager")),b.on("execute",()=>{m.dropdownView.isOpen=!1}),b}})}}}class iR extends Bi{constructor(c){super(c),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",()=>this.refresh(),{priority:"low"})}refresh(){const c=this.editor.commands.get("insertImage"),u=this.editor.commands.get("link");this.isEnabled=c.isEnabled||u.isEnabled}execute(){const c=this.editor,u=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=u&&"modal"!=u)throw new fe("ckfinder-unknown-openermethod",c);const h=this.editor.config.get("ckfinder.options")||{};h.chooseFiles=!0;const m=h.onInit;h.language||(h.language=c.locale.uiLanguage),h.onInit=_=>{m&&m(_),_.on("files:choose",b=>{const w=b.data.files.toArray(),A=w.filter(O=>!O.isImage()),M=w.filter(O=>O.isImage());for(const O of A)c.execute("link",O.getUrl());const R=[];for(const O of M){const N=O.getUrl();R.push(N||_.request("file:getProxyUrl",{file:O}))}R.length&&fp(c,R)}),_.on("file:choose:resizedImage",b=>{const w=b.data.resizedUrl;if(w)fp(c,[w]);else{const A=c.plugins.get("Notification"),M=c.locale.t;A.showWarning(M("Could not obtain resized image URL."),{title:M("Selecting resized image failed"),namespace:"ckfinder"})}})},window.CKFinder[u](h)}}function fp(g,c){if(g.commands.get("insertImage").isEnabled)g.execute("insertImage",{source:c});else{const u=g.plugins.get("Notification"),h=g.locale.t;u.showWarning(h("Could not insert image at the current position."),{title:h("Inserting image failed"),namespace:"ckfinder"})}}class JV extends ht{static get pluginName(){return"CKFinderEditing"}static get requires(){return[rp,"LinkEditing"]}init(){const c=this.editor;if(!c.plugins.has("ImageBlockEditing")&&!c.plugins.has("ImageInlineEditing"))throw new fe("ckfinder-missing-image-plugin",c);c.commands.add("ckfinder",new iR(c))}}class ez extends ht{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",pc]}init(){const c=this.editor,u=c.plugins.get("CloudServices"),h=u.token,m=u.uploadUrl;if(!h)return;const _=c.plugins.get("CloudServicesCore");this._uploadGateway=_.createUploadGateway(h,m),c.plugins.get(pc).createUploadAdapter=b=>new nR(this._uploadGateway,b)}}class nR{constructor(c,u){this.uploadGateway=c,this.loader=u}upload(){return this.loader.file.then(c=>(this.fileUploader=this.uploadGateway.upload(c),this.fileUploader.on("progress",(u,h)=>{this.loader.uploadTotal=h.total,this.loader.uploaded=h.uploaded}),this.fileUploader.send()))}abort(){this.fileUploader.abort()}}class tz extends Bi{constructor(c){super(c),this._isEnabledBasedOnSelection=!1}refresh(){const c=this.editor.model,u=gr(c.document.selection.getSelectedBlocks());this.value=!!u&&u.is("element","paragraph"),this.isEnabled=!!u&&hD(u,c.schema)}execute(c={}){const u=this.editor.model,m=c.selection||u.document.selection;u.canEditAt(m)&&u.change(_=>{const b=m.getSelectedBlocks();for(const w of b)!w.is("element","paragraph")&&hD(w,u.schema)&&_.rename(w,"paragraph")})}}function hD(g,c){return c.checkChild(g.parent,"paragraph")&&!c.isObject(g)}class aq extends Bi{constructor(c){super(c),this._isEnabledBasedOnSelection=!1}execute(c){const u=this.editor.model,h=c.attributes;let m=c.position;u.canEditAt(m)&&u.change(_=>{if(m=this._findPositionToInsertParagraph(m,_),!m)return;const b=_.createElement("paragraph");h&&u.schema.setAllowedAttributes(b,h,_),u.insertContent(b,m),_.setSelection(b,"in")})}_findPositionToInsertParagraph(c,u){const h=this.editor.model;if(h.schema.checkChild(c,"paragraph"))return c;const m=h.schema.findAllowedParent(c,"paragraph");if(!m)return null;const _=c.parent,b=h.schema.checkChild(_,"$text");return _.isEmpty||b&&c.isAtEnd?h.createPositionAfter(_):!_.isEmpty&&b&&c.isAtStart?h.createPositionBefore(_):u.split(c,m).position}}const Pe=class extends ht{static get pluginName(){return"Paragraph"}init(){const g=this.editor,c=g.model;g.commands.add("paragraph",new tz(g)),g.commands.add("insertParagraph",new aq(g)),c.schema.register("paragraph",{inheritAllFrom:"$block"}),g.conversion.elementToElement({model:"paragraph",view:"p"}),g.conversion.for("upcast").elementToElement({model:(u,{writer:h})=>Pe.paragraphLikeElements.has(u.name)?u.isEmpty?null:h.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}};let Se=Pe;Se.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);class Kc extends Bi{constructor(c,u){super(c),this.modelElements=u}refresh(){const c=gr(this.editor.model.document.selection.getSelectedBlocks());this.value=!!c&&this.modelElements.includes(c.name)&&c.name,this.isEnabled=!!c&&this.modelElements.some(u=>oR(c,u,this.editor.model.schema))}execute(c){const u=this.editor.model,h=u.document,m=c.value;u.change(_=>{const b=Array.from(h.selection.getSelectedBlocks()).filter(w=>oR(w,m,u.schema));for(const w of b)w.is("element",m)||_.rename(w,m)})}}function oR(g,c,u){return u.checkChild(g.parent,c)&&!u.isObject(g)}const Mo="paragraph";class Yc extends ht{static get pluginName(){return"HeadingEditing"}constructor(c){super(c),c.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[Se]}init(){const c=this.editor,u=c.config.get("heading.options"),h=[];for(const m of u)"paragraph"!==m.model&&(c.model.schema.register(m.model,{inheritAllFrom:"$block"}),c.conversion.elementToElement(m),h.push(m.model));this._addDefaultH1Conversion(c),c.commands.add("heading",new Kc(c,h))}afterInit(){const c=this.editor,u=c.commands.get("enter"),h=c.config.get("heading.options");u&&this.listenTo(u,"afterExecute",(m,_)=>{const b=c.model.document.selection.getFirstPosition().parent;h.some(w=>b.is("element",w.model))&&!b.is("element",Mo)&&0===b.childCount&&_.writer.rename(b,Mo)})}_addDefaultH1Conversion(c){c.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:ui.low+1})}}var Bl=ft(8733);At()(Bl.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class rR extends ht{static get pluginName(){return"HeadingUI"}init(){const c=this.editor,u=c.t,h=function(b){const w=b.t,A={Paragraph:w("Paragraph"),"Heading 1":w("Heading 1"),"Heading 2":w("Heading 2"),"Heading 3":w("Heading 3"),"Heading 4":w("Heading 4"),"Heading 5":w("Heading 5"),"Heading 6":w("Heading 6")};return b.config.get("heading.options").map(M=>{const R=A[M.title];return R&&R!=M.title&&(M.title=R),M})}(c),m=u("Choose heading"),_=u("Heading");c.ui.componentFactory.add("heading",b=>{const w={},A=new Oa,M=c.commands.get("heading"),R=c.commands.get("paragraph"),O=[M];for(const V of h){const W={type:"button",model:new z_({label:V.title,class:V.class,role:"menuitemradio",withText:!0})};"paragraph"===V.model?(W.model.bind("isOn").to(R,"value"),W.model.set("commandName","paragraph"),O.push(R)):(W.model.bind("isOn").to(M,"value",Y=>Y===V.model),W.model.set({commandName:"heading",commandValue:V.model})),A.add(W),w[V.model]=V.title}const N=dc(b);return h0(N,A,{ariaLabel:_,role:"menu"}),N.buttonView.set({ariaLabel:_,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:_}),N.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),N.bind("isEnabled").toMany(O,"isEnabled",(...V)=>V.some(W=>W)),N.buttonView.bind("label").to(M,"value",R,"value",(V,W)=>{const Y=V||W&&"paragraph";return"boolean"==typeof Y?m:w[Y]?w[Y]:m}),this.listenTo(N,"execute",V=>{const{commandName:W,commandValue:Y}=V.source;c.execute(W,Y?{value:Y}:void 0),c.editing.view.focus()}),N})}}function pD(g){return g.createContainerElement("figure",{class:"image"},[g.createEmptyElement("img"),g.createSlot("children")])}function sR(g,c){const u=g.plugins.get("ImageUtils"),h=g.plugins.has("ImageInlineEditing")&&g.plugins.has("ImageBlockEditing");return _=>u.isInlineImageView(_)?h&&("block"==_.getStyle("display")||_.findAncestor(u.isBlockImageView)?"imageBlock":"imageInline")!==c?null:function m(_){const b={name:!0};return _.hasAttribute("src")&&(b.attributes=["src"]),b}(_):null}function gD(g,c){const u=gr(c.getSelectedBlocks());return!u||g.isObject(u)||u.isEmpty&&"listItem"!=u.name?"imageBlock":"imageInline"}function G0(g){return g&&g.endsWith("px")?parseInt(g):null}function aR(g){const c=G0(g.getStyle("width")),u=G0(g.getStyle("height"));return!(!c||!u)}var mD=Object.defineProperty,fm=Object.getOwnPropertySymbols,iz=Object.prototype.hasOwnProperty,lR=Object.prototype.propertyIsEnumerable,cR=(g,c,u)=>c in g?mD(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,dR=(g,c)=>{for(var u in c||(c={}))iz.call(c,u)&&cR(g,u,c[u]);if(fm)for(var u of fm(c))lR.call(c,u)&&cR(g,u,c[u]);return g};const uR=/^(image|image-inline)$/;class pa extends ht{constructor(){super(...arguments),this._domEmitter=new(Za())}static get pluginName(){return"ImageUtils"}isImage(c){return this.isInlineImage(c)||this.isBlockImage(c)}isInlineImageView(c){return!!c&&c.is("element","img")}isBlockImageView(c){return!!c&&c.is("element","figure")&&c.hasClass("image")}insertImage(c={},u=null,h=null,m={}){const _=this.editor,b=_.model,w=b.document.selection,A=tv(_,u||w,h);c=dR(dR({},Object.fromEntries(w.getAttributes())),c);for(const M in c)b.schema.checkAttribute(A,M)||delete c[M];return b.change(M=>{const{setImageSizes:R=!0}=m,O=M.createElement(A,c);return b.insertObject(O,u,null,{setSelection:"on",findOptimalPosition:u||"imageInline"==A?void 0:"auto"}),O.parent?(R&&this.setImageNaturalSizeAttributes(O),O):null})}setImageNaturalSizeAttributes(c){const u=c.getAttribute("src");u&&(c.getAttribute("width")||c.getAttribute("height")||this.editor.model.change(h=>{const m=new de.window.Image;this._domEmitter.listenTo(m,"load",()=>{c.getAttribute("width")||c.getAttribute("height")||this.editor.model.enqueueChange(h.batch,_=>{_.setAttribute("width",m.naturalWidth,c),_.setAttribute("height",m.naturalHeight,c)}),this._domEmitter.stopListening(m,"load")}),m.src=u}))}getClosestSelectedImageWidget(c){const u=c.getFirstPosition();if(!u)return null;const h=c.getSelectedElement();if(h&&this.isImageWidget(h))return h;let m=u.parent;for(;m;){if(m.is("element")&&this.isImageWidget(m))return m;m=m.parent}return null}getClosestSelectedImageElement(c){const u=c.getSelectedElement();return this.isImage(u)?u:c.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(c){return c.findAncestor({classes:uR})}isImageAllowed(){const c=this.editor.model.document.selection;return function(u,h){if("imageBlock"==tv(u,h,null)){const _=function(b,w){const M=DM(b,w).start.parent;return M.isEmpty&&!M.is("element","$root")?M.parent:M}(h,u.model);if(u.model.schema.checkChild(_,"imageBlock"))return!0}else if(u.model.schema.checkChild(h.focus,"imageInline"))return!0;return!1}(this.editor,c)&&[...c.focus.getAncestors()].every(h=>!h.is("element","imageBlock"))}toImageWidget(c,u,h){return u.setCustomProperty("image",!0,c),$k(c,u,{label:()=>{const m=this.findViewImgElement(c).getAttribute("alt");return m?`${m} ${h}`:h}})}isImageWidget(c){return!!c.getCustomProperty("image")&&dr(c)}isBlockImage(c){return!!c&&c.is("element","imageBlock")}isInlineImage(c){return!!c&&c.is("element","imageInline")}findViewImgElement(c){if(this.isInlineImageView(c))return c;const u=this.editor.editing.view;for(const{item:h}of u.createRangeIn(c))if(this.isInlineImageView(h))return h}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function tv(g,c,u){const h=g.model.schema,m=g.config.get("image.insert.type");return g.plugins.has("ImageBlockEditing")?g.plugins.has("ImageInlineEditing")?u||("inline"===m?"imageInline":"auto"!==m?"imageBlock":c.is("selection")?gD(h,c):h.checkChild(c,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class nz extends Bi{refresh(){const c=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!c,this.value=!(!this.isEnabled||!c.hasAttribute("alt"))&&c.getAttribute("alt")}execute(c){const u=this.editor,h=u.plugins.get("ImageUtils"),m=u.model,_=h.getClosestSelectedImageElement(m.document.selection);m.change(b=>{b.setAttribute("alt",c.newValue,_)})}}class hR extends ht{static get requires(){return[pa]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new nz(this.editor))}}var P=ft(1905);At()(P.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var gR=ft(6764);At()(gR.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class _e extends gi{constructor(c){super(c);const u=this.locale.t;this.focusTracker=new Bo,this.keystrokes=new ea,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(u("Save"),hn.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(u("Cancel"),hn.cancel,"ck-button-cancel","cancel"),this._focusables=new Dl,this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),U({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach(c=>{this._focusables.add(c),this.focusTracker.add(c.element)})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(c,u,h,m){const _=new Hn(this.locale);return _.set({label:c,icon:u,tooltip:!0}),_.extendTemplate({attributes:{class:h}}),m&&_.delegate("execute").to(this,m),_}_createLabeledInputView(){const c=this.locale.t,u=new xu(this.locale,Bd);return u.label=c("Text alternative"),u}}function me(g){const c=g.editing.view,u=ua.defaultPositions,h=g.plugins.get("ImageUtils");return{target:c.domConverter.mapViewToDom(h.getClosestSelectedImageWidget(c.document.selection)),positions:[u.northArrowSouth,u.northArrowSouthWest,u.northArrowSouthEast,u.southArrowNorth,u.southArrowNorthWest,u.southArrowNorthEast,u.viewportStickyNorth]}}class Lu extends ht{static get requires(){return[y0]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const c=this.editor,u=c.t;c.ui.componentFactory.add("imageTextAlternative",h=>{const m=c.commands.get("imageTextAlternative"),_=new Hn(h);return _.set({label:u("Change image text alternative"),icon:hn.textAlternative,tooltip:!0}),_.bind("isEnabled").to(m,"isEnabled"),_.bind("isOn").to(m,"value",b=>!!b),this.listenTo(_,"execute",()=>{this._showForm()}),_})}_createForm(){const c=this.editor,u=c.editing.view.document,h=c.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(Ne(_e))(c.locale),this._form.render(),this.listenTo(this._form,"submit",()=>{c.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),this._form.keystrokes.set("Esc",(m,_)=>{this._hideForm(!0),_()}),this.listenTo(c.ui,"update",()=>{h.getClosestSelectedImageWidget(u.selection)?this._isVisible&&function(m){const _=m.plugins.get("ContextualBalloon");if(m.plugins.get("ImageUtils").getClosestSelectedImageWidget(m.editing.view.document.selection)){const b=me(m);_.updatePosition(b)}}(c):this._hideForm(!0)}),Ce({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const c=this.editor,u=c.commands.get("imageTextAlternative"),h=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:me(c)}),h.fieldView.value=h.fieldView.element.value=u.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(c=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),c&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class fD extends ht{static get requires(){return[hR,Lu]}static get pluginName(){return"ImageTextAlternative"}}function _D(g,c){const u=(h,m,_)=>{if(!_.consumable.consume(m.item,h.name))return;const b=_.writer,w=_.mapper.toViewElement(m.item),A=g.findViewImgElement(w);null===m.attributeNewValue?(b.removeAttribute("srcset",A),b.removeAttribute("sizes",A)):m.attributeNewValue&&(b.setAttribute("srcset",m.attributeNewValue,A),b.setAttribute("sizes","100vw",A))};return h=>{h.on(`attribute:srcset:${c}`,u)}}function iv(g,c,u){const h=(m,_,b)=>{if(!b.consumable.consume(_.item,m.name))return;const w=b.writer,A=b.mapper.toViewElement(_.item),M=g.findViewImgElement(A);w.setAttribute(_.attributeKey,_.attributeNewValue||"",M)};return m=>{m.on(`attribute:${u}:${c}`,h)}}class vD extends la{observe(c){this.listenTo(c,"load",(u,h)=>{const m=h.target;this.checkShouldIgnoreEventFromTarget(m)||"IMG"==m.tagName&&this._fireEvents(h)},{useCapture:!0})}stopObserving(c){this.stopListening(c)}_fireEvents(c){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",c))}}var mR=Object.defineProperty,bD=Object.getOwnPropertySymbols,fR=Object.prototype.hasOwnProperty,Wd=Object.prototype.propertyIsEnumerable,_R=(g,c,u)=>c in g?mR(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,j0=(g,c)=>{for(var u in c||(c={}))fR.call(c,u)&&_R(g,u,c[u]);if(bD)for(var u of bD(c))Wd.call(c,u)&&_R(g,u,c[u]);return g};class rz extends Bi{constructor(c){super(c);const u=c.config.get("image.insert.type");c.plugins.has("ImageBlockEditing")||"block"===u&&St("image-block-plugin-required"),c.plugins.has("ImageInlineEditing")||"inline"===u&&St("image-inline-plugin-required")}refresh(){const c=this.editor.plugins.get("ImageUtils");this.isEnabled=c.isImageAllowed()}execute(c){const u=ho(c.source),h=this.editor.model.document.selection,m=this.editor.plugins.get("ImageUtils"),_=Object.fromEntries(h.getAttributes());u.forEach((b,w)=>{const A=h.getSelectedElement();if("string"==typeof b&&(b={src:b}),w&&A&&m.isImage(A)){const M=this.editor.model.createPositionAfter(A);m.insertImage(j0(j0({},b),_),M)}else m.insertImage(j0(j0({},b),_))})}}class sz extends Bi{constructor(c){super(c),this.decorate("cleanupImage")}refresh(){const c=this.editor.plugins.get("ImageUtils"),u=this.editor.model.document.selection.getSelectedElement();this.isEnabled=c.isImage(u),this.value=this.isEnabled?u.getAttribute("src"):null}execute(c){const u=this.editor.model.document.selection.getSelectedElement(),h=this.editor.plugins.get("ImageUtils");this.editor.model.change(m=>{m.setAttribute("src",c.source,u),this.cleanupImage(m,u),h.setImageNaturalSizeAttributes(u)})}cleanupImage(c,u){c.removeAttribute("srcset",u),c.removeAttribute("sizes",u),c.removeAttribute("sources",u),c.removeAttribute("width",u),c.removeAttribute("height",u),c.removeAttribute("alt",u)}}class yD extends ht{static get requires(){return[pa]}static get pluginName(){return"ImageEditing"}init(){const c=this.editor,u=c.conversion;c.editing.view.addObserver(vD),u.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const h=new rz(c),m=new sz(c);c.commands.add("insertImage",h),c.commands.add("replaceImageSource",m),c.commands.add("imageInsert",h)}}class vR extends ht{static get requires(){return[pa]}static get pluginName(){return"ImageSizeAttributes"}afterInit(){this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline")}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["width","height"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["width","height"]})}_registerConverters(c){const u=this.editor,h=u.plugins.get("ImageUtils"),m="imageBlock"===c?"figure":"img";function _(b,w,A,M){b.on(`attribute:${w}:${c}`,(R,O,N)=>{if(!N.consumable.consume(O.item,R.name))return;const V=N.writer,W=N.mapper.toViewElement(O.item),Y=h.findViewImgElement(W);if(null!==O.attributeNewValue?V.setAttribute(A,O.attributeNewValue,Y):V.removeAttribute(A,Y),O.item.hasAttribute("sources"))return;const ne=O.item.hasAttribute("resizedWidth");if("imageInline"===c&&!ne&&!M)return;const he=O.item.getAttribute("width"),Me=O.item.getAttribute("height");he&&Me&&V.setStyle("aspect-ratio",`${he}/${Me}`,Y)})}u.conversion.for("upcast").attributeToAttribute({view:{name:m,styles:{width:/.+/}},model:{key:"width",value:b=>aR(b)?G0(b.getStyle("width")):null}}).attributeToAttribute({view:{name:m,key:"width"},model:"width"}).attributeToAttribute({view:{name:m,styles:{height:/.+/}},model:{key:"height",value:b=>aR(b)?G0(b.getStyle("height")):null}}).attributeToAttribute({view:{name:m,key:"height"},model:"height"}),u.conversion.for("editingDowncast").add(b=>{_(b,"width","width",!0),_(b,"height","height",!0)}),u.conversion.for("dataDowncast").add(b=>{_(b,"width","width",!1),_(b,"height","height",!1)})}}class bR extends Bi{constructor(c,u){super(c),this._modelElementName=u}refresh(){const c=this.editor.plugins.get("ImageUtils"),u=c.getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled="imageBlock"===this._modelElementName?c.isInlineImage(u):c.isBlockImage(u)}execute(c={}){const h=this.editor.model,m=this.editor.plugins.get("ImageUtils"),_=m.getClosestSelectedImageElement(h.document.selection),b=Object.fromEntries(_.getAttributes());return b.src||b.uploadId?h.change(w=>{const{setImageSizes:A=!0}=c,M=Array.from(h.markers).filter(N=>N.getRange().containsItem(_)),R=m.insertImage(b,h.createSelection(_,"on"),this._modelElementName,{setImageSizes:A});if(!R)return null;const O=w.createRangeOn(R);for(const N of M){const V=N.getRange(),W="$graveyard"!=V.root.rootName?V.getJoined(O,!0):O;w.updateMarker(N,{range:W})}return{oldElement:_,newElement:R}}):null}}var yR=ft(2873);At()(yR.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class CR extends ht{static get requires(){return[pa]}static get pluginName(){return"ImagePlaceholder"}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const c=this.editor.model.schema;c.isRegistered("imageBlock")&&c.extend("imageBlock",{allowAttributes:["placeholder"]}),c.isRegistered("imageInline")&&c.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const c=this.editor,u=c.conversion,h=c.plugins.get("ImageUtils");u.for("editingDowncast").add(m=>{m.on("attribute:placeholder",(_,b,w)=>{if(!w.consumable.test(b.item,_.name)||!b.item.is("element","imageBlock")&&!b.item.is("element","imageInline"))return;w.consumable.consume(b.item,_.name);const A=w.writer,M=w.mapper.toViewElement(b.item),R=h.findViewImgElement(M);b.attributeNewValue?(A.addClass("image_placeholder",R),A.setStyle("background-image",`url(${b.attributeNewValue})`,R),A.setCustomProperty("editingPipeline:doNotReuseOnce",!0,R)):(A.removeClass("image_placeholder",R),A.removeStyle("background-image",R))})})}_setupLoadListener(){const c=this.editor,u=c.model,h=c.editing,m=h.view,_=c.plugins.get("ImageUtils");m.addObserver(vD),this.listenTo(m.document,"imageLoaded",(b,w)=>{const A=m.domConverter.mapDomToView(w.target);if(!A)return;const M=_.getImageWidgetFromImageView(A);if(!M)return;const R=h.mapper.toModelElement(M);R&&R.hasAttribute("placeholder")&&u.enqueueChange({isUndoable:!1},O=>{O.removeAttribute("placeholder",R)})})}}class wR extends ht{static get requires(){return[yD,vR,pa,CR,Ll]}static get pluginName(){return"ImageBlockEditing"}init(){const c=this.editor;c.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),c.plugins.has("ImageInlineEditing")&&(c.commands.add("imageTypeBlock",new bR(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const c=this.editor,u=c.t,h=c.conversion,m=c.plugins.get("ImageUtils");h.for("dataDowncast").elementToStructure({model:"imageBlock",view:(_,{writer:b})=>pD(b)}),h.for("editingDowncast").elementToStructure({model:"imageBlock",view:(_,{writer:b})=>m.toImageWidget(pD(b),b,u("image widget"))}),h.for("downcast").add(iv(m,"imageBlock","src")).add(iv(m,"imageBlock","alt")).add(_D(m,"imageBlock")),h.for("upcast").elementToElement({view:sR(c,"imageBlock"),model:(_,{writer:b})=>b.createElement("imageBlock",_.hasAttribute("src")?{src:_.getAttribute("src")}:void 0)}).add(function(_){const b=(w,A,M)=>{if(!M.consumable.test(A.viewItem,{name:!0,classes:"image"}))return;const R=_.findViewImgElement(A.viewItem);if(!R||!M.consumable.test(R,{name:!0}))return;M.consumable.consume(A.viewItem,{name:!0,classes:"image"});const O=gr(M.convertItem(R,A.modelCursor).modelRange.getItems());O?(M.convertChildren(A.viewItem,O),M.updateConversionResult(O,A)):M.consumable.revert(A.viewItem,{name:!0,classes:"image"})};return w=>{w.on("element:figure",b)}}(m))}_setupClipboardIntegration(){const c=this.editor,u=c.model,h=c.editing.view,m=c.plugins.get("ImageUtils"),_=c.plugins.get("ClipboardPipeline");this.listenTo(_,"inputTransformation",(b,w)=>{const A=Array.from(w.content.getChildren());let M;if(!A.every(m.isInlineImageView))return;M=w.targetRanges?c.editing.mapper.toModelRange(w.targetRanges[0]):u.document.selection.getFirstRange();const R=u.createSelection(M);if("imageBlock"===gD(u.schema,R)){const O=new $c(h.document),N=A.map(V=>O.createElement("figure",{class:"image"},V));w.content=O.createDocumentFragment(N)}}),this.listenTo(_,"contentInsertion",(b,w)=>{"paste"===w.method&&u.change(A=>{const M=A.createRangeIn(w.content);for(const R of M.getItems())R.is("element","imageBlock")&&m.setImageNaturalSizeAttributes(R)})})}}var xR=ft(3535);At()(xR.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class cz extends gi{constructor(c,u=[]){super(c),this.focusTracker=new Bo,this.keystrokes=new ea,this._focusables=new Dl,this.children=this.createCollection(),this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const h of u)this.children.add(h),this._focusables.add(h),h instanceof Q2&&this._focusables.addMany(h.children);if(this._focusables.length>1)for(const h of this._focusables)dz(h)&&(h.focusCycler.on("forwardCycle",m=>{this._focusCycler.focusNext(),m.stop()}),h.focusCycler.on("backwardCycle",m=>{this._focusCycler.focusPrevious(),m.stop()}));this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),U({view:this});for(const u of this._focusables)this.focusTracker.add(u.element);this.keystrokes.listenTo(this.element);const c=u=>u.stopPropagation();this.keystrokes.set("arrowright",c),this.keystrokes.set("arrowleft",c),this.keystrokes.set("arrowup",c),this.keystrokes.set("arrowdown",c)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}function dz(g){return"focusCycler"in g}class kR extends ht{constructor(c){super(c),this._integrations=new Map,c.config.define("image.insert.integrations",["upload","assetManager","url"])}static get pluginName(){return"ImageInsertUI"}static get requires(){return[pa]}init(){const c=this.editor,u=c.model.document.selection,h=c.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(c.model.document,"change",()=>{this.isImageSelected=h.isImage(u.getSelectedElement())});const m=_=>this._createToolbarComponent(_);c.ui.componentFactory.add("insertImage",m),c.ui.componentFactory.add("imageInsert",m)}registerIntegration({name:c,observable:u,buttonViewCreator:h,formViewCreator:m,requiresForm:_}){this._integrations.has(c)&&St("image-insert-integration-exists",{name:c}),this._integrations.set(c,{observable:u,buttonViewCreator:h,formViewCreator:m,requiresForm:!!_})}_createToolbarComponent(c){const u=this.editor,h=c.t,m=this._prepareIntegrations();if(!m.length)return null;let _;const b=m[0];if(1==m.length){if(!b.requiresForm)return b.buttonViewCreator(!0);_=b.buttonViewCreator(!0)}else{const M=b.buttonViewCreator(!1);_=new u0(c,M),_.tooltip=!0,_.bind("label").to(this,"isImageSelected",R=>h(R?"Replace image":"Insert image"))}const w=this.dropdownView=dc(c,_),A=m.map(({observable:M})=>M);return w.bind("isEnabled").toMany(A,"isEnabled",(...M)=>M.some(R=>R)),w.once("change:isOpen",()=>{const M=m.map(({formViewCreator:O})=>O(1==m.length)),R=new cz(u.locale,M);w.panelView.children.add(R)}),w}_prepareIntegrations(){const c=this.editor.config.get("image.insert.integrations"),u=[];if(!c.length)return St("image-insert-integrations-not-specified"),u;for(const h of c)this._integrations.has(h)?u.push(this._integrations.get(h)):["upload","assetManager","url"].includes(h)||St("image-insert-unknown-integration",{item:h});return u.length||St("image-insert-integrations-not-registered"),u}}var DR=ft(3508);At()(DR.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class IR extends ht{static get requires(){return[wR,Er,fD,kR]}static get pluginName(){return"ImageBlock"}}class SR extends ht{static get requires(){return[yD,vR,pa,CR,Ll]}static get pluginName(){return"ImageInlineEditing"}init(){const c=this.editor,u=c.model.schema;u.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),u.addChildCheck((h,m)=>{if(h.endsWith("caption")&&"imageInline"===m.name)return!1}),this._setupConversion(),c.plugins.has("ImageBlockEditing")&&(c.commands.add("imageTypeInline",new bR(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const c=this.editor,u=c.t,h=c.conversion,m=c.plugins.get("ImageUtils");h.for("dataDowncast").elementToElement({model:"imageInline",view:(_,{writer:b})=>b.createEmptyElement("img")}),h.for("editingDowncast").elementToStructure({model:"imageInline",view:(_,{writer:b})=>{return m.toImageWidget((w=b).createContainerElement("span",{class:"image-inline"},w.createEmptyElement("img")),b,u("image widget"));var w}}),h.for("downcast").add(iv(m,"imageInline","src")).add(iv(m,"imageInline","alt")).add(_D(m,"imageInline")),h.for("upcast").elementToElement({view:sR(c,"imageInline"),model:(_,{writer:b})=>b.createElement("imageInline",_.hasAttribute("src")?{src:_.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const c=this.editor,u=c.model,h=c.editing.view,m=c.plugins.get("ImageUtils"),_=c.plugins.get("ClipboardPipeline");this.listenTo(_,"inputTransformation",(b,w)=>{const A=Array.from(w.content.getChildren());let M;if(!A.every(m.isBlockImageView))return;M=w.targetRanges?c.editing.mapper.toModelRange(w.targetRanges[0]):u.document.selection.getFirstRange();const R=u.createSelection(M);if("imageInline"===gD(u.schema,R)){const O=new $c(h.document),N=A.map(V=>1===V.childCount?(Array.from(V.getAttributes()).forEach(W=>O.setAttribute(...W,m.findViewImgElement(V))),V.getChild(0)):V);w.content=O.createDocumentFragment(N)}}),this.listenTo(_,"contentInsertion",(b,w)=>{"paste"===w.method&&u.change(A=>{const M=A.createRangeIn(w.content);for(const R of M.getItems())R.is("element","imageInline")&&m.setImageNaturalSizeAttributes(R)})})}}class TR extends ht{static get requires(){return[SR,Er,fD,kR]}static get pluginName(){return"ImageInline"}}class CD extends ht{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[pa]}getCaptionFromImageModelElement(c){for(const u of c.getChildren())if(u&&u.is("element","caption"))return u;return null}getCaptionFromModelSelection(c){const u=this.editor.plugins.get("ImageUtils"),h=c.getFirstPosition().findAncestor("caption");return h&&u.isBlockImage(h.parent)?h:null}matchImageCaptionViewElement(c){const u=this.editor.plugins.get("ImageUtils");return"figcaption"==c.name&&u.isBlockImageView(c.parent)?{name:!0}:null}}class ER extends Bi{refresh(){const c=this.editor,u=c.plugins.get("ImageCaptionUtils"),h=c.plugins.get("ImageUtils");if(!c.plugins.has(wR))return this.isEnabled=!1,void(this.value=!1);const m=c.model.document.selection,_=m.getSelectedElement();if(!_){const b=u.getCaptionFromModelSelection(m);return this.isEnabled=!!b,void(this.value=!!b)}this.isEnabled=h.isImage(_),this.value=!!this.isEnabled&&!!u.getCaptionFromImageModelElement(_)}execute(c={}){const{focusCaptionOnShow:u}=c;this.editor.model.change(h=>{this.value?this._hideImageCaption(h):this._showImageCaption(h,u)})}_showImageCaption(c,u){const h=this.editor.model.document.selection,m=this.editor.plugins.get("ImageCaptionEditing"),_=this.editor.plugins.get("ImageUtils");let b=h.getSelectedElement();const w=m._getSavedCaption(b);_.isInlineImage(b)&&(this.editor.execute("imageTypeBlock"),b=h.getSelectedElement());const A=w||c.createElement("caption");c.append(A,b),u&&c.setSelection(A,"in")}_hideImageCaption(c){const u=this.editor,h=u.model.document.selection,m=u.plugins.get("ImageCaptionEditing"),_=u.plugins.get("ImageCaptionUtils");let b,w=h.getSelectedElement();w?b=_.getCaptionFromImageModelElement(w):(b=_.getCaptionFromModelSelection(h),w=b.parent),m._saveCaption(w,b),c.setSelection(w,"on"),c.remove(b)}}class MR extends ht{constructor(c){super(c),this._savedCaptionsMap=new WeakMap}static get requires(){return[pa,CD]}static get pluginName(){return"ImageCaptionEditing"}init(){const c=this.editor,u=c.model.schema;u.isRegistered("caption")?u.extend("caption",{allowIn:"imageBlock"}):u.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),c.commands.add("toggleImageCaption",new ER(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const c=this.editor,u=c.editing.view,h=c.plugins.get("ImageUtils"),m=c.plugins.get("ImageCaptionUtils"),_=c.t;c.conversion.for("upcast").elementToElement({view:b=>m.matchImageCaptionViewElement(b),model:"caption"}),c.conversion.for("dataDowncast").elementToElement({model:"caption",view:(b,{writer:w})=>h.isBlockImage(b.parent)?w.createContainerElement("figcaption"):null}),c.conversion.for("editingDowncast").elementToElement({model:"caption",view:(b,{writer:w})=>{if(!h.isBlockImage(b.parent))return null;const A=w.createEditableElement("figcaption");w.setCustomProperty("imageCaption",!0,A),A.placeholder=_("Enter image caption"),po({view:u,element:A,keepOnFocus:!0});const M=b.parent.getAttribute("alt");return kM(A,w,{label:M?_("Caption for image: %0",[M]):_("Caption for the image")})}})}_setupImageTypeCommandsIntegration(){const c=this.editor,u=c.plugins.get("ImageUtils"),h=c.plugins.get("ImageCaptionUtils"),m=c.commands.get("imageTypeInline"),_=c.commands.get("imageTypeBlock"),b=w=>{if(!w.return)return;const{oldElement:A,newElement:M}=w.return;if(!A)return;if(u.isBlockImage(A)){const O=h.getCaptionFromImageModelElement(A);if(O)return void this._saveCaption(M,O)}const R=this._getSavedCaption(A);R&&this._saveCaption(M,R)};m&&this.listenTo(m,"execute",b,{priority:"low"}),_&&this.listenTo(_,"execute",b,{priority:"low"})}_getSavedCaption(c){const u=this._savedCaptionsMap.get(c);return u?On.fromJSON(u):null}_saveCaption(c,u){this._savedCaptionsMap.set(c,u.toJSON())}_registerCaptionReconversion(){const c=this.editor,u=c.model,h=c.plugins.get("ImageUtils"),m=c.plugins.get("ImageCaptionUtils");u.document.on("change:data",()=>{const _=u.document.differ.getChanges();for(const b of _){if("alt"!==b.attributeKey)continue;const w=b.range.start.nodeAfter;if(h.isBlockImage(w)){const A=m.getCaptionFromImageModelElement(w);if(!A)return;c.editing.reconvertItem(A)}}})}}class RR extends ht{static get requires(){return[CD]}static get pluginName(){return"ImageCaptionUI"}init(){const c=this.editor,u=c.editing.view,h=c.plugins.get("ImageCaptionUtils"),m=c.t;c.ui.componentFactory.add("toggleImageCaption",_=>{const b=c.commands.get("toggleImageCaption"),w=new Hn(_);return w.set({icon:hn.caption,tooltip:!0,isToggleable:!0}),w.bind("isOn","isEnabled").to(b,"value","isEnabled"),w.bind("label").to(b,"value",A=>m(A?"Toggle caption off":"Toggle caption on")),this.listenTo(w,"execute",()=>{c.execute("toggleImageCaption",{focusCaptionOnShow:!0});const A=h.getCaptionFromModelSelection(c.model.document.selection);if(A){const M=c.editing.mapper.toViewElement(A);u.scrollToTheSelection(),u.change(R=>{R.addClass("image__caption_highlighted",M)})}c.editing.view.focus()}),w})}}var wD=ft(2640);function nv(g){const c=g.map(u=>u.replace("+","\\+"));return new RegExp(`^image\\/(${c.join("|")})$`)}function _p(g){return new Promise((c,u)=>{const h=g.getAttribute("src");fetch(h).then(m=>m.blob()).then(m=>{const _=PR(m,h),b=_.replace("image/",""),w=new File([m],`image.${b}`,{type:_});c(w)}).catch(m=>{return m&&"TypeError"===m.name?(_=h,(b=_,new Promise((w,A)=>{const M=de.document.createElement("img");M.addEventListener("load",()=>{const R=de.document.createElement("canvas");R.width=M.width,R.height=M.height,R.getContext("2d").drawImage(M,0,0),R.toBlob(O=>O?w(O):A())}),M.addEventListener("error",()=>A()),M.src=b})).then(b=>{const w=PR(b,_),A=w.replace("image/","");return new File([b],`image.${A}`,{type:w})})).then(c).catch(u):u(m);var _,b})})}function PR(g,c){return g.type?g.type:c.match(/data:(image\/\w+);base64/)?c.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}At()(wD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class uz extends ht{static get pluginName(){return"ImageUploadUI"}init(){const c=this.editor,u=c.t,h=m=>{const _=new GV(m),b=c.commands.get("uploadImage"),w=c.config.get("image.upload.types"),A=nv(w);return _.set({acceptedType:w.map(M=>`image/${M}`).join(","),allowMultipleFiles:!0,label:u("Upload image from computer"),icon:hn.imageUpload,tooltip:!0}),_.bind("isEnabled").to(b),_.on("done",(M,R)=>{const O=Array.from(R).filter(N=>A.test(N.type));O.length&&(c.execute("uploadImage",{file:O}),c.editing.view.focus())}),_};if(c.ui.componentFactory.add("uploadImage",h),c.ui.componentFactory.add("imageUpload",h),c.plugins.has("ImageInsertUI")){const m=c.plugins.get("ImageInsertUI"),_=c.commands.get("uploadImage");m.registerIntegration({name:"upload",observable:_,buttonViewCreator:()=>{const b=c.ui.componentFactory.create("uploadImage");return b.bind("label").to(m,"isImageSelected",w=>u(w?"Replace image from computer":"Upload image from computer")),b},formViewCreator:()=>{const b=c.ui.componentFactory.create("uploadImage");return b.withText=!0,b.bind("label").to(m,"isImageSelected",w=>u(w?"Replace from computer":"Upload from computer")),b.on("execute",()=>{m.dropdownView.isOpen=!1}),b}})}}}var vp=ft(3689);At()(vp.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var ts=ft(4036);At()(ts.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var xD=ft(3773);At()(xD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class cq extends ht{constructor(c){super(c),this.uploadStatusChange=(u,h,m)=>{const _=this.editor,b=h.item,w=b.getAttribute("uploadId");if(!m.consumable.consume(h.item,u.name))return;const A=_.plugins.get("ImageUtils"),M=_.plugins.get(pc),R=w?h.attributeNewValue:null,O=this.placeholder,N=_.editing.mapper.toViewElement(b),V=m.writer;if("reading"==R)return $n(N,V),void FR(A,O,N,V);if("uploading"==R){const W=M.loaders.get(w);return $n(N,V),void(W?(NR(N,V),function(Y,ne,he,Me){const qe=function(kt){const $t=kt.createUIElement("div",{class:"ck-progress-bar"});return kt.setCustomProperty("progressBar",!0,$t),$t}(ne);ne.insert(ne.createPositionAt(Y,"end"),qe),he.on("change:uploadedPercent",(kt,$t,tn)=>{Me.change(Wi=>{Wi.setStyle("width",tn+"%",qe)})})}(N,V,W,_.editing.view),function(Y,ne,he,Me){if(Me.data){const qe=Y.findViewImgElement(ne);he.setAttribute("src",Me.data,qe)}}(A,N,V,W)):FR(A,O,N,V))}"complete"==R&&M.loaders.get(w)&&function(W,Y,ne){const he=Y.createUIElement("div",{class:"ck-image-upload-complete-icon"});Y.insert(Y.createPositionAt(W,"end"),he),setTimeout(()=>{ne.change(Me=>Me.remove(Me.createRangeOn(he)))},3e3)}(N,V,_.editing.view),bp(N,V,"progressBar"),NR(N,V),V.removeClass("ck-appear",N)},this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}static get pluginName(){return"ImageUploadProgress"}init(){const c=this.editor;c.plugins.has("ImageBlockEditing")&&c.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),c.plugins.has("ImageInlineEditing")&&c.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function $n(g,c){g.hasClass("ck-appear")||c.addClass("ck-appear",g)}function FR(g,c,u,h){u.hasClass("ck-image-upload-placeholder")||h.addClass("ck-image-upload-placeholder",u);const m=g.findViewImgElement(u);m.getAttribute("src")!==c&&h.setAttribute("src",c,m),LR(u,"placeholder")||h.insert(h.createPositionAfter(m),function(_){const b=_.createUIElement("div",{class:"ck-upload-placeholder-loader"});return _.setCustomProperty("placeholder",!0,b),b}(h))}function NR(g,c){g.hasClass("ck-image-upload-placeholder")&&c.removeClass("ck-image-upload-placeholder",g),bp(g,c,"placeholder")}function LR(g,c){for(const u of g.getChildren())if(u.getCustomProperty(c))return u}function bp(g,c,u){const h=LR(g,u);h&&c.remove(c.createRangeOn(h))}var pz=Object.defineProperty,$0=Object.defineProperties,U0=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,dq=Object.prototype.hasOwnProperty,BR=Object.prototype.propertyIsEnumerable,kD=(g,c,u)=>c in g?pz(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class gz extends Bi{refresh(){const c=this.editor,u=c.plugins.get("ImageUtils"),h=c.model.document.selection.getSelectedElement();this.isEnabled=u.isImageAllowed()||u.isImage(h)}execute(c){const u=ho(c.file),h=this.editor.model.document.selection,m=this.editor.plugins.get("ImageUtils"),_=Object.fromEntries(h.getAttributes());u.forEach((b,w)=>{const A=h.getSelectedElement();if(w&&A&&m.isImage(A)){const M=this.editor.model.createPositionAfter(A);this._uploadImage(b,_,M)}else this._uploadImage(b,_)})}_uploadImage(c,u,h){const m=this.editor,_=m.plugins.get(pc).createLoader(c),b=m.plugins.get("ImageUtils");var w;_&&b.insertImage((w=((M,R)=>{for(var O in R||(R={}))dq.call(R,O)&&kD(M,O,R[O]);if(ga)for(var O of ga(R))BR.call(R,O)&&kD(M,O,R[O]);return M})({},u),$0(w,U0({uploadId:_.id}))),h)}}class VR extends ht{constructor(c){super(c),c.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}static get requires(){return[pc,rp,Ll,pa]}static get pluginName(){return"ImageUploadEditing"}init(){const c=this.editor,u=c.model.document,h=c.conversion,m=c.plugins.get(pc),_=c.plugins.get("ImageUtils"),b=c.plugins.get("ClipboardPipeline"),w=nv(c.config.get("image.upload.types")),A=new gz(c);c.commands.add("uploadImage",A),c.commands.add("imageUpload",A),h.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(c.editing.view.document,"clipboardInput",(M,R)=>{if(O=R.dataTransfer,Array.from(O.types).includes("text/html")&&""!==O.getData("text/html"))return;var O;const N=Array.from(R.dataTransfer.files).filter(V=>!!V&&w.test(V.type));N.length&&(M.stop(),c.model.change(V=>{R.targetRanges&&V.setSelection(R.targetRanges.map(W=>c.editing.mapper.toModelRange(W))),c.execute("uploadImage",{file:N})}))}),this.listenTo(b,"inputTransformation",(M,R)=>{const O=Array.from(c.editing.view.createRangeIn(R.content)).map(V=>V.item).filter(V=>{return!(!_.isInlineImageView(Y=V)||!Y.getAttribute("src")||!Y.getAttribute("src").match(/^data:image\/\w+;base64,/g)&&!Y.getAttribute("src").match(/^blob:/g)||V.getAttribute("uploadProcessed"));var Y}).map(V=>({promise:_p(V),imageElement:V}));if(!O.length)return;const N=new $c(c.editing.view.document);for(const V of O){N.setAttribute("uploadProcessed",!0,V.imageElement);const W=m.createLoader(V.promise);W&&(N.setAttribute("src","",V.imageElement),N.setAttribute("uploadId",W.id,V.imageElement))}}),c.editing.view.document.on("dragover",(M,R)=>{R.preventDefault()}),u.on("change",()=>{const M=u.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),R=new Set;for(const O of M)if("insert"==O.type&&"$text"!=O.name){const N=O.position.nodeAfter,V="$graveyard"==O.position.root.rootName;for(const W of zR(c,N)){const Y=W.getAttribute("uploadId");if(!Y)continue;const ne=m.loaders.get(Y);ne&&(V?R.has(Y)||ne.abort():(R.add(Y),this._uploadImageElements.set(Y,W),"idle"==ne.status&&this._readAndUpload(ne)))}}}),this.on("uploadComplete",(M,{imageElement:R,data:O})=>{const N=O.urls?O.urls:O;this.editor.model.change(V=>{V.setAttribute("src",N.default,R),this._parseAndSetSrcsetAttributeOnImage(N,R,V),_.setImageNaturalSizeAttributes(R)})},{priority:"low"})}afterInit(){const c=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&c.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&c.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(c){const u=this.editor,h=u.model,m=u.locale.t,_=u.plugins.get(pc),b=u.plugins.get(rp),w=u.plugins.get("ImageUtils"),A=this._uploadImageElements;return h.enqueueChange({isUndoable:!1},R=>{R.setAttribute("uploadStatus","reading",A.get(c.id))}),c.read().then(()=>{const R=c.upload(),O=A.get(c.id);if(ae.isSafari){const N=u.editing.mapper.toViewElement(O),V=w.findViewImgElement(N);u.editing.view.once("render",()=>{if(!V.parent)return;const W=u.editing.view.domConverter.mapViewToDom(V.parent);if(!W)return;const Y=W.style.display;W.style.display="none",W._ckHack=W.offsetHeight,W.style.display=Y})}return h.enqueueChange({isUndoable:!1},N=>{N.setAttribute("uploadStatus","uploading",O)}),R}).then(R=>{h.enqueueChange({isUndoable:!1},O=>{const N=A.get(c.id);O.setAttribute("uploadStatus","complete",N),this.fire("uploadComplete",{data:R,imageElement:N})}),M()}).catch(R=>{if("error"!==c.status&&"aborted"!==c.status)throw R;"error"==c.status&&R&&b.showWarning(R,{title:m("Upload failed"),namespace:"upload"}),h.enqueueChange({isUndoable:!1},O=>{O.remove(A.get(c.id))}),M()});function M(){h.enqueueChange({isUndoable:!1},R=>{const O=A.get(c.id);R.removeAttribute("uploadId",O),R.removeAttribute("uploadStatus",O),A.delete(c.id)}),_.destroyLoader(c)}}_parseAndSetSrcsetAttributeOnImage(c,u,h){let m=0;const _=Object.keys(c).filter(b=>{const w=parseInt(b,10);if(!isNaN(w))return m=Math.max(m,w),!0}).map(b=>`${c[b]} ${b}w`).join(", ");if(""!=_){const b={srcset:_};u.hasAttribute("width")||u.hasAttribute("height")||(b.width=m),h.setAttributes(b,u)}}}function zR(g,c){const u=g.plugins.get("ImageUtils");return Array.from(g.model.createRangeOn(c)).filter(h=>u.isImage(h.item)).map(h=>h.item)}var DD=ft(6270);At()(DD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class mz extends Bi{constructor(c,u){super(c),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(u.map(h=>{if(h.isDefault)for(const m of h.modelElements)this._defaultStyles[m]=h.name;return[h.name,h]}))}refresh(){const c=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!c,this.value=!!this.isEnabled&&(c.hasAttribute("imageStyle")?c.getAttribute("imageStyle"):this._defaultStyles[c.name])}execute(c={}){const u=this.editor,h=u.model,m=u.plugins.get("ImageUtils");h.change(_=>{const b=c.value,{setImageSizes:w=!0}=c;let A=m.getClosestSelectedImageElement(h.document.selection);b&&this.shouldConvertImageType(b,A)&&(this.editor.execute(m.isBlockImage(A)?"imageTypeInline":"imageTypeBlock",{setImageSizes:w}),A=m.getClosestSelectedImageElement(h.document.selection)),!b||this._styles.get(b).isDefault?_.removeAttribute("imageStyle",A):_.setAttribute("imageStyle",b,A),w&&m.setImageNaturalSizeAttributes(A)})}shouldConvertImageType(c,u){return!this._styles.get(c).modelElements.includes(u.name)}}var fz=Object.defineProperty,GR=Object.getOwnPropertySymbols,ov=Object.prototype.hasOwnProperty,_z=Object.prototype.propertyIsEnumerable,jR=(g,c,u)=>c in g?fz(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,$R=(g,c)=>{for(var u in c||(c={}))ov.call(c,u)&&jR(g,u,c[u]);if(GR)for(var u of GR(c))_z.call(c,u)&&jR(g,u,c[u]);return g};const{objectFullWidth:W0,objectInline:AD,objectLeft:ID,objectRight:q0,objectCenter:SD,objectBlockLeft:_m,objectBlockRight:vm}=hn,K0={get inline(){return{name:"inline",title:"In line",icon:AD,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:ID,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:_m,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:SD,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:q0,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:vm,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:SD,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:q0,modelElements:["imageBlock"],className:"image-style-side"}}},UR={full:W0,left:_m,right:vm,center:SD,inlineLeft:ID,inlineRight:q0,inline:AD},WR=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function TD(g){St("image-style-configuration-definition-invalid",g)}const Y0={normalizeStyles:function(g){return(g.configuredStyles.options||[]).map(c=>{return"string"==typeof(u="string"==typeof(u=c)?K0[u]?$R({},K0[u]):{name:u}:function(h,m){const _=$R({},m);for(const b in h)Object.prototype.hasOwnProperty.call(m,b)||(_[b]=h[b]);return _}(K0[u.name],u)).icon&&(u.icon=UR[u.icon]||u.icon),u;var u}).filter(c=>function(u,{isBlockPluginLoaded:h,isInlinePluginLoaded:m}){const{modelElements:_,name:b}=u;if(!(_&&_.length&&b))return TD({style:u}),!1;{const w=[h?"imageBlock":null,m?"imageInline":null];if(!_.some(A=>w.includes(A)))return St("image-style-missing-dependency",{style:u,missingPlugins:_.map(A=>"imageBlock"===A?"ImageBlockEditing":"ImageInlineEditing")}),!1}return!0}(c,g))},getDefaultStylesConfiguration:function(g,c){return g&&c?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:g?{options:["block","side"]}:c?{options:["inline","alignLeft","alignRight"]}:{}},getDefaultDropdownDefinitions:function(g){return g.has("ImageBlockEditing")&&g.has("ImageInlineEditing")?[...WR]:[]},warnInvalidStyle:TD,DEFAULT_OPTIONS:K0,DEFAULT_ICONS:UR,DEFAULT_DROPDOWN_DEFINITIONS:WR};function ED(g,c){for(const u of c)if(u.name===g)return u}class qR extends ht{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[pa]}init(){const{normalizeStyles:c,getDefaultStylesConfiguration:u}=Y0,h=this.editor,m=h.plugins.has("ImageBlockEditing"),_=h.plugins.has("ImageInlineEditing");h.config.define("image.styles",u(m,_)),this.normalizedStyles=c({configuredStyles:h.config.get("image.styles"),isBlockPluginLoaded:m,isInlinePluginLoaded:_}),this._setupConversion(m,_),this._setupPostFixer(),h.commands.add("imageStyle",new mz(h,this.normalizedStyles))}_setupConversion(c,u){const h=this.editor,m=h.model.schema,_=(b=this.normalizedStyles,(A,M,R)=>{if(!R.consumable.consume(M.item,A.name))return;const O=ED(M.attributeNewValue,b),N=ED(M.attributeOldValue,b),V=R.mapper.toViewElement(M.item),W=R.writer;N&&W.removeClass(N.className,V),O&&W.addClass(O.className,V)});var b;const w=function(A){const M={imageInline:A.filter(R=>!R.isDefault&&R.modelElements.includes("imageInline")),imageBlock:A.filter(R=>!R.isDefault&&R.modelElements.includes("imageBlock"))};return(R,O,N)=>{if(!O.modelRange)return;const V=O.viewItem,W=gr(O.modelRange.getItems());if(W&&N.schema.checkAttribute(W,"imageStyle"))for(const Y of M[W.name])N.consumable.consume(V,{classes:Y.className})&&N.writer.setAttribute("imageStyle",Y.name,W)}}(this.normalizedStyles);h.editing.downcastDispatcher.on("attribute:imageStyle",_),h.data.downcastDispatcher.on("attribute:imageStyle",_),c&&(m.extend("imageBlock",{allowAttributes:"imageStyle"}),h.data.upcastDispatcher.on("element:figure",w,{priority:"low"})),u&&(m.extend("imageInline",{allowAttributes:"imageStyle"}),h.data.upcastDispatcher.on("element:img",w,{priority:"low"}))}_setupPostFixer(){const c=this.editor,u=c.model.document,h=c.plugins.get(pa),m=new Map(this.normalizedStyles.map(_=>[_.name,_]));u.registerPostFixer(_=>{let b=!1;for(const w of u.differ.getChanges())if("insert"==w.type||"attribute"==w.type&&"imageStyle"==w.attributeKey){let A="insert"==w.type?w.position.nodeAfter:w.range.start.nodeAfter;if(A&&A.is("element","paragraph")&&A.childCount>0&&(A=A.getChild(0)),!h.isImage(A))continue;const M=A.getAttribute("imageStyle");if(!M)continue;const R=m.get(M);R&&R.modelElements.includes(A.name)||(_.removeAttribute("imageStyle",A),b=!0)}return b})}}var MD=ft(5083);At()(MD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class bz extends ht{static get requires(){return[qR]}static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const c=this.editor.t;return{"Wrap text":c("Wrap text"),"Break text":c("Break text"),"In line":c("In line"),"Full size image":c("Full size image"),"Side image":c("Side image"),"Left aligned image":c("Left aligned image"),"Centered image":c("Centered image"),"Right aligned image":c("Right aligned image")}}init(){const c=this.editor.plugins,u=this.editor.config.get("image.toolbar")||[],h=yz(c.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const _ of h)this._createButton(_);const m=yz([...u.filter(qt),...Y0.getDefaultDropdownDefinitions(c)],this.localizedDefaultStylesTitles);for(const _ of m)this._createDropdown(_,h)}_createDropdown(c,u){const h=this.editor.ui.componentFactory;h.add(c.name,m=>{let _;const{defaultItem:b,items:w,title:A}=c,M=w.filter(V=>u.find(({name:W})=>Cz(W)===V)).map(V=>{const W=h.create(V);return V===b&&(_=W),W});w.length!==M.length&&Y0.warnInvalidStyle({dropdown:c});const R=dc(m,u0),O=R.buttonView,N=O.arrowView;return M_(R,M,{enableActiveItemFocusOnDropdownOpen:!0}),O.set({label:wz(A,_.label),class:null,tooltip:!0}),N.unbind("label"),N.set({label:A}),O.bind("icon").toMany(M,"isOn",(...V)=>{const W=V.findIndex(oa);return W<0?_.icon:M[W].icon}),O.bind("label").toMany(M,"isOn",(...V)=>{const W=V.findIndex(oa);return wz(A,W<0?_.label:M[W].label)}),O.bind("isOn").toMany(M,"isOn",(...V)=>V.some(oa)),O.bind("class").toMany(M,"isOn",(...V)=>V.some(oa)?"ck-splitbutton_flatten":void 0),O.on("execute",()=>{M.some(({isOn:V})=>V)?R.isOpen=!R.isOpen:_.fire("execute")}),R.bind("isEnabled").toMany(M,"isEnabled",(...V)=>V.some(oa)),this.listenTo(R,"execute",()=>{this.editor.editing.view.focus()}),R})}_createButton(c){const u=c.name;this.editor.ui.componentFactory.add(Cz(u),h=>{const m=this.editor.commands.get("imageStyle"),_=new Hn(h);return _.set({label:c.title,icon:c.icon,tooltip:!0,isToggleable:!0}),_.bind("isEnabled").to(m,"isEnabled"),_.bind("isOn").to(m,"value",b=>b===u),_.on("execute",this._executeCommand.bind(this,u)),_})}_executeCommand(c){this.editor.execute("imageStyle",{value:c}),this.editor.editing.view.focus()}}function yz(g,c){for(const u of g)c[u.title]&&(u.title=c[u.title]);return g}function Cz(g){return`imageStyle:${g}`}function wz(g,c){return(g?g+": ":"")+c}class uq extends ht{static get pluginName(){return"IndentEditing"}init(){const c=this.editor;c.commands.add("indent",new jT(c)),c.commands.add("outdent",new jT(c))}}const RD='',rv='';class xz extends ht{static get pluginName(){return"IndentUI"}init(){const c=this.editor,u=c.locale,h=c.t,m="ltr"==u.uiLanguageDirection?RD:rv,_="ltr"==u.uiLanguageDirection?rv:RD;this._defineButton("indent",h("Increase indent"),m),this._defineButton("outdent",h("Decrease indent"),_)}_defineButton(c,u,h){const m=this.editor;m.ui.componentFactory.add(c,_=>{const b=m.commands.get(c),w=new Hn(_);return w.set({label:u,icon:h,tooltip:!0}),w.bind("isEnabled").to(b,"isEnabled"),this.listenTo(w,"execute",()=>{m.execute(c),m.editing.view.focus()}),w})}}class kz{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(c){Array.isArray(c)?c.forEach(u=>this._definitions.add(u)):this._definitions.add(c)}getDispatcher(){return c=>{c.on("attribute:linkHref",(u,h,m)=>{if(!m.consumable.test(h.item,"attribute:linkHref")||!h.item.is("selection")&&!m.schema.isInline(h.item))return;const _=m.writer,b=_.document.selection;for(const w of this._definitions){const A=_.createAttributeElement("a",w.attributes,{priority:5});w.classes&&_.addClass(w.classes,A);for(const M in w.styles)_.setStyle(M,w.styles[M],A);_.setCustomProperty("link",!0,A),w.callback(h.attributeNewValue)?h.item.is("selection")?_.wrap(b.getFirstRange(),A):_.wrap(m.mapper.toViewRange(h.range),A):_.unwrap(m.mapper.toViewRange(h.range),A)}},{priority:"high"})}}getDispatcherForLinkedImage(){return c=>{c.on("attribute:linkHref:imageBlock",(u,h,{writer:m,mapper:_})=>{const b=_.toViewElement(h.item),w=Array.from(b.getChildren()).find(A=>A.is("element","a"));for(const A of this._definitions){const M=ta(A.attributes);if(A.callback(h.attributeNewValue)){for(const[R,O]of M)"class"===R?m.addClass(O,w):m.setAttribute(R,O,w);A.classes&&m.addClass(A.classes,w);for(const R in A.styles)m.setStyle(R,A.styles[R],w)}else{for(const[R,O]of M)"class"===R?m.removeClass(O,w):m.removeAttribute(R,w);A.classes&&m.removeClass(A.classes,w);for(const R in A.styles)m.removeStyle(R,w)}}})}}}var sv=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const YR=function(g){return sv.test(g)};var QR="\\ud800-\\udfff",Az="["+QR+"]",XR="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",PD="\\ud83c[\\udffb-\\udfff]",OD="[^"+QR+"]",ZR="(?:\\ud83c[\\udde6-\\uddff]){2}",JR="[\\ud800-\\udbff][\\udc00-\\udfff]",bm="(?:"+XR+"|"+PD+")?",eP="[\\ufe0e\\ufe0f]?",tP=eP+bm+"(?:\\u200d(?:"+[OD,ZR,JR].join("|")+")"+eP+bm+")*",Iz="(?:"+[OD+XR+"?",XR,ZR,JR,Az].join("|")+")",iP=RegExp(PD+"(?="+PD+")|"+Iz+tP,"g");const Tz=function(c){c=p1(c);var u=YR(c)?function(g){return YR(g)?function(g){return g.match(iP)||[]}(g):function(g){return g.split("")}(g)}(c):void 0,h=u?u[0]:c.charAt(0),m=u?function(g,c,u){var h=g.length;return z(g,1,u=void 0===u?h:u)}(u).join(""):c.slice(1);return h.toUpperCase()+m},FD=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,Ez=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,oP=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,rP=/^((\w+:(\/{2,})?)|(\W))/i,ND="Ctrl+K";function sP(g,{writer:c}){const u=c.createAttributeElement("a",{href:g},{priority:5});return c.setCustomProperty("link",!0,u),u}function aP(g){const c=String(g);return c.replace(FD,"").match(Ez)?c:"#"}function av(g,c){return!!g&&c.checkAttribute(g.name,"linkHref")}function LD(g,c){const u=oP.test(g)?"mailto:":c,m=!!u&&!BD(g);return g&&m?u+g:g}function BD(g){return rP.test(g)}function lP(g){window.open(g,"_blank","noopener")}class Mz extends Bi{constructor(){super(...arguments),this.manualDecorators=new Oa,this.automaticDecorators=new kz}restoreManualDecoratorStates(){for(const c of this.manualDecorators)c.value=this._getDecoratorStateFromModel(c.id)}refresh(){const c=this.editor.model,u=c.document.selection,h=u.getSelectedElement()||gr(u.getSelectedBlocks());av(h,c.schema)?(this.value=h.getAttribute("linkHref"),this.isEnabled=c.schema.checkAttribute(h,"linkHref")):(this.value=u.getAttribute("linkHref"),this.isEnabled=c.schema.checkAttributeInSelection(u,"linkHref"));for(const m of this.manualDecorators)m.value=this._getDecoratorStateFromModel(m.id)}execute(c,u={}){const h=this.editor.model,m=h.document.selection,_=[],b=[];for(const w in u)u[w]?_.push(w):b.push(w);h.change(w=>{if(m.isCollapsed){const A=m.getFirstPosition();if(m.hasAttribute("linkHref")){const M=cP(m);let R=W_(A,"linkHref",m.getAttribute("linkHref"),h);m.getAttribute("linkHref")===M&&(R=this._updateLinkContent(h,w,R,c)),w.setAttribute("linkHref",c,R),_.forEach(O=>{w.setAttribute(O,!0,R)}),b.forEach(O=>{w.removeAttribute(O,R)}),w.setSelection(w.createPositionAfter(R.end.nodeBefore))}else if(""!==c){const M=ta(m.getAttributes());M.set("linkHref",c),_.forEach(O=>{M.set(O,!0)});const{end:R}=h.insertContent(w.createText(c,M),A);w.setSelection(R)}["linkHref",..._,...b].forEach(M=>{w.removeSelectionAttribute(M)})}else{const A=h.schema.getValidRanges(m.getRanges(),"linkHref"),M=[];for(const O of m.getSelectedBlocks())h.schema.checkAttribute(O,"linkHref")&&M.push(w.createRangeOn(O));const R=M.slice();for(const O of A)this._isRangeToUpdate(O,M)&&R.push(O);for(const O of R){let N=O;if(1===R.length){const V=cP(m);m.getAttribute("linkHref")===V&&(N=this._updateLinkContent(h,w,O,c),w.setSelection(w.createSelection(N)))}w.setAttribute("linkHref",c,N),_.forEach(V=>{w.setAttribute(V,!0,N)}),b.forEach(V=>{w.removeAttribute(V,N)})}}})}_getDecoratorStateFromModel(c){const u=this.editor.model,h=u.document.selection,m=h.getSelectedElement();return av(m,u.schema)?m.getAttribute(c):h.getAttribute(c)}_isRangeToUpdate(c,u){for(const h of u)if(h.containsRange(c))return!1;return!0}_updateLinkContent(c,u,h,m){const _=u.createText(m,{linkHref:m});return c.insertContent(_,h)}}function cP(g){if(g.isCollapsed){const c=g.getFirstPosition();return c.textNode&&c.textNode.data}{const c=Array.from(g.getFirstRange().getItems());if(c.length>1)return null;const u=c[0];return u.is("$text")||u.is("$textProxy")?u.data:null}}class Rz extends Bi{refresh(){const c=this.editor.model,u=c.document.selection,h=u.getSelectedElement();this.isEnabled=av(h,c.schema)?c.schema.checkAttribute(h,"linkHref"):c.schema.checkAttributeInSelection(u,"linkHref")}execute(){const u=this.editor.model,h=u.document.selection,m=this.editor.commands.get("link");u.change(_=>{const b=h.isCollapsed?[W_(h.getFirstPosition(),"linkHref",h.getAttribute("linkHref"),u)]:u.schema.getValidRanges(h.getRanges(),"linkHref");for(const w of b)if(_.removeAttribute("linkHref",w),m)for(const A of m.manualDecorators)_.removeAttribute(A.id,w)})}}class Pz extends(_t()){constructor({id:c,label:u,attributes:h,classes:m,styles:_,defaultValue:b}){super(),this.id=c,this.set("value",void 0),this.defaultValue=b,this.label=u,this.attributes=h,this.classes=m,this.styles=_}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var dP=ft(9773);At()(dP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Fz=Object.defineProperty,VD=Object.getOwnPropertySymbols,uP=Object.prototype.hasOwnProperty,Nz=Object.prototype.propertyIsEnumerable,hP=(g,c,u)=>c in g?Fz(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,pP=(g,c)=>{for(var u in c||(c={}))uP.call(c,u)&&hP(g,u,c[u]);if(VD)for(var u of VD(c))Nz.call(c,u)&&hP(g,u,c[u]);return g};const gP="automatic",Lz=/^(https?:)?\/\//;class mP extends ht{static get pluginName(){return"LinkEditing"}static get requires(){return[pM,Lk,Ll]}constructor(c){super(c),c.config.define("link",{addTargetToExternalLinks:!1})}init(){const c=this.editor;c.model.schema.extend("$text",{allowAttributes:"linkHref"}),c.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:sP}),c.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(h,m)=>sP(aP(h),m)}),c.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:h=>h.getAttribute("href")}}),c.commands.add("link",new Mz(c)),c.commands.add("unlink",new Rz(c));const u=function(h,m){const _={"Open in a new tab":h("Open in a new tab"),Downloadable:h("Downloadable")};return m.forEach(b=>("label"in b&&_[b.label]&&(b.label=_[b.label]),b)),m}(c.t,function(h){const m=[];if(h)for(const[_,b]of Object.entries(h)){const w=Object.assign({},b,{id:`link${Tz(_)}`});m.push(w)}return m}(c.config.get("link.decorators")));this._enableAutomaticDecorators(u.filter(h=>h.mode===gP)),this._enableManualDecorators(u.filter(h=>"manual"===h.mode)),c.plugins.get(pM).registerAttribute("linkHref"),function(h,m,_,b){const w=h.editing.view,A=new Set;w.document.registerPostFixer(M=>{const R=h.model.document.selection;let O=!1;if(R.hasAttribute(m)){const N=W_(R.getFirstPosition(),m,R.getAttribute(m),h.model),V=h.editing.mapper.toViewRange(N);for(const W of V.getItems())W.is("element","a")&&!W.hasClass(b)&&(M.addClass(b,W),A.add(W),O=!0)}return O}),h.conversion.for("editingDowncast").add(M=>{function R(){w.change(O=>{for(const N of A.values())O.removeClass(b,N),A.delete(N)})}M.on("insert",R,{priority:"highest"}),M.on("remove",R,{priority:"highest"}),M.on("attribute",R,{priority:"highest"}),M.on("selection",R,{priority:"highest"})})}(c,"linkHref",0,"ck-link_selected"),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration()}_enableAutomaticDecorators(c){const u=this.editor,h=u.commands.get("link").automaticDecorators;u.config.get("link.addTargetToExternalLinks")&&h.add({id:"linkIsExternal",mode:gP,callback:m=>!!m&&Lz.test(m),attributes:{target:"_blank",rel:"noopener noreferrer"}}),h.add(c),h.length&&u.conversion.for("downcast").add(h.getDispatcher())}_enableManualDecorators(c){if(!c.length)return;const u=this.editor,h=u.commands.get("link").manualDecorators;c.forEach(m=>{u.model.schema.extend("$text",{allowAttributes:m.id});const _=new Pz(m);h.add(_),u.conversion.for("downcast").attributeToElement({model:_.id,view:(b,{writer:w,schema:A},{item:M})=>{if((M.is("selection")||A.isInline(M))&&b){const R=w.createAttributeElement("a",_.attributes,{priority:5});_.classes&&w.addClass(_.classes,R);for(const O in _.styles)w.setStyle(O,_.styles[O],R);return w.setCustomProperty("link",!0,R),R}}}),u.conversion.for("upcast").elementToAttribute({view:pP({name:"a"},_._createPattern()),model:{key:_.id}})})}_enableLinkOpen(){const c=this.editor,u=c.editing.view.document;this.listenTo(u,"click",(h,m)=>{if(!(ae.isMac?m.domEvent.metaKey:m.domEvent.ctrlKey))return;let _=m.domTarget;if("a"!=_.tagName.toLowerCase()&&(_=_.closest("a")),!_)return;const b=_.getAttribute("href");b&&(h.stop(),m.preventDefault(),lP(b))},{context:"$capture"}),this.listenTo(u,"keydown",(h,m)=>{const _=c.commands.get("link").value;_&&m.keyCode===zi.enter&&m.altKey&&(h.stop(),lP(_))})}_enableSelectionAttributesFixer(){const c=this.editor.model,u=c.document.selection;this.listenTo(u,"change:attribute",(h,{attributeKeys:m})=>{m.includes("linkHref")&&!u.hasAttribute("linkHref")&&c.change(_=>{var b;!function(w,A){w.removeSelectionAttribute("linkHref");for(const M of A)w.removeSelectionAttribute(M)}(_,(b=c.schema,b.getDefinition("$text").allowAttributes.filter(w=>w.startsWith("link"))))})})}_enableClipboardIntegration(){const c=this.editor,u=c.model,h=this.editor.config.get("link.defaultProtocol");h&&this.listenTo(c.plugins.get("ClipboardPipeline"),"contentInsertion",(m,_)=>{u.change(b=>{const w=b.createRangeIn(_.content);for(const A of w.getItems())if(A.hasAttribute("linkHref")){const M=LD(A.getAttribute("linkHref"),h);b.setAttribute("linkHref",M,A)}})})}}var fP=ft(7754);At()(fP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class HD extends gi{constructor(c,u){super(c),this.focusTracker=new Bo,this.keystrokes=new ea,this._focusables=new Dl;const h=c.t;this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(h("Save"),hn.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(h("Cancel"),hn.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(u),this.children=this._createFormChildren(u.manualDecorators),this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const m=["ck","ck-link-form","ck-responsive-form"];u.manualDecorators.length&&m.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:m,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce((c,u)=>(c[u.name]=u.isOn,c),{})}render(){super.render(),U({view:this}),[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach(c=>{this._focusables.add(c),this.focusTracker.add(c.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const c=this.locale.t,u=new xu(this.locale,Bd);return u.label=c("Link URL"),u}_createButton(c,u,h,m){const _=new Hn(this.locale);return _.set({label:c,icon:u,tooltip:!0}),_.extendTemplate({attributes:{class:h}}),m&&_.delegate("execute").to(this,m),_}_createManualDecoratorSwitches(c){const u=this.createCollection();for(const h of c.manualDecorators){const m=new Dg(this.locale);m.set({name:h.id,label:h.label,withText:!0}),m.bind("isOn").toMany([h,c],"value",(_,b)=>void 0===b&&void 0===_?!!h.defaultValue:!!_),m.on("execute",()=>{h.set("value",!m.isOn)}),u.add(m)}return u}_createFormChildren(c){const u=this.createCollection();if(u.add(this.urlInputView),c.length){const h=new gi;h.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map(m=>({tag:"li",children:[m],attributes:{class:["ck","ck-list__item"]}})),attributes:{class:["ck","ck-reset","ck-list"]}}),u.add(h)}return u.add(this.saveButtonView),u.add(this.cancelButtonView),u}}var GD=ft(2347);At()(GD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Bz extends gi{constructor(c){super(c),this.focusTracker=new Bo,this.keystrokes=new ea,this._focusables=new Dl;const u=c.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(u("Unlink"),'',"unlink"),this.editButtonView=this._createButton(u("Edit link"),hn.pencil,"edit"),this.set("href",void 0),this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render(),[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach(c=>{this._focusables.add(c),this.focusTracker.add(c.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(c,u,h){const m=new Hn(this.locale);return m.set({label:c,icon:u,tooltip:!0}),m.delegate("execute").to(this,h),m}_createPreviewButton(){const c=new Hn(this.locale),u=this.bindTemplate,h=this.t;return c.set({withText:!0,tooltip:h("Open link in new tab")}),c.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:u.to("href",m=>m&&aP(m)),target:"_blank",rel:"noopener noreferrer"}}),c.bind("label").to(this,"href",m=>m||h("This link has no URL")),c.bind("isEnabled").to(this,"href",m=>!!m),c.template.tag="a",c.template.eventListeners={},c}}const Qc="link-ui";class $D extends ht{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[y0]}static get pluginName(){return"LinkUI"}init(){const c=this.editor;c.editing.view.addObserver(ep),this._balloon=c.plugins.get(y0),this._createToolbarLinkButton(),this._enableBalloonActivators(),c.conversion.for("editingDowncast").markerToHighlight({model:Qc,view:{classes:["ck-fake-link-selection"]}}),c.conversion.for("editingDowncast").markerToElement({model:Qc,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}})}destroy(){super.destroy(),this.formView&&this.formView.destroy(),this.actionsView&&this.actionsView.destroy()}_createViews(){this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createActionsView(){const c=this.editor,u=new Bz(c.locale),h=c.commands.get("link"),m=c.commands.get("unlink");return u.bind("href").to(h,"value"),u.editButtonView.bind("isEnabled").to(h),u.unlinkButtonView.bind("isEnabled").to(m),this.listenTo(u,"edit",()=>{this._addFormView()}),this.listenTo(u,"unlink",()=>{c.execute("unlink"),this._hideUI()}),u.keystrokes.set("Esc",(_,b)=>{this._hideUI(),b()}),u.keystrokes.set(ND,(_,b)=>{this._addFormView(),b()}),u}_createFormView(){const c=this.editor,u=c.commands.get("link"),h=c.config.get("link.defaultProtocol"),m=new(Ne(HD))(c.locale,u);return m.urlInputView.fieldView.bind("value").to(u,"value"),m.urlInputView.bind("isEnabled").to(u,"isEnabled"),m.saveButtonView.bind("isEnabled").to(u),this.listenTo(m,"submit",()=>{const{value:_}=m.urlInputView.fieldView.element,b=LD(_,h);c.execute("link",b,m.getDecoratorSwitchesState()),this._closeFormView()}),this.listenTo(m,"cancel",()=>{this._closeFormView()}),m.keystrokes.set("Esc",(_,b)=>{this._closeFormView(),b()}),m}_createToolbarLinkButton(){const c=this.editor,u=c.commands.get("link"),h=c.t;c.ui.componentFactory.add("link",m=>{const _=new Hn(m);return _.isEnabled=!0,_.label=h("Link"),_.icon='',_.keystroke=ND,_.tooltip=!0,_.isToggleable=!0,_.bind("isEnabled").to(u,"isEnabled"),_.bind("isOn").to(u,"value",b=>!!b),this.listenTo(_,"execute",()=>this._showUI(!0)),_})}_enableBalloonActivators(){const c=this.editor;this.listenTo(c.editing.view.document,"click",()=>{this._getSelectedLinkElement()&&this._showUI()}),c.keystrokes.set(ND,(h,m)=>{m(),c.commands.get("link").isEnabled&&this._showUI(!0)})}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",(c,u)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),u())},{priority:"high"}),this.editor.keystrokes.set("Esc",(c,u)=>{this._isUIVisible&&(this._hideUI(),u())}),Ce({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this.actionsView||this._createViews(),this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const c=this.editor.commands.get("link");this.formView.disableCssTransitions(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions(),this.formView.urlInputView.fieldView.element.value=c.value||""}_closeFormView(){const c=this.editor.commands.get("link");c.restoreManualDecoratorStates(),void 0!==c.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(c=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),c&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),c&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const c=this.editor;this.stopListening(c.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),c.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const c=this.editor,u=c.editing.view.document;let h=this._getSelectedLinkElement(),m=b();const _=()=>{const w=this._getSelectedLinkElement(),A=b();h&&!w||!h&&A!==m?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),h=w,m=A};function b(){return u.selection.focus.getAncestors().reverse().find(w=>w.is("element"))}this.listenTo(c.ui,"update",_),this.listenTo(this._balloon,"change:visibleView",_)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _areActionsInPanel(){return!!this.actionsView&&this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return!!this.actionsView&&this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){return!!this.formView&&this._balloon.visibleView==this.formView||this._areActionsVisible}_getBalloonPositionData(){const c=this.editor.editing.view,h=c.document;let m;if(this.editor.model.markers.has(Qc)){const _=Array.from(this.editor.editing.mapper.markerNameToElements(Qc)),b=c.createRange(c.createPositionBefore(_[0]),c.createPositionAfter(_[_.length-1]));m=c.domConverter.viewRangeToDom(b)}else m=()=>{const _=this._getSelectedLinkElement();return _?c.domConverter.mapViewToDom(_):c.domConverter.viewRangeToDom(h.selection.getFirstRange())};return{target:m}}_getSelectedLinkElement(){const c=this.editor.editing.view,u=c.document.selection,h=u.getSelectedElement();if(u.isCollapsed||h&&dr(h))return UD(u.getFirstPosition());{const m=u.getFirstRange().getTrimmed(),_=UD(m.start),b=UD(m.end);return _&&_==b&&c.createRangeIn(_).getTrimmed().isEqual(m)?_:null}}_showFakeVisualSelection(){const c=this.editor.model;c.change(u=>{const h=c.document.selection.getFirstRange();if(c.markers.has(Qc))u.updateMarker(Qc,{range:h});else if(h.start.isAtEnd){const m=h.start.getLastMatchingPosition(({item:_})=>!c.schema.isContent(_),{boundaries:h});u.addMarker(Qc,{usingOperation:!1,affectsData:!1,range:u.createRange(m,h.end)})}else u.addMarker(Qc,{usingOperation:!1,affectsData:!1,range:h})})}_hideFakeVisualSelection(){const c=this.editor.model;c.markers.has(Qc)&&c.change(u=>{u.removeMarker(Qc)})}}function UD(g){return g.getAncestors().find(c=>{return(u=c).is("attributeElement")&&!!u.getCustomProperty("link");var u})||null}const Ye=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class yp extends ht{static get requires(){return[ys,mP]}static get pluginName(){return"AutoLink"}init(){const c=this.editor.model.document.selection;c.on("change:range",()=>{this.isEnabled=!c.anchor.parent.is("element","codeBlock")}),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(c,u){return u.textNode&&u.textNode.hasAttribute("linkHref")?W_(u,"linkHref",u.textNode.getAttribute("linkHref"),c):null}_selectEntireLinks(c,u){const h=this.editor.model,m=h.document.selection,_=m.getFirstPosition(),b=m.getLastPosition();let w=u.getJoined(this._expandLinkRange(h,_)||u);w&&(w=w.getJoined(this._expandLinkRange(h,b)||u)),w&&(w.start.isBefore(_)||w.end.isAfter(b))&&c.setSelection(w)}_enablePasteLinking(){const c=this.editor,u=c.model,h=u.document.selection,m=c.plugins.get("ClipboardPipeline"),_=c.commands.get("link");m.on("inputTransformation",(b,w)=>{if(!this.isEnabled||!_.isEnabled||h.isCollapsed||h.rangeCount>1)return;const A=h.getFirstRange(),M=w.dataTransfer.getData("text/plain");if(!M)return;const R=M.match(Ye);R&&R[2]===M&&(u.change(O=>{this._selectEntireLinks(O,A),_.execute(M)}),b.stop())},{priority:"high"})}_enableTypingHandling(){const c=this.editor,u=new T0(c.model,h=>{if(!((_=h).length>4&&" "===_[_.length-1]&&" "!==_[_.length-2]))return;var _;const m=WD(h.substr(0,h.length-1));return m?{url:m}:void 0});u.on("matched:data",(h,m)=>{const{batch:_,range:b,url:w}=m;if(!_.isTyping)return;const A=b.end.getShiftedBy(-1),M=A.getShiftedBy(-w.length),R=c.model.createRange(M,A);this._applyAutoLink(w,R)}),u.bind("isEnabled").to(this)}_enableEnterHandling(){const c=this.editor,u=c.model,h=c.commands.get("enter");h&&h.on("execute",()=>{const m=u.document.selection.getFirstPosition();if(!m.parent.previousSibling)return;const _=u.createRangeIn(m.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(_)})}_enableShiftEnterHandling(){const c=this.editor,u=c.model,h=c.commands.get("shiftEnter");h&&h.on("execute",()=>{const m=u.document.selection.getFirstPosition(),_=u.createRange(u.createPositionAt(m.parent,0),m.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(_)})}_checkAndApplyAutoLinkOnRange(c){const u=this.editor.model,{text:h,range:m}=hM(c,u),_=WD(h);if(_){const b=u.createRange(m.end.getShiftedBy(-_.length),m.end);this._applyAutoLink(_,b)}}_applyAutoLink(c,u){const h=this.editor.model,m=LD(c,this.editor.config.get("link.defaultProtocol"));var b;this.isEnabled&&(b=h).schema.checkAttributeInSelection(b.createSelection(u),"linkHref")&&BD(m)&&!function(_){const b=_.start.nodeAfter;return!!b&&b.hasAttribute("linkHref")}(u)&&this._persistAutoLink(m,u)}_persistAutoLink(c,u){const h=this.editor.model,m=this.editor.plugins.get("Delete");h.enqueueChange(_=>{_.setAttribute("linkHref",c,u),h.enqueueChange(()=>{m.requestUndoOnBackspace()})})}}function WD(g){const c=Ye.exec(g);return c?c[2]:null}var _P=ft(111);At()(_P.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Q0=ft(5730);At()(Q0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var vP=ft(4564);function yP(g,c,u,h){const m=c.parent,_=u.mapper,b=u.writer;let w=_.toViewPosition(h.createPositionBefore(g));const A=YD(g.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:g.getAttribute("listIndent")}),M=g.previousSibling;if(A&&A.getAttribute("listIndent")==g.getAttribute("listIndent")){const R=_.toViewElement(A);w=b.breakContainer(b.createPositionAfter(R))}else if(M&&"listItem"==M.name){w=_.toViewPosition(h.createPositionAt(M,"end"));const R=_.findMappedViewAncestor(w),O=function(N){for(const V of N.getChildren())if("ul"==V.name||"ol"==V.name)return V;return null}(R);w=O?b.createPositionBefore(O):b.createPositionAt(R,"end")}else w=_.toViewPosition(h.createPositionBefore(g));if(w=X0(w),b.insert(w,m),M&&"listItem"==M.name){const R=_.toViewElement(M),O=b.createRange(b.createPositionAt(R,0),w).getWalker({ignoreElementEnd:!0});for(const N of O)if(N.item.is("element","li")){const V=b.breakContainer(b.createPositionBefore(N.item)),W=N.item.parent,Y=b.createPositionAt(c,"end");Ue(b,Y.nodeBefore,Y.nodeAfter),b.move(b.createRangeOn(W),Y),O._position=V}}else{const R=m.nextSibling;if(R&&(R.is("element","ul")||R.is("element","ol"))){let O=null;for(const N of R.getChildren()){const V=_.toModelElement(N);if(!(V&&V.getAttribute("listIndent")>g.getAttribute("listIndent")))break;O=N}O&&(b.breakContainer(b.createPositionAfter(O)),b.move(b.createRangeOn(O.parent),b.createPositionAt(c,"end")))}}Ue(b,m,m.nextSibling),Ue(b,m.previousSibling,m)}function Ue(g,c,u){return!c||!u||"ul"!=c.name&&"ol"!=c.name||c.name!=u.name||c.getAttribute("class")!==u.getAttribute("class")?null:g.mergeContainers(g.createPositionAfter(c))}function X0(g){return g.getLastMatchingPosition(c=>c.item.is("uiElement"))}function YD(g,c){const u=!!c.sameIndent,h=!!c.smallerIndent,m=c.listIndent;let _=g;for(;_&&"listItem"==_.name;){const b=_.getAttribute("listIndent");if(u&&m==b||h&&m>b)return _;_="forward"===c.direction?_.nextSibling:_.previousSibling}return null}function QD(g,c,u,h){g.ui.componentFactory.add(c,m=>{const _=g.commands.get(c),b=new Hn(m);return b.set({label:u,icon:h,tooltip:!0,isToggleable:!0}),b.bind("isOn","isEnabled").to(_,"value","isEnabled"),b.on("execute",()=>{g.execute(c),g.editing.view.focus()}),b})}function Z0(g,c){const u=[],h=g.parent,m={ignoreElementEnd:!1,startPosition:g,shallow:!0,direction:c},_=h.getAttribute("listIndent"),b=[...new lc(m)].filter(w=>w.item.is("element")).map(w=>w.item);for(const w of b){if(!w.is("element","listItem")||w.getAttribute("listIndent")<_)break;if(!(w.getAttribute("listIndent")>_)){if(w.getAttribute("listType")!==h.getAttribute("listType")||w.getAttribute("listStyle")!==h.getAttribute("listStyle")||w.getAttribute("listReversed")!==h.getAttribute("listReversed")||w.getAttribute("listStart")!==h.getAttribute("listStart"))break;"backward"===c?u.unshift(w):u.push(w)}}return u}At()(vP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const CP=["disc","circle","square"],Vz=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function zz(){const g=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||g?0:Fs.call(this)}class Hz extends ht{static get pluginName(){return"ListUI"}init(){const c=this.editor.t;QD(this.editor,"numberedList",c("Numbered List"),''),QD(this.editor,"bulletedList",c("Bulleted List"),'')}}const Gz={},wP={},pq={},xP=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:g,typeAttribute:c,listType:u}of xP)Gz[g]=u,wP[g]=c,c&&(pq[c]=g);var kP=ft(6082);At()(kP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var $z=ft(2417);At()($z.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class DP extends Bi{constructor(c,u){super(c),this._indentBy="forward"==u?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const c=this.editor.model;let h=Array.from(c.document.selection.getSelectedBlocks());c.change(m=>{const _=h[h.length-1];let b=_.nextSibling;for(;b&&"listItem"==b.name&&b.getAttribute("listIndent")>_.getAttribute("listIndent");)h.push(b),b=b.nextSibling;this._indentBy<0&&(h=h.reverse());for(const w of h){const A=w.getAttribute("listIndent")+this._indentBy;A<0?m.rename(w,"paragraph"):m.setAttribute("listIndent",A,w)}this.fire("_executeCleanup",h)})}_checkEnabled(){const c=gr(this.editor.model.document.selection.getSelectedBlocks());if(!c||!c.is("element","listItem"))return!1;if(this._indentBy>0){const u=c.getAttribute("listIndent"),h=c.getAttribute("listType");let m=c.previousSibling;for(;m&&m.is("element","listItem")&&m.getAttribute("listIndent")>=u;){if(m.getAttribute("listIndent")==u)return m.getAttribute("listType")==h;m=m.previousSibling}return!1}return!0}}class Dn extends Bi{constructor(c,u){super(c),this.type=u}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(c={}){const u=this.editor.model,m=Array.from(u.document.selection.getSelectedBlocks()).filter(b=>Un(b,u.schema)),_=void 0!==c.forceValue?!c.forceValue:this.value;u.change(b=>{if(_){let w=m[m.length-1].nextSibling,A=Number.POSITIVE_INFINITY,M=[];for(;w&&"listItem"==w.name&&0!==w.getAttribute("listIndent");){const R=w.getAttribute("listIndent");R=u;)_>m.getAttribute("listIndent")&&(_=m.getAttribute("listIndent")),m.getAttribute("listIndent")==_&&g[c?"unshift":"push"](m),m=m[c?"previousSibling":"nextSibling"]}}function Un(g,c){return c.checkChild(g.parent,"listItem")&&!c.isObject(g)}class lv extends ht{static get pluginName(){return"ListUtils"}getListTypeFromListStyleType(c){return CP.includes(u=c)?"bulleted":Vz.includes(u)?"numbered":null;var u}getSelectedListItems(c){return function(u){let h=[...u.document.selection.getSelectedBlocks()].filter(m=>m.is("element","listItem")).map(m=>{const _=u.change(b=>b.createPositionAt(m,0));return[...Z0(_,"backward"),...Z0(_,"forward")]}).flat();return h=[...new Set(h)],h}(c)}getSiblingNodes(c,u){return Z0(c,u)}}function mc(g){return(c,u,h)=>{const m=h.consumable;if(!m.test(u.item,"insert")||!m.test(u.item,"attribute:listType")||!m.test(u.item,"attribute:listIndent"))return;m.consume(u.item,"insert"),m.consume(u.item,"attribute:listType"),m.consume(u.item,"attribute:listIndent");const _=u.item;yP(_,function KD(g,c){const u=c.mapper,h=c.writer,m="numbered"==g.getAttribute("listType")?"ol":"ul",_=function(w){const A=w.createContainerElement("li");return A.getFillerOffset=zz,A}(h),b=h.createContainerElement(m,null);return h.insert(h.createPositionAt(b,0),_),u.bindElements(g,_),_}(_,h),h,g)}}const Ji=(g,c,u)=>{if(!u.consumable.test(c.item,g.name))return;const h=u.mapper.toViewElement(c.item),m=u.writer;m.breakContainer(m.createPositionBefore(h)),m.breakContainer(m.createPositionAfter(h)),m.rename("numbered"==c.attributeNewValue?"ol":"ul",h.parent)},en=(g,c,u)=>{u.consumable.consume(c.item,g.name);const h=u.mapper.toViewElement(c.item).parent,m=u.writer;Ue(m,h,h.nextSibling),Ue(m,h.previousSibling,h)},is=(g,c,u)=>{if(u.consumable.test(c.item,g.name)&&"listItem"!=c.item.name){let h=u.mapper.toViewPosition(c.range.start);const m=u.writer,_=[];for(;("ul"==h.parent.name||"ol"==h.parent.name)&&(h=m.breakContainer(h),"li"==h.parent.name);){const b=h,w=m.createPositionAt(h.parent,"end");if(!b.isEqual(w)){const A=m.remove(m.createRange(b,w));_.push(A)}h=m.createPositionAfter(h.parent)}if(_.length>0){for(let b=0;b<_.length;b++){const w=h.nodeBefore;if(h=m.insert(h,_[b]).end,b>0){const A=Ue(m,w,w.nextSibling);A&&A.parent==w&&h.offset--}}Ue(m,h.nodeBefore,h.nodeAfter)}}},XD=(g,c,u)=>{const h=u.mapper.toViewPosition(c.position);Ue(u.writer,h.nodeBefore,h.nodeAfter)},Bu=(g,c,u)=>{if(u.consumable.consume(c.viewItem,{name:!0})){const h=u.writer,m=h.createElement("listItem"),_=function(A){let M=0,R=A.parent;for(;R;){if(R.is("element","li"))M++;else{const O=R.previousSibling;O&&O.is("element","li")&&M++}R=R.parent}return M}(c.viewItem);if(h.setAttribute("listIndent",_,m),h.setAttribute("listType",c.viewItem.parent&&"ol"==c.viewItem.parent.name?"numbered":"bulleted",m),!u.safeInsert(m,c.modelCursor))return;const w=function(A,M,R){const{writer:O,schema:N}=R;let V=O.createPositionAfter(A);for(const W of M)if("ul"==W.name||"ol"==W.name)V=R.convertItem(W,V).modelCursor;else{const Y=R.convertItem(W,O.createPositionAt(A,"end")),ne=Y.modelRange.start.nodeAfter;ne&&ne.is("element")&&!N.checkChild(A,ne.name)&&(A=Y.modelCursor.parent.is("element","listItem")?Y.modelCursor.parent:SP(Y.modelCursor),V=O.createPositionAfter(A))}return V}(m,c.viewItem.getChildren(),u);c.modelRange=h.createRange(c.modelCursor,w),u.updateConversionResult(m,c)}},ym=(g,c,u)=>{if(u.consumable.test(c.viewItem,{name:!0})){const h=Array.from(c.viewItem.getChildren());for(const m of h)!m.is("element","li")&&!le(m)&&m._remove()}},AP=(g,c,u)=>{if(u.consumable.test(c.viewItem,{name:!0})){if(0===c.viewItem.childCount)return;const h=[...c.viewItem.getChildren()];let m=!1;for(const _ of h)m&&!le(_)&&_._remove(),le(_)&&(m=!0)}};function ZD(g){return(c,u)=>{if(u.isPhantom)return;const h=u.modelPosition.nodeBefore;if(h&&h.is("element","listItem")){const m=u.mapper.toViewElement(h),_=m.getAncestors().find(le),b=g.createPositionAt(m,0).getWalker();for(const w of b){if("elementStart"==w.type&&w.item.is("element","li")){u.viewPosition=w.previousPosition;break}if("elementEnd"==w.type&&w.item==_){u.viewPosition=w.nextPosition;break}}}}}const IP=function(g,[c,u]){let m,_=c.is("documentFragment")?c.getChild(0):c;if(m=u?this.createSelection(u):this.document.selection,_&&_.is("element","listItem")){const b=m.getFirstPosition();let w=null;if(b.parent.is("element","listItem")?w=b.parent:b.nodeBefore&&b.nodeBefore.is("element","listItem")&&(w=b.nodeBefore),w){const A=w.getAttribute("listIndent");if(A>0)for(;_&&_.is("element","listItem");)_._setAttribute("listIndent",_.getAttribute("listIndent")+A),_=_.nextSibling}}};function SP(g){const c=new lc({startPosition:g});let u;do{u=c.next()}while(!u.value.item.is("element","listItem"));return u.value.item}function JD(g,c,u,h,m,_){const b=YD(c.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:g}),w=m.mapper,A=m.writer,M=b?b.getAttribute("listIndent"):null;let R;if(b)if(M==g){const O=w.toViewElement(b).parent;R=A.createPositionAfter(O)}else{const O=_.createPositionAt(b,"end");R=w.toViewPosition(O)}else R=u;R=X0(R);for(const O of[...h.getChildren()])le(O)&&(R=A.move(A.createRangeOn(O),R).end,Ue(A,O,O.nextSibling),Ue(A,O.previousSibling,O))}function le(g){return g.is("element","ol")||g.is("element","ul")}class Wz extends ht{static get pluginName(){return"ListEditing"}static get requires(){return[Ru,ys,lv]}init(){const c=this.editor;c.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const u=c.data,h=c.editing;var m;c.model.document.registerPostFixer(b=>function(w,A){const M=w.document.differ.getChanges(),R=new Map;let O=!1;for(const Y of M)if("insert"==Y.type&&"listItem"==Y.name)N(Y.position);else if("insert"==Y.type&&"listItem"!=Y.name){if("$text"!=Y.name){const ne=Y.position.nodeAfter;ne.hasAttribute("listIndent")&&(A.removeAttribute("listIndent",ne),O=!0),ne.hasAttribute("listType")&&(A.removeAttribute("listType",ne),O=!0),ne.hasAttribute("listStyle")&&(A.removeAttribute("listStyle",ne),O=!0),ne.hasAttribute("listReversed")&&(A.removeAttribute("listReversed",ne),O=!0),ne.hasAttribute("listStart")&&(A.removeAttribute("listStart",ne),O=!0);for(const he of Array.from(w.createRangeIn(ne)).filter(Me=>Me.item.is("element","listItem")))N(he.previousPosition)}N(Y.position.getShiftedBy(Y.length))}else"remove"==Y.type&&"listItem"==Y.name?N(Y.position):("attribute"==Y.type&&"listIndent"==Y.attributeKey||"attribute"==Y.type&&"listType"==Y.attributeKey)&&N(Y.range.start);for(const Y of R.values())V(Y),W(Y);return O;function N(Y){const ne=Y.nodeBefore;if(ne&&ne.is("element","listItem")){let he=ne;if(R.has(he))return;for(let Me=he.previousSibling;Me&&Me.is("element","listItem");Me=he.previousSibling)if(he=Me,R.has(he))return;R.set(ne,he)}else{const he=Y.nodeAfter;he&&he.is("element","listItem")&&R.set(he,he)}}function V(Y){let ne=0,he=null;for(;Y&&Y.is("element","listItem");){const Me=Y.getAttribute("listIndent");if(Me>ne){let qe;null===he?(he=Me-ne,qe=ne):(he>Me&&(he=Me),qe=Me-he),A.setAttribute("listIndent",qe,Y),O=!0}else he=null,ne=Y.getAttribute("listIndent")+1;Y=Y.nextSibling}}function W(Y){let ne=[],he=null;for(;Y&&Y.is("element","listItem");){const Me=Y.getAttribute("listIndent");if(he&&he.getAttribute("listIndent")>Me&&(ne=ne.slice(0,Me+1)),0!=Me)if(ne[Me]){const qe=ne[Me];Y.getAttribute("listType")!=qe&&(A.setAttribute("listType",qe,Y),O=!0)}else ne[Me]=Y.getAttribute("listType");he=Y,Y=Y.nextSibling}}}(c.model,b)),h.mapper.registerViewToModelLength("li",TP),u.mapper.registerViewToModelLength("li",TP),h.mapper.on("modelToViewPosition",ZD(h.view)),h.mapper.on("viewToModelPosition",(m=c.model,(b,w)=>{const A=w.viewPosition,M=A.parent,R=w.mapper;if("ul"==M.name||"ol"==M.name){if(A.isAtEnd){const O=R.toModelElement(A.nodeBefore),N=R.getModelLength(A.nodeBefore);w.modelPosition=m.createPositionBefore(O).getShiftedBy(N)}else{const O=R.toModelElement(A.nodeAfter);w.modelPosition=m.createPositionBefore(O)}b.stop()}else if("li"==M.name&&A.nodeBefore&&("ul"==A.nodeBefore.name||"ol"==A.nodeBefore.name)){const O=R.toModelElement(M);let N=1,V=A.nodeBefore;for(;V&&le(V);)N+=R.getModelLength(V),V=V.previousSibling;w.modelPosition=m.createPositionBefore(O).getShiftedBy(N),b.stop()}})),u.mapper.on("modelToViewPosition",ZD(h.view)),c.conversion.for("editingDowncast").add(b=>{var w;b.on("insert",is,{priority:"high"}),b.on("insert:listItem",mc(c.model)),b.on("attribute:listType:listItem",Ji,{priority:"high"}),b.on("attribute:listType:listItem",en,{priority:"low"}),b.on("attribute:listIndent:listItem",(w=c.model,(A,M,R)=>{if(!R.consumable.consume(M.item,"attribute:listIndent"))return;const O=R.mapper.toViewElement(M.item),N=R.writer;N.breakContainer(N.createPositionBefore(O)),N.breakContainer(N.createPositionAfter(O));const V=O.parent,W=V.previousSibling,Y=N.createRangeOn(V);N.remove(Y),W&&W.nextSibling&&Ue(N,W,W.nextSibling),JD(M.attributeOldValue+1,M.range.start,Y.start,O,R,w),yP(M.item,O,R,w);for(const ne of M.item.getChildren())R.consumable.consume(ne,"insert")})),b.on("remove:listItem",function(w){return(A,M,R)=>{const O=R.mapper.toViewPosition(M.position).getLastMatchingPosition(he=>!he.item.is("element","li")).nodeAfter,N=R.writer;N.breakContainer(N.createPositionBefore(O)),N.breakContainer(N.createPositionAfter(O));const V=O.parent,W=V.previousSibling,Y=N.createRangeOn(V),ne=N.remove(Y);W&&W.nextSibling&&Ue(N,W,W.nextSibling),JD(R.mapper.toModelElement(O).getAttribute("listIndent")+1,M.position,Y.start,O,R,w);for(const he of N.createRangeIn(ne).getItems())R.mapper.unbindViewElement(he);A.stop()}}(c.model)),b.on("remove",XD,{priority:"low"})}),c.conversion.for("dataDowncast").add(b=>{b.on("insert",is,{priority:"high"}),b.on("insert:listItem",mc(c.model))}),c.conversion.for("upcast").add(b=>{b.on("element:ul",ym,{priority:"high"}),b.on("element:ol",ym,{priority:"high"}),b.on("element:li",AP,{priority:"high"}),b.on("element:li",Bu)}),c.model.on("insertContent",IP,{priority:"high"}),c.commands.add("numberedList",new Dn(c,"numbered")),c.commands.add("bulletedList",new Dn(c,"bulleted")),c.commands.add("indentList",new DP(c,"forward")),c.commands.add("outdentList",new DP(c,"backward"));const _=h.view.document;this.listenTo(_,"enter",(b,w)=>{const A=this.editor.model.document,M=A.selection.getLastPosition().parent;A.selection.isCollapsed&&"listItem"==M.name&&M.isEmpty&&(this.editor.execute("outdentList"),w.preventDefault(),b.stop())},{context:"li"}),this.listenTo(_,"delete",(b,w)=>{if("backward"!==w.direction)return;const A=this.editor.model.document.selection;if(!A.isCollapsed)return;const M=A.getFirstPosition();if(!M.isAtStart)return;const R=M.parent;"listItem"===R.name&&(R.previousSibling&&"listItem"===R.previousSibling.name||(this.editor.execute("outdentList"),w.preventDefault(),b.stop()))},{context:"li"}),this.listenTo(c.editing.view.document,"tab",(b,w)=>{const A=w.shiftKey?"outdentList":"indentList";this.editor.commands.get(A).isEnabled&&(c.execute(A),w.stopPropagation(),w.preventDefault(),b.stop())},{context:"li"})}afterInit(){const c=this.editor.commands,u=c.get("indent"),h=c.get("outdent");u&&u.registerChildCommand(c.get("indentList")),h&&h.registerChildCommand(c.get("outdentList"))}}function TP(g){let c=1;for(const u of g.getChildren())if("ul"==u.name||"ol"==u.name)for(const h of u.getChildren())c+=TP(h);return c}kd("Ctrl+Enter");var qz=ft(1199);function Fn(g,c){const u=(h,m,_)=>{if(!_.consumable.consume(m.item,h.name))return;const b=m.attributeNewValue,w=_.writer,A=_.mapper.toViewElement(m.item),M=[...A.getChildren()].find(O=>O.getCustomProperty("media-content"));w.remove(M);const R=g.getMediaViewElement(w,b,c);w.insert(w.createPositionAt(A,0),R)};return h=>{h.on("attribute:url:media",u)}}function lt(g,c,u,h){return g.createContainerElement("figure",{class:"media"},[c.getMediaViewElement(g,u,h),g.createSlot()])}function Ei(g){const c=g.getSelectedElement();return c&&c.is("element","media")?c:null}function mt(g,c,u,h){g.change(m=>{const _=m.createElement("media",{url:c});g.insertObject(_,u,null,{setSelection:"on",findOptimalPosition:h?"auto":void 0})})}At()(qz.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),kd("Ctrl+Enter");class cv extends Bi{refresh(){const c=this.editor.model,u=c.document.selection,h=Ei(u);this.value=h?h.getAttribute("url"):void 0,this.isEnabled=function(m){const _=m.getSelectedElement();return!!_&&"media"===_.name}(u)||function(m,_){let w=DM(m,_).start.parent;return w.isEmpty&&!_.schema.isLimit(w)&&(w=w.parent),_.schema.checkChild(w,"media")}(u,c)}execute(c){const u=this.editor.model,h=u.document.selection,m=Ei(h);m?u.change(_=>{_.setAttribute("url",c,m)}):mt(u,c,h,!0)}}class Kz{constructor(c,u){const h=u.providers,m=u.extraProviders||[],_=new Set(u.removeProviders),b=h.concat(m).filter(w=>{const A=w.name;return A?!_.has(A):(St("media-embed-no-provider-name",{provider:w}),!1)});this.locale=c,this.providerDefinitions=b}hasMedia(c){return!!this._getMedia(c)}getMediaViewElement(c,u,h){return this._getMedia(u).getViewElement(c,h)}_getMedia(c){if(!c)return new zo(this.locale);c=c.trim();for(const u of this.providerDefinitions){const h=u.html,m=ho(u.url);for(const _ of m){const b=this._getUrlMatches(c,_);if(b)return new zo(this.locale,c,b,h)}}return null}_getUrlMatches(c,u){let h=c.match(u);if(h)return h;let m=c.replace(/^https?:\/\//,"");return h=m.match(u),h||(m=m.replace(/^www\./,""),h=m.match(u),h||null)}}class zo{constructor(c,u,h,m){this.url=this._getValidUrl(u),this._locale=c,this._match=h,this._previewRenderer=m}getViewElement(c,u){const h={};let m;if(u.renderForEditingView||u.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(h["data-oembed-url"]=this.url),u.renderForEditingView&&(h.class="ck-media__wrapper");const _=this._getPreviewHtml(u);m=c.createRawElement("div",h,(b,w)=>{w.setContentOf(b,_)})}else this.url&&(h.url=this.url),m=c.createEmptyElement(u.elementName,h);return c.setCustomProperty("media-content",!0,m),m}_getPreviewHtml(c){return this._previewRenderer?this._previewRenderer(this._match):this.url&&c.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const c=new Qo,u=this._locale.t;return c.content='',c.viewBox="0 0 64 42",new rc({tag:"div",attributes:{class:"ck ck-reset_all ck-media__placeholder"},children:[{tag:"div",attributes:{class:"ck-media__placeholder__icon"},children:[c]},{tag:"a",attributes:{class:"ck-media__placeholder__url",target:"_blank",rel:"noopener noreferrer",href:this.url,"data-cke-tooltip-text":u("Open media in new tab")},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]}]}]}).render().outerHTML}_getValidUrl(c){return c?c.match(/^https?/)?c:"https://"+c:null}}var EP=ft(7442);At()(EP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class J0 extends ht{constructor(c){super(c),c.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:[/^dailymotion\.com\/video\/(\w+)/,/^dai.ly\/(\w+)/],html:u=>`
`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:u=>`
`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)(?:&t=(\d+))?/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)(?:\?t=(\d+))?/,/^youtube\.com\/embed\/([\w-]+)(?:\?start=(\d+))?/,/^youtu\.be\/([\w-]+)(?:\?t=(\d+))?/],html:u=>{const m=u[2];return`
`}},{name:"vimeo",url:[/^vimeo\.com\/(\d+)/,/^vimeo\.com\/[^/]+\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/album\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/channels\/[^/]+\/(\d+)/,/^vimeo\.com\/groups\/[^/]+\/videos\/(\d+)/,/^vimeo\.com\/ondemand\/[^/]+\/(\d+)/,/^player\.vimeo\.com\/video\/(\d+)/],html:u=>`
`},{name:"instagram",url:/^instagram\.com\/p\/(\w+)/},{name:"twitter",url:/^twitter\.com/},{name:"googleMaps",url:[/^google\.com\/maps/,/^goo\.gl\/maps/,/^maps\.google\.com/,/^maps\.app\.goo\.gl/]},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new Kz(c.locale,c.config.get("mediaEmbed"))}static get pluginName(){return"MediaEmbedEditing"}init(){const c=this.editor,u=c.model.schema,h=c.t,m=c.conversion,_=c.config.get("mediaEmbed.previewsInData"),b=c.config.get("mediaEmbed.elementName"),w=this.registry;c.commands.add("mediaEmbed",new cv(c)),u.register("media",{inheritAllFrom:"$blockObject",allowAttributes:["url"]}),m.for("dataDowncast").elementToStructure({model:"media",view:(A,{writer:M})=>{const R=A.getAttribute("url");return lt(M,w,R,{elementName:b,renderMediaPreview:!!R&&_})}}),m.for("dataDowncast").add(Fn(w,{elementName:b,renderMediaPreview:_})),m.for("editingDowncast").elementToStructure({model:"media",view:(A,{writer:M})=>{const R=A.getAttribute("url");return O=lt(M,w,R,{elementName:b,renderForEditingView:!0}),N=M,V=h("media widget"),N.setCustomProperty("media",!0,O),$k(O,N,{label:V});var O,N,V}}),m.for("editingDowncast").add(Fn(w,{elementName:b,renderForEditingView:!0})),m.for("upcast").elementToElement({view:A=>["oembed",b].includes(A.name)&&A.getAttribute("url")?{name:!0}:null,model:(A,{writer:M})=>{const R=A.getAttribute("url");return w.hasMedia(R)?M.createElement("media",{url:R}):null}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(A,{writer:M})=>{const R=A.getAttribute("data-oembed-url");return w.hasMedia(R)?M.createElement("media",{url:R}):null}}).add(A=>{A.on("element:figure",(M,R,O)=>{if(!O.consumable.consume(R.viewItem,{name:!0,classes:"media"}))return;const{modelRange:N,modelCursor:V}=O.convertChildren(R.viewItem,R.modelCursor);R.modelRange=N,R.modelCursor=V,gr(N.getItems())||O.consumable.revert(R.viewItem,{name:!0,classes:"media"})})})}}const mq=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class je extends ht{constructor(c){super(c),this._timeoutId=null,this._positionToInsert=null}static get requires(){return[NM,ys,zV]}static get pluginName(){return"AutoMediaEmbed"}init(){const c=this.editor,u=c.model.document,h=c.plugins.get("ClipboardPipeline");this.listenTo(h,"inputTransformation",()=>{const m=u.selection.getFirstRange(),_=jn.fromPosition(m.start);_.stickiness="toPrevious";const b=jn.fromPosition(m.end);b.stickiness="toNext",u.once("change:data",()=>{this._embedMediaBetweenPositions(_,b),_.detach(),b.detach()},{priority:"high"})}),c.commands.get("undo").on("execute",()=>{this._timeoutId&&(de.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)},{priority:"high"})}_embedMediaBetweenPositions(c,u){const h=this.editor,m=h.plugins.get(J0).registry,_=new Na(c,u),b=_.getWalker({ignoreElementEnd:!0});let w="";for(const A of b)A.item.is("$textProxy")&&(w+=A.item.data);w=w.trim(),w.match(mq)&&m.hasMedia(w)&&h.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=jn.fromPosition(c),this._timeoutId=de.window.setTimeout(()=>{h.model.change(A=>{this._timeoutId=null,A.remove(_),_.detach();let M=null;"$graveyard"!==this._positionToInsert.root.rootName&&(M=this._positionToInsert),mt(h.model,w,M,!1),this._positionToInsert.detach(),this._positionToInsert=null}),h.plugins.get(ys).requestUndoOnBackspace()},100)):_.detach()}}var MP=ft(9292);At()(MP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Qz extends gi{constructor(c,u){super(u);const h=u.t;this.focusTracker=new Bo,this.keystrokes=new ea,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(h("Save"),hn.check,"ck-button-save"),this.saveButtonView.type="submit",this.saveButtonView.bind("isEnabled").to(this,"mediaURLInputValue",m=>!!m),this.cancelButtonView=this._createButton(h("Cancel"),hn.cancel,"ck-button-cancel","cancel"),this._focusables=new Dl,this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._validators=c,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),U({view:this}),[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach(u=>{this._focusables.add(u),this.focusTracker.add(u.element)}),this.keystrokes.listenTo(this.element);const c=u=>u.stopPropagation();this.keystrokes.set("arrowright",c),this.keystrokes.set("arrowleft",c),this.keystrokes.set("arrowup",c),this.keystrokes.set("arrowdown",c)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(c){this.urlInputView.fieldView.element.value=c.trim()}isValid(){this.resetFormStatus();for(const c of this._validators){const u=c(this);if(u)return this.urlInputView.errorText=u,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const c=this.locale.t,u=new xu(this.locale,Bd),h=u.fieldView;return this._urlInputViewInfoDefault=c("Paste the media URL in the input."),this._urlInputViewInfoTip=c("Tip: Paste the URL into the content to embed faster."),u.label=c("Media URL"),u.infoText=this._urlInputViewInfoDefault,h.on("input",()=>{u.infoText=h.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=h.element.value.trim()}),u}_createButton(c,u,h,m){const _=new Hn(this.locale);return _.set({label:c,icon:u,tooltip:!0}),_.extendTemplate({attributes:{class:h}}),m&&_.delegate("execute").to(this,m),_}}class eC extends ht{static get requires(){return[J0]}static get pluginName(){return"MediaEmbedUI"}init(){const c=this.editor,u=c.commands.get("mediaEmbed");c.ui.componentFactory.add("mediaEmbed",h=>{const m=dc(h);return this._setUpDropdown(m,u),m})}_setUpDropdown(c,u){const h=this.editor,m=h.t,_=c.buttonView,b=h.plugins.get(J0).registry;c.once("change:isOpen",()=>{const w=new(Ne(Qz))((A=h.t,M=b,[R=>{if(!R.url.length)return A("The URL must not be empty.")},R=>{if(!M.hasMedia(R.url))return A("This media URL is not supported.")}]),h.locale);var A,M;c.panelView.children.add(w),_.on("open",()=>{w.disableCssTransitions(),w.url=u.value||"",w.urlInputView.fieldView.select(),w.enableCssTransitions()},{priority:"low"}),c.on("submit",()=>{w.isValid()&&(h.execute("mediaEmbed",w.url),h.editing.view.focus())}),c.on("change:isOpen",()=>w.resetFormStatus()),c.on("cancel",()=>{h.editing.view.focus()}),w.delegate("submit","cancel").to(c),w.urlInputView.fieldView.bind("value").to(u,"value"),w.urlInputView.bind("isEnabled").to(u,"isEnabled")}),c.bind("isEnabled").to(u),_.set({label:m("Insert media"),icon:'',tooltip:!0})}}var eA=ft(4652);function tC(g){if(g.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(g){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return g;default:return null}}function PP(g,c,u){const h=c.parent,m=u.createElement(g.type),_=h.getChildIndex(c)+1;return u.insertChild(_,m,h),g.style&&u.setStyle("list-style-type",g.style,m),g.startIndex&&g.startIndex>1&&u.setAttribute("start",g.startIndex,m),m}function Zz(g){const c={},u=g.getStyle("mso-list");if(u){const h=u.match(/(^|\s{1,100})l(\d+)/i),m=u.match(/\s{0,100}lfo(\d+)/i),_=u.match(/\s{0,100}level(\d+)/i);h&&m&&_&&(c.id=h[2],c.order=m[1],c.indent=parseInt(_[1]))}return c}function Jz(g){return btoa(g.match(/\w{2}/g).map(c=>String.fromCharCode(parseInt(c,16))).join(""))}At()(eA.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const eH=//i,FP=/xmlns:o="urn:schemas-microsoft-com/i;class ei{constructor(c){this.document=c}isActive(c){return eH.test(c)||FP.test(c)}execute(c){const{body:u,stylesString:h}=c._parsedData;(function RP(g,c){if(!g.childCount)return;const u=new $c(g.document),h=function(b,w){const A=w.createRangeIn(b),M=new sc({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),R=[];for(const O of A)if("elementStart"===O.type&&M.match(O.item)){const N=Zz(O.item);R.push({element:O.item,id:N.id,order:N.order,indent:N.indent})}return R}(g,u);if(!h.length)return;let m=null,_=1;h.forEach((b,w)=>{const A=function(W,Y){if(!W)return!0;if(W.id!==Y.id)return Y.indent-W.indent!=1;const ne=Y.element.previousSibling;return!ne||!((he=ne).is("element","ol")||he.is("element","ul"));var he}(h[w-1],b),R=(N=b,(O=A?null:h[w-1])?N.indent-O.indent:N.indent-1);var O,N;if(A&&(m=null,_=1),!m||0!==R){const W=function(Y,ne){const Me=/mso-level-number-format:([^;]{0,100});/gi,qe=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,kt=new RegExp(`@list l${Y.id}:level${Y.indent}\\s*({[^}]*)`,"gi").exec(ne);let $t="decimal",tn="ol",Wi=null;if(kt&&kt[1]){const Wn=Me.exec(kt[1]);if(Wn&&Wn[1]&&($t=Wn[1].trim(),tn="bullet"!==$t&&"image"!==$t?"ol":"ul"),"bullet"===$t){const Zo=function(zu){const Vl=function(Hu){if(Hu.getChild(0).is("$text"))return null;for(const Xc of Hu.getChildren()){if(!Xc.is("element","span"))continue;const Ap=Xc.getChild(0);if(Ap)return Ap.is("$text")?Ap:Ap.getChild(0)}return null}(zu);if(!Vl)return null;const zl=Vl._data;return"o"===zl?"circle":"\xb7"===zl?"disc":"\xa7"===zl?"square":null}(Y.element);Zo&&($t=Zo)}else{const Zo=qe.exec(kt[1]);Zo&&Zo[1]&&(Wi=parseInt(Zo[1]))}}return{type:tn,startIndex:Wi,style:tC($t)}}(b,c);if(m)if(b.indent>_){const Y=m.getChild(m.childCount-1),ne=Y.getChild(Y.childCount-1);m=PP(W,ne,u),_+=1}else b.indent<_&&(m=function(ne,he){const Me=ne.getAncestors({parentFirst:!0});let qe=null,kt=0;for(const $t of Me)if(($t.is("element","ul")||$t.is("element","ol"))&&kt++,kt===he){qe=$t;break}return qe}(m,_-b.indent),_=b.indent);else m=PP(W,b.element,u);b.indent<=_&&(m.is("element",W.type)||(m=u.rename(W.type,m)))}const V=(function(ne,he){const Me=new sc({name:"span",styles:{"mso-list":"Ignore"}}),qe=he.createRangeIn(ne);for(const kt of qe)"elementStart"===kt.type&&Me.match(kt.item)&&he.remove(kt.item)}(W=b.element,Y=u),Y.removeStyle("text-indent",W),Y.rename("li",W));var W,Y;u.appendChild(V,m)})})(u,h),function OP(g,c){if(!g.childCount)return;const u=new $c(g.document),h=function(_,b){const w=b.createRangeIn(_),A=new sc({name:/v:(.+)/}),M=[];for(const R of w){if("elementStart"!=R.type)continue;const O=R.item,N=O.previousSibling,V=N&&N.is("element")?N.name:null;A.match(O)&&O.getAttribute("o:gfxdata")&&"v:shapetype"!==V&&M.push(R.item.getAttribute("id"))}return M}(g,u);(function(_,b,w){const A=w.createRangeIn(b),M=new sc({name:"img"}),R=[];for(const O of A)if(O.item.is("element")&&M.match(O.item)){const N=O.item,V=N.getAttribute("v:shapes")?N.getAttribute("v:shapes").split(" "):[];V.length&&V.every(W=>_.indexOf(W)>-1)?R.push(N):N.getAttribute("src")||R.push(N)}for(const O of R)w.remove(O)})(h,g,u),function(_,b,w){const A=w.createRangeIn(b),M=[];for(const N of A)if("elementStart"==N.type&&N.item.is("element","v:shape")){const V=N.item.getAttribute("id");if(_.includes(V))continue;R(N.item.parent.getChildren(),V)||M.push(N.item)}for(const N of M){const V={src:O(N)};N.hasAttribute("alt")&&(V.alt=N.getAttribute("alt"));const W=w.createElement("img",V);w.insertChild(N.index+1,W,N.parent)}function R(N,V){for(const W of N)if(W.is("element")&&("img"==W.name&&W.getAttribute("v:shapes")==V||R(W.getChildren(),V)))return!0;return!1}function O(N){for(const V of N.getChildren())if(V.is("element")&&V.getAttribute("src"))return V.getAttribute("src")}}(h,g,u),function(_,b){const w=b.createRangeIn(_),A=new sc({name:/v:(.+)/}),M=[];for(const R of w)"elementStart"==R.type&&A.match(R.item)&&M.push(R.item);for(const R of M)b.remove(R)}(g,u);const m=function(_,b){const w=b.createRangeIn(_),A=new sc({name:"img"}),M=[];for(const R of w)R.item.is("element")&&A.match(R.item)&&R.item.getAttribute("src").startsWith("file://")&&M.push(R.item);return M}(g,u);m.length&&function(_,b,w){if(_.length===b.length)for(let A=0;A<_.length;A++){const M=`data:${b[A].type};base64,${Jz(b[A].hex)}`;w.setAttribute("src",M,_[A])}}(m,function(_){if(!_)return[];const b=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,w=new RegExp("(?:("+b.source+"))([\\da-fA-F\\s]+)\\}","g"),A=_.match(w),M=[];if(A)for(const R of A){let O=!1;R.includes("\\pngblip")?O="image/png":R.includes("\\jpegblip")&&(O="image/jpeg"),O&&M.push({hex:R.replace(b,"").replace(/[^\da-fA-F]/g,""),type:O})}return M}(c),u)}(u,c.dataTransfer.getData("text/rtf")),function(m){const _=[],b=new $c(m.document);for(const{item:w}of b.createRangeIn(m))if(w.is("element")){for(const A of w.getClassNames())/\bmso/gi.exec(A)&&b.removeClass(A,w);for(const A of w.getStyleNames())/\bmso/gi.exec(A)&&b.removeStyle(A,w);w.is("element","w:sdt")&&_.push(w)}for(const w of _){const A=w.parent,M=A.getChildIndex(w);b.insertChild(M,w.getChildren(),A),b.remove(w)}}(u),c.content=u}}function NP(g,c,u,{blockElements:h,inlineObjectElements:m}){let _=u.createPositionAt(g,"forward"==c?"after":"before");return _=_.getLastMatchingPosition(({item:b})=>b.is("element")&&!h.includes(b.name)&&!m.includes(b.name),{direction:c}),"forward"==c?_.nodeAfter:_.nodeBefore}function LP(g,c){return!!g&&g.is("element")&&c.includes(g.name)}const BP=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class VP{constructor(c){this.document=c}isActive(c){return BP.test(c)}execute(c){const u=new $c(this.document),{body:h}=c._parsedData;(function(m,_){for(const b of m.getChildren())if(b.is("element","b")&&"normal"===b.getStyle("font-weight")){const w=m.getChildIndex(b);_.remove(b),_.insertChild(w,b.getChildren(),m)}})(h,u),function(m,_){for(const b of _.createRangeIn(m)){const w=b.item;if(w.is("element","li")){const A=w.getChild(0);A&&A.is("element","p")&&_.unwrapElement(A)}}}(h,u),function(m,_){const b=new n_(_.document.stylesProcessor),w=new Og(b,{renderingMode:"data"}),A=w.blockElements,M=w.inlineObjectElements,R=[];for(const O of _.createRangeIn(m)){const N=O.item;if(N.is("element","br")){const V=NP(N,"forward",_,{blockElements:A,inlineObjectElements:M}),W=NP(N,"backward",_,{blockElements:A,inlineObjectElements:M}),Y=LP(V,A);(LP(W,A)||Y)&&R.push(N)}}for(const O of R)O.hasClass("Apple-interchange-newline")?_.remove(O):_.replace(O,_.createElement("p"))}(h,u),c.content=h}}const tA=/(\s+)<\/span>/g,(c,u)=>1===u.length?" ":Array(u.length+1).join("\xa0 ").substr(0,u.length))}function Xo(g,c,u,h,m=1){null!=c&&null!=m&&c>m?h.setAttribute(g,c,u):h.removeAttribute(g,u)}function Cp(g,c,u={}){const h=g.createElement("tableCell",u);return g.insertElement("paragraph",h),g.insert(h,c),h}function iA(g,c){const h=parseInt(c.parent.parent.getAttribute("headingColumns")||"0"),{column:m}=g.getCellLocation(c);return!!h&&m{c.on(`element:${g}`,(u,h,{writer:m})=>{if(!h.modelRange)return;const _=h.modelRange.start.nodeAfter,b=m.createPositionAt(_,0);if(h.viewItem.isEmpty)return void m.insertElement("paragraph",b);const w=Array.from(_.getChildren());if(w.every(A=>A.is("element","$marker"))){const A=m.createElement("paragraph");m.insert(A,m.createPositionAt(_,0));for(const M of w)m.move(m.createRangeOn(M),m.createPositionAt(A,"end"))}},{priority:"low"})}}function jP(g){let c=0,u=0;const h=Array.from(g.getChildren()).filter(m=>"th"===m.name||"td"===m.name);for(;u1||b>1)&&this._recordSpans(m,b,_),this._shouldSkipSlot()||(u=this._formatOutValue(m)),this._nextCellAtColumn=this._column+_}return this._column++,this._column==this._nextCellAtColumn&&this._cellIndex++,u||this.next()}skipRow(c){this._skipRows.add(c)}_advanceToNextRow(){return this._row++,this._rowIndex++,this._column=0,this._cellIndex=0,this._nextCellAtColumn=-1,this.next()}_isOverEndRow(){return void 0!==this._endRow&&this._row>this._endRow}_isOverEndColumn(){return void 0!==this._endColumn&&this._column>this._endColumn}_formatOutValue(c,u=this._row,h=this._column){return{done:!1,value:new oA(this,c,u,h)}}_shouldSkipSlot(){return this._skipRows.has(this._row)||this._rowthis._endColumn}_getSpanned(){const c=this._spannedCells.get(this._row);return c&&c.get(this._column)||null}_recordSpans(c,u,h){const m={cell:c,row:this._row,column:this._column};for(let _=this._row;_0&&!this._jumpedToStartRow}_jumpToNonSpannedRowClosestToStartRow(){const c=this._getRowLength(0);for(let u=this._startRow;!this._jumpedToStartRow;u--)c===this._getRowLength(u)&&(this._row=u,this._rowIndex=u,this._jumpedToStartRow=!0)}_getRowLength(c){return[...this._table.getChild(c).getChildren()].reduce((u,h)=>u+parseInt(h.getAttribute("colspan")||"1"),0)}}class oA{constructor(c,u,h,m){this.cell=u,this.row=c._row,this.column=c._column,this.cellAnchorRow=h,this.cellAnchorColumn=m,this._cellIndex=c._cellIndex,this._rowIndex=c._rowIndex,this._table=c._table}get isAnchor(){return this.row===this.cellAnchorRow&&this.column===this.cellAnchorColumn}get cellWidth(){return parseInt(this.cell.getAttribute("colspan")||"1")}get cellHeight(){return parseInt(this.cell.getAttribute("rowspan")||"1")}get rowIndex(){return this._rowIndex}getPositionBefore(){return this._table.root.document.model.createPositionAt(this._table.getChild(this.row),this._cellIndex)}}function $P(g,c){return(u,{writer:h})=>{const m=u.getAttribute("headingRows")||0,_=h.createContainerElement("table",null,[]),b=h.createContainerElement("figure",{class:"table"},_);m>0&&h.insert(h.createPositionAt(_,"end"),h.createContainerElement("thead",null,h.createSlot(w=>w.is("element","tableRow")&&w.indexw.is("element","tableRow")&&w.index>=m)));for(const{positionOffset:w,filter:A}of c.additionalSlots)h.insert(h.createPositionAt(_,w),h.createSlot(A));return h.insert(h.createPositionAt(_,"after"),h.createSlot(w=>!w.is("element","tableRow")&&!c.additionalSlots.some(({filter:A})=>A(w)))),c.asWidget?((A=h).setCustomProperty("table",!0,w=b),$k(w,A,{hasSelectionHandle:!0})):b;var w,A}}function UP(g={}){return(c,{writer:u})=>{const h=c.parent,m=h.parent,_=m.getChildIndex(h),b=new Mn(m,{row:_}),w=m.getAttribute("headingRows")||0,A=m.getAttribute("headingColumns")||0;let M=null;for(const R of b)if(R.cell==c){const O=R.row{if(!c.parent.is("element","tableCell")||!qP(c))return null;if(g.asWidget)return u.createContainerElement("span",{class:"ck-table-bogus-paragraph"});{const h=u.createContainerElement("p");return u.setCustomProperty("dataPipeline:transparentRendering",!0,h),h}}}function qP(g){return 1==g.parent.childCount&&!!g.getAttributeKeys().next().done}class KP extends Bi{refresh(){const c=this.editor.model;this.isEnabled=function(m,_){const b=m.getFirstPosition().parent;return _.checkChild(b===b.root?b:b.parent,"table")}(c.document.selection,c.schema)}execute(c={}){const u=this.editor,h=u.model,m=u.plugins.get("TableUtils"),_=u.config.get("table.defaultHeadings.rows"),b=u.config.get("table.defaultHeadings.columns");void 0===c.headingRows&&_&&(c.headingRows=_),void 0===c.headingColumns&&b&&(c.headingColumns=b),h.change(w=>{const A=m.createTable(w,c);h.insertObject(A,null,null,{findOptimalPosition:"auto"}),w.setSelection(w.createPositionAt(A.getNodeByPath([0,0,0]),0))})}}class nC extends Bi{constructor(c,u={}){super(c),this.order=u.order||"below"}refresh(){const c=this.editor.model.document.selection,u=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(c).length;this.isEnabled=u}execute(){const c=this.editor,u=c.model.document.selection,h=c.plugins.get("TableUtils"),m="above"===this.order,_=h.getSelectionAffectedTableCells(u),b=h.getRowIndexes(_),w=m?b.first:b.last,A=_[0].findAncestor("table");h.insertRows(A,{at:m?w:w+1,copyStructureFromAbove:!m})}}class G extends Bi{constructor(c,u={}){super(c),this.order=u.order||"right"}refresh(){const c=this.editor.model.document.selection,u=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(c).length;this.isEnabled=u}execute(){const c=this.editor,u=c.model.document.selection,h=c.plugins.get("TableUtils"),m="left"===this.order,_=h.getSelectionAffectedTableCells(u),b=h.getColumnIndexes(_),w=m?b.first:b.last,A=_[0].findAncestor("table");h.insertColumns(A,{columns:1,at:m?w:w+1})}}class oe extends Bi{constructor(c,u={}){super(c),this.direction=u.direction||"horizontally"}refresh(){const c=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=1===c.length}execute(){const c=this.editor.plugins.get("TableUtils"),u=c.getSelectionAffectedTableCells(this.editor.model.document.selection)[0];"horizontally"===this.direction?c.splitCellHorizontally(u,2):c.splitCellVertically(u,2)}}function Fe(g,c,u){const{startRow:h,startColumn:m,endRow:_,endColumn:b}=c,w=u.createElement("table"),A=_-h+1;for(let R=0;R0&&Xo("headingRows",Y-N,R,W,0);const ne=parseInt(O.getAttribute("headingColumns")||"0");ne>0&&Xo("headingColumns",ne-V,R,W,0)}(w,g,h,m,u),w}function j(g,c,u=0){const h=[],m=new Mn(g,{startRow:u,endRow:c-1});for(const _ of m){const{row:b,cellHeight:w}=_;b1&&(w.rowspan=A);const M=parseInt(g.getAttribute("colspan")||"1");M>1&&(w.colspan=M);const R=_+b,O=[...new Mn(m,{startRow:_,endRow:R,includeAllSlots:!0})];let N,V=null;for(const W of O){const{row:Y,column:ne,cell:he}=W;he===g&&void 0===N&&(N=ne),void 0!==N&&N===ne&&Y===R&&(V=Cp(u,W.getPositionBefore(),w))}return Xo("rowspan",b,g,u),V}function rA(g,c){const u=[],h=new Mn(g);for(const m of h){const{column:_,cellWidth:b}=m;_1&&(_.colspan=b);const w=parseInt(g.getAttribute("rowspan")||"1");w>1&&(_.rowspan=w);const A=Cp(h,h.createPositionAfter(g),_);return Xo("colspan",m,g,h),A}function QP(g,c,u,h,m,_){const b=parseInt(g.getAttribute("colspan")||"1"),w=parseInt(g.getAttribute("rowspan")||"1");u+b-1>m&&Xo("colspan",m-u+1,g,_,1),c+w-1>h&&Xo("rowspan",h-c+1,g,_,1)}function oC(g,c){const u=c.getColumns(g),h=new Array(u).fill(0);for(const{column:_}of new Mn(g))h[_]++;const m=h.reduce((_,b,w)=>b?_:[..._,w],[]);return m.length>0&&(c.removeColumns(g,{at:m[m.length-1]}),!0)}function pe(g,c){const u=[],h=c.getRows(g);for(let m=0;m0&&(c.removeRows(g,{at:u[u.length-1]}),!0)}function Cs(g,c){oC(g,c)||pe(g,c)}function wp(g,c){const u=Array.from(new Mn(g,{startColumn:c.firstColumn,endColumn:c.lastColumn,row:c.lastRow}));return u.every(({cellHeight:m})=>1===m)?c.lastRow:c.lastRow+(u[0].cellHeight-1)}function XP(g,c){const u=Array.from(new Mn(g,{startRow:c.firstRow,endRow:c.lastRow,column:c.lastColumn}));return u.every(({cellWidth:m})=>1===m)?c.lastColumn:c.lastColumn+(u[0].cellWidth-1)}class rC extends Bi{constructor(c,u){super(c),this.direction=u.direction,this.isHorizontal="right"==this.direction||"left"==this.direction}refresh(){const c=this._getMergeableCell();this.value=c,this.isEnabled=!!c}execute(){const c=this.editor.model,u=c.document,h=this.editor.plugins.get("TableUtils").getTableCellsContainingSelection(u.selection)[0],m=this.value,_=this.direction;c.change(b=>{const w="right"==_||"down"==_,A=w?h:m,M=w?m:h,R=M.parent;var Y,ne,he;ne=A,he=b,tH(Y=M)||(tH(ne)&&he.remove(he.createRangeIn(ne)),he.move(he.createRangeIn(Y),he.createPositionAt(ne,"end"))),he.remove(Y);const O=this.isHorizontal?"colspan":"rowspan",N=parseInt(h.getAttribute(O)||"1"),V=parseInt(m.getAttribute(O)||"1");b.setAttribute(O,N+V,A),b.setSelection(b.createRangeIn(A));const W=this.editor.plugins.get("TableUtils");Cs(R.findAncestor("table"),W)})}_getMergeableCell(){const c=this.editor.model.document,u=this.editor.plugins.get("TableUtils"),h=u.getTableCellsContainingSelection(c.selection)[0];if(!h)return;const m=this.isHorizontal?function(w,A,M){const N="right"==A?w.nextSibling:w.previousSibling,V=(w.parent.parent.getAttribute("headingColumns")||0)>0;if(!N)return;const W="right"==A?w:N,Y="right"==A?N:w,{column:ne}=M.getCellLocation(W),{column:he}=M.getCellLocation(Y),Me=parseInt(W.getAttribute("colspan")||"1"),qe=iA(M,W),kt=iA(M,Y);return V&&qe!=kt?void 0:ne+Me===he?N:void 0}(h,this.direction,u):function(w,A,M){const R=w.parent,O=R.parent,N=O.getChildIndex(R);if("down"==A&&N===M.getRows(O)-1||"up"==A&&0===N)return null;const V=parseInt(w.getAttribute("rowspan")||"1"),W=O.getAttribute("headingRows")||0;if(W&&("down"==A&&N+V===W||"up"==A&&N===W))return null;const he=parseInt(w.getAttribute("rowspan")||"1"),Me="down"==A?N+he:N,qe=[...new Mn(O,{endRow:Me})],$t=qe.find(Wi=>Wi.cell===w).column,tn=qe.find(({row:Wi,cellHeight:Wn,column:Zo})=>Zo===$t&&("down"==A?Wi===Me:Me===Wi+Wn));return tn&&tn.cell?tn.cell:null}(h,this.direction,u);if(!m)return;const _=this.isHorizontal?"rowspan":"colspan",b=parseInt(h.getAttribute(_)||"1");return parseInt(m.getAttribute(_)||"1")===b?m:void 0}}function tH(g){const c=g.getChild(0);return 1==g.childCount&&c.is("element","paragraph")&&c.isEmpty}class fq extends Bi{refresh(){const c=this.editor.plugins.get("TableUtils"),u=c.getSelectionAffectedTableCells(this.editor.model.document.selection),h=u[0];if(h){const m=h.findAncestor("table"),_=c.getRows(m)-1,b=c.getRowIndexes(u);this.isEnabled=!(0===b.first&&b.last===_)}else this.isEnabled=!1}execute(){const c=this.editor.model,u=this.editor.plugins.get("TableUtils"),h=u.getSelectionAffectedTableCells(c.document.selection),m=u.getRowIndexes(h),_=h[0],b=_.findAncestor("table"),w=u.getCellLocation(_).column;c.change(A=>{u.removeRows(b,{at:m.first,rows:m.last-m.first+1});const R=function(O,N,V,W){const Y=O.getChild(Math.min(N,W-1));let ne=Y.getChild(0),he=0;for(const Me of Y.getChildren()){if(he>V)return ne;ne=Me,he+=parseInt(Me.getAttribute("colspan")||"1")}return ne}(b,m.first,w,u.getRows(b));A.setSelection(A.createPositionAt(R,0))})}}class ZP extends Bi{refresh(){const c=this.editor.plugins.get("TableUtils"),u=c.getSelectionAffectedTableCells(this.editor.model.document.selection),h=u[0];if(h){const m=h.findAncestor("table"),_=c.getColumns(m),{first:b,last:w}=c.getColumnIndexes(u);this.isEnabled=w-b<_-1}else this.isEnabled=!1}execute(){const c=this.editor.plugins.get("TableUtils"),[u,h]=function(A,M){const R=M.getSelectionAffectedTableCells(A),O=R[0],N=R.pop(),V=[O,N];return O.isBefore(N)?V:V.reverse()}(this.editor.model.document.selection,c),m=u.parent.parent,_=[...new Mn(m)],b={first:_.find(A=>A.cell===u).column,last:_.find(A=>A.cell===h).column},w=(A=_,M=u,R=h,O=b,parseInt(R.getAttribute("colspan")||"1")>1?R:M.previousSibling||R.nextSibling?R.nextSibling||M.previousSibling:O.first?A.reverse().find(({column:V})=>VV>O.last).cell);var A,M,R,O;this.editor.model.change(A=>{c.removeColumns(m,{at:b.first,columns:b.last-b.first+1}),A.setSelection(A.createPositionAt(w,0))})}}class aA extends Bi{refresh(){const h=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection),m=h.length>0;this.isEnabled=m,this.value=m&&h.every(_=>this._isInHeading(_,_.parent.parent))}execute(c={}){if(c.forceValue===this.value)return;const u=this.editor.plugins.get("TableUtils"),h=this.editor.model,m=u.getSelectionAffectedTableCells(h.document.selection),_=m[0].findAncestor("table"),{first:b,last:w}=u.getRowIndexes(m),A=this.value?b:w+1,M=_.getAttribute("headingRows")||0;h.change(R=>{if(A){const O=j(_,A,A>M?M:0);for(const{cell:N}of O)YP(N,A,R)}Xo("headingRows",A,_,R,0)})}_isInHeading(c,u){const h=parseInt(u.getAttribute("headingRows")||"0");return!!h&&c.parent.index0;this.isEnabled=m,this.value=m&&h.every(_=>iA(u,_))}execute(c={}){if(c.forceValue===this.value)return;const u=this.editor.plugins.get("TableUtils"),h=this.editor.model,m=u.getSelectionAffectedTableCells(h.document.selection),_=m[0].findAncestor("table"),{first:b,last:w}=u.getColumnIndexes(m),A=this.value?b:w+1;h.change(M=>{if(A){const R=rA(_,A);for(const{cell:O,column:N}of R)sA(O,N,A,M)}Xo("headingColumns",A,_,M,0)})}}class Rr extends ht{static get pluginName(){return"TableUtils"}init(){this.decorate("insertColumns"),this.decorate("insertRows")}getCellLocation(c){const u=c.parent,h=u.parent,m=h.getChildIndex(u),_=new Mn(h,{row:m});for(const{cell:b,row:w,column:A}of _)if(b===c)return{row:w,column:A}}createTable(c,u){const h=c.createElement("table"),m=u.rows||2,_=u.columns||2;return lA(c,h,0,m,_),u.headingRows&&Xo("headingRows",Math.min(u.headingRows,m),h,c,0),u.headingColumns&&Xo("headingColumns",Math.min(u.headingColumns,_),h,c,0),h}insertRows(c,u={}){const h=this.editor.model,m=u.at||0,_=u.rows||1,b=void 0!==u.copyStructureFromAbove,w=u.copyStructureFromAbove?m-1:m,A=this.getRows(c),M=this.getColumns(c);if(m>A)throw new fe("tableutils-insertrows-insert-out-of-range",this,{options:u});h.change(R=>{const O=c.getAttribute("headingRows")||0;if(O>m&&Xo("headingRows",O+_,c,R,0),!b&&(0===m||m===A))return void lA(R,c,m,_,M);const N=b?Math.max(m,w):m,V=new Mn(c,{endRow:N}),W=new Array(M).fill(1);for(const{row:Y,column:ne,cellHeight:he,cellWidth:Me,cell:qe}of V){const kt=Y+he-1,$t=Y<=w&&w<=kt;Y0&&Cp(R,qe,Me>1?{colspan:Me}:void 0),he+=Math.abs(Me)-1}}})}insertColumns(c,u={}){const m=u.at||0,_=u.columns||1;this.editor.model.change(b=>{const w=c.getAttribute("headingColumns");m_-1)throw new fe("tableutils-removerows-row-index-out-of-range",this,{table:c,options:u});h.change(A=>{const M={first:b,last:w},{cellsToMove:R,cellsToTrim:O}=function(N,{first:V,last:W}){const Y=new Map,ne=[];for(const{row:he,column:Me,cellHeight:qe,cell:kt}of new Mn(N,{endRow:W})){const $t=he+qe-1;if(he>=V&&he<=W&&$t>W&&Y.set(Me,{cell:kt,rowspan:qe-(W-he+1)}),he=V){let tn;tn=$t>=W?W-V+1:$t-V+1,ne.push({cell:kt,rowspan:qe-tn})}}return{cellsToMove:Y,cellsToTrim:ne}}(c,M);R.size&&function(N,V,W,Y){const he=[...new Mn(N,{includeAllSlots:!0,row:V})],Me=N.getChild(V);let qe;for(const{column:kt,cell:$t,isAnchor:tn}of he)if(W.has(kt)){const{cell:Wi,rowspan:Wn}=W.get(kt),Zo=qe?Y.createPositionAfter(qe):Y.createPositionAt(Me,0);Y.move(Y.createRangeOn(Wi),Zo),Xo("rowspan",Wn,Wi,Y),qe=Wi}else tn&&(qe=$t)}(c,w+1,R,A);for(let N=w;N>=b;N--)A.remove(c.getChild(N));for(const{rowspan:N,cell:V}of O)Xo("rowspan",N,V,A);(function(N,{first:V,last:W},Y){const ne=N.getAttribute("headingRows")||0;V{!function(M,R,O){const N=M.getAttribute("headingColumns")||0;if(N&&R.firstu.is("element","tableColumnGroup"))}(g);return c?Array.from(c.getChildren()):[]}(c);for(let M=b;M>=m;M--){for(const{cell:R,column:O,cellWidth:N}of[...new Mn(c)])O<=M&&N>1&&O+N>M?Xo("colspan",N-1,R,w):O===M&&w.remove(R);if(A[M]){const R=0===M?A[1]:A[M-1],O=parseFloat(A[M].getAttribute("columnWidth")),N=parseFloat(R.getAttribute("columnWidth"));w.remove(A[M]),w.setAttribute("columnWidth",O+N+"%",R)}}pe(c,this)||oC(c,this)})}splitCellVertically(c,u=2){const h=this.editor.model,m=c.parent.parent,_=parseInt(c.getAttribute("rowspan")||"1"),b=parseInt(c.getAttribute("colspan")||"1");h.change(w=>{if(b>1){const{newCellsSpan:A,updatedSpan:M}=JP(b,u);Xo("colspan",M,c,w);const R={};A>1&&(R.colspan=A),_>1&&(R.rowspan=_),Vu(b>u?u-1:b-1,w,w.createPositionAfter(c),R)}if(bW===c),O=M.filter(({cell:W,cellWidth:Y,column:ne})=>W!==c&&ne===R||neR);for(const{cell:W,cellWidth:Y}of O)w.setAttribute("colspan",Y+A,W);const N={};_>1&&(N.rowspan=_),Vu(A,w,w.createPositionAfter(c),N);const V=m.getAttribute("headingColumns")||0;V>R&&Xo("headingColumns",V+A,m,w)}})}splitCellHorizontally(c,u=2){const h=this.editor.model,m=c.parent,_=m.parent,b=_.getChildIndex(m),w=parseInt(c.getAttribute("rowspan")||"1"),A=parseInt(c.getAttribute("colspan")||"1");h.change(M=>{if(w>1){const R=[...new Mn(_,{startRow:b,endRow:b+w-1,includeAllSlots:!0})],{newCellsSpan:O,updatedSpan:N}=JP(w,u);Xo("rowspan",N,c,M);const{column:V}=R.find(({cell:Y})=>Y===c),W={};O>1&&(W.rowspan=O),A>1&&(W.colspan=A);for(const Y of R){const{column:ne,row:he}=Y;he>=b+N&&ne===V&&(he+b+N)%O==0&&Vu(1,M,Y.getPositionBefore(),W)}}if(wb&&M.setAttribute("rowspan",Y+R,W);const N={};A>1&&(N.colspan=A),lA(M,_,b+1,R,1,N);const V=_.getAttribute("headingRows")||0;V>b&&Xo("headingRows",V+R,_,M)}})}getColumns(c){return[...c.getChild(0).getChildren()].reduce((u,h)=>u+parseInt(h.getAttribute("colspan")||"1"),0)}getRows(c){return Array.from(c.getChildren()).reduce((u,h)=>h.is("element","tableRow")?u+1:u,0)}createTableWalker(c,u={}){return new Mn(c,u)}getSelectedTableCells(c){const u=[];for(const h of this.sortRanges(c.getRanges())){const m=h.getContainedElement();m&&m.is("element","tableCell")&&u.push(m)}return u}getTableCellsContainingSelection(c){const u=[];for(const h of c.getRanges()){const m=h.start.findAncestor("tableCell");m&&u.push(m)}return u}getSelectionAffectedTableCells(c){const u=this.getSelectedTableCells(c);return u.length?u:this.getTableCellsContainingSelection(c)}getRowIndexes(c){const u=c.map(h=>h.parent.index);return this._getFirstLastIndexesObject(u)}getColumnIndexes(c){const u=c[0].findAncestor("table"),h=[...new Mn(u)].filter(m=>c.includes(m.cell)).map(m=>m.column);return this._getFirstLastIndexesObject(h)}isSelectionRectangular(c){if(c.length<2||!this._areCellInTheSameTableSection(c))return!1;const u=new Set,h=new Set;let m=0;for(const b of c){const{row:w,column:A}=this.getCellLocation(b),M=parseInt(b.getAttribute("rowspan"))||1,R=parseInt(b.getAttribute("colspan"))||1;u.add(w),h.add(A),M>1&&u.add(w+M-1),R>1&&h.add(A+R-1),m+=M*R}return function(b,w){const A=Array.from(b.values()),M=Array.from(w.values());return(Math.max(...A)-Math.min(...A)+1)*(Math.max(...M)-Math.min(...M)+1)}(u,h)==m}sortRanges(c){return Array.from(c).sort(eO)}_getFirstLastIndexesObject(c){const u=c.sort((h,m)=>h-m);return{first:u[0],last:u[u.length-1]}}_areCellInTheSameTableSection(c){const u=c[0].findAncestor("table"),h=this.getRowIndexes(c),m=parseInt(u.getAttribute("headingRows"))||0;if(!this._areIndexesInSameSection(h,m))return!1;const _=this.getColumnIndexes(c),b=parseInt(u.getAttribute("headingColumns"))||0;return this._areIndexesInSameSection(_,b)}_areIndexesInSameSection({first:c,last:u},h){return c{const m=u.getSelectedTableCells(c.document.selection),_=m.shift(),{mergeWidth:b,mergeHeight:w}=function(A,M,R){let O=0,N=0;for(const he of M){const{row:Me,column:qe}=R.getCellLocation(he);O=sC(he,qe,O,"colspan"),N=sC(he,Me,N,"rowspan")}const{row:V,column:W}=R.getCellLocation(A);return{mergeWidth:O-W,mergeHeight:N-V}}(_,m,u);Xo("colspan",b,_,h),Xo("rowspan",w,_,h);for(const A of m)nH(A,_,h);Cs(_.findAncestor("table"),u),h.setSelection(_,"in")})}}function nH(g,c,u){tO(g)||(tO(c)&&u.remove(u.createRangeIn(c)),u.move(u.createRangeIn(g),u.createPositionAt(c,"end"))),u.remove(g)}function tO(g){const c=g.getChild(0);return 1==g.childCount&&c.is("element","paragraph")&&c.isEmpty}function sC(g,c,u,h){const m=parseInt(g.getAttribute(h)||"1");return Math.max(u,c+m)}class iO extends Bi{constructor(c){super(c),this.affectsData=!1}refresh(){const c=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=c.length>0}execute(){const c=this.editor.model,u=this.editor.plugins.get("TableUtils"),h=u.getSelectionAffectedTableCells(c.document.selection),m=u.getRowIndexes(h),_=h[0].findAncestor("table"),b=[];for(let w=m.first;w<=m.last;w++)for(const A of _.getChild(w).getChildren())b.push(c.createRangeOn(A));c.change(w=>{w.setSelection(b)})}}class oH extends Bi{constructor(c){super(c),this.affectsData=!1}refresh(){const c=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=c.length>0}execute(){const c=this.editor.plugins.get("TableUtils"),u=this.editor.model,h=c.getSelectionAffectedTableCells(u.document.selection),m=h[0],_=h.pop(),b=m.findAncestor("table"),w=c.getCellLocation(m),A=c.getCellLocation(_),M=Math.min(w.column,A.column),R=Math.max(w.column,A.column),O=[];for(const N of new Mn(b,{startColumn:M,endColumn:R}))O.push(u.createRangeOn(N.cell));u.change(N=>{N.setSelection(O)})}}function cA(g,c){let u=!1;const h=function(m){const _=parseInt(m.getAttribute("headingRows")||"0"),b=Array.from(m.getChildren()).reduce((A,M)=>M.is("element","tableRow")?A+1:A,0),w=[];for(const{row:A,cell:M,cellHeight:R}of new Mn(m)){if(R<2)continue;const O=A<_?_:b;A+R>O&&w.push({cell:M,rowspan:O-A})}return w}(g);if(h.length){u=!0;for(const m of h)Xo("rowspan",m.rowspan,m.cell,c,1)}return u}function yq(g,c){let u=!1;const h=function(w){const A=new Array(w.childCount).fill(0);for(const{rowIndex:M}of new Mn(w,{includeAllSlots:!0}))A[M]++;return A}(g),m=[];for(const[w,A]of h.entries())!A&&g.getChild(w).is("element","tableRow")&&m.push(w);if(m.length){u=!0;for(const w of m.reverse())c.remove(g.getChild(w)),h.splice(w,1)}const _=h.filter((w,A)=>g.getChild(A).is("element","tableRow")),b=_[0];if(!_.every(w=>w===b)){const w=_.reduce((A,M)=>M>A?M:A,0);for(const[A,M]of _.entries()){const R=w-M;if(R){for(let O=0;Oh.is("$text"));for(const h of u)c.wrap(c.createRangeOn(h),"paragraph");return!!u.length}function rO(g){return!!g.position.parent.is("element","tableCell")&&("insert"==g.type&&"$text"==g.name||"remove"==g.type)}function uA(g,c){if(!g.is("element","paragraph"))return!1;const u=c.toViewElement(g);return!!u&&qP(g)!==u.is("element","span")}var sH=ft(3881);At()(sH.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Cq extends ht{constructor(c){super(c),this._additionalSlots=[]}static get pluginName(){return"TableEditing"}static get requires(){return[Rr]}init(){const c=this.editor,u=c.model,h=u.schema,m=c.conversion,_=c.plugins.get(Rr);h.register("table",{inheritAllFrom:"$blockObject",allowAttributes:["headingRows","headingColumns"]}),h.register("tableRow",{allowIn:"table",isLimit:!0}),h.register("tableCell",{allowContentOf:"$container",allowIn:"tableRow",allowAttributes:["colspan","rowspan"],isLimit:!0,isSelectable:!0}),m.for("upcast").add(b=>{b.on("element:figure",(w,A,M)=>{if(!M.consumable.test(A.viewItem,{name:!0,classes:"table"}))return;const R=function(N){for(const V of N.getChildren())if(V.is("element","table"))return V}(A.viewItem);if(!R||!M.consumable.test(R,{name:!0}))return;M.consumable.consume(A.viewItem,{name:!0,classes:"table"});const O=gr(M.convertItem(R,A.modelCursor).modelRange.getItems());O?(M.convertChildren(A.viewItem,M.writer.createPositionAt(O,"end")),M.updateConversionResult(O,A)):M.consumable.revert(A.viewItem,{name:!0,classes:"table"})})}),m.for("upcast").add(function nA(){return g=>{g.on("element:table",(c,u,h)=>{const m=u.viewItem;if(!h.consumable.test(m,{name:!0}))return;const{rows:_,headingRows:b,headingColumns:w}=function(R){let O,N=0;const V=[],W=[];let Y;for(const ne of Array.from(R.getChildren())){if("tbody"!==ne.name&&"thead"!==ne.name&&"tfoot"!==ne.name)continue;"thead"!==ne.name||Y||(Y=ne);const he=Array.from(ne.getChildren()).filter(Me=>Me.is("element","tr"));for(const Me of he)if(Y&&ne===Y||"tbody"===ne.name&&Array.from(Me.getChildren()).length&&Array.from(Me.getChildren()).every(qe=>qe.is("element","th")))N++,V.push(Me);else{W.push(Me);const qe=jP(Me);(!O||qeh.convertItem(R,h.writer.createPositionAt(M,"end"))),h.convertChildren(m,h.writer.createPositionAt(M,"end")),M.isEmpty){const R=h.writer.createElement("tableRow");h.writer.insert(R,h.writer.createPositionAt(M,"end")),Cp(h.writer,h.writer.createPositionAt(R,"end"))}h.updateConversionResult(M,u)}})}}()),m.for("editingDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:$P(_,{asWidget:!0,additionalSlots:this._additionalSlots})}),m.for("dataDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:$P(_,{additionalSlots:this._additionalSlots})}),m.for("upcast").elementToElement({model:"tableRow",view:"tr"}),m.for("upcast").add(b=>{b.on("element:tr",(w,A)=>{A.viewItem.isEmpty&&0==A.modelCursor.index&&w.stop()},{priority:"high"})}),m.for("downcast").elementToElement({model:"tableRow",view:(b,{writer:w})=>b.isEmpty?w.createEmptyElement("tr"):w.createContainerElement("tr")}),m.for("upcast").elementToElement({model:"tableCell",view:"td"}),m.for("upcast").elementToElement({model:"tableCell",view:"th"}),m.for("upcast").add(iC("td")),m.for("upcast").add(iC("th")),m.for("editingDowncast").elementToElement({model:"tableCell",view:UP({asWidget:!0})}),m.for("dataDowncast").elementToElement({model:"tableCell",view:UP()}),m.for("editingDowncast").elementToElement({model:"paragraph",view:WP({asWidget:!0}),converterPriority:"high"}),m.for("dataDowncast").elementToElement({model:"paragraph",view:WP(),converterPriority:"high"}),m.for("downcast").attributeToAttribute({model:"colspan",view:"colspan"}),m.for("upcast").attributeToAttribute({model:{key:"colspan",value:sO("colspan")},view:"colspan"}),m.for("downcast").attributeToAttribute({model:"rowspan",view:"rowspan"}),m.for("upcast").attributeToAttribute({model:{key:"rowspan",value:sO("rowspan")},view:"rowspan"}),c.config.define("table.defaultHeadings.rows",0),c.config.define("table.defaultHeadings.columns",0),c.commands.add("insertTable",new KP(c)),c.commands.add("insertTableRowAbove",new nC(c,{order:"above"})),c.commands.add("insertTableRowBelow",new nC(c,{order:"below"})),c.commands.add("insertTableColumnLeft",new G(c,{order:"left"})),c.commands.add("insertTableColumnRight",new G(c,{order:"right"})),c.commands.add("removeTableRow",new fq(c)),c.commands.add("removeTableColumn",new ZP(c)),c.commands.add("splitTableCellVertically",new oe(c,{direction:"vertically"})),c.commands.add("splitTableCellHorizontally",new oe(c,{direction:"horizontally"})),c.commands.add("mergeTableCells",new iH(c)),c.commands.add("mergeTableCellRight",new rC(c,{direction:"right"})),c.commands.add("mergeTableCellLeft",new rC(c,{direction:"left"})),c.commands.add("mergeTableCellDown",new rC(c,{direction:"down"})),c.commands.add("mergeTableCellUp",new rC(c,{direction:"up"})),c.commands.add("setTableColumnHeader",new _q(c)),c.commands.add("setTableRowHeader",new aA(c)),c.commands.add("selectTableRow",new iO(c)),c.commands.add("selectTableColumn",new oH(c)),function aC(g){g.document.registerPostFixer(c=>function(u,h){const m=h.document.differ.getChanges();let _=!1;const b=new Set;for(const w of m){let A=null;"insert"==w.type&&"table"==w.name&&(A=w.position.nodeAfter),"insert"!=w.type&&"remove"!=w.type||"tableRow"!=w.name&&"tableCell"!=w.name||(A=w.position.findAncestor("table")),nO(w)&&(A=w.range.start.findAncestor("table")),A&&!b.has(A)&&(_=cA(A,u)||_,_=yq(A,u)||_,b.add(A))}return _}(c,g))}(u),function rH(g){g.document.registerPostFixer(c=>function(u,h){const m=h.document.differ.getChanges();let _=!1;for(const b of m)"insert"==b.type&&"table"==b.name&&(_=oO(b.position.nodeAfter,u)||_),"insert"==b.type&&"tableRow"==b.name&&(_=xp(b.position.nodeAfter,u)||_),"insert"==b.type&&"tableCell"==b.name&&(_=dA(b.position.nodeAfter,u)||_),"remove"!=b.type&&"insert"!=b.type||!rO(b)||(_=dA(b.position.parent,u)||_);return _}(c,g))}(u),this.listenTo(u.document,"change:data",()=>{(function(b,w){const A=b.document.differ;for(const M of A.getChanges()){let R,O=!1;if("attribute"==M.type){const Y=M.range.start.nodeAfter;if(!Y||!Y.is("element","table")||"headingRows"!=M.attributeKey&&"headingColumns"!=M.attributeKey)continue;R=Y,O="headingRows"==M.attributeKey}else"tableRow"!=M.name&&"tableCell"!=M.name||(R=M.position.findAncestor("table"),O="tableRow"==M.name);if(!R)continue;const N=R.getAttribute("headingRows")||0,V=R.getAttribute("headingColumns")||0,W=new Mn(R);for(const Y of W){const ne=Y.rowuA(N,w.mapper));for(const N of O)w.reconvertItem(N)}}(u,c.editing)})}registerAdditionalSlot(c){this._additionalSlots.push(c)}}function sO(g){return c=>{const u=parseInt(c.getAttribute(g));return Number.isNaN(u)||u<=0?null:u}}var aO=ft(1613);At()(aO.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class lO extends gi{constructor(c){super(c);const u=this.bindTemplate;this.items=this._createGridCollection(),this.keystrokes=new ea,this.focusTracker=new Bo,this.set("rows",0),this.set("columns",0),this.bind("label").to(this,"columns",this,"rows",(h,m)=>`${m} \xd7 ${h}`),this.setTemplate({tag:"div",attributes:{class:["ck"]},children:[{tag:"div",attributes:{class:["ck-insert-table-dropdown__grid"]},on:{"mouseover@.ck-insert-table-dropdown-grid-box":u.to("boxover")},children:this.items},{tag:"div",attributes:{class:["ck","ck-insert-table-dropdown__label"],"aria-hidden":!0},children:[{text:u.to("label")}]}],on:{mousedown:u.to(h=>{h.preventDefault()}),click:u.to(()=>{this.fire("execute")})}}),this.on("boxover",(h,m)=>{const{row:_,column:b}=m.target.dataset;this.items.get(10*(parseInt(_,10)-1)+(parseInt(b,10)-1)).focus()}),this.focusTracker.on("change:focusedElement",(h,m,_)=>{if(!_)return;const{row:b,column:w}=_.dataset;this.set({rows:parseInt(b),columns:parseInt(w)})}),this.on("change:columns",()=>this._highlightGridBoxes()),this.on("change:rows",()=>this._highlightGridBoxes())}render(){super.render(),function({keystrokeHandler:c,focusTracker:u,gridItems:h,numberOfColumns:m,uiLanguageDirection:_}){const b="number"==typeof m?()=>m:m;function w(R){return O=>{const N=h.find(Y=>Y.element===u.focusedElement),V=h.getIndex(N),W=R(V,h);h.get(W).focus(),O.stopPropagation(),O.preventDefault()}}function A(R,O){return R===O-1?0:R+1}function M(R,O){return 0===R?O-1:R-1}c.set("arrowright",w((R,O)=>"rtl"===_?M(R,O.length):A(R,O.length))),c.set("arrowleft",w((R,O)=>"rtl"===_?A(R,O.length):M(R,O.length))),c.set("arrowup",w((R,O)=>{let N=R-b();return N<0&&(N=R+b()*Math.floor(O.length/b()),N>O.length-1&&(N-=b())),N})),c.set("arrowdown",w((R,O)=>{let N=R+b();return N>O.length-1&&(N=R%b()),N}))}({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:10,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection});for(const c of this.items)this.focusTracker.add(c.element);this.keystrokes.listenTo(this.element)}focus(){this.items.get(0).focus()}focusLast(){this.items.get(0).focus()}_highlightGridBoxes(){const c=this.rows,u=this.columns;this.items.map((h,m)=>{const _=Math.floor(m/10){const _=c.commands.get("insertTable"),b=dc(m);let w;return b.bind("isEnabled").to(_),b.buttonView.set({icon:'',label:u("Insert table"),tooltip:!0}),b.on("change:isOpen",()=>{w||(w=new lO(m),b.panelView.children.add(w),w.delegate("execute").to(b),b.on("execute",()=>{c.execute("insertTable",{rows:w.rows,columns:w.columns}),c.editing.view.focus()}))}),b}),c.ui.componentFactory.add("tableColumn",m=>{const _=[{type:"switchbutton",model:{commandName:"setTableColumnHeader",label:u("Header column"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:h?"insertTableColumnLeft":"insertTableColumnRight",label:u("Insert column left")}},{type:"button",model:{commandName:h?"insertTableColumnRight":"insertTableColumnLeft",label:u("Insert column right")}},{type:"button",model:{commandName:"removeTableColumn",label:u("Delete column")}},{type:"button",model:{commandName:"selectTableColumn",label:u("Select column")}}];return this._prepareDropdown(u("Column"),'',_,m)}),c.ui.componentFactory.add("tableRow",m=>{const _=[{type:"switchbutton",model:{commandName:"setTableRowHeader",label:u("Header row"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:"insertTableRowAbove",label:u("Insert row above")}},{type:"button",model:{commandName:"insertTableRowBelow",label:u("Insert row below")}},{type:"button",model:{commandName:"removeTableRow",label:u("Delete row")}},{type:"button",model:{commandName:"selectTableRow",label:u("Select row")}}];return this._prepareDropdown(u("Row"),'',_,m)}),c.ui.componentFactory.add("mergeTableCells",m=>{const _=[{type:"button",model:{commandName:"mergeTableCellUp",label:u("Merge cell up")}},{type:"button",model:{commandName:h?"mergeTableCellRight":"mergeTableCellLeft",label:u("Merge cell right")}},{type:"button",model:{commandName:"mergeTableCellDown",label:u("Merge cell down")}},{type:"button",model:{commandName:h?"mergeTableCellLeft":"mergeTableCellRight",label:u("Merge cell left")}},{type:"separator"},{type:"button",model:{commandName:"splitTableCellVertically",label:u("Split cell vertically")}},{type:"button",model:{commandName:"splitTableCellHorizontally",label:u("Split cell horizontally")}}];return this._prepareMergeSplitButtonDropdown(u("Merge cells"),'',_,m)})}_prepareDropdown(c,u,h,m){const _=this.editor,b=dc(m),w=this._fillDropdownWithListOptions(b,h);return b.buttonView.set({label:c,icon:u,tooltip:!0}),b.bind("isEnabled").toMany(w,"isEnabled",(...A)=>A.some(M=>M)),this.listenTo(b,"execute",A=>{_.execute(A.source.commandName),A.source instanceof Dg||_.editing.view.focus()}),b}_prepareMergeSplitButtonDropdown(c,u,h,m){const _=this.editor,b=dc(m,u0),w="mergeTableCells",A=_.commands.get(w),M=this._fillDropdownWithListOptions(b,h);return b.buttonView.set({label:c,icon:u,tooltip:!0,isEnabled:!0}),b.bind("isEnabled").toMany([A,...M],"isEnabled",(...R)=>R.some(O=>O)),this.listenTo(b.buttonView,"execute",()=>{_.execute(w),_.editing.view.focus()}),this.listenTo(b,"execute",R=>{_.execute(R.source.commandName),_.editing.view.focus()}),b}_fillDropdownWithListOptions(c,u){const h=this.editor,m=[],_=new Oa;for(const b of u)cH(b,h,m,_);return h0(c,_),m}}function cH(g,c,u,h){if("button"===g.type||"switchbutton"===g.type){const m=g.model=new z_(g.model),{commandName:_,bindIsOn:b}=g.model,w=c.commands.get(_);u.push(w),m.set({commandName:_}),m.bind("isEnabled").to(w),b&&m.bind("isOn").to(w,"value"),m.set({withText:!0})}h.add(g)}var hA=ft(6945);At()(hA.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class kp extends ht{static get pluginName(){return"TableSelection"}static get requires(){return[Rr,Rr]}init(){const c=this.editor,h=c.editing.view;this.listenTo(c.model,"deleteContent",(m,_)=>this._handleDeleteContent(m,_),{priority:"high"}),this.listenTo(h.document,"insertText",(m,_)=>this._handleInsertTextEvent(m,_),{priority:"high"}),this._defineSelectionConverter(),this._enablePluginDisabling()}getSelectedTableCells(){const h=this.editor.plugins.get(Rr).getSelectedTableCells(this.editor.model.document.selection);return 0==h.length?null:h}getSelectionAsFragment(){const c=this.editor.plugins.get(Rr),u=this.getSelectedTableCells();return u?this.editor.model.change(h=>{const m=h.createDocumentFragment(),{first:_,last:b}=c.getColumnIndexes(u),{first:w,last:A}=c.getRowIndexes(u),M=u[0].findAncestor("table");let R=A,O=b;if(c.isSelectionRectangular(u)){const V={firstColumn:_,lastColumn:b,firstRow:w,lastRow:A};R=wp(M,V),O=XP(M,V)}const N=Fe(M,{startRow:w,startColumn:_,endRow:R,endColumn:O},h);return h.insert(N,m,0),m}):null}setCellSelection(c,u){const h=this._getCellsToSelect(c,u);this.editor.model.change(m=>{m.setSelection(h.cells.map(_=>m.createRangeOn(_)),{backward:h.backward})})}getFocusCell(){const c=[...this.editor.model.document.selection.getRanges()].pop().getContainedElement();return c&&c.is("element","tableCell")?c:null}getAnchorCell(){const c=gr(this.editor.model.document.selection.getRanges()).getContainedElement();return c&&c.is("element","tableCell")?c:null}_defineSelectionConverter(){const c=this.editor,u=new Set;c.conversion.for("editingDowncast").add(h=>h.on("selection",(m,_,b)=>{const w=b.writer;!function(R){for(const O of u)R.removeClass("ck-editor__editable_selected",O);u.clear()}(w);const A=this.getSelectedTableCells();if(!A)return;for(const R of A){const O=b.mapper.toViewElement(R);w.addClass("ck-editor__editable_selected",O),u.add(O)}const M=b.mapper.toViewElement(A[A.length-1]);w.setSelection(M,0)},{priority:"lowest"}))}_enablePluginDisabling(){const c=this.editor;this.on("change:isEnabled",()=>{if(!this.isEnabled){const u=this.getSelectedTableCells();if(!u)return;c.model.change(h=>{const m=h.createPositionAt(u[0],0),_=c.model.schema.getNearestSelectionRange(m);h.setSelection(_)})}})}_handleDeleteContent(c,u){const h=this.editor.plugins.get(Rr),m=u[0],_=u[1],b=this.editor.model,w=!_||"backward"==_.direction,A=h.getSelectedTableCells(m);A.length&&(c.stop(),b.change(M=>{const R=A[w?A.length-1:0];b.change(N=>{for(const V of A)b.deleteContent(N.createSelection(V,"in"))});const O=b.schema.getNearestSelectionRange(M.createPositionAt(R,0));m.is("documentSelection")?M.setSelection(O):m.setTo(O)}))}_handleInsertTextEvent(c,u){const h=this.editor,m=this.getSelectedTableCells();if(!m)return;const _=h.editing.view,b=h.editing.mapper,w=m.map(A=>_.createRangeOn(b.toViewElement(A)));u.selection=_.createSelection(w)}_getCellsToSelect(c,u){const h=this.editor.plugins.get("TableUtils"),m=h.getCellLocation(c),_=h.getCellLocation(u),b=Math.min(m.row,_.row),w=Math.max(m.row,_.row),A=Math.min(m.column,_.column),M=Math.max(m.column,_.column),R=new Array(w-b+1).fill(null).map(()=>[]),O={startRow:b,endRow:w,startColumn:A,endColumn:M};for(const{row:W,cell:Y}of new Mn(c.findAncestor("table"),O))R[W-b].push(Y);const N=_.rowW.reverse()),{cells:R.flat(),backward:N||V}}}class dH extends ht{static get pluginName(){return"TableClipboard"}static get requires(){return[kp,Rr]}init(){const c=this.editor,u=c.editing.view.document;this.listenTo(u,"copy",(h,m)=>this._onCopyCut(h,m)),this.listenTo(u,"cut",(h,m)=>this._onCopyCut(h,m)),this.listenTo(c.model,"insertContent",(h,[m,_])=>this._onInsertContent(h,m,_),{priority:"high"}),this.decorate("_replaceTableSlotCell")}_onCopyCut(c,u){const h=this.editor.plugins.get(kp);if(!h.getSelectedTableCells()||"cut"==c.name&&!this.editor.model.canEditAt(this.editor.model.document.selection))return;u.preventDefault(),c.stop();const _=this.editor.editing.view.document,b=this.editor.data.toView(h.getSelectionAsFragment());_.fire("clipboardOutput",{dataTransfer:u.dataTransfer,content:b,method:c.name})}_onInsertContent(c,u,h){if(h&&!h.is("documentSelection"))return;const m=this.editor.model,_=this.editor.plugins.get(Rr);let b=this.getTableIfOnlyTableInContent(u,m);if(!b)return;const w=_.getSelectionAffectedTableCells(m.document.selection);w.length?(c.stop(),m.change(A=>{const M={width:_.getColumns(b),height:_.getRows(b)},R=function(ne,he,Me,qe){const kt=ne[0].findAncestor("table"),$t=qe.getColumnIndexes(ne),tn=qe.getRowIndexes(ne),Wi={firstColumn:$t.first,lastColumn:$t.last,firstRow:tn.first,lastRow:tn.last},Wn=1===ne.length;return Wn&&(Wi.lastRow+=he.height-1,Wi.lastColumn+=he.width-1,function(Zo,zu,Vl,zl){const Hu=zl.getColumns(Zo),Xc=zl.getRows(Zo);Vl>Hu&&zl.insertColumns(Zo,{at:Hu,columns:Vl-Hu}),zu>Xc&&zl.insertRows(Zo,{at:Xc,rows:zu-Xc})}(kt,Wi.lastRow+1,Wi.lastColumn+1,qe)),Wn||!qe.isSelectionRectangular(ne)?function(Zo,zu,Vl){const{firstRow:zl,lastRow:Hu,firstColumn:Xc,lastColumn:Ap}=zu,yA={first:zl,last:Hu},yO={first:Xc,last:Ap};pA(Zo,Xc,yA,Vl),pA(Zo,Ap+1,yA,Vl),lC(Zo,zl,yO,Vl),lC(Zo,Hu+1,yO,Vl,zl)}(kt,Wi,Me):(Wi.lastRow=wp(kt,Wi),Wi.lastColumn=XP(kt,Wi)),Wi}(w,M,A,_),N=R.lastColumn-R.firstColumn+1,V={startRow:0,startColumn:0,endRow:Math.min(R.lastRow-R.firstRow+1,M.height)-1,endColumn:Math.min(N,M.width)-1};b=Fe(b,V,A);const W=w[0].findAncestor("table"),Y=this._replaceSelectedCellsWithPasted(b,M,W,R,A);if(this.editor.plugins.get("TableSelection").isEnabled){const ne=_.sortRanges(Y.map(he=>A.createRangeOn(he)));A.setSelection(ne)}else A.setSelection(Y[0],0)})):Cs(b,_)}_replaceSelectedCellsWithPasted(c,u,h,m,_){const{width:b,height:w}=u,A=function(ne,he,Me){const qe=new Array(Me).fill(null).map(()=>new Array(he).fill(null));for(const{column:kt,row:$t,cell:tn}of new Mn(ne))qe[$t][kt]=tn;return qe}(c,b,w),M=[...new Mn(h,{startRow:m.firstRow,endRow:m.lastRow,startColumn:m.firstColumn,endColumn:m.lastColumn,includeAllSlots:!0})],R=[];let O;for(const ne of M){const{row:he,column:Me}=ne;Me===m.firstColumn&&(O=ne.getPositionBefore());const $t=A[(he-m.firstRow)%w][(Me-m.firstColumn)%b],tn=$t?_.cloneElement($t):null,Wi=this._replaceTableSlotCell(ne,tn,O,_);Wi&&(QP(Wi,he,Me,m.lastRow,m.lastColumn,_),R.push(Wi),O=_.createPositionAfter(Wi))}const N=parseInt(h.getAttribute("headingRows")||"0"),V=parseInt(h.getAttribute("headingColumns")||"0"),Y=m.firstColumngA(_,b,u)).map(({cell:_})=>YP(_,c,h))}function pA(g,c,u,h){if(!(c<1))return rA(g,c).filter(({row:m,cellHeight:_})=>gA(m,_,u)).map(({cell:m,column:_})=>sA(m,_,c,h))}function gA(g,c,u){const h=g+c-1,{first:m,last:_}=u;return g>=m&&g<=_||g=m}class uO extends ht{static get pluginName(){return"TableKeyboard"}static get requires(){return[kp,Rr]}init(){const c=this.editor.editing.view.document;this.listenTo(c,"arrowKey",(...u)=>this._onArrowKey(...u),{context:"table"}),this.listenTo(c,"tab",(...u)=>this._handleTabOnSelectedTable(...u),{context:"figure"}),this.listenTo(c,"tab",(...u)=>this._handleTab(...u),{context:["th","td"]})}_handleTabOnSelectedTable(c,u){const h=this.editor,m=h.model.document.selection.getSelectedElement();m&&m.is("element","table")&&(u.preventDefault(),u.stopPropagation(),c.stop(),h.model.change(_=>{_.setSelection(_.createRangeIn(m.getChild(0).getChild(0)))}))}_handleTab(c,u){const h=this.editor,m=this.editor.plugins.get(Rr),_=this.editor.plugins.get("TableSelection"),w=!u.shiftKey;let A=m.getTableCellsContainingSelection(h.model.document.selection)[0];if(A||(A=_.getFocusCell()),!A)return;u.preventDefault(),u.stopPropagation(),c.stop();const M=A.parent,R=M.parent,O=R.getChildIndex(M),N=M.getChildIndex(A),V=0===N;if(!w&&V&&0===O)return void h.model.change(he=>{he.setSelection(he.createRangeOn(R))});const W=N===M.childCount-1,Y=O===m.getRows(R)-1;if(w&&Y&&W&&(h.execute("insertTableRowBelow"),O===m.getRows(R)-1))return void h.model.change(he=>{he.setSelection(he.createRangeOn(R))});let ne;if(w&&W)ne=R.getChild(O+1).getChild(0);else if(!w&&V){const he=R.getChild(O-1);ne=he.getChild(he.childCount-1)}else ne=M.getChild(N+(w?1:-1));h.model.change(he=>{he.setSelection(he.createRangeIn(ne))})}_onArrowKey(c,u){const m=Lc(u.keyCode,this.editor.locale.contentLanguageDirection);this._handleArrowKeys(m,u.shiftKey)&&(u.preventDefault(),u.stopPropagation(),c.stop())}_handleArrowKeys(c,u){const h=this.editor.plugins.get(Rr),m=this.editor.plugins.get("TableSelection"),_=this.editor.model,b=_.document.selection,w=["right","down"].includes(c),A=h.getSelectedTableCells(b);if(A.length){let R;return R=u?m.getFocusCell():w?A[A.length-1]:A[0],this._navigateFromCellInDirection(R,c,u),!0}const M=b.focus.findAncestor("tableCell");if(!M)return!1;if(!b.isCollapsed)if(u){if(b.isBackward==w&&!b.containsEntireContent(M))return!1}else{const R=b.getSelectedElement();if(!R||!_.schema.isObject(R))return!1}return!!this._isSelectionAtCellEdge(b,M,w)&&(this._navigateFromCellInDirection(M,c,u),!0)}_isSelectionAtCellEdge(c,u,h){const m=this.editor.model,_=this.editor.model.schema,b=h?c.getLastPosition():c.getFirstPosition();if(!_.getLimitElement(b).is("element","tableCell"))return m.createPositionAt(u,h?"end":0).isTouching(b);const w=m.createSelection(b);return m.modifySelection(w,{direction:h?"forward":"backward"}),b.isEqual(w.focus)}_navigateFromCellInDirection(c,u,h=!1){const m=this.editor.model,_=c.findAncestor("table"),b=[...new Mn(_,{includeAllSlots:!0})],{row:w,column:A}=b[b.length-1],M=b.find(({cell:Y})=>Y==c);let{row:R,column:O}=M;switch(u){case"left":O--;break;case"up":R--;break;case"right":O+=M.cellWidth;break;case"down":R+=M.cellHeight}if(R<0||R>w||O<0&&R<=0||O>A&&R>=w)return void m.change(Y=>{Y.setSelection(Y.createRangeOn(_))});O<0?(O=h?0:A,R--):O>A&&(O=h?A:0,R++);const N=b.find(Y=>Y.row==R&&Y.column==O).cell,V=["right","down"].includes(u),W=this.editor.plugins.get("TableSelection");if(h&&W.isEnabled){const Y=W.getAnchorCell()||c;W.setCellSelection(Y,N)}else{const Y=m.createPositionAt(N,V?0:"end");m.change(ne=>{ne.setSelection(Y)})}}}class hO extends Hc{constructor(){super(...arguments),this.domEventType=["mousemove","mouseleave"]}onDomEvent(c){this.fire(c.type,c)}}class pO extends ht{static get pluginName(){return"TableMouse"}static get requires(){return[kp,Rr]}init(){this.editor.editing.view.addObserver(hO),this._enableShiftClickSelection(),this._enableMouseDragSelection()}_enableShiftClickSelection(){const c=this.editor,u=c.plugins.get(Rr);let h=!1;const m=c.plugins.get(kp);this.listenTo(c.editing.view.document,"mousedown",(_,b)=>{const w=c.model.document.selection;if(!this.isEnabled||!m.isEnabled||!b.domEvent.shiftKey)return;const A=m.getAnchorCell()||u.getTableCellsContainingSelection(w)[0];if(!A)return;const M=this._getModelTableCellFromDomEvent(b);M&&gO(A,M)&&(h=!0,m.setCellSelection(A,M),b.preventDefault())}),this.listenTo(c.editing.view.document,"mouseup",()=>{h=!1}),this.listenTo(c.editing.view.document,"selectionChange",_=>{h&&_.stop()},{priority:"highest"})}_enableMouseDragSelection(){const c=this.editor;let u,h,m=!1,_=!1;const b=c.plugins.get(kp);this.listenTo(c.editing.view.document,"mousedown",(w,A)=>{this.isEnabled&&b.isEnabled&&(A.domEvent.shiftKey||A.domEvent.ctrlKey||A.domEvent.altKey||(u=this._getModelTableCellFromDomEvent(A)))}),this.listenTo(c.editing.view.document,"mousemove",(w,A)=>{if(!A.domEvent.buttons||!u)return;const M=this._getModelTableCellFromDomEvent(A);M&&gO(u,M)&&(h=M,m||h==u||(m=!0)),m&&(_=!0,b.setCellSelection(u,h),A.preventDefault())}),this.listenTo(c.editing.view.document,"mouseup",()=>{m=!1,_=!1,u=null,h=null}),this.listenTo(c.editing.view.document,"selectionChange",w=>{_&&w.stop()},{priority:"highest"})}_getModelTableCellFromDomEvent(c){const h=this.editor.editing.view.createPositionAt(c.target,0);return this.editor.editing.mapper.toModelPosition(h).parent.findAncestor("tableCell",{includeSelf:!0})}}function gO(g,c){return g.parent.parent==c.parent.parent}var mO=ft(6306);function fO(g){const c=g.getSelectedElement();return c&&uH(c)?c:null}function xq(g){const c=g.getFirstPosition();if(!c)return null;let u=c.parent;for(;u;){if(u.is("element")&&uH(u))return u;u=u.parent}return null}function uH(g){return!!g.getCustomProperty("table")&&dr(g)}At()(mO.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var hH=ft(7368);At()(hH.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var pH=ft(9247);At()(pH.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var gH=ft(4070);At()(gH.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var mH=ft(6237);At()(mH.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var cC=ft(5087);At()(cC.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Ho=ft(7341);At()(Ho.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var _H=ft(2128);At()(_H.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var _O=ft(4101);At()(_O.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var vH=Object.defineProperty,fA=Object.getOwnPropertySymbols,bH=Object.prototype.hasOwnProperty,Sq=Object.prototype.propertyIsEnumerable,vO=(g,c,u)=>c in g?vH(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Cm=(g,c)=>{for(var u in c||(c={}))bH.call(c,u)&&vO(g,u,c[u]);if(fA)for(var u of fA(c))Sq.call(c,u)&&vO(g,u,c[u]);return g};const hC={autoRefresh:!0};class _A extends(_t()){constructor(c,u={}){if(super(),!c)throw new fe("token-missing-token-url",this);u.initValue&&this._validateTokenValue(u.initValue),this.set("value",u.initValue),this._refresh="function"==typeof c?c:()=>{return h=c,new Promise((m,_)=>{const b=new XMLHttpRequest;b.open("GET",h),b.addEventListener("load",()=>{const w=b.status,A=b.response;return w<200||w>299?_(new fe("token-cannot-download-new-token",null)):m(A)}),b.addEventListener("error",()=>_(new Error("Network Error"))),b.addEventListener("abort",()=>_(new Error("Abort"))),b.send()});var h},this._options=Cm(Cm({},hC),u)}init(){return new Promise((c,u)=>{this.value?(this._options.autoRefresh&&this._registerRefreshTokenTimeout(),c(this)):this.refreshToken().then(c).catch(u)})}refreshToken(){return this._refresh().then(c=>(this._validateTokenValue(c),this.set("value",c),this._options.autoRefresh&&this._registerRefreshTokenTimeout(),this))}destroy(){clearTimeout(this._tokenRefreshTimeout)}_validateTokenValue(c){const u="string"==typeof c,h=!/^".*"$/.test(c),m=u&&3===c.split(".").length;if(!h||!m)throw new fe("token-not-in-jwt-format",this)}_registerRefreshTokenTimeout(){const c=this._getTokenRefreshTimeoutTime();clearTimeout(this._tokenRefreshTimeout),this._tokenRefreshTimeout=setTimeout(()=>{this.refreshToken()},c)}_getTokenRefreshTimeoutTime(){try{const[,c]=this.value.split("."),{exp:u}=JSON.parse(atob(c));return u?Math.floor((1e3*u-Date.now())/2):36e5}catch{return 36e5}}static create(c,u={}){return new _A(c,u).init()}}const vA=/^data:(\S*?);base64,/;class yH extends(vn()){constructor(c,u,h){if(super(),!c)throw new fe("fileuploader-missing-file",null);if(!u)throw new fe("fileuploader-missing-token",null);if(!h)throw new fe("fileuploader-missing-api-address",null);this.file=function(m){if("string"!=typeof m)return!1;const _=m.match(vA);return!(!_||!_.length)}(c)?function(m,_=512){try{const b=m.match(vA)[1],w=atob(m.replace(vA,"")),A=[];for(let M=0;Mc(h)),this}onError(c){return this.once("error",(u,h)=>c(h)),this}abort(){this.xhr.abort()}send(){return this._prepareRequest(),this._attachXHRListeners(),this._sendRequest()}_prepareRequest(){const c=new XMLHttpRequest;c.open("POST",this._apiAddress),c.setRequestHeader("Authorization",this._token.value),c.responseType="json",this.xhr=c}_attachXHRListeners(){const c=this.xhr,u=h=>()=>this.fire("error",h);c.addEventListener("error",u("Network Error")),c.addEventListener("abort",u("Abort")),c.upload&&c.upload.addEventListener("progress",h=>{h.lengthComputable&&this.fire("progress",{total:h.total,uploaded:h.loaded})}),c.addEventListener("load",()=>{const h=c.status,m=c.response;if(h<200||h>299)return this.fire("error",m.message||m.error)})}_sendRequest(){const c=new FormData,u=this.xhr;return c.append("file",this.file),new Promise((h,m)=>{u.addEventListener("load",()=>{const _=u.status,b=u.response;return _<200||_>299?m(b.message?new fe("fileuploader-uploading-data-failed",this,{message:b.message}):b.error):h(b)}),u.addEventListener("error",()=>m(new Error("Network Error"))),u.addEventListener("abort",()=>m(new Error("Abort"))),u.send(c)})}}class CH{constructor(c,u){if(!c)throw new fe("uploadgateway-missing-token",null);if(!u)throw new fe("uploadgateway-missing-api-address",null);this._token=c,this._apiAddress=u}upload(c){return new yH(c,this._token,this._apiAddress)}}class wH extends Iy{static get pluginName(){return"CloudServicesCore"}createToken(c,u){return new _A(c,u)}createUploadGateway(c,u){return new CH(c,u)}}var pC=(g,c,u)=>new Promise((h,m)=>{var _=A=>{try{w(u.next(A))}catch(M){m(M)}},b=A=>{try{w(u.throw(A))}catch(M){m(M)}},w=A=>A.done?h(A.value):Promise.resolve(A.value).then(_,b);w((u=u.apply(g,c)).next())});class bA extends lm{}bA.builtinPlugins=[class extends ht{static get requires(){return[NM,Ru,Y_,xV,_V,zV]}static get pluginName(){return"Essentials"}},class extends ht{static get requires(){return[pc]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const g=this.editor.config.get("ckfinder.uploadUrl");g&&(this.editor.plugins.get(pc).createUploadAdapter=c=>new jM(c,g,this.editor.t))}},class extends ht{static get requires(){return[ys]}static get pluginName(){return"Autoformat"}afterInit(){this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats()}_addListAutoformats(){const g=this.editor.commands;g.get("bulletedList")&&$d(this.editor,this,/^[*-]\s$/,"bulletedList"),g.get("numberedList")&&$d(this.editor,this,/^1[.|)]\s$/,"numberedList"),g.get("todoList")&&$d(this.editor,this,/^\[\s?\]\s$/,"todoList"),g.get("checkTodoList")&&$d(this.editor,this,/^\[\s?x\s?\]\s$/,()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")})}_addBasicStylesAutoformats(){const g=this.editor.commands;if(g.get("bold")){const c=L0(this.editor,"bold");gm(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,c),gm(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,c)}if(g.get("italic")){const c=L0(this.editor,"italic");gm(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,c),gm(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,c)}if(g.get("code")){const c=L0(this.editor,"code");gm(this.editor,this,/(`)([^`]+)(`)$/g,c)}if(g.get("strikethrough")){const c=L0(this.editor,"strikethrough");gm(this.editor,this,/(~~)([^~]+)(~~)$/g,c)}}_addHeadingAutoformats(){const g=this.editor.commands.get("heading");g&&g.modelElements.filter(c=>c.match(/^heading[1-6]$/)).forEach(c=>{const h=new RegExp(`^(#{${c[7]}})\\s$`);$d(this.editor,this,h,()=>{if(!g.isEnabled||g.value===c)return!1;this.editor.execute("heading",{value:c})})})}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&$d(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const g=this.editor,c=g.model.document.selection;g.commands.get("codeBlock")&&$d(g,this,/^```$/,()=>{if(c.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})})}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&$d(this.editor,this,/^---$/,"horizontalLine")}},class extends ht{static get requires(){return[Zk,C]}static get pluginName(){return"Bold"}},class extends ht{static get requires(){return[jV,$V]}static get pluginName(){return"Italic"}},class extends ht{static get requires(){return[UV,ev]}static get pluginName(){return"BlockQuote"}},class extends ht{static get pluginName(){return"CKBox"}static get requires(){return[Mr,WM]}},class extends ht{static get pluginName(){return"CKFinder"}static get requires(){return["Link","CKFinderUploadAdapter",JV,tR]}},class extends Iy{constructor(){super(...arguments),this.token=null,this._tokens=new Map}static get pluginName(){return"CloudServices"}static get requires(){return[wH]}init(){return pC(this,null,function*(){const g=this.context.config.get("cloudServices")||{};for(const[u,h]of Object.entries(g))this[u]=h;if(!this.tokenUrl)return void(this.token=null);const c=this.context.plugins.get("CloudServicesCore");this.token=yield c.createToken(this.tokenUrl).init(),this._tokens.set(this.tokenUrl,this.token)})}registerTokenUrl(g){return pC(this,null,function*(){if(this._tokens.has(g))return this.getTokenFor(g);const c=this.context.plugins.get("CloudServicesCore"),u=yield c.createToken(g).init();return this._tokens.set(g,u),u})}getTokenFor(g){const c=this._tokens.get(g);if(!c)throw new fe("cloudservices-token-not-registered",this);return c}destroy(){super.destroy();for(const g of this._tokens.values())g.destroy()}},class extends ht{static get pluginName(){return"EasyImage"}static get requires(){return[ez,"ImageUpload"]}init(){const g=this.editor;g.plugins.has("ImageBlockEditing")||g.plugins.has("ImageInlineEditing")||St("easy-image-image-feature-missing",g)}},class extends ht{static get requires(){return[Yc,rR]}static get pluginName(){return"Heading"}},class extends ht{static get requires(){return[IR,TR]}static get pluginName(){return"Image"}},class extends ht{static get requires(){return[MR,RR]}static get pluginName(){return"ImageCaption"}},class extends ht{static get requires(){return[qR,bz]}static get pluginName(){return"ImageStyle"}},class extends ht{static get requires(){return[cp,pa]}static get pluginName(){return"ImageToolbar"}afterInit(){const g=this.editor,c=g.t,u=g.plugins.get(cp),h=g.plugins.get("ImageUtils");var m;u.register("image",{ariaLabel:c("Image toolbar"),items:(m=g.config.get("image.toolbar")||[],m.map(_=>qt(_)?_.name:_)),getRelatedElement:_=>h.getClosestSelectedImageWidget(_)})}},class extends ht{static get pluginName(){return"ImageUpload"}static get requires(){return[VR,uz,cq]}},class extends ht{static get pluginName(){return"Indent"}static get requires(){return[uq,xz]}},class extends ht{static get requires(){return[mP,$D,yp]}static get pluginName(){return"Link"}},class extends ht{static get requires(){return[Wz,Hz]}static get pluginName(){return"List"}},class extends ht{static get requires(){return[J0,eC,je,Er]}static get pluginName(){return"MediaEmbed"}},Se,class extends ht{static get pluginName(){return"PasteFromOffice"}static get requires(){return[Ll]}init(){const g=this.editor,c=g.plugins.get("ClipboardPipeline"),u=g.editing.view.document,h=[];h.push(new ei(u)),h.push(new VP(u)),h.push(new zP(u)),c.on("inputTransformation",(m,_)=>{if(_._isTransformedWithPasteFromOffice||g.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const b=_.dataTransfer.getData("text/html"),w=h.find(A=>A.isActive(b));w&&(_._parsedData||(_._parsedData=function GP(g,c){const u=new DOMParser,h=HP(HP(function(A){const O=A.indexOf("");if(O<0)return A;const N=A.indexOf("",O+7);return A.substring(0,O+7)+(N>=0?A.substring(N):"")}(g=(g=g.replace(/|--!>|)/g,v_="\u200b$1\u200b";const V1=new Map;let AE=0;const Ky="__ngContext__";function Vs(r,a){Fa(a)?(r[Ky]=a[kd],function SE(r){V1.set(r[kd],r)}(a)):r[Ky]=a}let j1;function Yy(r,a){return j1(r,a)}function Wh(r){const a=r[So];return Os(a)?a[So]:a}function U1(r){return W1(r[Kf])}function VE(r){return W1(r[kl])}function W1(r){for(;null!==r&&!Os(r);)r=r[kl];return r}function qh(r,a,i,n,s){if(null!=n){let l,d=!1;Os(n)?l=n:Fa(n)&&(d=!0,n=n[Yo]);const p=po(n);0===r&&null!==i?null==s?Y1(a,i,p):Xh(a,i,p,s||null,!0):1===r&&null!==i?Xh(a,i,p,s||null,!0):2===r?function zs(r,a,i){const n=C_(r,a);n&&function yB(r,a,i,n){r.removeChild(a,i,n)}(r,n,a,i)}(a,p,d):3===r&&a.destroyNode(p),null!=l&&function x_(r,a,i,n,s){const l=i[Bo];l!==po(i)&&qh(a,r,n,l,s);for(let p=Gr;pa.replace(dB,v_))}(a))}function Yh(r,a,i){return r.createElement(a,i)}function HE(r,a){const i=r[ta],n=i.indexOf(a);UT(a),i.splice(n,1)}function Qy(r,a){if(r.length<=Gr)return;const i=Gr+a,n=r[i];if(n){const s=n[zi];null!==s&&s!==r&&HE(s,n),a>0&&(r[i-1][kl]=n[kl]);const l=Vy(r,Gr+a);!function pB(r,a){Od(r,a,a[li],2,null,null),a[Yo]=null,a[Ps]=null}(n[Ot],n);const d=l[Js];null!==d&&d.detachView(l[Ot]),n[So]=null,n[kl]=null,n[Ci]&=-129}return n}function q1(r,a){if(!(256&a[Ci])){const i=a[li];a[Yf]&&ky(a[Yf]),a[Qf]&&ky(a[Qf]),i.destroyNode&&Od(r,a,i,3,null,null),function mB(r){let a=r[Kf];if(!a)return K1(r[Ot],r);for(;a;){let i=null;if(Fa(a))i=a[Kf];else{const n=a[Gr];n&&(i=n)}if(!i){for(;a&&!a[kl]&&a!==r;)Fa(a)&&K1(a[Ot],a),a=a[So];null===a&&(a=r),Fa(a)&&K1(a[Ot],a),i=a&&a[kl]}a=i}}(a)}}function K1(r,a){if(!(256&a[Ci])){a[Ci]&=-129,a[Ci]|=256,function bB(r,a){let i;if(null!=r&&null!=(i=r.destroyHooks))for(let n=0;n=0?n[d]():n[-d].unsubscribe(),l+=2}else i[l].call(n[i[l+1]]);null!==n&&(a[Eh]=null);const s=a[Lc];if(null!==s){a[Lc]=null;for(let l=0;l-1){const{encapsulation:l}=r.data[n.directiveStart+s];if(l===xl.None||l===xl.Emulated)return null}return ia(n,i)}}(r,a.parent,i)}function Xh(r,a,i,n,s){r.insertBefore(a,i,n,s)}function Y1(r,a,i){r.appendChild(a,i)}function jE(r,a,i,n,s){null!==n?Xh(r,a,i,n,s):Y1(r,a,i)}function C_(r,a){return r.parentNode(a)}function $E(r,a,i){return UE(r,a,i)}let X1,To,Ol,jg,UE=function Q1(r,a,i){return 40&r.type?ia(r,i):null};function Xy(r,a,i,n){const s=Pd(r,n,a),l=a[li],p=$E(n.parent||a[Ps],n,a);if(null!=s)if(Array.isArray(i))for(let f=0;fr,createScript:r=>r,createScriptURL:r=>r})}catch{}return To}()?.createHTML(r)||r}function Gg(){if(void 0!==Ol)return Ol;if(typeof document<"u")return document;throw new Be(210,!1)}function Zi(){if(void 0===jg&&(jg=null,co.trustedTypes))try{jg=co.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:r=>r,createScript:r=>r,createScriptURL:r=>r})}catch{}return jg}function YE(r){return Zi()?.createHTML(r)||r}function QE(r){return Zi()?.createScriptURL(r)||r}class Jh{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ft})`}}class XE extends Jh{getTypeName(){return"HTML"}}class ZE extends Jh{getTypeName(){return"Style"}}class JE extends Jh{getTypeName(){return"Script"}}class e2 extends Jh{getTypeName(){return"URL"}}class $g extends Jh{getTypeName(){return"ResourceURL"}}function jn(r){return r instanceof Jh?r.changingThisBreaksApplicationSecurity:r}function jc(r,a){const i=function wB(r){return r instanceof Jh&&r.getTypeName()||null}(r);if(null!=i&&i!==a){if("ResourceURL"===i&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${i} (see ${Ft})`)}return i===a}class AB{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a=""+a;try{const i=(new window.DOMParser).parseFromString(Zh(a),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(a):(i.removeChild(i.firstChild),i)}catch{return null}}}class o2{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const i=this.inertDocument.createElement("template");return i.innerHTML=Zh(a),i}}const IB=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function k_(r){return(r=String(r)).match(IB)?r:"unsafe:"+r}function Nd(r){const a={};for(const i of r.split(","))a[i]=!0;return a}function D_(...r){const a={};for(const i of r)for(const n in i)i.hasOwnProperty(n)&&(a[n]=!0);return a}const s2=Nd("area,br,col,hr,img,wbr"),A_=Nd("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),a2=Nd("rp,rt"),J1=D_(s2,D_(A_,Nd("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),D_(a2,Nd("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),D_(a2,A_)),ek=Nd("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tk=D_(ek,Nd("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Nd("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),l2=Nd("script,style,template");class MB{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let i=a.firstChild,n=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?n=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,n&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let s=this.checkClobberedElement(i,i.nextSibling);if(s){i=s;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(a){const i=a.nodeName.toLowerCase();if(!J1.hasOwnProperty(i))return this.sanitizedSomething=!0,!l2.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const n=a.attributes;for(let s=0;s"),!0}endElement(a){const i=a.nodeName.toLowerCase();J1.hasOwnProperty(i)&&!s2.hasOwnProperty(i)&&(this.buf.push(""))}chars(a){this.buf.push(d2(a))}checkClobberedElement(a,i){if(i&&(a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${a.outerHTML}`);return i}}const c2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,RB=/([^\#-~ |!])/g;function d2(r){return r.replace(/&/g,"&").replace(c2,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(RB,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(//g,">")}let n0;function ik(r,a){let i=null;try{n0=n0||function n2(r){const a=new o2(r);return function r2(){try{return!!(new window.DOMParser).parseFromString(Zh(""),"text/html")}catch{return!1}}()?new AB(a):a}(r);let n=a?String(a):"";i=n0.getInertBodyElement(n);let s=5,l=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=l,l=i.innerHTML,i=n0.getInertBodyElement(n)}while(n!==l);return Zh((new MB).sanitizeChildren(nk(i)||i))}finally{if(i){const n=nk(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function nk(r){return"content"in r&&function PB(r){return r.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===r.nodeName}(r)?r.content:null}var Tr=function(r){return r[r.NONE=0]="NONE",r[r.HTML=1]="HTML",r[r.STYLE=2]="STYLE",r[r.SCRIPT=3]="SCRIPT",r[r.URL=4]="URL",r[r.RESOURCE_URL=5]="RESOURCE_URL",r}(Tr||{});function il(r){const a=qg();return a?YE(a.sanitize(Tr.HTML,r)||""):jc(r,"HTML")?YE(jn(r)):ik(Gg(),Bt(r))}function oi(r){const a=qg();return a?a.sanitize(Tr.URL,r)||"":jc(r,"URL")?jn(r):k_(Bt(r))}function nl(r){const a=qg();if(a)return QE(a.sanitize(Tr.RESOURCE_URL,r)||"");if(jc(r,"ResourceURL"))return QE(jn(r));throw new Be(904,!1)}function qg(){const r=ot();return r&&r[Mh].sanitizer}const Kg=new $e("ENVIRONMENT_INITIALIZER"),o0=new $e("INJECTOR",-1),ok=new $e("INJECTOR_DEF_TYPES");class r0{get(a,i=Ah){if(i===Ah){const n=new Error(`NullInjectorError: No provider for ${lr(a)}!`);throw n.name="NullInjectorError",n}return i}}function S_(r){return{\u0275providers:r}}function NB(...r){return{\u0275providers:rk(0,r),\u0275fromNgModule:!0}}function rk(r,...a){const i=[],n=new Set;let s;const l=d=>{i.push(d)};return Ed(a,d=>{const p=d;s0(p,l,[],n)&&(s||=[],s.push(p))}),void 0!==s&&g2(s,l),i}function g2(r,a){for(let i=0;i{a(l,n)})}}function s0(r,a,i,n){if(!(r=ie(r)))return!1;let s=null,l=Dh(r);const d=!l&&Xi(r);if(l||d){if(d&&!d.standalone)return!1;s=r}else{const f=r.ngModule;if(l=Dh(f),!l)return!1;s=f}const p=n.has(s);if(d){if(p)return!1;if(n.add(s),d.dependencies){const f="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const v of f)s0(v,a,i,n)}}else{if(!l)return!1;{if(null!=l.imports&&!p){let v;n.add(s);try{Ed(l.imports,D=>{s0(D,a,i,n)&&(v||=[],v.push(D))})}finally{}void 0!==v&&g2(v,a)}if(!p){const v=Oh(s)||(()=>new s);a({provide:s,useFactory:v,deps:bn},s),a({provide:ok,useValue:s,multi:!0},s),a({provide:Kg,useValue:()=>De(s),multi:!0},s)}const f=l.providers;if(null!=f&&!p){const v=r;sk(f,D=>{a(D,v)})}}}return s!==r&&void 0!==r.providers}function sk(r,a){for(let i of r)We(i)&&(i=i.\u0275providers),Array.isArray(i)?sk(i,a):a(i)}const LB=xn({provide:String,useValue:xn});function ak(r){return null!==r&&"object"==typeof r&&LB in r}function ep(r){return"function"==typeof r}const $c=new $e("Set Injector scope."),l0={},BB={};let Yg;function Qg(){return void 0===Yg&&(Yg=new r0),Yg}class _r{}class hn extends _r{get destroyed(){return this._destroyed}constructor(a,i,n,s){super(),this.parent=i,this.source=n,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,T_(a,d=>this.processProvider(d)),this.records.set(o0,Tu(void 0,this)),s.has("environment")&&this.records.set(_r,Tu(void 0,this));const l=this.records.get($c);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(ok.multi,bn,$i.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const a=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of a)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const i=Cu(this),n=Zs(void 0);try{return a()}finally{Cu(i),Zs(n)}}get(a,i=Ah,n=$i.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(xT))return a[xT](this);n=Fc(n);const l=Cu(this),d=Zs(void 0);try{if(!(n&$i.SkipSelf)){let f=this.records.get(a);if(void 0===f){const v=function GB(r){return"function"==typeof r||"object"==typeof r&&r instanceof $e}(a)&&bg(a);f=v&&this.injectableDefInScope(v)?Tu(c0(a),l0):null,this.records.set(a,f)}if(null!=f)return this.hydrate(a,f)}return(n&$i.Self?Qg():this.parent).get(a,i=n&$i.Optional&&i===Ah?null:i)}catch(p){if("NullInjectorError"===p.name){if((p[Cg]=p[Cg]||[]).unshift(lr(a)),l)throw p;return function gy(r,a,i,n){const s=r[Cg];throw a[Px]&&s.unshift(a[Px]),r.message=function Ox(r,a,i,n=null){r=r&&"\n"===r.charAt(0)&&"\u0275"==r.charAt(1)?r.slice(2):r;let s=lr(a);if(Array.isArray(a))s=a.map(lr).join(" -> ");else if("object"==typeof a){let l=[];for(let d in a)if(a.hasOwnProperty(d)){let p=a[d];l.push(d+":"+("string"==typeof p?JSON.stringify(p):lr(p)))}s=`{${l.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${r.replace(bT,"\n ")}`}("\n"+r.message,s,i,n),r.ngTokenPath=s,r[Cg]=null,r}(p,a,"R3InjectorError",this.source)}throw p}finally{Zs(d),Cu(l)}}resolveInjectorInitializers(){const a=Cu(this),i=Zs(void 0);try{const s=this.get(Kg.multi,bn,$i.Self);for(const l of s)l()}finally{Cu(a),Zs(i)}}toString(){const a=[],i=this.records;for(const n of i.keys())a.push(lr(n));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Be(205,!1)}processProvider(a){let i=ep(a=ie(a))?a:ie(a&&a.provide);const n=function f2(r){return ak(r)?Tu(void 0,r.useValue):Tu(_2(r),l0)}(a);if(ep(a)||!0!==a.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=Tu(void 0,l0,!0),s.factory=()=>Sh(s.multi),this.records.set(i,s)),i=a,s.multi.push(a)}this.records.set(i,n)}hydrate(a,i){return i.value===l0&&(i.value=BB,i.value=i.factory()),"object"==typeof i.value&&i.value&&function HB(r){return null!==r&&"object"==typeof r&&"function"==typeof r.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(a){if(!a.providedIn)return!1;const i=ie(a.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(a){const i=this._onDestroyHooks.indexOf(a);-1!==i&&this._onDestroyHooks.splice(i,1)}}function c0(r){const a=bg(r),i=null!==a?a.factory:Oh(r);if(null!==i)return i;if(r instanceof $e)throw new Be(204,!1);if(r instanceof Function)return function VB(r){const a=r.length;if(a>0)throw p_(a,"?"),new Be(204,!1);const i=function sL(r){return r&&(r[yg]||r[fT])||null}(r);return null!==i?()=>i.factory(r):()=>new r}(r);throw new Be(204,!1)}function _2(r,a,i){let n;if(ep(r)){const s=ie(r);return Oh(s)||c0(s)}if(ak(r))n=()=>ie(r.useValue);else if(function a0(r){return!(!r||!r.useFactory)}(r))n=()=>r.useFactory(...Sh(r.deps||[]));else if(function m2(r){return!(!r||!r.useExisting)}(r))n=()=>De(ie(r.useExisting));else{const s=ie(r&&(r.useClass||r.provide));if(!function zB(r){return!!r.deps}(r))return Oh(s)||c0(s);n=()=>new s(...Sh(r.deps))}return n}function Tu(r,a,i=!1){return{factory:r,value:a,multi:i?[]:void 0}}function T_(r,a){for(const i of r)Array.isArray(i)?T_(i,a):i&&We(i)?T_(i.\u0275providers,a):a(i)}const Xg=new $e("AppId",{providedIn:"root",factory:()=>d0}),d0="ng",ck=new $e("Platform Initializer"),Ld=new $e("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Eo=new $e("AnimationModuleType"),dk=new $e("CSP nonce",{providedIn:"root",factory:()=>Gg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let v2=(r,a,i)=>null;function m0(r,a,i=!1){return v2(r,a,i)}class gk{}class mk{}class KB{resolveComponentFactory(a){throw function w2(r){const a=Error(`No component factory found for ${lr(r)}.`);return a.ngComponent=r,a}(a)}}let Eu=(()=>{class r{static#e=this.NULL=new KB}return r})();function x2(){return tm(bs(),ot())}function tm(r,a){return new ke(ia(r,a))}let ke=(()=>{class r{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=x2}return r})();function YB(r){return r instanceof ke?r.nativeElement:r}class im{}let Ui=(()=>{class r{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function k2(){const r=ot(),i=jr(bs().index,r);return(Fa(i)?i:r)[li]}()}return r})(),QB=(()=>{class r{static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:()=>null})}return r})();class np{constructor(a){this.full=a,this.major=a.split(".")[0],this.minor=a.split(".")[1],this.patch=a.split(".").slice(2).join(".")}}const D2=new np("16.2.12"),_k={};function E2(r,a=null,i=null,n){const s=yk(r,a,i,n);return s.resolveInjectorInitializers(),s}function yk(r,a=null,i=null,n,s=new Set){const l=[i||bn,NB(r)];return n=n||("object"==typeof r?void 0:lr(r)),new hn(l,a||Qg(),n||null,s)}let Jt=(()=>{class r{static#e=this.THROW_IF_NOT_FOUND=Ah;static#t=this.NULL=new r0;static create(i,n){if(Array.isArray(i))return E2({name:""},n,i,"");{const s=i.name??"";return E2({name:s},i.parent,i.providers,s)}}static#i=this.\u0275prov=He({token:r,providedIn:"any",factory:()=>De(o0)});static#n=this.__NG_ELEMENT_ID__=-1}return r})();function nm(r){return r.ngOriginalError}class Nl{constructor(){this._console=console}handleError(a){const i=this._findOriginalError(a);this._console.error("ERROR",a),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(a){let i=a&&nm(a);for(;i&&nm(i);)i=nm(i);return i||null}}function Ck(r){return a=>{setTimeout(r,void 0,a)}}const X=class R2 extends Ge{constructor(a=!1){super(),this.__isAsync=a}emit(a){super.next(a)}subscribe(a,i,n){let s=a,l=i||(()=>null),d=n;if(a&&"object"==typeof a){const f=a;s=f.next?.bind(f),l=f.error?.bind(f),d=f.complete?.bind(f)}this.__isAsync&&(l=Ck(l),s&&(s=Ck(s)),d&&(d=Ck(d)));const p=super.subscribe({next:s,error:l,complete:d});return a instanceof Ce&&a.add(p),p}};function P2(...r){}class et{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=new X(!1),typeof Zone>"u")throw new Be(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!n&&i,s.shouldCoalesceRunChangeDetection=n,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function JB(){const r="function"==typeof co.requestAnimationFrame;let a=co[r?"requestAnimationFrame":"setTimeout"],i=co[r?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&a&&i){const n=a[Zone.__symbol__("OriginalDelegate")];n&&(a=n);const s=i[Zone.__symbol__("OriginalDelegate")];s&&(i=s)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function eV(r){const a=()=>{!function F2(r){r.isCheckStableRunning||-1!==r.lastRequestAnimationFrameId||(r.lastRequestAnimationFrameId=r.nativeRequestAnimationFrame.call(co,()=>{r.fakeTopEventTask||(r.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{r.lastRequestAnimationFrameId=-1,wk(r),r.isCheckStableRunning=!0,v0(r),r.isCheckStableRunning=!1},void 0,()=>{},()=>{})),r.fakeTopEventTask.invoke()}),wk(r))}(r)};r._inner=r._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,s,l,d,p)=>{if(function iV(r){return!(!Array.isArray(r)||1!==r.length)&&!0===r[0].data?.__ignore_ng_zone__}(p))return i.invokeTask(s,l,d,p);try{return N2(r),i.invokeTask(s,l,d,p)}finally{(r.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||r.shouldCoalesceRunChangeDetection)&&a(),L2(r)}},onInvoke:(i,n,s,l,d,p,f)=>{try{return N2(r),i.invoke(s,l,d,p,f)}finally{r.shouldCoalesceRunChangeDetection&&a(),L2(r)}},onHasTask:(i,n,s,l)=>{i.hasTask(s,l),n===s&&("microTask"==l.change?(r._hasPendingMicrotasks=l.microTask,wk(r),v0(r)):"macroTask"==l.change&&(r.hasPendingMacrotasks=l.macroTask))},onHandleError:(i,n,s,l)=>(i.handleError(s,l),r.runOutsideAngular(()=>r.onError.emit(l)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!et.isInAngularZone())throw new Be(909,!1)}static assertNotInAngularZone(){if(et.isInAngularZone())throw new Be(909,!1)}run(a,i,n){return this._inner.run(a,i,n)}runTask(a,i,n,s){const l=this._inner,d=l.scheduleEventTask("NgZoneEvent: "+s,a,O2,P2,P2);try{return l.runTask(d,i,n)}finally{l.cancelTask(d)}}runGuarded(a,i,n){return this._inner.runGuarded(a,i,n)}runOutsideAngular(a){return this._outer.run(a)}}const O2={};function v0(r){if(0==r._nesting&&!r.hasPendingMicrotasks&&!r.isStable)try{r._nesting++,r.onMicrotaskEmpty.emit(null)}finally{if(r._nesting--,!r.hasPendingMicrotasks)try{r.runOutsideAngular(()=>r.onStable.emit(null))}finally{r.isStable=!0}}}function wk(r){r.hasPendingMicrotasks=!!(r._hasPendingMicrotasks||(r.shouldCoalesceEventChangeDetection||r.shouldCoalesceRunChangeDetection)&&-1!==r.lastRequestAnimationFrameId)}function N2(r){r._nesting++,r.isStable&&(r.isStable=!1,r.onUnstable.emit(null))}function L2(r){r._nesting--,v0(r)}class tV{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(a,i,n){return a.apply(i,n)}runGuarded(a,i,n){return a.apply(i,n)}runOutsideAngular(a){return a()}runTask(a,i,n,s){return a.apply(i,n)}}const xk=new $e("",{providedIn:"root",factory:B2});function B2(){const r=st(et);let a=!0;return rn(new _n(s=>{a=r.isStable&&!r.hasPendingMacrotasks&&!r.hasPendingMicrotasks,r.runOutsideAngular(()=>{s.next(a),s.complete()})}),new _n(s=>{let l;r.runOutsideAngular(()=>{l=r.onStable.subscribe(()=>{et.assertNotInAngularZone(),queueMicrotask(()=>{!a&&!r.hasPendingMacrotasks&&!r.hasPendingMicrotasks&&(a=!0,s.next(!0))})})});const d=r.onUnstable.subscribe(()=>{et.assertInAngularZone(),a&&(a=!1,r.runOutsideAngular(()=>{s.next(!1)}))});return()=>{l.unsubscribe(),d.unsubscribe()}}).pipe(bd()))}function kk(r){return r.ownerDocument.defaultView}function Vd(r){return r instanceof Function?r():r}let Sk=(()=>{class r{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:()=>new r})}return r})();function rp(r){for(;r;){r[Ci]|=64;const a=Wh(r);if(Kx(r)&&!a)return r;r=a}return null}const z2=new $e("",{providedIn:"root",factory:()=>!1});let C0=null;function Ek(r,a){return r[a]??K2()}function W2(r,a){const i=K2();i.producerNode?.length&&(r[a]=C0,i.lView=r,C0=Mk())}const q2={...OT,consumerIsAlwaysLive:!0,consumerMarkedDirty:r=>{rp(r.lView)},lView:null};function Mk(){return Object.create(q2)}function K2(){return C0??=Mk(),C0}const wi={};function y(r){Y2(an(),ot(),Fs()+r,!1)}function Y2(r,a,i,n){if(!n)if(3==(3&a[Ci])){const l=r.preOrderCheckHooks;null!==l&&Au(a,l,i)}else{const l=r.preOrderHooks;null!==l&&Td(a,l,0,i)}zc(i)}function T(r,a=$i.Default){const i=ot();return null===i?De(r,a):A1(bs(),i,ie(r),a)}function uc(){throw new Error("invalid")}function G_(r,a,i,n,s,l,d,p,f,v,D){const E=a.blueprint.slice();return E[Yo]=s,E[Ci]=140|n,(null!==v||r&&2048&r[Ci])&&(E[Ci]|=2048),Sy(E),E[So]=E[xg]=r,E[cr]=i,E[Mh]=d||r&&r[Mh],E[li]=p||r&&r[li],E[xd]=f||r&&r[xd]||null,E[Ps]=l,E[kd]=function IE(){return AE++}(),E[ho]=D,E[qx]=v,E[pr]=2==a.type?r[pr]:E,E}function rm(r,a,i,n,s){let l=r.data[a];if(null===l)l=function j_(r,a,i,n,s){const l=XT(),d=m1(),f=r.data[a]=function eM(r,a,i,n,s,l){let d=a?a.injectorIndex:-1,p=0;return Nh()&&(p|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:p,providerIndexes:0,value:s,attrs:l,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:a,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,d?l:l&&l.parent,i,a,n,s);return null===r.firstChild&&(r.firstChild=f),null!==l&&(d?null==l.child&&null!==f.parent&&(l.child=f):null===l.next&&(l.next=f,f.prev=l)),f}(r,a,i,n,s),function zL(){return ai.lFrame.inI18n}()&&(l.flags|=32);else if(64&l.type){l.type=i,l.value=n,l.attrs=s;const d=function Du(){const r=ai.lFrame,a=r.currentTNode;return r.isParent?a:a.parent}();l.injectorIndex=null===d?-1:d.injectorIndex}return Il(l,!0),l}function sm(r,a,i,n){if(0===i)return-1;const s=a.length;for(let l=0;lHi&&Y2(r,a,Hi,!1),Bc(p?2:0,s);const v=p?l:null,D=Zx(v);try{null!==v&&(v.dirty=!1),i(n,s)}finally{xy(v,D)}}finally{p&&null===a[Yf]&&W2(a,Yf),zc(d),Bc(p?3:1,s)}}function Pk(r,a,i){if(Dl(a)){const n=Ja(null);try{const l=a.directiveEnd;for(let d=a.directiveStart;dnull;function k0(r,a,i,n){for(let s in r)if(r.hasOwnProperty(s)){i=null===i?{}:i;const l=r[s];null===n?tM(i,a,s,l):n.hasOwnProperty(s)&&tM(i,a,n[s],l)}return i}function tM(r,a,i,n){r.hasOwnProperty(i)?r[i].push(a,n):r[i]=[a,n]}function ol(r,a,i,n,s,l,d,p){const f=ia(a,i);let D,v=a.inputs;!p&&null!=v&&(D=v[n])?(Vk(r,i,D,n,s),Ph(a)&&function hV(r,a){const i=jr(a,r);16&i[Ci]||(i[Ci]|=64)}(i,a.index)):3&a.type&&(n=function uV(r){return"class"===r?"className":"for"===r?"htmlFor":"formaction"===r?"formAction":"innerHtml"===r?"innerHTML":"readonly"===r?"readOnly":"tabindex"===r?"tabIndex":r}(n),s=null!=d?d(s,a.value||"",n):s,l.setProperty(f,n,s))}function A0(r,a,i,n){if(YT()){const s=null===n?null:{"":-1},l=function oM(r,a){const i=r.directiveRegistry;let n=null,s=null;if(i)for(let l=0;l0;){const i=r[--a];if("number"==typeof i&&i<0)return i}return 0})(d)!=p&&d.push(p),d.push(i,n,l)}}(r,a,n,sm(r,i,s.hostVars,wi),s)}function Uc(r,a,i,n,s,l){const d=ia(r,a);!function Ll(r,a,i,n,s,l,d){if(null==l)r.removeAttribute(a,s,i);else{const p=null==d?Bt(l):d(l,n||"",s);r.setAttribute(a,s,p,i)}}(a[li],d,l,r.value,i,n,s)}function lM(r,a,i,n,s,l){const d=l[a];if(null!==d)for(let p=0;p{class r{constructor(){this.all=new Set,this.queue=new Map}create(i,n,s){const l=typeof Zone>"u"?null:Zone.current,d=function RL(r,a,i){const n=Object.create(HT);i&&(n.consumerAllowSignalWrites=!0),n.fn=r,n.schedule=a;const s=d=>{n.cleanupFn=d};return n.ref={notify:()=>Xx(n),run:()=>{if(n.dirty=!1,n.hasRun&&!NT(n))return;n.hasRun=!0;const d=Zx(n);try{n.cleanupFn(),n.cleanupFn=s1,n.fn(s)}finally{xy(n,d)}},cleanup:()=>n.cleanupFn()},n.ref}(i,v=>{this.all.has(v)&&this.queue.set(v,l)},s);let p;this.all.add(d),d.notify();const f=()=>{d.cleanup(),p?.(),this.all.delete(d),this.queue.delete(d)};return p=n?.onDestroy(f),{destroy:f}}flush(){if(0!==this.queue.size)for(const[i,n]of this.queue)this.queue.delete(i),n?n.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:()=>new r})}return r})();function Mu(r,a,i){let n=i?r.styles:null,s=i?r.classes:null,l=0;if(null!==a)for(let d=0;d0){fM(r,1);const s=i.components;null!==s&&W_(r,s,1)}}function W_(r,a,i){for(let n=0;n-1&&(Qy(a,n),Vy(i,n))}this._attachedToViewContainer=!1}q1(this._lView[Ot],this._lView)}onDestroy(a){!function qT(r,a){if(256==(256&r[Ci]))throw new Be(911,!1);null===r[Lc]&&(r[Lc]=[]),r[Lc].push(a)}(this._lView,a)}markForCheck(){rp(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ci]&=-129}reattach(){this._lView[Ci]|=128}detectChanges(){ha(this._lView[Ot],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Be(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Qh(r,a){Od(r,a,a[li],2,null,null)}(this._lView[Ot],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new Be(902,!1);this._appRef=a}}class _M extends dm{constructor(a){super(a),this._view=a}detectChanges(){const a=this._view;ha(a[Ot],a,a[cr],!1)}checkNoChanges(){}get context(){return null}}class vM extends Eu{constructor(a){super(),this.ngModule=a}resolveComponentFactory(a){const i=Xi(a);return new Ru(i,this.ngModule)}}function Hk(r){const a=[];for(let i in r)r.hasOwnProperty(i)&&a.push({propName:r[i],templateName:i});return a}class bM{constructor(a,i){this.injector=a,this.parentInjector=i}get(a,i,n){n=Fc(n);const s=this.injector.get(a,_k,n);return s!==_k||i===_k?s:this.parentInjector.get(a,i,n)}}class Ru extends mk{get inputs(){const a=this.componentDef,i=a.inputTransforms,n=Hk(a.inputs);if(null!==i)for(const s of n)i.hasOwnProperty(s.propName)&&(s.transform=i[s.propName]);return n}get outputs(){return Hk(this.componentDef.outputs)}constructor(a,i){super(),this.componentDef=a,this.ngModule=i,this.componentType=a.type,this.selector=function ST(r){return r.map(_L).join(",")}(a.selectors),this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[],this.isBoundToModule=!!i}create(a,i,n,s){let l=(s=s||this.ngModule)instanceof _r?s:s?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const d=l?new bM(a,l):a,p=d.get(im,null);if(null===p)throw new Be(407,!1);const E={rendererFactory:p,sanitizer:d.get(QB,null),effectManager:d.get(Wc,null),afterRenderEventManager:d.get(Sk,null)},F=p.createRenderer(null,this.componentDef),L=this.componentDef.selectors[0][0]||"div",$=n?function X2(r,a,i,n){const l=n.get(z2,!1)||i===xl.ShadowDom,d=r.selectRootElement(a,l);return function lV(r){Z2(r)}(d),d}(F,n,this.componentDef.encapsulation,d):Yh(F,L,function CV(r){const a=r.toLowerCase();return"svg"===a?e_:"math"===a?"math":null}(L)),se=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let ue=null;null!==$&&(ue=m0($,d,!0));const Oe=x0(0,null,null,1,0,null,null,null,null,null,null),ze=G_(null,Oe,null,se,null,null,E,F,d,null,ue);let Ze,it;y1(ze);try{const yt=this.componentDef;let xt,Si=null;yt.findHostDirectiveDefs?(xt=[],Si=new Map,yt.findHostDirectiveDefs(yt,xt,Si),xt.push(yt)):xt=[yt];const Pi=function yM(r,a){const i=r[Ot],n=Hi;return r[n]=a,rm(i,n,2,"#host",null)}(ze,$),Vr=function Gk(r,a,i,n,s,l,d){const p=s[Ot];!function xV(r,a,i,n){for(const s of r)a.mergedAttrs=jf(a.mergedAttrs,s.hostAttrs);null!==a.mergedAttrs&&(Mu(a,a.mergedAttrs,!0),null!==i&&Gn(n,i,a))}(n,r,a,d);let f=null;null!==a&&(f=m0(a,s[xd]));const v=l.rendererFactory.createRenderer(a,i);let D=16;i.signals?D=4096:i.onPush&&(D=64);const E=G_(s,Q2(i),null,D,s[r.index],r,l,v,null,null,f);return p.firstCreatePass&&lm(p,r,n.length-1),U_(s,E),s[r.index]=E}(Pi,$,yt,xt,ze,E,F);it=ku(Oe,Hi),$&&function jk(r,a,i,n){if(n)Bx(r,i,["ng-version",D2.full]);else{const{attrs:s,classes:l}=function Ux(r){const a=[],i=[];let n=1,s=2;for(;n0&&Ur(r,i,l.join(" "))}}(F,yt,$,n),void 0!==i&&function DV(r,a,i){const n=r.projection=[];for(let s=0;s=0;n--){const s=r[n];s.hostVars=a+=s.hostVars,s.hostAttrs=jf(s.hostAttrs,i=jf(i,s.hostAttrs))}}(n)}function dr(r){return r===oc?{}:r===bn?[]:r}function $k(r,a){const i=r.viewQuery;r.viewQuery=i?(n,s)=>{a(n,s),i(n,s)}:a}function AV(r,a){const i=r.contentQueries;r.contentQueries=i?(n,s,l)=>{a(n,s,l),i(n,s,l)}:a}function IV(r,a){const i=r.hostBindings;r.hostBindings=i?(n,s)=>{a(n,s),i(n,s)}:a}function Uk(r){const a=r.inputConfig,i={};for(const n in a)if(a.hasOwnProperty(n)){const s=a[n];Array.isArray(s)&&s[2]&&(i[n]=s[2])}r.inputTransforms=i}function q_(r){return!!R0(r)&&(Array.isArray(r)||!(r instanceof Map)&&Symbol.iterator in r)}function R0(r){return null!==r&&("function"==typeof r||"object"==typeof r)}function hc(r,a,i){return r[a]=i}function K_(r,a){return r[a]}function Er(r,a,i){return!Object.is(r[a],i)&&(r[a]=i,!0)}function lp(r,a,i,n){const s=Er(r,a,i);return Er(r,a+1,n)||s}function ge(r,a,i,n){const s=ot();return Er(s,Lh(),a)&&(an(),Uc(Vo(),s,r,a,i,n)),ge}function um(r,a,i,n){return Er(r,Lh(),i)?a+Bt(i)+n:wi}function Fu(r,a,i,n,s,l){const p=lp(r,function oa(){return ai.lFrame.bindingIndex}(),i,s);return Sd(2),p?a+Bt(i)+n+Bt(s)+l:wi}function I(r,a,i,n,s,l,d,p){const f=ot(),v=an(),D=r+Hi,E=v.firstCreatePass?function GM(r,a,i,n,s,l,d,p,f){const v=a.consts,D=rm(a,r,4,d||null,Id(v,p));A0(a,i,D,Id(v,f)),Tg(a,D);const E=D.tView=x0(2,D,n,s,l,a.directiveRegistry,a.pipeRegistry,null,a.schemas,v,null);return null!==a.queries&&(a.queries.template(a,D),E.queries=a.queries.embeddedTView(D)),D}(D,v,f,a,i,n,s,l,d):v.data[D];Il(E,!1);const F=jM(v,f,E,r);Sg()&&Xy(v,f,F,E),Vs(F,f),U_(f,f[D]=uM(F,f,F,E)),At(E)&&w0(v,f,E),null!=d&&Ok(f,E,p)}let jM=function $d(r,a,i,n){return el(!0),a[li].createComment("")};function ee(r){return Fh(function _1(){return ai.lFrame.contextLView}(),Hi+r)}function x(r,a,i){const n=ot();return Er(n,Lh(),a)&&ol(an(),Vo(),n,r,a,n[li],i,!1),x}function Zk(r,a,i,n,s){const d=s?"class":"style";Vk(r,i,a.inputs[d],d,n)}function C(r,a,i,n){const s=ot(),l=an(),d=Hi+r,p=s[li],f=l.firstCreatePass?function Jk(r,a,i,n,s,l){const d=a.consts,f=rm(a,r,2,n,Id(d,s));return A0(a,i,f,Id(d,l)),null!==f.attrs&&Mu(f,f.attrs,!1),null!==f.mergedAttrs&&Mu(f,f.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,f),f}(d,l,s,a,i,n):l.data[d],v=pp(l,s,f,p,a,r);s[d]=v;const D=At(f);return Il(f,!0),Gn(p,v,f),32!=(32&f.flags)&&Sg()&&Xy(l,s,v,f),0===function FL(){return ai.lFrame.elementDepthCount}()&&Vs(v,s),function NL(){ai.lFrame.elementDepthCount++}(),D&&(w0(l,s,f),Pk(l,f,s)),null!==n&&Ok(s,f),C}function k(){let r=bs();m1()?f1():(r=r.parent,Il(r,!1));const a=r;(function QT(r){return ai.skipHydrationRootTNode===r})(a)&&function VL(){ai.skipHydrationRootTNode=null}(),function LL(){ai.lFrame.elementDepthCount--}();const i=an();return i.firstCreatePass&&(Tg(i,r),Dl(r)&&i.queries.elementEnd(r)),null!=a.classesWithoutHost&&function GL(r){return 0!=(8&r.flags)}(a)&&Zk(i,a,ot(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function x1(r){return 0!=(16&r.flags)}(a)&&Zk(i,a,ot(),a.stylesWithoutHost,!1),k}function Q(r,a,i,n){return C(r,a,i,n),k(),Q}let pp=(r,a,i,n,s,l)=>(el(!0),Yh(n,s,function i_(){return ai.lFrame.currentNamespace}()));function be(r,a,i){const n=ot(),s=an(),l=r+Hi,d=s.firstCreatePass?function $V(r,a,i,n,s){const l=a.consts,d=Id(l,n),p=rm(a,r,8,"ng-container",d);return null!==d&&Mu(p,d,!0),A0(a,i,p,Id(l,s)),null!==a.queries&&a.queries.elementStart(a,p),p}(l,s,n,a,i):s.data[l];Il(d,!0);const p=tD(s,n,d,r);return n[l]=p,Sg()&&Xy(s,n,p,d),Vs(p,n),At(d)&&(w0(s,n,d),Pk(s,d,n)),null!=i&&Ok(n,d),be}function ve(){let r=bs();const a=an();return m1()?f1():(r=r.parent,Il(r,!1)),a.firstCreatePass&&(Tg(a,r),Dl(r)&&a.queries.elementEnd(r)),ve}function ye(r,a,i){return be(r,a,i),ve(),ye}let tD=(r,a,i,n)=>(el(!0),Kh(a[li],""));function ce(){return ot()}function ev(r){return!!r&&"function"==typeof r.then}function WM(r){return!!r&&"function"==typeof r.subscribe}function B(r,a,i,n){const s=ot(),l=an(),d=bs();return B0(l,s,s[li],d,r,a,n),B}function gp(r,a){const i=bs(),n=ot(),s=an();return B0(s,n,cm(b1(s.data),i,n),i,r,a),gp}function B0(r,a,i,n,s,l,d){const p=At(n),v=r.firstCreatePass&&sp(r),D=a[cr],E=zd(a);let F=!0;if(3&n.type||d){const q=ia(n,a),Z=d?d(q):q,se=E.length,ue=d?ze=>d(po(ze[n.index])):n.index;let Oe=null;if(!d&&p&&(Oe=function iD(r,a,i,n){const s=r.cleanup;if(null!=s)for(let l=0;lf?p[f]:null}"string"==typeof d&&(l+=2)}return null}(r,a,s,n.index)),null!==Oe)(Oe.__ngLastListenerFn__||Oe).__ngNextListenerFn__=l,Oe.__ngLastListenerFn__=l,F=!1;else{l=nD(n,a,D,l,!1);const ze=i.listen(Z,s,l);E.push(l,ze),v&&v.push(s,ue,se,se+1)}}else l=nD(n,a,D,l,!1);const L=n.outputs;let $;if(F&&null!==L&&($=L[s])){const q=$.length;if(q)for(let Z=0;Z-1?jr(r.index,a):a);let f=V0(a,i,n,d),v=l.__ngNextListenerFn__;for(;v;)f=V0(a,i,v,d)&&f,v=v.__ngNextListenerFn__;return s&&!1===f&&d.preventDefault(),f}}function S(r=1){return function sE(r){return(ai.lFrame.contextLView=function t_(r,a){for(;r>0;)a=a[xg],r--;return a}(r,ai.lFrame.contextLView))[cr]}(r)}function WV(r,a){let i=null;const n=function fL(r){const a=r.attrs;if(null!=a){const i=a.indexOf(5);if(!(1&i))return a[i+1]}return null}(r);for(let s=0;s>17&32767}function H0(r){return 2|r}function Nu(r){return(131068&r)>>2}function lD(r,a){return-131069&r|a<<2}function cD(r){return 1|r}function ZM(r,a,i,n,s){const l=r[i+1],d=null===a;let p=n?Ud(l):Nu(l),f=!1;for(;0!==p&&(!1===f||d);){const D=r[p+1];QV(r[p],a)&&(f=!0,r[p+1]=n?cD(D):H0(D)),p=n?Ud(D):Nu(D)}f&&(r[i+1]=n?H0(l):cD(l))}function QV(r,a){return null===r||null==a||(Array.isArray(r)?r[1]:r)===a||!(!Array.isArray(r)||"string"!=typeof a)&&Lg(r,a)>=0}const Mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function JM(r){return r.substring(Mr.key,Mr.keyEnd)}function uD(r,a){const i=Mr.textEnd;return i===a?-1:(a=Mr.keyEnd=function JV(r,a,i){for(;a32;)a++;return a}(r,Mr.key=a,i),fp(r,a,i))}function fp(r,a,i){for(;a=0;i=uD(a,i))ca(r,JM(a),!0)}function Bl(r,a,i,n){const s=ot(),l=an(),d=Sd(2);l.firstUpdatePass&&pD(l,r,d,n),a!==wi&&Er(s,d,a)&&uR(l,l.data[Fs()],s,s[li],r,s[d+1]=function nz(r,a){return null==r||""===r||("string"==typeof a?r+=a:"object"==typeof r&&(r=lr(jn(r)))),r}(a,i),n,d)}function gc(r,a,i,n){const s=an(),l=Sd(2);s.firstUpdatePass&&pD(s,null,l,n);const d=ot();if(i!==wi&&Er(d,l,i)){const p=s.data[Fs()];if(hR(p,n)&&!rR(s,l)){let f=n?p.classesWithoutHost:p.stylesWithoutHost;null!==f&&(i=Oc(f,i||"")),Zk(s,p,d,i,n)}else!function dR(r,a,i,n,s,l,d,p){s===wi&&(s=bn);let f=0,v=0,D=0=r.expandoStartIndex}function pD(r,a,i,n){const s=r.data;if(null===s[i+1]){const l=s[Fs()],d=rR(r,i);hR(l,n)&&null===a&&!d&&(a=!1),a=function sR(r,a,i,n){const s=b1(r);let l=n?a.residualClasses:a.residualStyles;if(null===s)0===(n?a.classBindings:a.styleBindings)&&(i=fm(i=mD(null,r,a,i,n),a.attrs,n),l=null);else{const d=a.directiveStylingLast;if(-1===d||r[d]!==s)if(i=mD(s,r,a,i,n),null===l){let f=function gD(r,a,i){const n=i?a.classBindings:a.styleBindings;if(0!==Nu(n))return r[Ud(n)]}(r,a,n);void 0!==f&&Array.isArray(f)&&(f=mD(null,r,a,f[1],n),f=fm(f,a.attrs,n),function G0(r,a,i,n){r[Ud(i?a.classBindings:a.styleBindings)]=n}(r,a,n,f))}else l=function aR(r,a,i){let n;const s=a.directiveEnd;for(let l=1+a.directiveStylingLast;l0)&&(v=!0)):D=i,s)if(0!==f){const F=Ud(r[p+1]);r[n+1]=z0(F,p),0!==F&&(r[F+1]=lD(r[F+1],n)),r[p+1]=function KV(r,a){return 131071&r|a<<17}(r[p+1],n)}else r[n+1]=z0(p,0),0!==p&&(r[p+1]=lD(r[p+1],n)),p=n;else r[n+1]=z0(f,0),0===p?p=n:r[f+1]=lD(r[f+1],n),f=n;v&&(r[n+1]=H0(r[n+1])),ZM(r,D,n,!0),ZM(r,D,n,!1),function dD(r,a,i,n,s){const l=s?r.residualClasses:r.residualStyles;null!=l&&"string"==typeof a&&Lg(l,a)>=0&&(i[n+1]=cD(i[n+1]))}(a,D,r,n,l),d=z0(p,f),l?a.classBindings=d:a.styleBindings=d}(s,l,a,i,d,n)}}function mD(r,a,i,n,s){let l=null;const d=i.directiveEnd;let p=i.directiveStylingLast;for(-1===p?p=i.directiveStart:p++;p0;){const f=r[s],v=Array.isArray(f),D=v?f[1]:f,E=null===D;let F=i[s+1];F===wi&&(F=E?bn:void 0);let L=E?T1(F,n):D===n?F:void 0;if(v&&!tv(L)&&(L=T1(f,n)),tv(L)&&(p=L,d))return p;const $=r[s+1];s=d?Ud($):Nu($)}if(null!==a){let f=l?a.residualClasses:a.residualStyles;null!=f&&(p=T1(f,n))}return p}function tv(r){return void 0!==r}function hR(r,a){return 0!=(r.flags&(a?8:16))}function P(r,a=""){const i=ot(),n=an(),s=r+Hi,l=n.firstCreatePass?rm(n,s,1,a,null):n.data[s],d=pR(n,i,l,a,r);i[s]=d,Sg()&&Xy(n,i,d,l),Il(l,!1)}let pR=(r,a,i,n,s)=>(el(!0),function y_(r,a){return r.createText(a)}(a[li],n));function _e(r){return me("",r,""),_e}function me(r,a,i){const n=ot(),s=um(n,r,a,i);return s!==wi&&ys(n,Fs(),s),me}function Lu(r,a,i,n,s){const l=ot(),d=Fu(l,r,a,i,n,s);return d!==wi&&ys(l,Fs(),d),Lu}function Wd(r,a,i){gc(ca,Yc,um(ot(),r,a,i),!0)}function ur(r,a,i){const n=ot();return Er(n,Lh(),a)&&ol(an(),Vo(),n,r,a,n[li],i,!0),ur}function nv(r,a,i){const n=ot();if(Er(n,Lh(),a)){const l=an(),d=Vo();ol(l,d,n,r,a,cm(b1(l.data),d,n),i,!0)}return nv}const _p=void 0;var uz=["en",[["a","p"],["AM","PM"],_p],[["AM","PM"],_p,_p],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],_p,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],_p,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",_p,"{1} 'at' {0}",_p],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function PR(r){const i=Math.floor(Math.abs(r)),n=r.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===n?1:5}];let vp={};function ts(r){const a=function FR(r){return r.toLowerCase().replace(/_/g,"-")}(r);let i=OR(a);if(i)return i;const n=a.split("-")[0];if(i=OR(n),i)return i;if("en"===n)return uz;throw new Be(701,!1)}function OR(r){return r in vp||(vp[r]=co.ng&&co.ng.common&&co.ng.common.locales&&co.ng.common.locales[r]),vp[r]}var $n=function(r){return r[r.LocaleId=0]="LocaleId",r[r.DayPeriodsFormat=1]="DayPeriodsFormat",r[r.DayPeriodsStandalone=2]="DayPeriodsStandalone",r[r.DaysFormat=3]="DaysFormat",r[r.DaysStandalone=4]="DaysStandalone",r[r.MonthsFormat=5]="MonthsFormat",r[r.MonthsStandalone=6]="MonthsStandalone",r[r.Eras=7]="Eras",r[r.FirstDayOfWeek=8]="FirstDayOfWeek",r[r.WeekendRange=9]="WeekendRange",r[r.DateFormat=10]="DateFormat",r[r.TimeFormat=11]="TimeFormat",r[r.DateTimeFormat=12]="DateTimeFormat",r[r.NumberSymbols=13]="NumberSymbols",r[r.NumberFormats=14]="NumberFormats",r[r.CurrencyCode=15]="CurrencyCode",r[r.CurrencySymbol=16]="CurrencySymbol",r[r.CurrencyName=17]="CurrencyName",r[r.Currencies=18]="Currencies",r[r.Directionality=19]="Directionality",r[r.PluralCase=20]="PluralCase",r[r.ExtraData=21]="ExtraData",r}($n||{});const bp="en-US";let BR=bp;function zD(r,a,i,n,s){if(r=ie(r),Array.isArray(r))for(let l=0;l>20;if(ep(r)||!r.multi){const L=new zh(v,s,T),$=jD(f,a,s?D:D+F,E);-1===$?(sa(a_(p,d),l,f),HD(l,r,a.length),a.push(f),p.directiveStart++,p.directiveEnd++,s&&(p.providerIndexes+=1048576),i.push(L),d.push(L)):(i[$]=L,d[$]=L)}else{const L=jD(f,a,D+F,E),$=jD(f,a,D,D+F),Z=$>=0&&i[$];if(s&&!Z||!s&&!(L>=0&&i[L])){sa(a_(p,d),l,f);const se=function UD(r,a,i,n,s){const l=new zh(r,i,T);return l.multi=[],l.index=a,l.componentProviders=0,GD(l,s,n&&!i),l}(s?Qc:Bz,i.length,s,n,v);!s&&Z&&(i[$].providerFactory=se),HD(l,r,a.length,0),a.push(f),p.directiveStart++,p.directiveEnd++,s&&(p.providerIndexes+=1048576),i.push(se),d.push(se)}else HD(l,r,L>-1?L:$,GD(i[s?$:L],v,!s&&n));!s&&n&&Z&&i[$].componentProviders++}}}function HD(r,a,i,n){const s=ep(a),l=function lk(r){return!!r.useClass}(a);if(s||l){const f=(l?ie(a.useClass):a).prototype.ngOnDestroy;if(f){const v=r.destroyHooks||(r.destroyHooks=[]);if(!s&&a.multi){const D=v.indexOf(i);-1===D?v.push(i,[n,f]):v[D+1].push(n,f)}else v.push(i,f)}}}function GD(r,a,i){return i&&r.componentProviders++,r.multi.push(a)-1}function jD(r,a,i,n){for(let s=i;s{i.providersResolver=(n,s)=>function fP(r,a,i){const n=an();if(n.firstCreatePass){const s=Al(r);zD(i,n.data,n.blueprint,s,!0),zD(a,n.data,n.blueprint,s,!1)}}(n,s?s(r):r,a)}}class yp{}class WD{}class Q0 extends yp{constructor(a,i,n){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vM(this);const s=Pa(a);this._bootstrapComponents=Vd(s.bootstrap),this._r3Injector=yk(a,i,[{provide:yp,useValue:this},{provide:Eu,useValue:this.componentFactoryResolver},...n],lr(a),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(a)}get injector(){return this._r3Injector}destroy(){const a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class qD extends WD{constructor(a){super(),this.moduleType=a}create(a){return new Q0(this.moduleType,a,[])}}class bP extends yp{constructor(a){super(),this.componentFactoryResolver=new vM(this),this.instance=null;const i=new hn([...a.providers,{provide:yp,useValue:this},{provide:Eu,useValue:this.componentFactoryResolver}],a.parent||Qg(),a.debugName,new Set(["environment"]));this.injector=i,a.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function KD(r,a,i=null){return new bP({providers:r,parent:a,debugName:i,runEnvironmentInitializers:!0}).injector}let yP=(()=>{class r{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const n=rk(0,i.type),s=n.length>0?KD([n],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,s)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=He({token:r,providedIn:"environment",factory:()=>new r(De(_r))})}return r})();function Ue(r){r.getStandaloneInjector=a=>a.get(yP).getOrCreateStandaloneInjector(r)}function Dn(r,a,i){const n=na()+r,s=ot();return s[n]===wi?hc(s,n,i?a.call(i):a()):K_(s,n)}function Wt(r,a,i,n){return AP(ot(),na(),r,a,i,n)}function Un(r,a,i,n,s){return ZD(ot(),na(),r,a,i,n,s)}function ym(r,a){const i=r[a];return i===wi?void 0:i}function AP(r,a,i,n,s,l){const d=a+i;return Er(r,d,s)?hc(r,d+1,l?n.call(l,s):n(s)):ym(r,d+1)}function ZD(r,a,i,n,s,l,d){const p=a+i;return lp(r,p,s,l)?hc(r,p+2,d?n.call(d,s,l):n(s,l)):ym(r,p+2)}function le(r,a){const i=an();let n;const s=r+Hi;i.firstCreatePass?(n=function Wz(r,a){if(a)for(let i=a.length-1;i>=0;i--){const n=a[i];if(r===n.name)return n}}(a,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks??=[]).push(s,n.onDestroy)):n=i.data[s];const l=n.factory||(n.factory=Oh(n.type)),p=Zs(T);try{const f=r_(!1),v=l();return r_(f),function L0(r,a,i,n){i>=r.data.length&&(r.data[i]=null,r.blueprint[i]=null),a[i]=n}(i,ot(),s,v),v}finally{Zs(p)}}function ln(r,a,i){const n=r+Hi,s=ot(),l=Fh(s,n);return cv(s,n)?AP(s,na(),a,l.transform,i,l):l.transform(i)}function cv(r,a){return r[Ot].data[a].pure}function Kz(){return this._results[Symbol.iterator]()}class zo{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new X)}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=zo.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=Kz)}get(a){return this._results[a]}map(a){return this._results.map(a)}filter(a){return this._results.filter(a)}find(a){return this._results.find(a)}reduce(a,i){return this._results.reduce(a,i)}forEach(a){this._results.forEach(a)}some(a){return this._results.some(a)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(a,i){const n=this;n.dirty=!1;const s=function El(r){return r.flat(Number.POSITIVE_INFINITY)}(a);(this._changesDetected=!function QL(r,a,i){if(r.length!==a.length)return!1;for(let n=0;n0&&(i[s-1][kl]=a),n{class r{static#e=this.__NG_ELEMENT_ID__=Qz}return r})();const MP=je,Yz=class extends MP{constructor(a,i,n){super(),this._declarationLView=a,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,i){return this.createEmbeddedViewImpl(a,i)}createEmbeddedViewImpl(a,i,n){const s=function EP(r,a,i,n){const s=a.tView,p=G_(r,s,i,4096&r[Ci]?4096:16,null,a,null,null,null,n?.injector??null,n?.hydrationInfo??null);p[zi]=r[a.index];const v=r[Js];return null!==v&&(p[Js]=v.createEmbeddedView(s)),T0(s,p,i),p}(this._declarationLView,this._declarationTContainer,a,{injector:i,hydrationInfo:n});return new dm(s)}};function Qz(){return eC(bs(),ot())}function eC(r,a){return 4&r.type?new Yz(a,r,tm(r,a)):null}let ei=(()=>{class r{static#e=this.__NG_ELEMENT_ID__=NP}return r})();function NP(){return zP(bs(),ot())}const LP=ei,BP=class extends LP{constructor(a,i,n){super(),this._lContainer=a,this._hostTNode=i,this._hostLView=n}get element(){return tm(this._hostTNode,this._hostLView)}get injector(){return new aa(this._hostTNode,this._hostLView)}get parentInjector(){const a=Iu(this._hostTNode,this._hostLView);if(Fy(a)){const i=Pg(a,this._hostLView),n=Hh(a);return new aa(i[Ot].data[n+8],i)}return new aa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const i=VP(this._lContainer);return null!==i&&i[a]||null}get length(){return this._lContainer.length-Gr}createEmbeddedView(a,i,n){let s,l;"number"==typeof n?s=n:null!=n&&(s=n.index,l=n.injector);const p=a.createEmbeddedViewImpl(i||{},l,null);return this.insertImpl(p,s,false),p}createComponent(a,i,n,s,l){const d=a&&!function h_(r){return"function"==typeof r}(a);let p;if(d)p=i;else{const q=i||{};p=q.index,n=q.injector,s=q.projectableNodes,l=q.environmentInjector||q.ngModuleRef}const f=d?a:new Ru(Xi(a)),v=n||this.parentInjector;if(!l&&null==f.ngModule){const Z=(d?v:this.parentInjector).get(_r,null);Z&&(l=Z)}Xi(f.componentType??{});const L=f.create(v,s,null,l);return this.insertImpl(L.hostView,p,false),L}insert(a,i){return this.insertImpl(a,i,!1)}insertImpl(a,i,n){const s=a._lView;if(function sc(r){return Os(r[So])}(s)){const f=this.indexOf(a);if(-1!==f)this.detach(f);else{const v=s[So],D=new BP(v,v[Ps],v[So]);D.detach(D.indexOf(a))}}const d=this._adjustIndex(i),p=this._lContainer;return J0(p,s,d,!n),a.attachToViewContainerRef(),pE(tA(p),d,a),a}move(a,i){return this.insert(a,i)}indexOf(a){const i=VP(this._lContainer);return null!==i?i.indexOf(a):-1}remove(a){const i=this._adjustIndex(a,-1),n=Qy(this._lContainer,i);n&&(Vy(tA(this._lContainer),i),q1(n[Ot],n))}detach(a){const i=this._adjustIndex(a,-1),n=Qy(this._lContainer,i);return n&&null!=Vy(tA(this._lContainer),i)?new dm(n):null}_adjustIndex(a,i=0){return a??this.length+i}};function VP(r){return r[8]}function tA(r){return r[8]||(r[8]=[])}function zP(r,a){let i;const n=a[r.index];return Os(n)?i=n:(i=uM(n,a,null,r),a[r.index]=i,U_(a,i)),GP(i,a,r,n),new BP(i,r,a)}let GP=function Xo(r,a,i,n){if(r[Bo])return;let s;s=8&i.type?po(n):function HP(r,a){const i=r[li],n=i.createComment(""),s=ia(a,r);return Xh(i,C_(i,s),n,function CB(r,a){return r.nextSibling(a)}(i,s),!1),n}(a,i),r[Bo]=s};class nA{constructor(a){this.queryList=a,this.matches=null}clone(){return new nA(this.queryList)}setDirty(){this.queryList.setDirty()}}class iC{constructor(a=[]){this.queries=a}createEmbeddedView(a){const i=a.queries;if(null!==i){const n=null!==a.contentQueries?a.contentQueries[0]:i.length,s=[];for(let l=0;l0)n.push(d[p/2]);else{const v=l[p+1],D=a[-f];for(let E=Gr;E{class r{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,n)=>{this.resolve=i,this.reject=n}),this.appInits=st(mA,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const s of this.appInits){const l=s();if(ev(l))i.push(l);else if(WM(l)){const d=new Promise((p,f)=>{l.subscribe({complete:p,error:f})});i.push(d)}}const n=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{n()}).catch(s=>{this.reject(s)}),0===i.length&&n(),this.initialized=!0}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),dC=(()=>{class r{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"platform"})}return r})();const Ho=new $e("LocaleId",{providedIn:"root",factory:()=>st(Ho,$i.Optional|$i.SkipSelf)||function Dp(){return typeof $localize<"u"&&$localize.locale||bp}()}),fH=new $e("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let uC=(()=>{class r{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Pn(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class vH{constructor(a,i){this.ngModuleFactory=a,this.componentFactories=i}}let fA=(()=>{class r{compileModuleSync(i){return new qD(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const n=this.compileModuleSync(i),l=Vd(Pa(i).declarations).reduce((d,p)=>{const f=Xi(p);return f&&d.push(new Ru(f)),d},[]);return new vH(n,l)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Me=new $e(""),qe=new $e("");let Wi,kt=(()=>{class r{constructor(i,n,s){this._ngZone=i,this.registry=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Wi||(function tn(r){Wi=r}(s),s.addToWindow(n)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{et.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>!n.updateCb||!n.updateCb(i)||(clearTimeout(n.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,n,s){let l=-1;n&&n>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==l),i(this._didWork,this.getPendingTasks())},n)),this._callbacks.push({doneCb:i,timeoutId:l,updateCb:s})}whenStable(i,n,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,n,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,n,s){return[]}static#e=this.\u0275fac=function(n){return new(n||r)(De(et),De($t),De(qe))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),$t=(()=>{class r{constructor(){this._applications=new Map}registerApplication(i,n){this._applications.set(i,n)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,n=!0){return Wi?.findTestabilityInTree(this,i,n)??null}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"platform"})}return r})(),Wn=null;const Zo=new $e("AllowMultipleToken"),zu=new $e("PlatformDestroyListeners"),Vl=new $e("appBootstrapListener");class yA{constructor(a,i){this.name=a,this.token=i}}function Eq(r,a,i=[]){const n=`Platform: ${a}`,s=new $e(n);return(l=[])=>{let d=xH();if(!d||d.injector.get(Zo,!1)){const p=[...i,...l,{provide:s,useValue:!0}];r?r(p):function yO(r){if(Wn&&!Wn.get(Zo,!1))throw new Be(400,!1);(function Xc(){!function o1(r){t1=r}(()=>{throw new Be(600,!1)})})(),Wn=r;const a=r.get(Rq);(function Tq(r){r.get(ck,null)?.forEach(i=>i())})(r)}(function Mq(r=[],a){return Jt.create({name:a,providers:[{provide:$c,useValue:"platform"},{provide:zu,useValue:new Set([()=>Wn=null])},...r]})}(p,n))}return function Mde(r){const a=xH();if(!a)throw new Be(401,!1);return a}()}}function xH(){return Wn?.get(Rq)??null}let Rq=(()=>{class r{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,n){const s=function Rde(r="zone.js",a){return"noop"===r?new tV:"zone.js"===r?new et(a):r}(n?.ngZone,function Pq(r){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:r?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:r?.runCoalescing??!1}}({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing}));return s.run(()=>{const l=function vP(r,a,i){return new Q0(r,a,i)}(i.moduleType,this.injector,function Bq(r){return[{provide:et,useFactory:r},{provide:Kg,multi:!0,useFactory:()=>{const a=st(Ode,{optional:!0});return()=>a.initialize()}},{provide:Lq,useFactory:Pde},{provide:xk,useFactory:B2}]}(()=>s)),d=l.injector.get(Nl,null);return s.runOutsideAngular(()=>{const p=s.onError.subscribe({next:f=>{d.handleError(f)}});l.onDestroy(()=>{CO(this._modules,l),p.unsubscribe()})}),function Oq(r,a,i){try{const n=i();return ev(n)?n.catch(s=>{throw a.runOutsideAngular(()=>r.handleError(s)),s}):n}catch(n){throw a.runOutsideAngular(()=>r.handleError(n)),n}}(d,s,()=>{const p=l.injector.get(cC);return p.runInitializers(),p.donePromise.then(()=>(function kD(r){Rs(r,"Expected localeId to be defined"),"string"==typeof r&&(BR=r.toLowerCase().replace(/_/g,"-"))}(l.injector.get(Ho,bp)||bp),this._moduleDoBootstrap(l),l))})})}bootstrapModule(i,n=[]){const s=Fq({},n);return function zl(r,a,i){const n=new qD(i);return Promise.resolve(n)}(0,0,i).then(l=>this.bootstrapModuleFactory(l,s))}_moduleDoBootstrap(i){const n=i.injector.get(qd);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(s=>n.bootstrap(s));else{if(!i.instance.ngDoBootstrap)throw new Be(-403,!1);i.instance.ngDoBootstrap(n)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Be(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());const i=this._injector.get(zu,null);i&&(i.forEach(n=>n()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(n){return new(n||r)(De(Jt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"platform"})}return r})();function Fq(r,a){return Array.isArray(a)?a.reduce(Fq,r):{...r,...a}}let qd=(()=>{class r{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=st(Lq),this.zoneIsStable=st(xk),this.componentTypes=[],this.components=[],this.isStable=st(uC).hasPendingTasks.pipe(Jn(i=>i?Dt(!1):this.zoneIsStable),Qs(),bd()),this._injector=st(_r)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,n){const s=i instanceof mk;if(!this._injector.get(cC).done)throw!s&&function Nc(r){const a=Xi(r)||es(r)||sn(r);return null!==a&&a.standalone}(i),new Be(405,!1);let d;d=s?i:this._injector.get(Eu).resolveComponentFactory(i),this.componentTypes.push(d.componentType);const p=function Ap(r){return r.isBoundToModule}(d)?void 0:this._injector.get(yp),v=d.create(Jt.NULL,[],n||d.selector,p),D=v.location.nativeElement,E=v.injector.get(Me,null);return E?.registerApplication(D),v.onDestroy(()=>{this.detachView(v.hostView),CO(this.components,v),E?.unregisterApplication(D)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new Be(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const n=i;this._views.push(n),n.attachToAppRef(this)}detachView(i){const n=i;CO(this._views,n),n.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const n=this._injector.get(Vl,[]);n.push(...this._bootstrapListeners),n.forEach(s=>s(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>CO(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new Be(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function CO(r,a){const i=r.indexOf(a);i>-1&&r.splice(i,1)}const Lq=new $e("",{providedIn:"root",factory:()=>st(Nl).handleError.bind(void 0)});function Pde(){const r=st(et),a=st(Nl);return i=>r.runOutsideAngular(()=>a.handleError(i))}let Ode=(()=>{class r{constructor(){this.zone=st(et),this.applicationRef=st(qd)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();let rt=(()=>{class r{static#e=this.__NG_ELEMENT_ID__=Lde}return r})();function Lde(r){return function Bde(r,a,i){if(Ph(r)&&!i){const n=jr(r.index,a);return new dm(n,n)}return 47&r.type?new dm(a[pr],a):null}(bs(),ot(),16==(16&r))}class Gq{constructor(){}supports(a){return q_(a)}create(a){return new $de(a)}}const jde=(r,a)=>a;class $de{constructor(a){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=a||jde}forEachItem(a){let i;for(i=this._itHead;null!==i;i=i._next)a(i)}forEachOperation(a){let i=this._itHead,n=this._removalsHead,s=0,l=null;for(;i||n;){const d=!n||i&&i.currentIndex<$q(n,s,l)?i:n,p=$q(d,s,l),f=d.currentIndex;if(d===n)s--,n=n._nextRemoved;else if(i=i._next,null==d.previousIndex)s++;else{l||(l=[]);const v=p-s,D=f-s;if(v!=D){for(let F=0;F{d=this._trackByFn(s,p),null!==i&&Object.is(i.trackById,d)?(n&&(i=this._verifyReinsertion(i,p,d,s)),Object.is(i.item,p)||this._addIdentityChange(i,p)):(i=this._mismatch(i,p,d,s),n=!0),i=i._next,s++}),this.length=s;return this._truncate(i),this.collection=a,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;for(this._additionsHead=this._additionsTail=null,a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(a,i,n,s){let l;return null===a?l=this._itTail:(l=a._prev,this._remove(a)),null!==(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(a.item,i)||this._addIdentityChange(a,i),this._reinsertAfter(a,l,s)):null!==(a=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(a.item,i)||this._addIdentityChange(a,i),this._moveAfter(a,l,s)):a=this._addAfter(new Ude(i,n),l,s),a}_verifyReinsertion(a,i,n,s){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==l?a=this._reinsertAfter(l,a._prev,s):a.currentIndex!=s&&(a.currentIndex=s,this._addToMoves(a,s)),a}_truncate(a){for(;null!==a;){const i=a._next;this._addToRemovals(this._unlink(a)),a=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(a,i,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);const s=a._prevRemoved,l=a._nextRemoved;return null===s?this._removalsHead=l:s._nextRemoved=l,null===l?this._removalsTail=s:l._prevRemoved=s,this._insertAfter(a,i,n),this._addToMoves(a,n),a}_moveAfter(a,i,n){return this._unlink(a),this._insertAfter(a,i,n),this._addToMoves(a,n),a}_addAfter(a,i,n){return this._insertAfter(a,i,n),this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a,a}_insertAfter(a,i,n){const s=null===i?this._itHead:i._next;return a._next=s,a._prev=i,null===s?this._itTail=a:s._prev=a,null===i?this._itHead=a:i._next=a,null===this._linkedRecords&&(this._linkedRecords=new jq),this._linkedRecords.put(a),a.currentIndex=n,a}_remove(a){return this._addToRemovals(this._unlink(a))}_unlink(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);const i=a._prev,n=a._next;return null===i?this._itHead=n:i._next=n,null===n?this._itTail=i:n._prev=i,a}_addToMoves(a,i){return a.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a),a}_addToRemovals(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new jq),this._unlinkedRecords.put(a),a.currentIndex=null,a._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a),a}_addIdentityChange(a,i){return a.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a,a}}class Ude{constructor(a,i){this.item=a,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Wde{constructor(){this._head=null,this._tail=null}add(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)}get(a,i){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===i||i<=n.currentIndex)&&Object.is(n.trackById,a))return n;return null}remove(a){const i=a._prevDup,n=a._nextDup;return null===i?this._head=n:i._nextDup=n,null===n?this._tail=i:n._prevDup=i,null===this._head}}class jq{constructor(){this.map=new Map}put(a){const i=a.trackById;let n=this.map.get(i);n||(n=new Wde,this.map.set(i,n)),n.add(a)}get(a,i){const s=this.map.get(a);return s?s.get(a,i):null}remove(a){const i=a.trackById;return this.map.get(i).remove(a)&&this.map.delete(i),a}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $q(r,a,i){const n=r.previousIndex;if(null===n)return n;let s=0;return i&&n{if(i&&i.key===s)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{const l=this._getOrCreateRecordForKey(s,n);i=this._insertBeforeOrAppend(i,l)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(a,i){if(a){const n=a._prev;return i._next=a,i._prev=n,a._prev=i,n&&(n._next=i),a===this._mapHead&&(this._mapHead=i),this._appendAfter=a,a}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(a,i){if(this._records.has(a)){const s=this._records.get(a);this._maybeAddToChanges(s,i);const l=s._prev,d=s._next;return l&&(l._next=d),d&&(d._prev=l),s._next=null,s._prev=null,s}const n=new Kde(a);return this._records.set(a,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let a;for(this._previousMapHead=this._mapHead,a=this._previousMapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(a,i){Object.is(i,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=i,this._addToChanges(a))}_addToAdditions(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:(this._additionsTail._nextAdded=a,this._additionsTail=a)}_addToChanges(a){null===this._changesHead?this._changesHead=this._changesTail=a:(this._changesTail._nextChanged=a,this._changesTail=a)}_forEach(a,i){a instanceof Map?a.forEach(i):Object.keys(a).forEach(n=>i(a[n],n))}}class Kde{constructor(a){this.key=a,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Wq(){return new qr([new Gq])}let qr=(()=>{class r{static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:Wq});constructor(i){this.factories=i}static create(i,n){if(null!=n){const s=n.factories.slice();i=i.concat(s)}return new r(i)}static extend(i){return{provide:r,useFactory:n=>r.create(i,n||Wq()),deps:[[r,new Ml,new da]]}}find(i){const n=this.factories.find(s=>s.supports(i));if(null!=n)return n;throw new Be(901,!1)}}return r})();function qq(){return new CA([new Uq])}let CA=(()=>{class r{static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:qq});constructor(i){this.factories=i}static create(i,n){if(n){const s=n.factories.slice();i=i.concat(s)}return new r(i)}static extend(i){return{provide:r,useFactory:n=>r.create(i,n||qq()),deps:[[r,new Ml,new da]]}}find(i){const n=this.factories.find(s=>s.supports(i));if(n)return n;throw new Be(901,!1)}}return r})();const Xde=Eq(null,"core",[]);let Zde=(()=>{class r{constructor(i){}static#e=this.\u0275fac=function(n){return new(n||r)(De(qd))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();function gC(r){return"boolean"==typeof r?r:null!=r&&"false"!==r}function wA(r){const a=Xi(r);if(!a)return null;const i=new Ru(a);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return a.standalone},get isSignal(){return a.signals}}}let TH=null;function Ip(){return TH}class uue{}const Tt=new $e("DocumentToken");let EH=(()=>{class r{historyGo(i){throw new Error("Not implemented")}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(pue)},providedIn:"platform"})}return r})();const hue=new $e("Location Initialized");let pue=(()=>{class r extends EH{constructor(){super(),this._doc=st(Tt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ip().getBaseHref(this._doc)}onPopState(i){const n=Ip().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",i,!1),()=>n.removeEventListener("popstate",i)}onHashChange(i){const n=Ip().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",i,!1),()=>n.removeEventListener("hashchange",i)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(i){this._location.pathname=i}pushState(i,n,s){this._history.pushState(i,n,s)}replaceState(i,n,s){this._history.replaceState(i,n,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return new r},providedIn:"platform"})}return r})();function MH(r,a){if(0==r.length)return a;if(0==a.length)return r;let i=0;return r.endsWith("/")&&i++,a.startsWith("/")&&i++,2==i?r+a.substring(1):1==i?r+a:r+"/"+a}function iK(r){const a=r.match(/#|\?|$/),i=a&&a.index||r.length;return r.slice(0,i-("/"===r[i-1]?1:0))+r.slice(i)}function Sp(r){return r&&"?"!==r[0]?"?"+r:r}let uv=(()=>{class r{historyGo(i){throw new Error("Not implemented")}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(oK)},providedIn:"root"})}return r})();const nK=new $e("appBaseHref");let oK=(()=>{class r extends uv{constructor(i,n){super(),this._platformLocation=i,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??st(Tt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return MH(this._baseHref,i)}path(i=!1){const n=this._platformLocation.pathname+Sp(this._platformLocation.search),s=this._platformLocation.hash;return s&&i?`${n}${s}`:n}pushState(i,n,s,l){const d=this.prepareExternalUrl(s+Sp(l));this._platformLocation.pushState(i,n,d)}replaceState(i,n,s,l){const d=this.prepareExternalUrl(s+Sp(l));this._platformLocation.replaceState(i,n,d)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){this._platformLocation.historyGo?.(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(EH),De(nK,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),gue=(()=>{class r extends uv{constructor(i,n){super(),this._platformLocation=i,this._baseHref="",this._removeListenerFns=[],null!=n&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}path(i=!1){let n=this._platformLocation.hash;return null==n&&(n="#"),n.length>0?n.substring(1):n}prepareExternalUrl(i){const n=MH(this._baseHref,i);return n.length>0?"#"+n:n}pushState(i,n,s,l){let d=this.prepareExternalUrl(s+Sp(l));0==d.length&&(d=this._platformLocation.pathname),this._platformLocation.pushState(i,n,d)}replaceState(i,n,s,l){let d=this.prepareExternalUrl(s+Sp(l));0==d.length&&(d=this._platformLocation.pathname),this._platformLocation.replaceState(i,n,d)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){this._platformLocation.historyGo?.(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(EH),De(nK,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),Gu=(()=>{class r{constructor(i){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=i;const n=this._locationStrategy.getBaseHref();this._basePath=function _ue(r){if(new RegExp("^(https?:)?//").test(r)){const[,i]=r.split(/\/\/[^\/]+/);return i}return r}(iK(rK(n))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,n=""){return this.path()==this.normalize(i+Sp(n))}normalize(i){return r.stripTrailingSlash(function fue(r,a){if(!r||!a.startsWith(r))return a;const i=a.substring(r.length);return""===i||["/",";","?","#"].includes(i[0])?i:a}(this._basePath,rK(i)))}prepareExternalUrl(i){return i&&"/"!==i[0]&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,n="",s=null){this._locationStrategy.pushState(s,"",i,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Sp(n)),s)}replaceState(i,n="",s=null){this._locationStrategy.replaceState(s,"",i,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Sp(n)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){this._locationStrategy.historyGo?.(i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)})),()=>{const n=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(n,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",n){this._urlChangeListeners.forEach(s=>s(i,n))}subscribe(i,n,s){return this._subject.subscribe({next:i,error:n,complete:s})}static#e=this.normalizeQueryParams=Sp;static#t=this.joinWithSlash=MH;static#i=this.stripTrailingSlash=iK;static#n=this.\u0275fac=function(n){return new(n||r)(De(uv))};static#o=this.\u0275prov=He({token:r,factory:function(){return function mue(){return new Gu(De(uv))}()},providedIn:"root"})}return r})();function rK(r){return r.replace(/\/index.html$/,"")}const sK={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var xA=function(r){return r[r.Decimal=0]="Decimal",r[r.Percent=1]="Percent",r[r.Currency=2]="Currency",r[r.Scientific=3]="Scientific",r}(xA||{}),sl=function(r){return r[r.Format=0]="Format",r[r.Standalone=1]="Standalone",r}(sl||{}),Ro=function(r){return r[r.Narrow=0]="Narrow",r[r.Abbreviated=1]="Abbreviated",r[r.Wide=2]="Wide",r[r.Short=3]="Short",r}(Ro||{}),ma=function(r){return r[r.Short=0]="Short",r[r.Medium=1]="Medium",r[r.Long=2]="Long",r[r.Full=3]="Full",r}(ma||{}),Kr=function(r){return r[r.Decimal=0]="Decimal",r[r.Group=1]="Group",r[r.List=2]="List",r[r.PercentSign=3]="PercentSign",r[r.PlusSign=4]="PlusSign",r[r.MinusSign=5]="MinusSign",r[r.Exponential=6]="Exponential",r[r.SuperscriptingExponent=7]="SuperscriptingExponent",r[r.PerMille=8]="PerMille",r[r.Infinity=9]="Infinity",r[r.NaN=10]="NaN",r[r.TimeSeparator=11]="TimeSeparator",r[r.CurrencyDecimal=12]="CurrencyDecimal",r[r.CurrencyGroup=13]="CurrencyGroup",r}(Kr||{});function _C(r,a){return Jc(ts(r)[$n.DateFormat],a)}function DO(r,a){return Jc(ts(r)[$n.TimeFormat],a)}function kA(r,a){return Jc(ts(r)[$n.DateTimeFormat],a)}function Zc(r,a){const i=ts(r),n=i[$n.NumberSymbols][a];if(typeof n>"u"){if(a===Kr.CurrencyDecimal)return i[$n.NumberSymbols][Kr.Decimal];if(a===Kr.CurrencyGroup)return i[$n.NumberSymbols][Kr.Group]}return n}function AO(r,a){return ts(r)[$n.NumberFormats][a]}function aK(r){if(!r[$n.ExtraData])throw new Error(`Missing extra locale data for the locale "${r[$n.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Jc(r,a){for(let i=a;i>-1;i--)if(typeof r[i]<"u")return r[i];throw new Error("Locale data API: locale data undefined")}function RH(r){const[a,i]=r.split(":");return{hours:+a,minutes:+i}}function lK(r,a,i="en"){const n=function Due(r){return ts(r)[$n.Currencies]}(i)[r]||sK[r]||[],s=n[1];return"narrow"===a&&"string"==typeof s?s:n[0]||r}const Mue=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,DA={},Rue=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Tp=function(r){return r[r.Short=0]="Short",r[r.ShortGMT=1]="ShortGMT",r[r.Long=2]="Long",r[r.Extended=3]="Extended",r}(Tp||{}),qn=function(r){return r[r.FullYear=0]="FullYear",r[r.Month=1]="Month",r[r.Date=2]="Date",r[r.Hours=3]="Hours",r[r.Minutes=4]="Minutes",r[r.Seconds=5]="Seconds",r[r.FractionalSeconds=6]="FractionalSeconds",r[r.Day=7]="Day",r}(qn||{}),Kn=function(r){return r[r.DayPeriods=0]="DayPeriods",r[r.Days=1]="Days",r[r.Months=2]="Months",r[r.Eras=3]="Eras",r}(Kn||{});function IO(r,a,i,n){let s=function Hue(r){if(uK(r))return r;if("number"==typeof r&&!isNaN(r))return new Date(r);if("string"==typeof r){if(r=r.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(r)){const[s,l=1,d=1]=r.split("-").map(p=>+p);return SO(s,l-1,d)}const i=parseFloat(r);if(!isNaN(r-i))return new Date(i);let n;if(n=r.match(Mue))return function Gue(r){const a=new Date(0);let i=0,n=0;const s=r[8]?a.setUTCFullYear:a.setFullYear,l=r[8]?a.setUTCHours:a.setHours;r[9]&&(i=Number(r[9]+r[10]),n=Number(r[9]+r[11])),s.call(a,Number(r[1]),Number(r[2])-1,Number(r[3]));const d=Number(r[4]||0)-i,p=Number(r[5]||0)-n,f=Number(r[6]||0),v=Math.floor(1e3*parseFloat("0."+(r[7]||0)));return l.call(a,d,p,f,v),a}(n)}const a=new Date(r);if(!uK(a))throw new Error(`Unable to convert "${r}" into a date`);return a}(r);a=Ep(i,a)||a;let p,d=[];for(;a;){if(p=Rue.exec(a),!p){d.push(a);break}{d=d.concat(p.slice(1));const D=d.pop();if(!D)break;a=D}}let f=s.getTimezoneOffset();n&&(f=dK(n,f),s=function zue(r,a,i){const n=i?-1:1,s=r.getTimezoneOffset();return function Vue(r,a){return(r=new Date(r.getTime())).setMinutes(r.getMinutes()+a),r}(r,n*(dK(a,s)-s))}(s,n,!0));let v="";return d.forEach(D=>{const E=function Bue(r){if(OH[r])return OH[r];let a;switch(r){case"G":case"GG":case"GGG":a=Go(Kn.Eras,Ro.Abbreviated);break;case"GGGG":a=Go(Kn.Eras,Ro.Wide);break;case"GGGGG":a=Go(Kn.Eras,Ro.Narrow);break;case"y":a=ns(qn.FullYear,1,0,!1,!0);break;case"yy":a=ns(qn.FullYear,2,0,!0,!0);break;case"yyy":a=ns(qn.FullYear,3,0,!1,!0);break;case"yyyy":a=ns(qn.FullYear,4,0,!1,!0);break;case"Y":a=RO(1);break;case"YY":a=RO(2,!0);break;case"YYY":a=RO(3);break;case"YYYY":a=RO(4);break;case"M":case"L":a=ns(qn.Month,1,1);break;case"MM":case"LL":a=ns(qn.Month,2,1);break;case"MMM":a=Go(Kn.Months,Ro.Abbreviated);break;case"MMMM":a=Go(Kn.Months,Ro.Wide);break;case"MMMMM":a=Go(Kn.Months,Ro.Narrow);break;case"LLL":a=Go(Kn.Months,Ro.Abbreviated,sl.Standalone);break;case"LLLL":a=Go(Kn.Months,Ro.Wide,sl.Standalone);break;case"LLLLL":a=Go(Kn.Months,Ro.Narrow,sl.Standalone);break;case"w":a=PH(1);break;case"ww":a=PH(2);break;case"W":a=PH(1,!0);break;case"d":a=ns(qn.Date,1);break;case"dd":a=ns(qn.Date,2);break;case"c":case"cc":a=ns(qn.Day,1);break;case"ccc":a=Go(Kn.Days,Ro.Abbreviated,sl.Standalone);break;case"cccc":a=Go(Kn.Days,Ro.Wide,sl.Standalone);break;case"ccccc":a=Go(Kn.Days,Ro.Narrow,sl.Standalone);break;case"cccccc":a=Go(Kn.Days,Ro.Short,sl.Standalone);break;case"E":case"EE":case"EEE":a=Go(Kn.Days,Ro.Abbreviated);break;case"EEEE":a=Go(Kn.Days,Ro.Wide);break;case"EEEEE":a=Go(Kn.Days,Ro.Narrow);break;case"EEEEEE":a=Go(Kn.Days,Ro.Short);break;case"a":case"aa":case"aaa":a=Go(Kn.DayPeriods,Ro.Abbreviated);break;case"aaaa":a=Go(Kn.DayPeriods,Ro.Wide);break;case"aaaaa":a=Go(Kn.DayPeriods,Ro.Narrow);break;case"b":case"bb":case"bbb":a=Go(Kn.DayPeriods,Ro.Abbreviated,sl.Standalone,!0);break;case"bbbb":a=Go(Kn.DayPeriods,Ro.Wide,sl.Standalone,!0);break;case"bbbbb":a=Go(Kn.DayPeriods,Ro.Narrow,sl.Standalone,!0);break;case"B":case"BB":case"BBB":a=Go(Kn.DayPeriods,Ro.Abbreviated,sl.Format,!0);break;case"BBBB":a=Go(Kn.DayPeriods,Ro.Wide,sl.Format,!0);break;case"BBBBB":a=Go(Kn.DayPeriods,Ro.Narrow,sl.Format,!0);break;case"h":a=ns(qn.Hours,1,-12);break;case"hh":a=ns(qn.Hours,2,-12);break;case"H":a=ns(qn.Hours,1);break;case"HH":a=ns(qn.Hours,2);break;case"m":a=ns(qn.Minutes,1);break;case"mm":a=ns(qn.Minutes,2);break;case"s":a=ns(qn.Seconds,1);break;case"ss":a=ns(qn.Seconds,2);break;case"S":a=ns(qn.FractionalSeconds,1);break;case"SS":a=ns(qn.FractionalSeconds,2);break;case"SSS":a=ns(qn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":a=EO(Tp.Short);break;case"ZZZZZ":a=EO(Tp.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":a=EO(Tp.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":a=EO(Tp.Long);break;default:return null}return OH[r]=a,a}(D);v+=E?E(s,i,f):"''"===D?"'":D.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),v}function SO(r,a,i){const n=new Date(0);return n.setFullYear(r,a,i),n.setHours(0,0,0),n}function Ep(r,a){const i=function bue(r){return ts(r)[$n.LocaleId]}(r);if(DA[i]=DA[i]||{},DA[i][a])return DA[i][a];let n="";switch(a){case"shortDate":n=_C(r,ma.Short);break;case"mediumDate":n=_C(r,ma.Medium);break;case"longDate":n=_C(r,ma.Long);break;case"fullDate":n=_C(r,ma.Full);break;case"shortTime":n=DO(r,ma.Short);break;case"mediumTime":n=DO(r,ma.Medium);break;case"longTime":n=DO(r,ma.Long);break;case"fullTime":n=DO(r,ma.Full);break;case"short":const s=Ep(r,"shortTime"),l=Ep(r,"shortDate");n=TO(kA(r,ma.Short),[s,l]);break;case"medium":const d=Ep(r,"mediumTime"),p=Ep(r,"mediumDate");n=TO(kA(r,ma.Medium),[d,p]);break;case"long":const f=Ep(r,"longTime"),v=Ep(r,"longDate");n=TO(kA(r,ma.Long),[f,v]);break;case"full":const D=Ep(r,"fullTime"),E=Ep(r,"fullDate");n=TO(kA(r,ma.Full),[D,E])}return n&&(DA[i][a]=n),n}function TO(r,a){return a&&(r=r.replace(/\{([^}]+)}/g,function(i,n){return null!=a&&n in a?a[n]:i})),r}function Yd(r,a,i="-",n,s){let l="";(r<0||s&&r<=0)&&(s?r=1-r:(r=-r,l=i));let d=String(r);for(;d.length0||p>-i)&&(p+=i),r===qn.Hours)0===p&&-12===i&&(p=12);else if(r===qn.FractionalSeconds)return function Pue(r,a){return Yd(r,3).substring(0,a)}(p,a);const f=Zc(d,Kr.MinusSign);return Yd(p,a,f,n,s)}}function Go(r,a,i=sl.Format,n=!1){return function(s,l){return function Fue(r,a,i,n,s,l){switch(i){case Kn.Months:return function wue(r,a,i){const n=ts(r),l=Jc([n[$n.MonthsFormat],n[$n.MonthsStandalone]],a);return Jc(l,i)}(a,s,n)[r.getMonth()];case Kn.Days:return function Cue(r,a,i){const n=ts(r),l=Jc([n[$n.DaysFormat],n[$n.DaysStandalone]],a);return Jc(l,i)}(a,s,n)[r.getDay()];case Kn.DayPeriods:const d=r.getHours(),p=r.getMinutes();if(l){const v=function Iue(r){const a=ts(r);return aK(a),(a[$n.ExtraData][2]||[]).map(n=>"string"==typeof n?RH(n):[RH(n[0]),RH(n[1])])}(a),D=function Sue(r,a,i){const n=ts(r);aK(n);const l=Jc([n[$n.ExtraData][0],n[$n.ExtraData][1]],a)||[];return Jc(l,i)||[]}(a,s,n),E=v.findIndex(F=>{if(Array.isArray(F)){const[L,$]=F,q=d>=L.hours&&p>=L.minutes,Z=d<$.hours||d===$.hours&&p<$.minutes;if(L.hours<$.hours){if(q&&Z)return!0}else if(q||Z)return!0}else if(F.hours===d&&F.minutes===p)return!0;return!1});if(-1!==E)return D[E]}return function yue(r,a,i){const n=ts(r),l=Jc([n[$n.DayPeriodsFormat],n[$n.DayPeriodsStandalone]],a);return Jc(l,i)}(a,s,n)[d<12?0:1];case Kn.Eras:return function xue(r,a){return Jc(ts(r)[$n.Eras],a)}(a,n)[r.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${i}`)}}(s,l,r,a,i,n)}}function EO(r){return function(a,i,n){const s=-1*n,l=Zc(i,Kr.MinusSign),d=s>0?Math.floor(s/60):Math.ceil(s/60);switch(r){case Tp.Short:return(s>=0?"+":"")+Yd(d,2,l)+Yd(Math.abs(s%60),2,l);case Tp.ShortGMT:return"GMT"+(s>=0?"+":"")+Yd(d,1,l);case Tp.Long:return"GMT"+(s>=0?"+":"")+Yd(d,2,l)+":"+Yd(Math.abs(s%60),2,l);case Tp.Extended:return 0===n?"Z":(s>=0?"+":"")+Yd(d,2,l)+":"+Yd(Math.abs(s%60),2,l);default:throw new Error(`Unknown zone width "${r}"`)}}}const Nue=0,MO=4;function cK(r){return SO(r.getFullYear(),r.getMonth(),r.getDate()+(MO-r.getDay()))}function PH(r,a=!1){return function(i,n){let s;if(a){const l=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,d=i.getDate();s=1+Math.floor((d+l)/7)}else{const l=cK(i),d=function Lue(r){const a=SO(r,Nue,1).getDay();return SO(r,0,1+(a<=MO?MO:MO+7)-a)}(l.getFullYear()),p=l.getTime()-d.getTime();s=1+Math.round(p/6048e5)}return Yd(s,r,Zc(n,Kr.MinusSign))}}function RO(r,a=!1){return function(i,n){return Yd(cK(i).getFullYear(),r,Zc(n,Kr.MinusSign),a)}}const OH={};function dK(r,a){r=r.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+r)/6e4;return isNaN(i)?a:i}function uK(r){return r instanceof Date&&!isNaN(r.valueOf())}const jue=/^(\d+)?\.((\d+)(-(\d+))?)?$/,hK=22,PO=".",AA="0",$ue=";",Uue=",",FH="#";function NH(r,a,i,n,s,l,d=!1){let p="",f=!1;if(isFinite(r)){let v=function Kue(r){let n,s,l,d,p,a=Math.abs(r)+"",i=0;for((s=a.indexOf(PO))>-1&&(a=a.replace(PO,"")),(l=a.search(/e/i))>0?(s<0&&(s=l),s+=+a.slice(l+1),a=a.substring(0,l)):s<0&&(s=a.length),l=0;a.charAt(l)===AA;l++);if(l===(p=a.length))n=[0],s=1;else{for(p--;a.charAt(p)===AA;)p--;for(s-=l,n=[],d=0;l<=p;l++,d++)n[d]=Number(a.charAt(l))}return s>hK&&(n=n.splice(0,hK-1),i=s-1,s=1),{digits:n,exponent:i,integerLen:s}}(r);d&&(v=function que(r){if(0===r.digits[0])return r;const a=r.digits.length-r.integerLen;return r.exponent?r.exponent+=2:(0===a?r.digits.push(0,0):1===a&&r.digits.push(0),r.integerLen+=2),r}(v));let D=a.minInt,E=a.minFrac,F=a.maxFrac;if(l){const ue=l.match(jue);if(null===ue)throw new Error(`${l} is not a valid digit info`);const Oe=ue[1],ze=ue[3],Ze=ue[5];null!=Oe&&(D=BH(Oe)),null!=ze&&(E=BH(ze)),null!=Ze?F=BH(Ze):null!=ze&&E>F&&(F=E)}!function Yue(r,a,i){if(a>i)throw new Error(`The minimum number of digits after fraction (${a}) is higher than the maximum (${i}).`);let n=r.digits,s=n.length-r.integerLen;const l=Math.min(Math.max(a,s),i);let d=l+r.integerLen,p=n[d];if(d>0){n.splice(Math.max(r.integerLen,d));for(let E=d;E=5)if(d-1<0){for(let E=0;E>d;E--)n.unshift(0),r.integerLen++;n.unshift(1),r.integerLen++}else n[d-1]++;for(;s=v?$.pop():f=!1),F>=10?1:0},0);D&&(n.unshift(D),r.integerLen++)}(v,E,F);let L=v.digits,$=v.integerLen;const q=v.exponent;let Z=[];for(f=L.every(ue=>!ue);$0?Z=L.splice($,L.length):(Z=L,L=[0]);const se=[];for(L.length>=a.lgSize&&se.unshift(L.splice(-a.lgSize,L.length).join(""));L.length>a.gSize;)se.unshift(L.splice(-a.gSize,L.length).join(""));L.length&&se.unshift(L.join("")),p=se.join(Zc(i,n)),Z.length&&(p+=Zc(i,s)+Z.join("")),q&&(p+=Zc(i,Kr.Exponential)+"+"+q)}else p=Zc(i,Kr.Infinity);return p=r<0&&!f?a.negPre+p+a.negSuf:a.posPre+p+a.posSuf,p}function gK(r,a,i,n,s){const d=LH(AO(a,xA.Currency),Zc(a,Kr.MinusSign));return d.minFrac=function Eue(r){let a;const i=sK[r];return i&&(a=i[2]),"number"==typeof a?a:2}(n),d.maxFrac=d.minFrac,NH(r,d,a,Kr.CurrencyGroup,Kr.CurrencyDecimal,s).replace("\xa4",i).replace("\xa4","").trim()}function LH(r,a="-"){const i={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=r.split($ue),s=n[0],l=n[1],d=-1!==s.indexOf(PO)?s.split(PO):[s.substring(0,s.lastIndexOf(AA)+1),s.substring(s.lastIndexOf(AA)+1)],p=d[0],f=d[1]||"";i.posPre=p.substring(0,p.indexOf(FH));for(let D=0;D{class r{constructor(i,n,s,l){this._iterableDiffers=i,this._keyValueDiffers=n,this._ngEl=s,this._renderer=l,this.initialClasses=_K,this.stateMap=new Map}set klass(i){this.initialClasses=null!=i?i.trim().split(zH):_K}set ngClass(i){this.rawClass="string"==typeof i?i.trim().split(zH):i}ngDoCheck(){for(const n of this.initialClasses)this._updateState(n,!0);const i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(const n of i)this._updateState(n,!0);else if(null!=i)for(const n of Object.keys(i))this._updateState(n,!!i[n]);this._applyStateDiff()}_updateState(i,n){const s=this.stateMap.get(i);void 0!==s?(s.enabled!==n&&(s.changed=!0,s.enabled=n),s.touched=!0):this.stateMap.set(i,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(const i of this.stateMap){const n=i[0],s=i[1];s.changed?(this._toggleClass(n,s.enabled),s.changed=!1):s.touched||(s.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),s.touched=!1}}_toggleClass(i,n){(i=i.trim()).length>0&&i.split(zH).forEach(s=>{n?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(qr),T(CA),T(ke),T(Ui))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return r})();class Zue{constructor(a,i,n,s){this.$implicit=a,this.ngForOf=i,this.index=n,this.count=s}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Vt=(()=>{class r{set ngForOf(i){this._ngForOf=i,this._ngForOfDirty=!0}set ngForTrackBy(i){this._trackByFn=i}get ngForTrackBy(){return this._trackByFn}constructor(i,n,s){this._viewContainer=i,this._template=n,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(i){i&&(this._template=i)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;!this._differ&&i&&(this._differ=this._differs.find(i).create(this.ngForTrackBy))}if(this._differ){const i=this._differ.diff(this._ngForOf);i&&this._applyChanges(i)}}_applyChanges(i){const n=this._viewContainer;i.forEachOperation((s,l,d)=>{if(null==s.previousIndex)n.createEmbeddedView(this._template,new Zue(s.item,this._ngForOf,-1,-1),null===d?void 0:d);else if(null==d)n.remove(null===l?void 0:l);else if(null!==l){const p=n.get(l);n.move(p,d),bK(p,s)}});for(let s=0,l=n.length;s{bK(n.get(s.currentIndex),s)})}static ngTemplateContextGuard(i,n){return!0}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(je),T(qr))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return r})();function bK(r,a){r.context.$implicit=a.item}let Qe=(()=>{class r{constructor(i,n){this._viewContainer=i,this._context=new Jue,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(i){this._context.$implicit=this._context.ngIf=i,this._updateView()}set ngIfThen(i){yK("ngIfThen",i),this._thenTemplateRef=i,this._thenViewRef=null,this._updateView()}set ngIfElse(i){yK("ngIfElse",i),this._elseTemplateRef=i,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(i,n){return!0}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return r})();class Jue{constructor(){this.$implicit=null,this.ngIf=null}}function yK(r,a){if(a&&!a.createEmbeddedView)throw new Error(`${r} must be a TemplateRef, but received '${lr(a)}'.`)}class HH{constructor(a,i){this._viewContainerRef=a,this._templateRef=i,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(a){a&&!this._created?this.create():!a&&this._created&&this.destroy()}}let ed=(()=>{class r{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(i){this._ngSwitch=i,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(i){this._defaultViews.push(i)}_matchCase(i){const n=i==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(i){if(this._defaultViews.length>0&&i!==this._defaultUsed){this._defaultUsed=i;for(const n of this._defaultViews)n.enforceState(i)}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return r})(),ju=(()=>{class r{constructor(i,n,s){this.ngSwitch=s,s._addCase(),this._view=new HH(i,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(je),T(ed,9))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return r})(),yC=(()=>{class r{constructor(i,n,s){s._addDefault(new HH(i,n))}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(je),T(ed,9))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return r})(),Kt=(()=>{class r{constructor(i){this._viewContainerRef=i,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(i){if(i.ngTemplateOutlet||i.ngTemplateOutletInjector){const n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:s,ngTemplateOutletContext:l,ngTemplateOutletInjector:d}=this;this._viewRef=n.createEmbeddedView(s,l,d?{injector:d}:void 0)}else this._viewRef=null}else this._viewRef&&i.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ci]})}return r})();function Qd(r,a){return new Be(2100,!1)}class the{createSubscription(a,i){return zT(()=>a.subscribe({next:i,error:n=>{throw n}}))}dispose(a){zT(()=>a.unsubscribe())}}class ihe{createSubscription(a,i){return a.then(i,n=>{throw n})}dispose(a){}}const nhe=new ihe,ohe=new the;let hv=(()=>{class r{constructor(i){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=i}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(i){return this._obj?i!==this._obj?(this._dispose(),this.transform(i)):this._latestValue:(i&&this._subscribe(i),this._latestValue)}_subscribe(i){this._obj=i,this._strategy=this._selectStrategy(i),this._subscription=this._strategy.createSubscription(i,n=>this._updateLatestValue(i,n))}_selectStrategy(i){if(ev(i))return nhe;if(WM(i))return ohe;throw Qd()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(i,n){i===this._obj&&(this._latestValue=n,this._ref.markForCheck())}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt,16))};static#t=this.\u0275pipe=Pt({name:"async",type:r,pure:!1,standalone:!0})}return r})();const che=new $e("DATE_PIPE_DEFAULT_TIMEZONE"),dhe=new $e("DATE_PIPE_DEFAULT_OPTIONS");let fc=(()=>{class r{constructor(i,n,s){this.locale=i,this.defaultTimezone=n,this.defaultOptions=s}transform(i,n,s,l){if(null==i||""===i||i!=i)return null;try{return IO(i,n??this.defaultOptions?.dateFormat??"mediumDate",l||this.locale,s??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(d){throw Qd()}}static#e=this.\u0275fac=function(n){return new(n||r)(T(Ho,16),T(che,24),T(dhe,24))};static#t=this.\u0275pipe=Pt({name:"date",type:r,pure:!0,standalone:!0})}return r})(),pv=(()=>{class r{constructor(i,n="USD"){this._locale=i,this._defaultCurrencyCode=n}transform(i,n=this._defaultCurrencyCode,s="symbol",l,d){if(!jH(i))return null;d=d||this._locale,"boolean"==typeof s&&(s=s?"symbol":"code");let p=n||this._defaultCurrencyCode;"code"!==s&&(p="symbol"===s||"symbol-narrow"===s?lK(p,"symbol"===s?"wide":"narrow",d):s);try{return gK($H(i),d,p,n,l)}catch(f){throw Qd()}}static#e=this.\u0275fac=function(n){return new(n||r)(T(Ho,16),T(fH,16))};static#t=this.\u0275pipe=Pt({name:"currency",type:r,pure:!0,standalone:!0})}return r})();function jH(r){return!(null==r||""===r||r!=r)}function $H(r){if("string"==typeof r&&!isNaN(Number(r)-parseFloat(r)))return Number(r);if("number"!=typeof r)throw new Error(`${r} is not a number`);return r}let Gs=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();const xK="browser";function kK(r){return r===xK}function DK(r){return"server"===r}let yhe=(()=>{class r{static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:()=>new Che(De(Tt),window)})}return r})();class Che{constructor(a,i){this.document=a,this.window=i,this.offset=()=>[0,0]}setOffset(a){this.offset=Array.isArray(a)?()=>a:a}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(a){this.supportsScrolling()&&this.window.scrollTo(a[0],a[1])}scrollToAnchor(a){if(!this.supportsScrolling())return;const i=function whe(r,a){const i=r.getElementById(a)||r.getElementsByName(a)[0];if(i)return i;if("function"==typeof r.createTreeWalker&&r.body&&"function"==typeof r.body.attachShadow){const n=r.createTreeWalker(r.body,NodeFilter.SHOW_ELEMENT);let s=n.currentNode;for(;s;){const l=s.shadowRoot;if(l){const d=l.getElementById(a)||l.querySelector(`[name="${a}"]`);if(d)return d}s=n.nextNode()}}return null}(this.document,a);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(a){this.supportsScrolling()&&(this.window.history.scrollRestoration=a)}scrollToElement(a){const i=a.getBoundingClientRect(),n=i.left+this.window.pageXOffset,s=i.top+this.window.pageYOffset,l=this.offset();this.window.scrollTo(n-l[0],s-l[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class AK{}class Uhe extends uue{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class qH extends Uhe{static makeCurrent(){!function due(r){TH||(TH=r)}(new qH)}onAndCancel(a,i,n){return a.addEventListener(i,n),()=>{a.removeEventListener(i,n)}}dispatchEvent(a,i){a.dispatchEvent(i)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,i){return(i=i||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,i){return"window"===i?window:"document"===i?a:"body"===i?a.body:null}getBaseHref(a){const i=function Whe(){return TA=TA||document.querySelector("base"),TA?TA.getAttribute("href"):null}();return null==i?null:function qhe(r){NO=NO||document.createElement("a"),NO.setAttribute("href",r);const a=NO.pathname;return"/"===a.charAt(0)?a:`/${a}`}(i)}resetBaseElement(){TA=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return fK(document.cookie,a)}}let NO,TA=null,Yhe=(()=>{class r{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const LO=new $e("EventManagerPlugins");let MK=(()=>{class r{constructor(i,n){this._zone=n,this._eventNameToPlugin=new Map,i.forEach(s=>{s.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,n,s){return this._findPluginFor(n).addEventListener(i,n,s)}getZone(){return this._zone}_findPluginFor(i){let n=this._eventNameToPlugin.get(i);if(n)return n;if(n=this._plugins.find(l=>l.supports(i)),!n)throw new Be(5101,!1);return this._eventNameToPlugin.set(i,n),n}static#e=this.\u0275fac=function(n){return new(n||r)(De(LO),De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();class KH{constructor(a){this._doc=a}}const YH="ng-app-id";let RK=(()=>{class r{constructor(i,n,s,l={}){this.doc=i,this.appId=n,this.nonce=s,this.platformId=l,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=DK(l),this.resetHostNodes()}addStyles(i){for(const n of i)1===this.changeUsageCount(n,1)&&this.onStyleAdded(n)}removeStyles(i){for(const n of i)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){const i=this.styleNodesInDOM;i&&(i.forEach(n=>n.remove()),i.clear());for(const n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(i){this.hostNodes.add(i);for(const n of this.getAllStyles())this.addStyleToHost(i,n)}removeHost(i){this.hostNodes.delete(i)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(i){for(const n of this.hostNodes)this.addStyleToHost(n,i)}onStyleRemoved(i){const n=this.styleRef;n.get(i)?.elements?.forEach(s=>s.remove()),n.delete(i)}collectServerRenderedStyles(){const i=this.doc.head?.querySelectorAll(`style[${YH}="${this.appId}"]`);if(i?.length){const n=new Map;return i.forEach(s=>{null!=s.textContent&&n.set(s.textContent,s)}),n}return null}changeUsageCount(i,n){const s=this.styleRef;if(s.has(i)){const l=s.get(i);return l.usage+=n,l.usage}return s.set(i,{usage:n,elements:[]}),n}getStyleElement(i,n){const s=this.styleNodesInDOM,l=s?.get(n);if(l?.parentNode===i)return s.delete(n),l.removeAttribute(YH),l;{const d=this.doc.createElement("style");return this.nonce&&d.setAttribute("nonce",this.nonce),d.textContent=n,this.platformIsServer&&d.setAttribute(YH,this.appId),d}}addStyleToHost(i,n){const s=this.getStyleElement(i,n);i.appendChild(s);const l=this.styleRef,d=l.get(n)?.elements;d?d.push(s):l.set(n,{elements:[s],usage:1})}resetHostNodes(){const i=this.hostNodes;i.clear(),i.add(this.doc.head)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(Xg),De(dk,8),De(Ld))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const QH={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},XH=/%COMP%/g,Jhe=new $e("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function OK(r,a){return a.map(i=>i.replace(XH,r))}let ZH=(()=>{class r{constructor(i,n,s,l,d,p,f,v=null){this.eventManager=i,this.sharedStylesHost=n,this.appId=s,this.removeStylesOnCompDestroy=l,this.doc=d,this.platformId=p,this.ngZone=f,this.nonce=v,this.rendererByCompId=new Map,this.platformIsServer=DK(p),this.defaultRenderer=new JH(i,d,f,this.platformIsServer)}createRenderer(i,n){if(!i||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===xl.ShadowDom&&(n={...n,encapsulation:xl.Emulated});const s=this.getOrCreateRenderer(i,n);return s instanceof NK?s.applyToHost(i):s instanceof e6&&s.applyStyles(),s}getOrCreateRenderer(i,n){const s=this.rendererByCompId;let l=s.get(n.id);if(!l){const d=this.doc,p=this.ngZone,f=this.eventManager,v=this.sharedStylesHost,D=this.removeStylesOnCompDestroy,E=this.platformIsServer;switch(n.encapsulation){case xl.Emulated:l=new NK(f,v,n,this.appId,D,d,p,E);break;case xl.ShadowDom:return new npe(f,v,i,n,d,p,this.nonce,E);default:l=new e6(f,v,n,D,d,p,E)}s.set(n.id,l)}return l}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(n){return new(n||r)(De(MK),De(RK),De(Xg),De(Jhe),De(Tt),De(Ld),De(et),De(dk))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();class JH{constructor(a,i,n,s){this.eventManager=a,this.doc=i,this.ngZone=n,this.platformIsServer=s,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(a,i){return i?this.doc.createElementNS(QH[i]||i,a):this.doc.createElement(a)}createComment(a){return this.doc.createComment(a)}createText(a){return this.doc.createTextNode(a)}appendChild(a,i){(FK(a)?a.content:a).appendChild(i)}insertBefore(a,i,n){a&&(FK(a)?a.content:a).insertBefore(i,n)}removeChild(a,i){a&&a.removeChild(i)}selectRootElement(a,i){let n="string"==typeof a?this.doc.querySelector(a):a;if(!n)throw new Be(-5104,!1);return i||(n.textContent=""),n}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,i,n,s){if(s){i=s+":"+i;const l=QH[s];l?a.setAttributeNS(l,i,n):a.setAttribute(i,n)}else a.setAttribute(i,n)}removeAttribute(a,i,n){if(n){const s=QH[n];s?a.removeAttributeNS(s,i):a.removeAttribute(`${n}:${i}`)}else a.removeAttribute(i)}addClass(a,i){a.classList.add(i)}removeClass(a,i){a.classList.remove(i)}setStyle(a,i,n,s){s&(Pl.DashCase|Pl.Important)?a.style.setProperty(i,n,s&Pl.Important?"important":""):a.style[i]=n}removeStyle(a,i,n){n&Pl.DashCase?a.style.removeProperty(i):a.style[i]=""}setProperty(a,i,n){a[i]=n}setValue(a,i){a.nodeValue=i}listen(a,i,n){if("string"==typeof a&&!(a=Ip().getGlobalEventTarget(this.doc,a)))throw new Error(`Unsupported event target ${a} for event ${i}`);return this.eventManager.addEventListener(a,i,this.decoratePreventDefault(n))}decoratePreventDefault(a){return i=>{if("__ngUnwrap__"===i)return a;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>a(i)):a(i))&&i.preventDefault()}}}function FK(r){return"TEMPLATE"===r.tagName&&void 0!==r.content}class npe extends JH{constructor(a,i,n,s,l,d,p,f){super(a,l,d,f),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const v=OK(s.id,s.styles);for(const D of v){const E=document.createElement("style");p&&E.setAttribute("nonce",p),E.textContent=D,this.shadowRoot.appendChild(E)}}nodeOrShadowRoot(a){return a===this.hostEl?this.shadowRoot:a}appendChild(a,i){return super.appendChild(this.nodeOrShadowRoot(a),i)}insertBefore(a,i,n){return super.insertBefore(this.nodeOrShadowRoot(a),i,n)}removeChild(a,i){return super.removeChild(this.nodeOrShadowRoot(a),i)}parentNode(a){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(a)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class e6 extends JH{constructor(a,i,n,s,l,d,p,f){super(a,l,d,p),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=s,this.styles=f?OK(f,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class NK extends e6{constructor(a,i,n,s,l,d,p,f){const v=s+"-"+n.id;super(a,i,n,l,d,p,f,v),this.contentAttr=function epe(r){return"_ngcontent-%COMP%".replace(XH,r)}(v),this.hostAttr=function tpe(r){return"_nghost-%COMP%".replace(XH,r)}(v)}applyToHost(a){this.applyStyles(),this.setAttribute(a,this.hostAttr,"")}createElement(a,i){const n=super.createElement(a,i);return super.setAttribute(n,this.contentAttr,""),n}}let ope=(()=>{class r extends KH{constructor(i){super(i)}supports(i){return!0}addEventListener(i,n,s){return i.addEventListener(n,s,!1),()=>this.removeEventListener(i,n,s)}removeEventListener(i,n,s){return i.removeEventListener(n,s)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const LK=["alt","control","meta","shift"],rpe={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},spe={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey};let ape=(()=>{class r extends KH{constructor(i){super(i)}supports(i){return null!=r.parseEventName(i)}addEventListener(i,n,s){const l=r.parseEventName(n),d=r.eventCallback(l.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ip().onAndCancel(i,l.domEventName,d))}static parseEventName(i){const n=i.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const l=r._normalizeKey(n.pop());let d="",p=n.indexOf("code");if(p>-1&&(n.splice(p,1),d="code."),LK.forEach(v=>{const D=n.indexOf(v);D>-1&&(n.splice(D,1),d+=v+".")}),d+=l,0!=n.length||0===l.length)return null;const f={};return f.domEventName=s,f.fullKey=d,f}static matchEventFullKeyCode(i,n){let s=rpe[i.key]||i.key,l="";return n.indexOf("code.")>-1&&(s=i.code,l="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),LK.forEach(d=>{d!==s&&(0,spe[d])(i)&&(l+=d+".")}),l+=s,l===n)}static eventCallback(i,n,s){return l=>{r.matchEventFullKeyCode(l,i)&&s.runGuarded(()=>n(l))}}static _normalizeKey(i){return"esc"===i?"escape":i}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const VK=[{provide:Ld,useValue:xK},{provide:ck,useValue:function lpe(){qH.makeCurrent()},multi:!0},{provide:Tt,useFactory:function dpe(){return function Fl(r){Ol=r}(document),document},deps:[]}],upe=Eq(Xde,"browser",VK),hpe=new $e(""),zK=[{provide:qe,useClass:class Khe{addToWindow(a){co.getAngularTestability=(n,s=!0)=>{const l=a.findTestabilityInTree(n,s);if(null==l)throw new Be(5103,!1);return l},co.getAllAngularTestabilities=()=>a.getAllTestabilities(),co.getAllAngularRootElements=()=>a.getAllRootElements(),co.frameworkStabilizers||(co.frameworkStabilizers=[]),co.frameworkStabilizers.push(n=>{const s=co.getAllAngularTestabilities();let l=s.length,d=!1;const p=function(f){d=d||f,l--,0==l&&n(d)};s.forEach(f=>{f.whenStable(p)})})}findTestabilityInTree(a,i,n){return null==i?null:a.getTestability(i)??(n?Ip().isShadowRoot(i)?this.findTestabilityInTree(a,i.host,!0):this.findTestabilityInTree(a,i.parentElement,!0):null)}},deps:[]},{provide:Me,useClass:kt,deps:[et,$t,qe]},{provide:kt,useClass:kt,deps:[et,$t,qe]}],HK=[{provide:$c,useValue:"root"},{provide:Nl,useFactory:function cpe(){return new Nl},deps:[]},{provide:LO,useClass:ope,multi:!0,deps:[Tt,et,Ld]},{provide:LO,useClass:ape,multi:!0,deps:[Tt]},ZH,RK,MK,{provide:im,useExisting:ZH},{provide:AK,useClass:Yhe,deps:[]},[]];let GK=(()=>{class r{constructor(i){}static withServerTransition(i){return{ngModule:r,providers:[{provide:Xg,useValue:i.appId}]}}static#e=this.\u0275fac=function(n){return new(n||r)(De(hpe,12))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[...HK,...zK],imports:[Gs,Zde]})}return r})(),jK=(()=>{class r{constructor(i){this._doc=i}getTitle(){return this._doc.title}setTitle(i){this._doc.title=i||""}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:function(n){let s=null;return s=n?new n:function gpe(){return new jK(De(Tt))}(),s},providedIn:"root"})}return r})();typeof window<"u"&&window;const vpe={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},xC=new $e("HammerGestureConfig"),WK=new $e("HammerLoader");let BO=(()=>{class r{constructor(){this.events=[],this.overrides={}}buildHammer(i){const n=new Hammer(i,this.options);n.get("pinch").set({enable:!0}),n.get("rotate").set({enable:!0});for(const s in this.overrides)n.get(s).set(this.overrides[s]);return n}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),bpe=(()=>{class r extends KH{constructor(i,n,s,l){super(i),this._config=n,this.console=s,this.loader=l,this._loaderPromise=null}supports(i){return!(!vpe.hasOwnProperty(i.toLowerCase())&&!this.isCustomEvent(i)||!window.Hammer&&!this.loader)}addEventListener(i,n,s){const l=this.manager.getZone();if(n=n.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||l.runOutsideAngular(()=>this.loader());let d=!1,p=()=>{d=!0};return l.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?d||(p=this.addEventListener(i,n,s)):p=()=>{}}).catch(()=>{p=()=>{}})),()=>{p()}}return l.runOutsideAngular(()=>{const d=this._config.buildHammer(i),p=function(f){l.runGuarded(function(){s(f)})};return d.on(n,p),()=>{d.off(n,p),"function"==typeof d.destroy&&d.destroy()}})}isCustomEvent(i){return this._config.events.indexOf(i)>-1}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(xC),De(dC),De(WK,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),ype=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[{provide:LO,useClass:bpe,multi:!0,deps:[Tt,xC,dC,[new da,WK]]},{provide:xC,useClass:BO,deps:[]}]})}return r})(),kC=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(n){let s=null;return s=n?new(n||r):De(qK),s},providedIn:"root"})}return r})(),qK=(()=>{class r extends kC{constructor(i){super(),this._doc=i}sanitize(i,n){if(null==n)return null;switch(i){case Tr.NONE:return n;case Tr.HTML:return jc(n,"HTML")?jn(n):ik(this._doc,String(n)).toString();case Tr.STYLE:return jc(n,"Style")?jn(n):n;case Tr.SCRIPT:if(jc(n,"Script"))return jn(n);throw new Be(5200,!1);case Tr.URL:return jc(n,"URL")?jn(n):k_(String(n));case Tr.RESOURCE_URL:if(jc(n,"ResourceURL"))return jn(n);throw new Be(5201,!1);default:throw new Be(5202,!1)}}bypassSecurityTrustHtml(i){return function Ug(r){return new XE(r)}(i)}bypassSecurityTrustStyle(i){return function xB(r){return new ZE(r)}(i)}bypassSecurityTrustScript(i){return function kB(r){return new JE(r)}(i)}bypassSecurityTrustUrl(i){return function DB(r){return new e2(r)}(i)}bypassSecurityTrustResourceUrl(i){return function t2(r){return new $g(r)}(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:function(n){let s=null;return s=n?new n:function Cpe(r){return new qK(r.get(Tt))}(De(Jt)),s},providedIn:"root"})}return r})();function YK(r){return!!r&&(r instanceof _n||Ti(r.lift)&&Ti(r.subscribe))}bl(271);const{isArray:wpe}=Array,{getPrototypeOf:xpe,prototype:kpe,keys:Dpe}=Object;function QK(r){if(1===r.length){const a=r[0];if(wpe(a))return{args:a,keys:null};if(function Ape(r){return r&&"object"==typeof r&&xpe(r)===kpe}(a)){const i=Dpe(a);return{args:i.map(n=>a[n]),keys:i}}}return{args:r,keys:null}}const{isArray:Ipe}=Array;function i6(r){return Rt(a=>function Spe(r,a){return Ipe(a)?r(...a):r(a)}(r,a))}function XK(r,a){return r.reduce((i,n,s)=>(i[n]=a[s],i),{})}function gv(...r){const a=Pc(r),i=cy(r),{args:n,keys:s}=QK(r);if(0===n.length)return wn([],a);const l=new _n(function Tpe(r,a,i=Do){return n=>{ZK(a,()=>{const{length:s}=r,l=new Array(s);let d=s,p=s;for(let f=0;f{const v=wn(r[f],a);let D=!1;v.subscribe(qt(n,E=>{l[f]=E,D||(D=!0,p--),p||n.next(i(l.slice()))},()=>{--d||n.complete()}))},n)},n)}}(n,a,s?d=>XK(s,d):Do));return i?l.pipe(i6(i)):l}function ZK(r,a,i){r?Zr(i,r,a):a()}const VO=Lo(r=>function(){r(this),this.name="EmptyError",this.message="no elements in sequence"});function EA(...r){return function Epe(){return Ma(1)}()(wn(r,Pc(r)))}function mv(r){return new _n(a=>{Ar(r()).subscribe(a)})}function DC(r,a){const i=Ti(r)?r:()=>r,n=s=>s.error(i());return new _n(a?s=>a.schedule(n,0,s):n)}function n6(){return Cn((r,a)=>{let i=null;r._refCount++;const n=qt(a,void 0,void 0,void 0,()=>{if(!r||r._refCount<=0||0<--r._refCount)return void(i=null);const s=r._connection,l=i;i=null,s&&(!l||s===l)&&s.unsubscribe(),a.unsubscribe()});r.subscribe(n),n.closed||(i=r.connect())})}class o6 extends _n{constructor(a,i){super(),this.source=a,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,Rf(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new Ce;const i=this.getSubject();a.add(this.source.subscribe(qt(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),a.closed&&(this._connection=null,a=Ce.EMPTY)}return a}refCount(){return n6()(this)}}function An(r){return r<=0?()=>Jr:Cn((a,i)=>{let n=0;a.subscribe(qt(i,s=>{++n<=r&&(i.next(s),r<=n&&i.complete())}))})}function go(...r){const a=Pc(r);return Cn((i,n)=>{(a?EA(r,i,a):EA(r,i)).subscribe(n)})}function xi(r,a){return Cn((i,n)=>{let s=0;i.subscribe(qt(n,l=>r.call(a,l,s++)&&n.next(l)))})}function zO(r){return Cn((a,i)=>{let n=!1;a.subscribe(qt(i,s=>{n=!0,i.next(s)},()=>{n||i.next(r),i.complete()}))})}function JK(r=Mpe){return Cn((a,i)=>{let n=!1;a.subscribe(qt(i,s=>{n=!0,i.next(s)},()=>n?i.complete():i.error(r())))})}function Mpe(){return new VO}function mi(r,a){const i=arguments.length>=2;return n=>n.pipe(r?xi((s,l)=>r(s,l,n)):Do,An(1),i?zO(a):JK(()=>new VO))}function AC(r,a){return Ti(a)?vo(r,a,1):vo(r,1)}function Or(r,a,i){const n=Ti(r)||a||i?{next:r,error:a,complete:i}:r;return n?Cn((s,l)=>{var d;null===(d=n.subscribe)||void 0===d||d.call(n);let p=!0;s.subscribe(qt(l,f=>{var v;null===(v=n.next)||void 0===v||v.call(n,f),l.next(f)},()=>{var f;p=!1,null===(f=n.complete)||void 0===f||f.call(n),l.complete()},f=>{var v;p=!1,null===(v=n.error)||void 0===v||v.call(n,f),l.error(f)},()=>{var f,v;p&&(null===(f=n.unsubscribe)||void 0===f||f.call(n)),null===(v=n.finalize)||void 0===v||v.call(n)}))}):Do}function xm(r){return Cn((a,i)=>{let l,n=null,s=!1;n=a.subscribe(qt(i,void 0,void 0,d=>{l=Ar(r(d,xm(r)(a))),n?(n.unsubscribe(),n=null,l.subscribe(i)):s=!0})),s&&(n.unsubscribe(),n=null,l.subscribe(i))})}function r6(r){return r<=0?()=>Jr:Cn((a,i)=>{let n=[];a.subscribe(qt(i,s=>{n.push(s),r{for(const s of n)i.next(s);i.complete()},void 0,()=>{n=null}))})}function eY(r){return Rt(()=>r)}function IC(r){return Cn((a,i)=>{try{a.subscribe(i)}finally{i.add(r)}})}function xe(r){return Cn((a,i)=>{Ar(r).subscribe(qt(i,()=>i.complete(),te)),!i.closed&&a.subscribe(i)})}const Oi="primary",MA=Symbol("RouteTitle");class Fpe{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const i=this.params[a];return Array.isArray(i)?i[0]:i}return null}getAll(a){if(this.has(a)){const i=this.params[a];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}}function SC(r){return new Fpe(r)}function Npe(r,a,i){const n=i.path.split("/");if(n.length>r.length||"full"===i.pathMatch&&(a.hasChildren()||n.lengthn[l]===s)}return r===a}function iY(r){return r.length>0?r[r.length-1]:null}function km(r){return YK(r)?r:ev(r)?wn(Promise.resolve(r)):Dt(r)}const Bpe={exact:function rY(r,a,i){if(!fv(r.segments,a.segments)||!HO(r.segments,a.segments,i)||r.numberOfChildren!==a.numberOfChildren)return!1;for(const n in a.children)if(!r.children[n]||!rY(r.children[n],a.children[n],i))return!1;return!0},subset:sY},nY={exact:function Vpe(r,a){return $u(r,a)},subset:function zpe(r,a){return Object.keys(a).length<=Object.keys(r).length&&Object.keys(a).every(i=>tY(r[i],a[i]))},ignored:()=>!0};function oY(r,a,i){return Bpe[i.paths](r.root,a.root,i.matrixParams)&&nY[i.queryParams](r.queryParams,a.queryParams)&&!("exact"===i.fragment&&r.fragment!==a.fragment)}function sY(r,a,i){return aY(r,a,a.segments,i)}function aY(r,a,i,n){if(r.segments.length>i.length){const s=r.segments.slice(0,i.length);return!(!fv(s,i)||a.hasChildren()||!HO(s,i,n))}if(r.segments.length===i.length){if(!fv(r.segments,i)||!HO(r.segments,i,n))return!1;for(const s in a.children)if(!r.children[s]||!sY(r.children[s],a.children[s],n))return!1;return!0}{const s=i.slice(0,r.segments.length),l=i.slice(r.segments.length);return!!(fv(r.segments,s)&&HO(r.segments,s,n)&&r.children[Oi])&&aY(r.children[Oi],a,l,n)}}function HO(r,a,i){return a.every((n,s)=>nY[i](r[s].parameters,n.parameters))}class TC{constructor(a=new mo([],{}),i={},n=null){this.root=a,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=SC(this.queryParams)),this._queryParamMap}toString(){return jpe.serialize(this)}}class mo{constructor(a,i){this.segments=a,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return GO(this)}}class RA{constructor(a,i){this.path=a,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=SC(this.parameters)),this._parameterMap}toString(){return dY(this)}}function fv(r,a){return r.length===a.length&&r.every((i,n)=>i.path===a[n].path)}let PA=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return new s6},providedIn:"root"})}return r})();class s6{parse(a){const i=new ege(a);return new TC(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(a){const i=`/${OA(a.root,!0)}`,n=function Wpe(r){const a=Object.keys(r).map(i=>{const n=r[i];return Array.isArray(n)?n.map(s=>`${jO(i)}=${jO(s)}`).join("&"):`${jO(i)}=${jO(n)}`}).filter(i=>!!i);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${i}${n}${"string"==typeof a.fragment?`#${function $pe(r){return encodeURI(r)}(a.fragment)}`:""}`}}const jpe=new s6;function GO(r){return r.segments.map(a=>dY(a)).join("/")}function OA(r,a){if(!r.hasChildren())return GO(r);if(a){const i=r.children[Oi]?OA(r.children[Oi],!1):"",n=[];return Object.entries(r.children).forEach(([s,l])=>{s!==Oi&&n.push(`${s}:${OA(l,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=function Gpe(r,a){let i=[];return Object.entries(r.children).forEach(([n,s])=>{n===Oi&&(i=i.concat(a(s,n)))}),Object.entries(r.children).forEach(([n,s])=>{n!==Oi&&(i=i.concat(a(s,n)))}),i}(r,(n,s)=>s===Oi?[OA(r.children[Oi],!1)]:[`${s}:${OA(n,!1)}`]);return 1===Object.keys(r.children).length&&null!=r.children[Oi]?`${GO(r)}/${i[0]}`:`${GO(r)}/(${i.join("//")})`}}function lY(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jO(r){return lY(r).replace(/%3B/gi,";")}function a6(r){return lY(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $O(r){return decodeURIComponent(r)}function cY(r){return $O(r.replace(/\+/g,"%20"))}function dY(r){return`${a6(r.path)}${function Upe(r){return Object.keys(r).map(a=>`;${a6(a)}=${a6(r[a])}`).join("")}(r.parameters)}`}const qpe=/^[^\/()?;#]+/;function l6(r){const a=r.match(qpe);return a?a[0]:""}const Kpe=/^[^\/()?;=#]+/,Qpe=/^[^=?&#]+/,Zpe=/^[^&#]+/;class ege{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mo([],{}):new mo([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(a.length>0||Object.keys(i).length>0)&&(n[Oi]=new mo(a,i)),n}parseSegment(){const a=l6(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new Be(4009,!1);return this.capture(a),new RA($O(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const i=function Ype(r){const a=r.match(Kpe);return a?a[0]:""}(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){const s=l6(this.remaining);s&&(n=s,this.capture(n))}a[$O(i)]=$O(n)}parseQueryParam(a){const i=function Xpe(r){const a=r.match(Qpe);return a?a[0]:""}(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){const d=function Jpe(r){const a=r.match(Zpe);return a?a[0]:""}(this.remaining);d&&(n=d,this.capture(n))}const s=cY(i),l=cY(n);if(a.hasOwnProperty(s)){let d=a[s];Array.isArray(d)||(d=[d],a[s]=d),d.push(l)}else a[s]=l}parseParens(a){const i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=l6(this.remaining),s=this.remaining[n.length];if("/"!==s&&")"!==s&&";"!==s)throw new Be(4010,!1);let l;n.indexOf(":")>-1?(l=n.slice(0,n.indexOf(":")),this.capture(l),this.capture(":")):a&&(l=Oi);const d=this.parseChildren();i[l]=1===Object.keys(d).length?d[Oi]:new mo([],d),this.consumeOptional("//")}return i}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new Be(4011,!1)}}function uY(r){return r.segments.length>0?new mo([],{[Oi]:r}):r}function hY(r){const a={};for(const n of Object.keys(r.children)){const l=hY(r.children[n]);if(n===Oi&&0===l.segments.length&&l.hasChildren())for(const[d,p]of Object.entries(l.children))a[d]=p;else(l.segments.length>0||l.hasChildren())&&(a[n]=l)}return function tge(r){if(1===r.numberOfChildren&&r.children[Oi]){const a=r.children[Oi];return new mo(r.segments.concat(a.segments),a.children)}return r}(new mo(r.segments,a))}function _v(r){return r instanceof TC}function pY(r){let a;const s=uY(function i(l){const d={};for(const f of l.children){const v=i(f);d[f.outlet]=v}const p=new mo(l.url,d);return l===r&&(a=p),p}(r.root));return a??s}function gY(r,a,i,n){let s=r;for(;s.parent;)s=s.parent;if(0===a.length)return c6(s,s,s,i,n);const l=function nge(r){if("string"==typeof r[0]&&1===r.length&&"/"===r[0])return new fY(!0,0,r);let a=0,i=!1;const n=r.reduce((s,l,d)=>{if("object"==typeof l&&null!=l){if(l.outlets){const p={};return Object.entries(l.outlets).forEach(([f,v])=>{p[f]="string"==typeof v?v.split("/"):v}),[...s,{outlets:p}]}if(l.segmentPath)return[...s,l.segmentPath]}return"string"!=typeof l?[...s,l]:0===d?(l.split("/").forEach((p,f)=>{0==f&&"."===p||(0==f&&""===p?i=!0:".."===p?a++:""!=p&&s.push(p))}),s):[...s,l]},[]);return new fY(i,a,n)}(a);if(l.toRoot())return c6(s,s,new mo([],{}),i,n);const d=function oge(r,a,i){if(r.isAbsolute)return new WO(a,!0,0);if(!i)return new WO(a,!1,NaN);if(null===i.parent)return new WO(i,!0,0);const n=UO(r.commands[0])?0:1;return function rge(r,a,i){let n=r,s=a,l=i;for(;l>s;){if(l-=s,n=n.parent,!n)throw new Be(4005,!1);s=n.segments.length}return new WO(n,!1,s-l)}(i,i.segments.length-1+n,r.numberOfDoubleDots)}(l,s,r),p=d.processChildren?NA(d.segmentGroup,d.index,l.commands):_Y(d.segmentGroup,d.index,l.commands);return c6(s,d.segmentGroup,p,i,n)}function UO(r){return"object"==typeof r&&null!=r&&!r.outlets&&!r.segmentPath}function FA(r){return"object"==typeof r&&null!=r&&r.outlets}function c6(r,a,i,n,s){let d,l={};n&&Object.entries(n).forEach(([f,v])=>{l[f]=Array.isArray(v)?v.map(D=>`${D}`):`${v}`}),d=r===a?i:mY(r,a,i);const p=uY(hY(d));return new TC(p,l,s)}function mY(r,a,i){const n={};return Object.entries(r.children).forEach(([s,l])=>{n[s]=l===a?i:mY(l,a,i)}),new mo(r.segments,n)}class fY{constructor(a,i,n){if(this.isAbsolute=a,this.numberOfDoubleDots=i,this.commands=n,a&&n.length>0&&UO(n[0]))throw new Be(4003,!1);const s=n.find(FA);if(s&&s!==iY(n))throw new Be(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class WO{constructor(a,i,n){this.segmentGroup=a,this.processChildren=i,this.index=n}}function _Y(r,a,i){if(r||(r=new mo([],{})),0===r.segments.length&&r.hasChildren())return NA(r,a,i);const n=function age(r,a,i){let n=0,s=a;const l={match:!1,pathIndex:0,commandIndex:0};for(;s=i.length)return l;const d=r.segments[s],p=i[n];if(FA(p))break;const f=`${p}`,v=n0&&void 0===f)break;if(f&&v&&"object"==typeof v&&void 0===v.outlets){if(!bY(f,v,d))return l;n+=2}else{if(!bY(f,{},d))return l;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(r,a,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndexl!==Oi)&&r.children[Oi]&&1===r.numberOfChildren&&0===r.children[Oi].segments.length){const l=NA(r.children[Oi],a,i);return new mo(r.segments,l.children)}return Object.entries(n).forEach(([l,d])=>{"string"==typeof d&&(d=[d]),null!==d&&(s[l]=_Y(r.children[l],a,d))}),Object.entries(r.children).forEach(([l,d])=>{void 0===n[l]&&(s[l]=d)}),new mo(r.segments,s)}}function d6(r,a,i){const n=r.segments.slice(0,a);let s=0;for(;s{"string"==typeof n&&(n=[n]),null!==n&&(a[i]=d6(new mo([],{}),0,n))}),a}function vY(r){const a={};return Object.entries(r).forEach(([i,n])=>a[i]=`${n}`),a}function bY(r,a,i){return r==i.path&&$u(a,i.parameters)}const LA="imperative";class Uu{constructor(a,i){this.id=a,this.url=i}}class qO extends Uu{constructor(a,i,n="imperative",s=null){super(a,i),this.type=0,this.navigationTrigger=n,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Dm extends Uu{constructor(a,i,n){super(a,i),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class BA extends Uu{constructor(a,i,n,s){super(a,i),this.reason=n,this.code=s,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class EC extends Uu{constructor(a,i,n,s){super(a,i),this.reason=n,this.code=s,this.type=16}}class KO extends Uu{constructor(a,i,n,s){super(a,i),this.error=n,this.target=s,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yY extends Uu{constructor(a,i,n,s){super(a,i),this.urlAfterRedirects=n,this.state=s,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cge extends Uu{constructor(a,i,n,s){super(a,i),this.urlAfterRedirects=n,this.state=s,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dge extends Uu{constructor(a,i,n,s,l){super(a,i),this.urlAfterRedirects=n,this.state=s,this.shouldActivate=l,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class uge extends Uu{constructor(a,i,n,s){super(a,i),this.urlAfterRedirects=n,this.state=s,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hge extends Uu{constructor(a,i,n,s){super(a,i),this.urlAfterRedirects=n,this.state=s,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pge{constructor(a){this.route=a,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class gge{constructor(a){this.route=a,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mge{constructor(a){this.snapshot=a,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fge{constructor(a){this.snapshot=a,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _ge{constructor(a){this.snapshot=a,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vge{constructor(a){this.snapshot=a,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class CY{constructor(a,i,n){this.routerEvent=a,this.position=i,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class u6{}class h6{constructor(a){this.url=a}}class bge{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new VA,this.attachRef=null}}let VA=(()=>{class r{constructor(){this.contexts=new Map}onChildOutletCreated(i,n){const s=this.getOrCreateContext(i);s.outlet=n,this.contexts.set(i,s)}onChildOutletDestroyed(i){const n=this.getContext(i);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const i=this.contexts;return this.contexts=new Map,i}onOutletReAttached(i){this.contexts=i}getOrCreateContext(i){let n=this.getContext(i);return n||(n=new bge,this.contexts.set(i,n)),n}getContext(i){return this.contexts.get(i)||null}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class wY{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const i=this.pathFromRoot(a);return i.length>1?i[i.length-2]:null}children(a){const i=p6(a,this._root);return i?i.children.map(n=>n.value):[]}firstChild(a){const i=p6(a,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(a){const i=g6(a,this._root);return i.length<2?[]:i[i.length-2].children.map(s=>s.value).filter(s=>s!==a)}pathFromRoot(a){return g6(a,this._root).map(i=>i.value)}}function p6(r,a){if(r===a.value)return a;for(const i of a.children){const n=p6(r,i);if(n)return n}return null}function g6(r,a){if(r===a.value)return[a];for(const i of a.children){const n=g6(r,i);if(n.length)return n.unshift(a),n}return[]}class Mp{constructor(a,i){this.value=a,this.children=i}toString(){return`TreeNode(${this.value})`}}function MC(r){const a={};return r&&r.children.forEach(i=>a[i.value.outlet]=i),a}class xY extends wY{constructor(a,i){super(a),this.snapshot=i,m6(this,a)}toString(){return this.snapshot.toString()}}function kY(r,a){const i=function yge(r,a){const d=new YO([],{},{},"",{},Oi,a,null,{});return new AY("",new Mp(d,[]))}(0,a),n=new Pn([new RA("",{})]),s=new Pn({}),l=new Pn({}),d=new Pn({}),p=new Pn(""),f=new _c(n,s,d,p,l,Oi,a,i.root);return f.snapshot=i.root,new xY(new Mp(f,[]),i)}class _c{constructor(a,i,n,s,l,d,p,f){this.urlSubject=a,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=s,this.dataSubject=l,this.outlet=d,this.component=p,this._futureSnapshot=f,this.title=this.dataSubject?.pipe(Rt(v=>v[MA]))??Dt(void 0),this.url=a,this.params=i,this.queryParams=n,this.fragment=s,this.data=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Rt(a=>SC(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Rt(a=>SC(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function DY(r,a="emptyOnly"){const i=r.pathFromRoot;let n=0;if("always"!==a)for(n=i.length-1;n>=1;){const s=i[n],l=i[n-1];if(s.routeConfig&&""===s.routeConfig.path)n--;else{if(l.component)break;n--}}return function Cge(r){return r.reduce((a,i)=>({params:{...a.params,...i.params},data:{...a.data,...i.data},resolve:{...i.data,...a.resolve,...i.routeConfig?.data,...i._resolvedData}}),{params:{},data:{},resolve:{}})}(i.slice(n))}class YO{get title(){return this.data?.[MA]}constructor(a,i,n,s,l,d,p,f,v){this.url=a,this.params=i,this.queryParams=n,this.fragment=s,this.data=l,this.outlet=d,this.component=p,this.routeConfig=f,this._resolve=v}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=SC(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=SC(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class AY extends wY{constructor(a,i){super(i),this.url=a,m6(this,i)}toString(){return IY(this._root)}}function m6(r,a){a.value._routerState=r,a.children.forEach(i=>m6(r,i))}function IY(r){const a=r.children.length>0?` { ${r.children.map(IY).join(", ")} } `:"";return`${r.value}${a}`}function f6(r){if(r.snapshot){const a=r.snapshot,i=r._futureSnapshot;r.snapshot=i,$u(a.queryParams,i.queryParams)||r.queryParamsSubject.next(i.queryParams),a.fragment!==i.fragment&&r.fragmentSubject.next(i.fragment),$u(a.params,i.params)||r.paramsSubject.next(i.params),function Lpe(r,a){if(r.length!==a.length)return!1;for(let i=0;i$u(i.parameters,a[n].parameters))}(r.url,a.url);return i&&!(!r.parent!=!a.parent)&&(!r.parent||_6(r.parent,a.parent))}let RC=(()=>{class r{constructor(){this.activated=null,this._activatedRoute=null,this.name=Oi,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.parentContexts=st(VA),this.location=st(ei),this.changeDetector=st(rt),this.environmentInjector=st(_r),this.inputBinder=st(QO,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(i){if(i.name){const{firstChange:n,previousValue:s}=i.name;if(n)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(i){return this.parentContexts.getContext(i)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const i=this.parentContexts.getContext(this.name);i?.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Be(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Be(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Be(4012,!1);this.location.detach();const i=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(i.instance),i}attach(i,n){this.activated=i,this._activatedRoute=n,this.location.insert(i.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(i.instance)}deactivate(){if(this.activated){const i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}activateWith(i,n){if(this.isActivated)throw new Be(4013,!1);this._activatedRoute=i;const s=this.location,d=i.snapshot.component,p=this.parentContexts.getOrCreateContext(this.name).children,f=new wge(i,p,s.injector);this.activated=s.createComponent(d,{index:s.length,injector:f,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ci]})}return r})();class wge{constructor(a,i,n){this.route=a,this.childContexts=i,this.parent=n}get(a,i){return a===_c?this.route:a===VA?this.childContexts:this.parent.get(a,i)}}const QO=new $e("");let SY=(()=>{class r{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(i){this.unsubscribeFromRouteData(i),this.subscribeToRouteData(i)}unsubscribeFromRouteData(i){this.outletDataSubscriptions.get(i)?.unsubscribe(),this.outletDataSubscriptions.delete(i)}subscribeToRouteData(i){const{activatedRoute:n}=i,s=gv([n.queryParams,n.params,n.data]).pipe(Jn(([l,d,p],f)=>(p={...l,...d,...p},0===f?Dt(p):Promise.resolve(p)))).subscribe(l=>{if(!i.isActivated||!i.activatedComponentRef||i.activatedRoute!==n||null===n.component)return void this.unsubscribeFromRouteData(i);const d=wA(n.component);if(d)for(const{templateName:p}of d.inputs)i.activatedComponentRef.setInput(p,l[p]);else this.unsubscribeFromRouteData(i)});this.outletDataSubscriptions.set(i,s)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function zA(r,a,i){if(i&&r.shouldReuseRoute(a.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=a.value;const s=function kge(r,a,i){return a.children.map(n=>{for(const s of i.children)if(r.shouldReuseRoute(n.value,s.value.snapshot))return zA(r,n,s);return zA(r,n)})}(r,a,i);return new Mp(n,s)}{if(r.shouldAttach(a.value)){const l=r.retrieve(a.value);if(null!==l){const d=l.route;return d.value._futureSnapshot=a.value,d.children=a.children.map(p=>zA(r,p)),d}}const n=function Dge(r){return new _c(new Pn(r.url),new Pn(r.params),new Pn(r.queryParams),new Pn(r.fragment),new Pn(r.data),r.outlet,r.component,r)}(a.value),s=a.children.map(l=>zA(r,l));return new Mp(n,s)}}const v6="ngNavigationCancelingError";function TY(r,a){const{redirectTo:i,navigationBehaviorOptions:n}=_v(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,s=EY(!1,0,a);return s.url=i,s.navigationBehaviorOptions=n,s}function EY(r,a,i){const n=new Error("NavigationCancelingError: "+(r||""));return n[v6]=!0,n.cancellationCode=a,i&&(n.url=i),n}function MY(r){return r&&r[v6]}let RY=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["ng-component"]],standalone:!0,features:[Ue],decls:1,vars:0,template:function(n,s){1&n&&Q(0,"router-outlet")},dependencies:[RC],encapsulation:2})}return r})();function b6(r){const a=r.children&&r.children.map(b6),i=a?{...r,children:a}:{...r};return!i.component&&!i.loadComponent&&(a||i.loadChildren)&&i.outlet&&i.outlet!==Oi&&(i.component=RY),i}function Xd(r){return r.outlet||Oi}function HA(r){if(!r)return null;if(r.routeConfig?._injector)return r.routeConfig._injector;for(let a=r.parent;a;a=a.parent){const i=a.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}class Pge{constructor(a,i,n,s,l){this.routeReuseStrategy=a,this.futureState=i,this.currState=n,this.forwardEvent=s,this.inputBindingEnabled=l}activate(a){const i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,a),f6(this.futureState.root),this.activateChildRoutes(i,n,a)}deactivateChildRoutes(a,i,n){const s=MC(i);a.children.forEach(l=>{const d=l.value.outlet;this.deactivateRoutes(l,s[d],n),delete s[d]}),Object.values(s).forEach(l=>{this.deactivateRouteAndItsChildren(l,n)})}deactivateRoutes(a,i,n){const s=a.value,l=i?i.value:null;if(s===l)if(s.component){const d=n.getContext(s.outlet);d&&this.deactivateChildRoutes(a,i,d.children)}else this.deactivateChildRoutes(a,i,n);else l&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(a,i){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,i):this.deactivateRouteAndOutlet(a,i)}detachAndStoreRouteSubtree(a,i){const n=i.getContext(a.value.outlet),s=n&&a.value.component?n.children:i,l=MC(a);for(const d of Object.keys(l))this.deactivateRouteAndItsChildren(l[d],s);if(n&&n.outlet){const d=n.outlet.detach(),p=n.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:d,route:a,contexts:p})}}deactivateRouteAndOutlet(a,i){const n=i.getContext(a.value.outlet),s=n&&a.value.component?n.children:i,l=MC(a);for(const d of Object.keys(l))this.deactivateRouteAndItsChildren(l[d],s);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(a,i,n){const s=MC(i);a.children.forEach(l=>{this.activateRoutes(l,s[l.value.outlet],n),this.forwardEvent(new vge(l.value.snapshot))}),a.children.length&&this.forwardEvent(new fge(a.value.snapshot))}activateRoutes(a,i,n){const s=a.value,l=i?i.value:null;if(f6(s),s===l)if(s.component){const d=n.getOrCreateContext(s.outlet);this.activateChildRoutes(a,i,d.children)}else this.activateChildRoutes(a,i,n);else if(s.component){const d=n.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const p=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),d.children.onOutletReAttached(p.contexts),d.attachRef=p.componentRef,d.route=p.route.value,d.outlet&&d.outlet.attach(p.componentRef,p.route.value),f6(p.route.value),this.activateChildRoutes(a,null,d.children)}else{const p=HA(s.snapshot);d.attachRef=null,d.route=s,d.injector=p,d.outlet&&d.outlet.activateWith(s,d.injector),this.activateChildRoutes(a,null,d.children)}}else this.activateChildRoutes(a,null,n)}}class PY{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class XO{constructor(a,i){this.component=a,this.route=i}}function Oge(r,a,i){const n=r._root;return GA(n,a?a._root:null,i,[n.value])}function PC(r,a){const i=Symbol(),n=a.get(r,i);return n===i?"function"!=typeof r||function rL(r){return null!==bg(r)}(r)?a.get(r):r:n}function GA(r,a,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const l=MC(a);return r.children.forEach(d=>{(function Nge(r,a,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const l=r.value,d=a?a.value:null,p=i?i.getContext(r.value.outlet):null;if(d&&l.routeConfig===d.routeConfig){const f=function Lge(r,a,i){if("function"==typeof i)return i(r,a);switch(i){case"pathParamsChange":return!fv(r.url,a.url);case"pathParamsOrQueryParamsChange":return!fv(r.url,a.url)||!$u(r.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_6(r,a)||!$u(r.queryParams,a.queryParams);default:return!_6(r,a)}}(d,l,l.routeConfig.runGuardsAndResolvers);f?s.canActivateChecks.push(new PY(n)):(l.data=d.data,l._resolvedData=d._resolvedData),GA(r,a,l.component?p?p.children:null:i,n,s),f&&p&&p.outlet&&p.outlet.isActivated&&s.canDeactivateChecks.push(new XO(p.outlet.component,d))}else d&&jA(a,p,s),s.canActivateChecks.push(new PY(n)),GA(r,null,l.component?p?p.children:null:i,n,s)})(d,l[d.value.outlet],i,n.concat([d.value]),s),delete l[d.value.outlet]}),Object.entries(l).forEach(([d,p])=>jA(p,i.getContext(d),s)),s}function jA(r,a,i){const n=MC(r),s=r.value;Object.entries(n).forEach(([l,d])=>{jA(d,s.component?a?a.children.getContext(l):null:a,i)}),i.canDeactivateChecks.push(new XO(s.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,s))}function $A(r){return"function"==typeof r}function OY(r){return r instanceof VO||"EmptyError"===r?.name}const ZO=Symbol("INITIAL_VALUE");function OC(){return Jn(r=>gv(r.map(a=>a.pipe(An(1),go(ZO)))).pipe(Rt(a=>{for(const i of a)if(!0!==i){if(i===ZO)return ZO;if(!1===i||i instanceof TC)return i}return!0}),xi(a=>a!==ZO),An(1)))}function FY(r){return Qa(Or(a=>{if(_v(a))throw TY(0,a)}),Rt(a=>!0===a))}class JO{constructor(a){this.segmentGroup=a||null}}class NY{constructor(a){this.urlTree=a}}function FC(r){return DC(new JO(r))}function LY(r){return DC(new NY(r))}class nme{constructor(a,i){this.urlSerializer=a,this.urlTree=i}noMatchError(a){return new Be(4002,!1)}lineralizeSegments(a,i){let n=[],s=i.root;for(;;){if(n=n.concat(s.segments),0===s.numberOfChildren)return Dt(n);if(s.numberOfChildren>1||!s.children[Oi])return DC(new Be(4e3,!1));s=s.children[Oi]}}applyRedirectCommands(a,i,n){return this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),a,n)}applyRedirectCreateUrlTree(a,i,n,s){const l=this.createSegmentGroup(a,i.root,n,s);return new TC(l,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(a,i){const n={};return Object.entries(a).forEach(([s,l])=>{if("string"==typeof l&&l.startsWith(":")){const p=l.substring(1);n[s]=i[p]}else n[s]=l}),n}createSegmentGroup(a,i,n,s){const l=this.createSegments(a,i.segments,n,s);let d={};return Object.entries(i.children).forEach(([p,f])=>{d[p]=this.createSegmentGroup(a,f,n,s)}),new mo(l,d)}createSegments(a,i,n,s){return i.map(l=>l.path.startsWith(":")?this.findPosParam(a,l,s):this.findOrReturn(l,n))}findPosParam(a,i,n){const s=n[i.path.substring(1)];if(!s)throw new Be(4001,!1);return s}findOrReturn(a,i){let n=0;for(const s of i){if(s.path===a.path)return i.splice(n),s;n++}return a}}const y6={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ome(r,a,i,n,s){const l=C6(r,a,i);return l.matched?(n=function Ige(r,a){return r.providers&&!r._injector&&(r._injector=KD(r.providers,a,`Route: ${r.path}`)),r._injector??a}(a,n),function eme(r,a,i,n){const s=a.canMatch;return s&&0!==s.length?Dt(s.map(d=>{const p=PC(d,r);return km(function jge(r){return r&&$A(r.canMatch)}(p)?p.canMatch(a,i):r.runInContext(()=>p(a,i)))})).pipe(OC(),FY()):Dt(!0)}(n,a,i).pipe(Rt(d=>!0===d?l:{...y6}))):Dt(l)}function C6(r,a,i){if(""===a.path)return"full"===a.pathMatch&&(r.hasChildren()||i.length>0)?{...y6}:{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};const s=(a.matcher||Npe)(i,r,a);if(!s)return{...y6};const l={};Object.entries(s.posParams??{}).forEach(([p,f])=>{l[p]=f.path});const d=s.consumed.length>0?{...l,...s.consumed[s.consumed.length-1].parameters}:l;return{matched:!0,consumedSegments:s.consumed,remainingSegments:i.slice(s.consumed.length),parameters:d,positionalParamSegments:s.posParams??{}}}function BY(r,a,i,n){return i.length>0&&function ame(r,a,i){return i.some(n=>e3(r,a,n)&&Xd(n)!==Oi)}(r,i,n)?{segmentGroup:new mo(a,sme(n,new mo(i,r.children))),slicedSegments:[]}:0===i.length&&function lme(r,a,i){return i.some(n=>e3(r,a,n))}(r,i,n)?{segmentGroup:new mo(r.segments,rme(r,0,i,n,r.children)),slicedSegments:i}:{segmentGroup:new mo(r.segments,r.children),slicedSegments:i}}function rme(r,a,i,n,s){const l={};for(const d of n)if(e3(r,i,d)&&!s[Xd(d)]){const p=new mo([],{});l[Xd(d)]=p}return{...s,...l}}function sme(r,a){const i={};i[Oi]=a;for(const n of r)if(""===n.path&&Xd(n)!==Oi){const s=new mo([],{});i[Xd(n)]=s}return i}function e3(r,a,i){return(!(r.hasChildren()||a.length>0)||"full"!==i.pathMatch)&&""===i.path}class hme{constructor(a,i,n,s,l,d,p){this.injector=a,this.configLoader=i,this.rootComponentType=n,this.config=s,this.urlTree=l,this.paramsInheritanceStrategy=d,this.urlSerializer=p,this.allowRedirects=!0,this.applyRedirects=new nme(this.urlSerializer,this.urlTree)}noMatchError(a){return new Be(4002,!1)}recognize(){const a=BY(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,a,Oi).pipe(xm(i=>{if(i instanceof NY)return this.allowRedirects=!1,this.urlTree=i.urlTree,this.match(i.urlTree);throw i instanceof JO?this.noMatchError(i):i}),Rt(i=>{const n=new YO([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Oi,this.rootComponentType,null,{}),s=new Mp(n,i),l=new AY("",s),d=function ige(r,a,i=null,n=null){return gY(pY(r),a,i,n)}(n,[],this.urlTree.queryParams,this.urlTree.fragment);return d.queryParams=this.urlTree.queryParams,l.url=this.urlSerializer.serialize(d),this.inheritParamsAndData(l._root),{state:l,tree:d}}))}match(a){return this.processSegmentGroup(this.injector,this.config,a.root,Oi).pipe(xm(n=>{throw n instanceof JO?this.noMatchError(n):n}))}inheritParamsAndData(a){const i=a.value,n=DY(i,this.paramsInheritanceStrategy);i.params=Object.freeze(n.params),i.data=Object.freeze(n.data),a.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(a,i,n,s){return 0===n.segments.length&&n.hasChildren()?this.processChildren(a,i,n):this.processSegment(a,i,n,n.segments,s,!0)}processChildren(a,i,n){const s=[];for(const l of Object.keys(n.children))"primary"===l?s.unshift(l):s.push(l);return wn(s).pipe(AC(l=>{const d=n.children[l],p=function Mge(r,a){const i=r.filter(n=>Xd(n)===a);return i.push(...r.filter(n=>Xd(n)!==a)),i}(i,l);return this.processSegmentGroup(a,p,d,l)}),function Ppe(r,a){return Cn(function Rpe(r,a,i,n,s){return(l,d)=>{let p=i,f=a,v=0;l.subscribe(qt(d,D=>{const E=v++;f=p?r(f,D,E):(p=!0,D),n&&d.next(f)},s&&(()=>{p&&d.next(f),d.complete()})))}}(r,a,arguments.length>=2,!0))}((l,d)=>(l.push(...d),l)),zO(null),function Ope(r,a){const i=arguments.length>=2;return n=>n.pipe(r?xi((s,l)=>r(s,l,n)):Do,r6(1),i?zO(a):JK(()=>new VO))}(),vo(l=>{if(null===l)return FC(n);const d=VY(l);return function pme(r){r.sort((a,i)=>a.value.outlet===Oi?-1:i.value.outlet===Oi?1:a.value.outlet.localeCompare(i.value.outlet))}(d),Dt(d)}))}processSegment(a,i,n,s,l,d){return wn(i).pipe(AC(p=>this.processSegmentAgainstRoute(p._injector??a,i,p,n,s,l,d).pipe(xm(f=>{if(f instanceof JO)return Dt(null);throw f}))),mi(p=>!!p),xm(p=>{if(OY(p))return function dme(r,a,i){return 0===a.length&&!r.children[i]}(n,s,l)?Dt([]):FC(n);throw p}))}processSegmentAgainstRoute(a,i,n,s,l,d,p){return function cme(r,a,i,n){return!!(Xd(r)===n||n!==Oi&&e3(a,i,r))&&("**"===r.path||C6(a,r,i).matched)}(n,s,l,d)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(a,s,n,l,d,p):p&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,s,i,n,l,d):FC(s):FC(s)}expandSegmentAgainstRouteUsingRedirect(a,i,n,s,l,d){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,n,s,d):this.expandRegularSegmentAgainstRouteUsingRedirect(a,i,n,s,l,d)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,i,n,s){const l=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?LY(l):this.applyRedirects.lineralizeSegments(n,l).pipe(vo(d=>{const p=new mo(d,{});return this.processSegment(a,i,p,d,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,i,n,s,l,d){const{matched:p,consumedSegments:f,remainingSegments:v,positionalParamSegments:D}=C6(i,s,l);if(!p)return FC(i);const E=this.applyRedirects.applyRedirectCommands(f,s.redirectTo,D);return s.redirectTo.startsWith("/")?LY(E):this.applyRedirects.lineralizeSegments(s,E).pipe(vo(F=>this.processSegment(a,n,i,F.concat(v),d,!1)))}matchSegmentAgainstRoute(a,i,n,s,l,d){let p;if("**"===n.path){const f=s.length>0?iY(s).parameters:{};p=Dt({snapshot:new YO(s,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zY(n),Xd(n),n.component??n._loadedComponent??null,n,HY(n)),consumedSegments:[],remainingSegments:[]}),i.children={}}else p=ome(i,n,s,a).pipe(Rt(({matched:f,consumedSegments:v,remainingSegments:D,parameters:E})=>f?{snapshot:new YO(v,E,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zY(n),Xd(n),n.component??n._loadedComponent??null,n,HY(n)),consumedSegments:v,remainingSegments:D}:null));return p.pipe(Jn(f=>null===f?FC(i):this.getChildConfig(a=n._injector??a,n,s).pipe(Jn(({routes:v})=>{const D=n._loadedInjector??a,{snapshot:E,consumedSegments:F,remainingSegments:L}=f,{segmentGroup:$,slicedSegments:q}=BY(i,F,L,v);if(0===q.length&&$.hasChildren())return this.processChildren(D,v,$).pipe(Rt(se=>null===se?null:[new Mp(E,se)]));if(0===v.length&&0===q.length)return Dt([new Mp(E,[])]);const Z=Xd(n)===l;return this.processSegment(D,v,$,q,Z?Oi:l,!0).pipe(Rt(se=>[new Mp(E,se)]))}))))}getChildConfig(a,i,n){return i.children?Dt({routes:i.children,injector:a}):i.loadChildren?void 0!==i._loadedRoutes?Dt({routes:i._loadedRoutes,injector:i._loadedInjector}):function Jge(r,a,i,n){const s=a.canLoad;return void 0===s||0===s.length?Dt(!0):Dt(s.map(d=>{const p=PC(d,r);return km(function Vge(r){return r&&$A(r.canLoad)}(p)?p.canLoad(a,i):r.runInContext(()=>p(a,i)))})).pipe(OC(),FY())}(a,i,n).pipe(vo(s=>s?this.configLoader.loadChildren(a,i).pipe(Or(l=>{i._loadedRoutes=l.routes,i._loadedInjector=l.injector})):function ime(r){return DC(EY(!1,3))}())):Dt({routes:[],injector:a})}}function gme(r){const a=r.value.routeConfig;return a&&""===a.path}function VY(r){const a=[],i=new Set;for(const n of r){if(!gme(n)){a.push(n);continue}const s=a.find(l=>n.value.routeConfig===l.value.routeConfig);void 0!==s?(s.children.push(...n.children),i.add(s)):a.push(n)}for(const n of i){const s=VY(n.children);a.push(new Mp(n.value,s))}return a.filter(n=>!i.has(n))}function zY(r){return r.data||{}}function HY(r){return r.resolve||{}}function GY(r){return"string"==typeof r.title||null===r.title}function w6(r){return Jn(a=>{const i=r(a);return i?wn(i).pipe(Rt(()=>a)):Dt(a)})}const NC=new $e("ROUTES");let x6=(()=>{class r{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=st(fA)}loadComponent(i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Dt(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);const n=km(i.loadComponent()).pipe(Rt(jY),Or(l=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=l}),IC(()=>{this.componentLoaders.delete(i)})),s=new o6(n,()=>new Ge).pipe(n6());return this.componentLoaders.set(i,s),s}loadChildren(i,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Dt({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);const l=function Cme(r,a,i,n){return km(r.loadChildren()).pipe(Rt(jY),vo(s=>s instanceof WD||Array.isArray(s)?Dt(s):wn(a.compileModuleAsync(s))),Rt(s=>{n&&n(r);let l,d,p=!1;return Array.isArray(s)?(d=s,!0):(l=s.create(i).injector,d=l.get(NC,[],{optional:!0,self:!0}).flat()),{routes:d.map(b6),injector:l}}))}(n,this.compiler,i,this.onLoadEndListener).pipe(IC(()=>{this.childrenLoaders.delete(n)})),d=new o6(l,()=>new Ge).pipe(n6());return this.childrenLoaders.set(n,d),d}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function jY(r){return function wme(r){return r&&"object"==typeof r&&"default"in r}(r)?r.default:r}let t3=(()=>{class r{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ge,this.transitionAbortSubject=new Ge,this.configLoader=st(x6),this.environmentInjector=st(_r),this.urlSerializer=st(PA),this.rootContexts=st(VA),this.inputBindingEnabled=null!==st(QO,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Dt(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=s=>this.events.next(new gge(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new pge(s))}complete(){this.transitions?.complete()}handleNavigationRequest(i){const n=++this.navigationId;this.transitions?.next({...this.transitions.value,...i,id:n})}setupNavigations(i,n,s){return this.transitions=new Pn({id:0,currentUrlTree:n,currentRawUrl:n,currentBrowserUrl:n,extractedUrl:i.urlHandlingStrategy.extract(n),urlAfterRedirects:i.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:LA,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xi(l=>0!==l.id),Rt(l=>({...l,extractedUrl:i.urlHandlingStrategy.extract(l.rawUrl)})),Jn(l=>{this.currentTransition=l;let d=!1,p=!1;return Dt(l).pipe(Or(f=>{this.currentNavigation={id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,trigger:f.source,extras:f.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Jn(f=>{const v=f.currentBrowserUrl.toString(),D=!i.navigated||f.extractedUrl.toString()!==v||v!==f.currentUrlTree.toString();if(!D&&"reload"!==(f.extras.onSameUrlNavigation??i.onSameUrlNavigation)){const F="";return this.events.next(new EC(f.id,this.urlSerializer.serialize(f.rawUrl),F,0)),f.resolve(null),Jr}if(i.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return Dt(f).pipe(Jn(F=>{const L=this.transitions?.getValue();return this.events.next(new qO(F.id,this.urlSerializer.serialize(F.extractedUrl),F.source,F.restoredState)),L!==this.transitions?.getValue()?Jr:Promise.resolve(F)}),function mme(r,a,i,n,s,l){return vo(d=>function ume(r,a,i,n,s,l,d="emptyOnly"){return new hme(r,a,i,n,s,d,l).recognize()}(r,a,i,n,d.extractedUrl,s,l).pipe(Rt(({state:p,tree:f})=>({...d,targetSnapshot:p,urlAfterRedirects:f}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,i.config,this.urlSerializer,i.paramsInheritanceStrategy),Or(F=>{l.targetSnapshot=F.targetSnapshot,l.urlAfterRedirects=F.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:F.urlAfterRedirects};const L=new yY(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot);this.events.next(L)}));if(D&&i.urlHandlingStrategy.shouldProcessUrl(f.currentRawUrl)){const{id:F,extractedUrl:L,source:$,restoredState:q,extras:Z}=f,se=new qO(F,this.urlSerializer.serialize(L),$,q);this.events.next(se);const ue=kY(0,this.rootComponentType).snapshot;return this.currentTransition=l={...f,targetSnapshot:ue,urlAfterRedirects:L,extras:{...Z,skipLocationChange:!1,replaceUrl:!1}},Dt(l)}{const F="";return this.events.next(new EC(f.id,this.urlSerializer.serialize(f.extractedUrl),F,1)),f.resolve(null),Jr}}),Or(f=>{const v=new cge(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(v)}),Rt(f=>(this.currentTransition=l={...f,guards:Oge(f.targetSnapshot,f.currentSnapshot,this.rootContexts)},l)),function Uge(r,a){return vo(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:l,canDeactivateChecks:d}}=i;return 0===d.length&&0===l.length?Dt({...i,guardsResult:!0}):function Wge(r,a,i,n){return wn(r).pipe(vo(s=>function Zge(r,a,i,n,s){const l=a&&a.routeConfig?a.routeConfig.canDeactivate:null;return l&&0!==l.length?Dt(l.map(p=>{const f=HA(a)??s,v=PC(p,f);return km(function Gge(r){return r&&$A(r.canDeactivate)}(v)?v.canDeactivate(r,a,i,n):f.runInContext(()=>v(r,a,i,n))).pipe(mi())})).pipe(OC()):Dt(!0)}(s.component,s.route,i,a,n)),mi(s=>!0!==s,!0))}(d,n,s,r).pipe(vo(p=>p&&function Bge(r){return"boolean"==typeof r}(p)?function qge(r,a,i,n){return wn(a).pipe(AC(s=>EA(function Yge(r,a){return null!==r&&a&&a(new mge(r)),Dt(!0)}(s.route.parent,n),function Kge(r,a){return null!==r&&a&&a(new _ge(r)),Dt(!0)}(s.route,n),function Xge(r,a,i){const n=a[a.length-1],l=a.slice(0,a.length-1).reverse().map(d=>function Fge(r){const a=r.routeConfig?r.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:r,guards:a}:null}(d)).filter(d=>null!==d).map(d=>mv(()=>Dt(d.guards.map(f=>{const v=HA(d.node)??i,D=PC(f,v);return km(function Hge(r){return r&&$A(r.canActivateChild)}(D)?D.canActivateChild(n,r):v.runInContext(()=>D(n,r))).pipe(mi())})).pipe(OC())));return Dt(l).pipe(OC())}(r,s.path,i),function Qge(r,a,i){const n=a.routeConfig?a.routeConfig.canActivate:null;if(!n||0===n.length)return Dt(!0);const s=n.map(l=>mv(()=>{const d=HA(a)??i,p=PC(l,d);return km(function zge(r){return r&&$A(r.canActivate)}(p)?p.canActivate(a,r):d.runInContext(()=>p(a,r))).pipe(mi())}));return Dt(s).pipe(OC())}(r,s.route,i))),mi(s=>!0!==s,!0))}(n,l,r,a):Dt(p)),Rt(p=>({...i,guardsResult:p})))})}(this.environmentInjector,f=>this.events.next(f)),Or(f=>{if(l.guardsResult=f.guardsResult,_v(f.guardsResult))throw TY(0,f.guardsResult);const v=new dge(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);this.events.next(v)}),xi(f=>!!f.guardsResult||(this.cancelNavigationTransition(f,"",3),!1)),w6(f=>{if(f.guards.canActivateChecks.length)return Dt(f).pipe(Or(v=>{const D=new uge(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(D)}),Jn(v=>{let D=!1;return Dt(v).pipe(function fme(r,a){return vo(i=>{const{targetSnapshot:n,guards:{canActivateChecks:s}}=i;if(!s.length)return Dt(i);let l=0;return wn(s).pipe(AC(d=>function _me(r,a,i,n){const s=r.routeConfig,l=r._resolve;return void 0!==s?.title&&!GY(s)&&(l[MA]=s.title),function vme(r,a,i,n){const s=function bme(r){return[...Object.keys(r),...Object.getOwnPropertySymbols(r)]}(r);if(0===s.length)return Dt({});const l={};return wn(s).pipe(vo(d=>function yme(r,a,i,n){const s=HA(a)??n,l=PC(r,s);return km(l.resolve?l.resolve(a,i):s.runInContext(()=>l(a,i)))}(r[d],a,i,n).pipe(mi(),Or(p=>{l[d]=p}))),r6(1),eY(l),xm(d=>OY(d)?Jr:DC(d)))}(l,r,a,n).pipe(Rt(d=>(r._resolvedData=d,r.data=DY(r,i).resolve,s&&GY(s)&&(r.data[MA]=s.title),null)))}(d.route,n,r,a)),Or(()=>l++),r6(1),vo(d=>l===s.length?Dt(i):Jr))})}(i.paramsInheritanceStrategy,this.environmentInjector),Or({next:()=>D=!0,complete:()=>{D||this.cancelNavigationTransition(v,"",2)}}))}),Or(v=>{const D=new hge(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(D)}))}),w6(f=>{const v=D=>{const E=[];D.routeConfig?.loadComponent&&!D.routeConfig._loadedComponent&&E.push(this.configLoader.loadComponent(D.routeConfig).pipe(Or(F=>{D.component=F}),Rt(()=>{})));for(const F of D.children)E.push(...v(F));return E};return gv(v(f.targetSnapshot.root)).pipe(zO(),An(1))}),w6(()=>this.afterPreactivation()),Rt(f=>{const v=function xge(r,a,i){const n=zA(r,a._root,i?i._root:void 0);return new xY(n,a)}(i.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return this.currentTransition=l={...f,targetRouterState:v},l}),Or(()=>{this.events.next(new u6)}),((r,a,i,n)=>Rt(s=>(new Pge(a,s.targetRouterState,s.currentRouterState,i,n).activate(r),s)))(this.rootContexts,i.routeReuseStrategy,f=>this.events.next(f),this.inputBindingEnabled),An(1),Or({next:f=>{d=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Dm(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects))),i.titleStrategy?.updateTitle(f.targetRouterState.snapshot),f.resolve(!0)},complete:()=>{d=!0}}),xe(this.transitionAbortSubject.pipe(Or(f=>{throw f}))),IC(()=>{d||p||this.cancelNavigationTransition(l,"",1),this.currentNavigation?.id===l.id&&(this.currentNavigation=null)}),xm(f=>{if(p=!0,MY(f))this.events.next(new BA(l.id,this.urlSerializer.serialize(l.extractedUrl),f.message,f.cancellationCode)),function Age(r){return MY(r)&&_v(r.url)}(f)?this.events.next(new h6(f.url)):l.resolve(!1);else{this.events.next(new KO(l.id,this.urlSerializer.serialize(l.extractedUrl),f,l.targetSnapshot??void 0));try{l.resolve(i.errorHandler(f))}catch(v){l.reject(v)}}return Jr}))}))}cancelNavigationTransition(i,n,s){const l=new BA(i.id,this.urlSerializer.serialize(i.extractedUrl),n,s);this.events.next(l),i.resolve(!1)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function $Y(r){return r!==LA}let UY=(()=>{class r{buildTitle(i){let n,s=i.root;for(;void 0!==s;)n=this.getResolvedTitleForRoute(s)??n,s=s.children.find(l=>l.outlet===Oi);return n}getResolvedTitleForRoute(i){return i.data[MA]}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(xme)},providedIn:"root"})}return r})(),xme=(()=>{class r extends UY{constructor(i){super(),this.title=i}updateTitle(i){const n=this.buildTitle(i);void 0!==n&&this.title.setTitle(n)}static#e=this.\u0275fac=function(n){return new(n||r)(De(jK))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),kme=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(Ame)},providedIn:"root"})}return r})();class Dme{shouldDetach(a){return!1}store(a,i){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,i){return a.routeConfig===i.routeConfig}}let Ame=(()=>{class r extends Dme{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const n3=new $e("",{providedIn:"root",factory:()=>({})});let Ime=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(Sme)},providedIn:"root"})}return r})(),Sme=(()=>{class r{shouldProcessUrl(i){return!0}extract(i){return i}merge(i,n){return i}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var UA=function(r){return r[r.COMPLETE=0]="COMPLETE",r[r.FAILED=1]="FAILED",r[r.REDIRECTING=2]="REDIRECTING",r}(UA||{});function WY(r,a){r.events.pipe(xi(i=>i instanceof Dm||i instanceof BA||i instanceof KO||i instanceof EC),Rt(i=>i instanceof Dm||i instanceof EC?UA.COMPLETE:i instanceof BA&&(0===i.code||1===i.code)?UA.REDIRECTING:UA.FAILED),xi(i=>i!==UA.REDIRECTING),An(1)).subscribe(()=>{a()})}function Tme(r){throw r}function Eme(r,a,i){return a.parse("/")}const Mme={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rme={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let di=(()=>{class r{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=st(dC),this.isNgZoneEnabled=!1,this._events=new Ge,this.options=st(n3,{optional:!0})||{},this.pendingTasks=st(uC),this.errorHandler=this.options.errorHandler||Tme,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Eme,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=st(Ime),this.routeReuseStrategy=st(kme),this.titleStrategy=st(UY),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=st(NC,{optional:!0})?.flat()??[],this.navigationTransitions=st(t3),this.urlSerializer=st(PA),this.location=st(Gu),this.componentInputBindingEnabled=!!st(QO,{optional:!0}),this.eventsSubscription=new Ce,this.isNgZoneEnabled=st(et)instanceof et&&et.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new TC,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=kY(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(i=>{this.lastSuccessfulId=i.id,this.currentPageId=this.browserPageId},i=>{this.console.warn(`Unhandled Navigation Error: ${i}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const i=this.navigationTransitions.events.subscribe(n=>{try{const{currentTransition:s}=this.navigationTransitions;if(null===s)return void(qY(n)&&this._events.next(n));if(n instanceof qO)$Y(s.source)&&(this.browserUrlTree=s.extractedUrl);else if(n instanceof EC)this.rawUrlTree=s.rawUrl;else if(n instanceof yY){if("eager"===this.urlUpdateStrategy){if(!s.extras.skipLocationChange){const l=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl);this.setBrowserUrl(l,s)}this.browserUrlTree=s.urlAfterRedirects}}else if(n instanceof u6)this.currentUrlTree=s.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&(s.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,s),this.browserUrlTree=s.urlAfterRedirects);else if(n instanceof BA)0!==n.code&&1!==n.code&&(this.navigated=!0),(3===n.code||2===n.code)&&this.restoreHistory(s);else if(n instanceof h6){const l=this.urlHandlingStrategy.merge(n.url,s.currentRawUrl),d={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||$Y(s.source)};this.scheduleNavigation(l,LA,null,d,{resolve:s.resolve,reject:s.reject,promise:s.promise})}n instanceof KO&&this.restoreHistory(s,!0),n instanceof Dm&&(this.navigated=!0),qY(n)&&this._events.next(n)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const i=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),LA,i)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(i=>{const n="popstate"===i.type?"popstate":"hashchange";"popstate"===n&&setTimeout(()=>{this.navigateToSyncWithBrowser(i.url,n,i.state)},0)}))}navigateToSyncWithBrowser(i,n,s){const l={replaceUrl:!0},d=s?.navigationId?s:null;if(s){const f={...s};delete f.navigationId,delete f.\u0275routerPageId,0!==Object.keys(f).length&&(l.state=f)}const p=this.parseUrl(i);this.scheduleNavigation(p,n,d,l)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(b6),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(i,n={}){const{relativeTo:s,queryParams:l,fragment:d,queryParamsHandling:p,preserveFragment:f}=n,v=f?this.currentUrlTree.fragment:d;let E,D=null;switch(p){case"merge":D={...this.currentUrlTree.queryParams,...l};break;case"preserve":D=this.currentUrlTree.queryParams;break;default:D=l||null}null!==D&&(D=this.removeEmptyProps(D));try{E=pY(s?s.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof i[0]||!i[0].startsWith("/"))&&(i=[]),E=this.currentUrlTree.root}return gY(E,i,D,v??null)}navigateByUrl(i,n={skipLocationChange:!1}){const s=_v(i)?i:this.parseUrl(i),l=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(l,LA,null,n)}navigate(i,n={skipLocationChange:!1}){return function Pme(r){for(let a=0;a{const l=i[s];return null!=l&&(n[s]=l),n},{})}scheduleNavigation(i,n,s,l,d){if(this.disposed)return Promise.resolve(!1);let p,f,v;d?(p=d.resolve,f=d.reject,v=d.promise):v=new Promise((E,F)=>{p=E,f=F});const D=this.pendingTasks.add();return WY(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(D))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:i,extras:l,resolve:p,reject:f,promise:v,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),v.catch(E=>Promise.reject(E))}setBrowserUrl(i,n){const s=this.urlSerializer.serialize(i);if(this.location.isCurrentPathEqualTo(s)||n.extras.replaceUrl){const d={...n.extras.state,...this.generateNgRouterState(n.id,this.browserPageId)};this.location.replaceState(s,"",d)}else{const l={...n.extras.state,...this.generateNgRouterState(n.id,this.browserPageId+1)};this.location.go(s,"",l)}}restoreHistory(i,n=!1){if("computed"===this.canceledNavigationResolution){const l=this.currentPageId-this.browserPageId;0!==l?this.location.historyGo(l):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===l&&(this.resetState(i),this.browserUrlTree=i.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(n&&this.resetState(i),this.resetUrlToCurrentUrlTree())}resetState(i){this.routerState=i.currentRouterState,this.currentUrlTree=i.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(i,n){return"computed"===this.canceledNavigationResolution?{navigationId:i,\u0275routerPageId:n}:{navigationId:i}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function qY(r){return!(r instanceof u6||r instanceof h6)}let js=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.route=n,this.tabIndexAttribute=s,this.renderer=l,this.el=d,this.locationStrategy=p,this.href=null,this.commands=null,this.onChanges=new Ge,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const f=d.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===f||"area"===f,this.isAnchorElement?this.subscription=i.events.subscribe(v=>{v instanceof Dm&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(i){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",i)}ngOnChanges(i){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(i){null!=i?(this.commands=Array.isArray(i)?i:[i],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(i,n,s,l,d){return!!(null===this.urlTree||this.isAnchorElement&&(0!==i||n||s||l||d||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const i=null===this.href?null:function p2(r,a,i){return function I_(r,a){return"src"===a&&("embed"===r||"frame"===r||"iframe"===r||"media"===r||"script"===r)||"href"===a&&("base"===r||"link"===r)?nl:oi}(a,i)(r)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(i,n){const s=this.renderer,l=this.el.nativeElement;null!==n?s.setAttribute(l,i,n):s.removeAttribute(l,i)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(_c),Ns("tabindex"),T(Ui),T(ke),T(uv))};static#t=this.\u0275dir=re({type:r,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,s){1&n&&B("click",function(d){return s.onClick(d.button,d.ctrlKey,d.shiftKey,d.altKey,d.metaKey)}),2&n&&ge("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",gC],skipLocationChange:["skipLocationChange","skipLocationChange",gC],replaceUrl:["replaceUrl","replaceUrl",gC],routerLink:"routerLink"},standalone:!0,features:[Uk,ci]})}return r})(),o3=(()=>{class r{get isActive(){return this._isActive}constructor(i,n,s,l,d){this.router=i,this.element=n,this.renderer=s,this.cdr=l,this.link=d,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new X,this.routerEventsSubscription=i.events.subscribe(p=>{p instanceof Dm&&this.update()})}ngAfterContentInit(){Dt(this.links.changes,Dt(null)).pipe(Ma()).subscribe(i=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const i=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=wn(i).pipe(Ma()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(i){const n=Array.isArray(i)?i:i.split(" ");this.classes=n.filter(s=>!!s)}ngOnChanges(i){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const i=this.hasActiveLinks();this._isActive!==i&&(this._isActive=i,this.cdr.markForCheck(),this.classes.forEach(n=>{i?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),i&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(i))})}isLinkActive(i){const n=function Ome(r){return!!r.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>!!s.urlTree&&i.isActive(s.urlTree,n)}hasActiveLinks(){const i=this.isLinkActive(this.router);return this.link&&i(this.link)||this.links.some(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(ke),T(Ui),T(rt),T(js,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","routerLinkActive",""]],contentQueries:function(n,s,l){if(1&n&&Fe(l,js,5),2&n){let d;G(d=j())&&(s.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[ci]})}return r})();class KY{}let Fme=(()=>{class r{constructor(i,n,s,l,d){this.router=i,this.injector=s,this.preloadingStrategy=l,this.loader=d}setUpPreloading(){this.subscription=this.router.events.pipe(xi(i=>i instanceof Dm),AC(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(i,n){const s=[];for(const l of n){l.providers&&!l._injector&&(l._injector=KD(l.providers,i,`Route: ${l.path}`));const d=l._injector??i,p=l._loadedInjector??d;(l.loadChildren&&!l._loadedRoutes&&void 0===l.canLoad||l.loadComponent&&!l._loadedComponent)&&s.push(this.preloadConfig(d,l)),(l.children||l._loadedRoutes)&&s.push(this.processRoutes(p,l.children??l._loadedRoutes))}return wn(s).pipe(Ma())}preloadConfig(i,n){return this.preloadingStrategy.preload(n,()=>{let s;s=n.loadChildren&&void 0===n.canLoad?this.loader.loadChildren(i,n):Dt(null);const l=s.pipe(vo(d=>null===d?Dt(void 0):(n._loadedRoutes=d.routes,n._loadedInjector=d.injector,this.processRoutes(d.injector??i,d.routes))));return n.loadComponent&&!n._loadedComponent?wn([l,this.loader.loadComponent(n)]).pipe(Ma()):l})}static#e=this.\u0275fac=function(n){return new(n||r)(De(di),De(fA),De(_r),De(KY),De(x6))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const k6=new $e("");let YY=(()=>{class r{constructor(i,n,s,l,d={}){this.urlSerializer=i,this.transitions=n,this.viewportScroller=s,this.zone=l,this.options=d,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},d.scrollPositionRestoration=d.scrollPositionRestoration||"disabled",d.anchorScrolling=d.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof qO?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=i.navigationTrigger,this.restoredId=i.restoredState?i.restoredState.navigationId:0):i instanceof Dm?(this.lastId=i.id,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.urlAfterRedirects).fragment)):i instanceof EC&&0===i.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof CY&&(i.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(i.position):i.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(i.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(i,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new CY(i,"popstate"===this.lastSource?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function Rp(r,a){return{\u0275kind:r,\u0275providers:a}}function XY(){const r=st(Jt);return a=>{const i=r.get(qd);if(a!==i.components[0])return;const n=r.get(di),s=r.get(ZY);1===r.get(D6)&&n.initialNavigation(),r.get(JY,null,$i.Optional)?.setUpPreloading(),r.get(k6,null,$i.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const ZY=new $e("",{factory:()=>new Ge}),D6=new $e("",{providedIn:"root",factory:()=>1}),JY=new $e("");function Vme(r){return Rp(0,[{provide:JY,useExisting:Fme},{provide:KY,useExisting:r}])}const eQ=new $e("ROUTER_FORROOT_GUARD"),Hme=[Gu,{provide:PA,useClass:s6},di,VA,{provide:_c,useFactory:function QY(r){return r.routerState.root},deps:[di]},x6,[]];function Gme(){return new yA("Router",di)}let A6=(()=>{class r{constructor(i){}static forRoot(i,n){return{ngModule:r,providers:[Hme,[],{provide:NC,multi:!0,useValue:i},{provide:eQ,useFactory:Wme,deps:[[di,new da,new Ml]]},{provide:n3,useValue:n||{}},n?.useHash?{provide:uv,useClass:gue}:{provide:uv,useClass:oK},{provide:k6,useFactory:()=>{const r=st(yhe),a=st(et),i=st(n3),n=st(t3),s=st(PA);return i.scrollOffset&&r.setOffset(i.scrollOffset),new YY(s,n,r,a,i)}},n?.preloadingStrategy?Vme(n.preloadingStrategy).\u0275providers:[],{provide:yA,multi:!0,useFactory:Gme},n?.initialNavigation?qme(n):[],n?.bindToComponentInputs?Rp(8,[SY,{provide:QO,useExisting:SY}]).\u0275providers:[],[{provide:tQ,useFactory:XY},{provide:Vl,multi:!0,useExisting:tQ}]]}}static forChild(i){return{ngModule:r,providers:[{provide:NC,multi:!0,useValue:i}]}}static#e=this.\u0275fac=function(n){return new(n||r)(De(eQ,8))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();function Wme(r){return"guarded"}function qme(r){return["disabled"===r.initialNavigation?Rp(3,[{provide:mA,multi:!0,useFactory:()=>{const a=st(di);return()=>{a.setUpLocationChangeListener()}}},{provide:D6,useValue:2}]).\u0275providers:[],"enabledBlocking"===r.initialNavigation?Rp(2,[{provide:D6,useValue:0},{provide:mA,multi:!0,deps:[Jt],useFactory:a=>{const i=a.get(hue,Promise.resolve());return()=>i.then(()=>new Promise(n=>{const s=a.get(di),l=a.get(ZY);WY(s,()=>{n(!0)}),a.get(t3).afterPreactivation=()=>(n(!0),l.closed?Dt(void 0):l),s.initialNavigation()}))}}]).\u0275providers:[]]}const tQ=new $e("");Math.pow(10,8);function La(r,a){if(a.length1?"s":"")+" required, but only "+a.length+" present")}function Am(r){if(null===r||!0===r||!1===r)return NaN;var a=Number(r);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}function fi(r,a){var i;La(1,arguments);var n=Am(null!==(i=a?.additionalDigits)&&void 0!==i?i:2);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof r&&"[object String]"!==Object.prototype.toString.call(r))return new Date(NaN);var l,s=function nfe(r){var n,a={},i=r.split(r3.dateTimeDelimiter);if(i.length>2)return a;if(/:/.test(i[0])?n=i[0]:(a.date=i[0],n=i[1],r3.timeZoneDelimiter.test(a.date)&&(a.date=r.split(r3.timeZoneDelimiter)[0],n=r.substr(a.date.length,r.length))),n){var s=r3.timezone.exec(n);s?(a.time=n.replace(s[1],""),a.timezone=s[1]):a.time=n}return a}(r);if(s.date){var d=function ofe(r,a){var i=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+a)+"})|(\\d{2}|[+-]\\d{"+(2+a)+"})$)"),n=r.match(i);if(!n)return{year:NaN,restDateString:""};var s=n[1]?parseInt(n[1]):null,l=n[2]?parseInt(n[2]):null;return{year:null===l?s:100*l,restDateString:r.slice((n[1]||n[2]).length)}}(s.date,n);l=function rfe(r,a){if(null===a)return new Date(NaN);var i=r.match(efe);if(!i)return new Date(NaN);var n=!!i[4],s=WA(i[1]),l=WA(i[2])-1,d=WA(i[3]),p=WA(i[4]),f=WA(i[5])-1;if(n)return function hfe(r,a,i){return a>=1&&a<=53&&i>=0&&i<=6}(0,p,f)?function lfe(r,a,i){var n=new Date(0);n.setUTCFullYear(r,0,4);var l=7*(a-1)+i+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+l),n}(a,p,f):new Date(NaN);var v=new Date(0);return function dfe(r,a,i){return a>=0&&a<=11&&i>=1&&i<=(cfe[a]||(rQ(r)?29:28))}(a,l,d)&&function ufe(r,a){return a>=1&&a<=(rQ(r)?366:365)}(a,s)?(v.setUTCFullYear(a,l,Math.max(s,d)),v):new Date(NaN)}(d.restDateString,d.year)}if(!l||isNaN(l.getTime()))return new Date(NaN);var v,p=l.getTime(),f=0;if(s.time&&(f=function sfe(r){var a=r.match(tfe);if(!a)return NaN;var i=I6(a[1]),n=I6(a[2]),s=I6(a[3]);return function pfe(r,a,i){return 24===r?0===a&&0===i:i>=0&&i<60&&a>=0&&a<60&&r>=0&&r<25}(i,n,s)?36e5*i+6e4*n+1e3*s:NaN}(s.time),isNaN(f)))return new Date(NaN);if(!s.timezone){var D=new Date(p+f),E=new Date(0);return E.setFullYear(D.getUTCFullYear(),D.getUTCMonth(),D.getUTCDate()),E.setHours(D.getUTCHours(),D.getUTCMinutes(),D.getUTCSeconds(),D.getUTCMilliseconds()),E}return v=function afe(r){if("Z"===r)return 0;var a=r.match(ife);if(!a)return 0;var i="+"===a[1]?-1:1,n=parseInt(a[2]),s=a[3]&&parseInt(a[3])||0;return function gfe(r,a){return a>=0&&a<=59}(0,s)?i*(36e5*n+6e4*s):NaN}(s.timezone),isNaN(v)?new Date(NaN):new Date(p+f+v)}var r3={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},efe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,tfe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,ife=/^([+-])(\d{2})(?::?(\d{2}))?$/;function WA(r){return r?parseInt(r):1}function I6(r){return r&&parseFloat(r.replace(",","."))||0}var cfe=[31,null,31,30,31,30,31,31,30,31,30,31];function rQ(r){return r%400==0||r%4==0&&r%100!=0}function s3(r){return(s3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(r)}function Wu(r){La(1,arguments);var a=Object.prototype.toString.call(r);return r instanceof Date||"object"===s3(r)&&"[object Date]"===a?new Date(r.getTime()):"number"==typeof r||"[object Number]"===a?new Date(r):(("string"==typeof r||"[object String]"===a)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function a3(r){La(1,arguments);var i=Wu(r),n=i.getUTCDay(),s=(n<1?7:0)+n-1;return i.setUTCDate(i.getUTCDate()-s),i.setUTCHours(0,0,0,0),i}function sQ(r){La(1,arguments);var a=Wu(r),i=a.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(i+1,0,4),n.setUTCHours(0,0,0,0);var s=a3(n),l=new Date(0);l.setUTCFullYear(i,0,4),l.setUTCHours(0,0,0,0);var d=a3(l);return a.getTime()>=s.getTime()?i+1:a.getTime()>=d.getTime()?i:i-1}var aQ={};function l3(){return aQ}function c3(r,a){var i,n,s,l,d,p,f,v;La(1,arguments);var D=l3(),E=Am(null!==(i=null!==(n=null!==(s=null!==(l=a?.weekStartsOn)&&void 0!==l?l:null==a||null===(d=a.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==s?s:D.weekStartsOn)&&void 0!==n?n:null===(f=D.locale)||void 0===f||null===(v=f.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==i?i:0);if(!(E>=0&&E<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var F=Wu(r),L=F.getUTCDay(),$=(L=1&&L<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=new Date(0);$.setUTCFullYear(E+1,0,L),$.setUTCHours(0,0,0,0);var q=c3($,a),Z=new Date(0);Z.setUTCFullYear(E,0,L),Z.setUTCHours(0,0,0,0);var se=c3(Z,a);return D.getTime()>=q.getTime()?E+1:D.getTime()>=se.getTime()?E:E-1}function fo(r,a){for(var i=r<0?"-":"",n=Math.abs(r).toString();n.length0?n:1-n;return fo("yy"===i?s%100:s,i.length)},Im_M=function(a,i){var n=a.getUTCMonth();return"M"===i?String(n+1):fo(n+1,2)},Im_d=function(a,i){return fo(a.getUTCDate(),i.length)},Im_h=function(a,i){return fo(a.getUTCHours()%12||12,i.length)},Im_H=function(a,i){return fo(a.getUTCHours(),i.length)},Im_m=function(a,i){return fo(a.getUTCMinutes(),i.length)},Im_s=function(a,i){return fo(a.getUTCSeconds(),i.length)},Im_S=function(a,i){var n=i.length,s=a.getUTCMilliseconds();return fo(Math.floor(s*Math.pow(10,n-3)),i.length)};var Sfe={G:function(a,i,n){var s=a.getUTCFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return n.era(s,{width:"abbreviated"});case"GGGGG":return n.era(s,{width:"narrow"});default:return n.era(s,{width:"wide"})}},y:function(a,i,n){if("yo"===i){var s=a.getUTCFullYear();return n.ordinalNumber(s>0?s:1-s,{unit:"year"})}return Im_y(a,i)},Y:function(a,i,n,s){var l=lQ(a,s),d=l>0?l:1-l;return"YY"===i?fo(d%100,2):"Yo"===i?n.ordinalNumber(d,{unit:"year"}):fo(d,i.length)},R:function(a,i){return fo(sQ(a),i.length)},u:function(a,i){return fo(a.getUTCFullYear(),i.length)},Q:function(a,i,n){var s=Math.ceil((a.getUTCMonth()+1)/3);switch(i){case"Q":return String(s);case"QQ":return fo(s,2);case"Qo":return n.ordinalNumber(s,{unit:"quarter"});case"QQQ":return n.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(s,{width:"narrow",context:"formatting"});default:return n.quarter(s,{width:"wide",context:"formatting"})}},q:function(a,i,n){var s=Math.ceil((a.getUTCMonth()+1)/3);switch(i){case"q":return String(s);case"qq":return fo(s,2);case"qo":return n.ordinalNumber(s,{unit:"quarter"});case"qqq":return n.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(s,{width:"narrow",context:"standalone"});default:return n.quarter(s,{width:"wide",context:"standalone"})}},M:function(a,i,n){var s=a.getUTCMonth();switch(i){case"M":case"MM":return Im_M(a,i);case"Mo":return n.ordinalNumber(s+1,{unit:"month"});case"MMM":return n.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(s,{width:"narrow",context:"formatting"});default:return n.month(s,{width:"wide",context:"formatting"})}},L:function(a,i,n){var s=a.getUTCMonth();switch(i){case"L":return String(s+1);case"LL":return fo(s+1,2);case"Lo":return n.ordinalNumber(s+1,{unit:"month"});case"LLL":return n.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(s,{width:"narrow",context:"standalone"});default:return n.month(s,{width:"wide",context:"standalone"})}},w:function(a,i,n,s){var l=function Afe(r,a){La(1,arguments);var i=Wu(r),n=c3(i,a).getTime()-function kfe(r,a){var i,n,s,l,d,p,f,v;La(1,arguments);var D=l3(),E=Am(null!==(i=null!==(n=null!==(s=null!==(l=a?.firstWeekContainsDate)&&void 0!==l?l:null==a||null===(d=a.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==s?s:D.firstWeekContainsDate)&&void 0!==n?n:null===(f=D.locale)||void 0===f||null===(v=f.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==i?i:1),F=lQ(r,a),L=new Date(0);return L.setUTCFullYear(F,0,E),L.setUTCHours(0,0,0,0),c3(L,a)}(i,a).getTime();return Math.round(n/6048e5)+1}(a,s);return"wo"===i?n.ordinalNumber(l,{unit:"week"}):fo(l,i.length)},I:function(a,i,n){var s=function xfe(r){La(1,arguments);var a=Wu(r),i=a3(a).getTime()-function Cfe(r){La(1,arguments);var a=sQ(r),i=new Date(0);return i.setUTCFullYear(a,0,4),i.setUTCHours(0,0,0,0),a3(i)}(a).getTime();return Math.round(i/6048e5)+1}(a);return"Io"===i?n.ordinalNumber(s,{unit:"week"}):fo(s,i.length)},d:function(a,i,n){return"do"===i?n.ordinalNumber(a.getUTCDate(),{unit:"date"}):Im_d(a,i)},D:function(a,i,n){var s=function yfe(r){La(1,arguments);var a=Wu(r),i=a.getTime();a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0);var n=a.getTime();return Math.floor((i-n)/864e5)+1}(a);return"Do"===i?n.ordinalNumber(s,{unit:"dayOfYear"}):fo(s,i.length)},E:function(a,i,n){var s=a.getUTCDay();switch(i){case"E":case"EE":case"EEE":return n.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(s,{width:"short",context:"formatting"});default:return n.day(s,{width:"wide",context:"formatting"})}},e:function(a,i,n,s){var l=a.getUTCDay(),d=(l-s.weekStartsOn+8)%7||7;switch(i){case"e":return String(d);case"ee":return fo(d,2);case"eo":return n.ordinalNumber(d,{unit:"day"});case"eee":return n.day(l,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(l,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(l,{width:"short",context:"formatting"});default:return n.day(l,{width:"wide",context:"formatting"})}},c:function(a,i,n,s){var l=a.getUTCDay(),d=(l-s.weekStartsOn+8)%7||7;switch(i){case"c":return String(d);case"cc":return fo(d,i.length);case"co":return n.ordinalNumber(d,{unit:"day"});case"ccc":return n.day(l,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(l,{width:"narrow",context:"standalone"});case"cccccc":return n.day(l,{width:"short",context:"standalone"});default:return n.day(l,{width:"wide",context:"standalone"})}},i:function(a,i,n){var s=a.getUTCDay(),l=0===s?7:s;switch(i){case"i":return String(l);case"ii":return fo(l,i.length);case"io":return n.ordinalNumber(l,{unit:"day"});case"iii":return n.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(s,{width:"short",context:"formatting"});default:return n.day(s,{width:"wide",context:"formatting"})}},a:function(a,i,n){var l=a.getUTCHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(l,{width:"narrow",context:"formatting"});default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(a,i,n){var l,s=a.getUTCHours();switch(l=12===s?"noon":0===s?"midnight":s/12>=1?"pm":"am",i){case"b":case"bb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(l,{width:"narrow",context:"formatting"});default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},B:function(a,i,n){var l,s=a.getUTCHours();switch(l=s>=17?"evening":s>=12?"afternoon":s>=4?"morning":"night",i){case"B":case"BB":case"BBB":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(l,{width:"narrow",context:"formatting"});default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},h:function(a,i,n){if("ho"===i){var s=a.getUTCHours()%12;return 0===s&&(s=12),n.ordinalNumber(s,{unit:"hour"})}return Im_h(a,i)},H:function(a,i,n){return"Ho"===i?n.ordinalNumber(a.getUTCHours(),{unit:"hour"}):Im_H(a,i)},K:function(a,i,n){var s=a.getUTCHours()%12;return"Ko"===i?n.ordinalNumber(s,{unit:"hour"}):fo(s,i.length)},k:function(a,i,n){var s=a.getUTCHours();return 0===s&&(s=24),"ko"===i?n.ordinalNumber(s,{unit:"hour"}):fo(s,i.length)},m:function(a,i,n){return"mo"===i?n.ordinalNumber(a.getUTCMinutes(),{unit:"minute"}):Im_m(a,i)},s:function(a,i,n){return"so"===i?n.ordinalNumber(a.getUTCSeconds(),{unit:"second"}):Im_s(a,i)},S:function(a,i){return Im_S(a,i)},X:function(a,i,n,s){var d=(s._originalDate||a).getTimezoneOffset();if(0===d)return"Z";switch(i){case"X":return dQ(d);case"XXXX":case"XX":return vv(d);default:return vv(d,":")}},x:function(a,i,n,s){var d=(s._originalDate||a).getTimezoneOffset();switch(i){case"x":return dQ(d);case"xxxx":case"xx":return vv(d);default:return vv(d,":")}},O:function(a,i,n,s){var d=(s._originalDate||a).getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+cQ(d,":");default:return"GMT"+vv(d,":")}},z:function(a,i,n,s){var d=(s._originalDate||a).getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+cQ(d,":");default:return"GMT"+vv(d,":")}},t:function(a,i,n,s){return fo(Math.floor((s._originalDate||a).getTime()/1e3),i.length)},T:function(a,i,n,s){return fo((s._originalDate||a).getTime(),i.length)}};function cQ(r,a){var i=r>0?"-":"+",n=Math.abs(r),s=Math.floor(n/60),l=n%60;if(0===l)return i+String(s);var d=a||"";return i+String(s)+d+fo(l,2)}function dQ(r,a){return r%60==0?(r>0?"-":"+")+fo(Math.abs(r)/60,2):vv(r,a)}function vv(r,a){var i=a||"",n=r>0?"-":"+",s=Math.abs(r);return n+fo(Math.floor(s/60),2)+i+fo(s%60,2)}const Tfe=Sfe;var uQ=function(a,i){switch(a){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});default:return i.date({width:"full"})}},hQ=function(a,i){switch(a){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});default:return i.time({width:"full"})}};const Rfe={p:hQ,P:function(a,i){var d,n=a.match(/(P+)(p+)?/)||[],s=n[1],l=n[2];if(!l)return uQ(a,i);switch(s){case"P":d=i.dateTime({width:"short"});break;case"PP":d=i.dateTime({width:"medium"});break;case"PPP":d=i.dateTime({width:"long"});break;default:d=i.dateTime({width:"full"})}return d.replace("{{date}}",uQ(s,i)).replace("{{time}}",hQ(l,i))}};var Ofe=["D","DD"],Ffe=["YY","YYYY"];function pQ(r,a,i){if("YYYY"===r)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(a,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===r)throw new RangeError("Use `yy` instead of `YY` (in `".concat(a,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===r)throw new RangeError("Use `d` instead of `D` (in `".concat(a,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===r)throw new RangeError("Use `dd` instead of `DD` (in `".concat(a,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Bfe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function BC(r){return function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=a.width?String(a.width):r.defaultWidth;return r.formats[i]||r.formats[r.defaultWidth]}}var $fe={date:BC({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:BC({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:BC({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Wfe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function qu(r){return function(a,i){var s;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&r.formattingValues){var l=r.defaultFormattingWidth||r.defaultWidth,d=null!=i&&i.width?String(i.width):l;s=r.formattingValues[d]||r.formattingValues[l]}else{var p=r.defaultWidth,f=null!=i&&i.width?String(i.width):r.defaultWidth;s=r.values[f]||r.values[p]}return s[r.argumentCallback?r.argumentCallback(a):a]}}function Ku(r){return function(a){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i.width,l=a.match(n&&r.matchPatterns[n]||r.matchPatterns[r.defaultMatchWidth]);if(!l)return null;var v,d=l[0],p=n&&r.parsePatterns[n]||r.parsePatterns[r.defaultParseWidth],f=Array.isArray(p)?function r_e(r,a){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=a.match(r.matchPattern);if(!n)return null;var s=n[0],l=a.match(r.parsePattern);if(!l)return null;var d=r.valueCallback?r.valueCallback(l[0]):l[0];return{value:d=i.valueCallback?i.valueCallback(d):d,rest:a.slice(s.length)}}}const y_e={code:"en-US",formatDistance:function(a,i,n){var s,l=Bfe[a];return s="string"==typeof l?l:1===i?l.one:l.other.replace("{{count}}",i.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+s:s+" ago":s},formatLong:$fe,formatRelative:function(a,i,n,s){return Wfe[a]},localize:{ordinalNumber:function(a,i){var n=Number(a),s=n%100;if(s>20||s<10)switch(s%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:qu({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:qu({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:qu({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:qu({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:qu({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:gQ({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(a){return parseInt(a,10)}}),era:Ku({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Ku({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:Ku({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Ku({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Ku({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var C_e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,w_e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,x_e=/^'([^]*?)'?$/,k_e=/''/g,D_e=/[a-zA-Z]/;function _i(r,a,i){var n,s,l,d,p,f,v,D,E,F,L,$,q,Z,se,ue,Oe,ze;La(2,arguments);var Ze=String(a),it=l3(),yt=null!==(n=null!==(s=i?.locale)&&void 0!==s?s:it.locale)&&void 0!==n?n:y_e,xt=Am(null!==(l=null!==(d=null!==(p=null!==(f=i?.firstWeekContainsDate)&&void 0!==f?f:null==i||null===(v=i.locale)||void 0===v||null===(D=v.options)||void 0===D?void 0:D.firstWeekContainsDate)&&void 0!==p?p:it.firstWeekContainsDate)&&void 0!==d?d:null===(E=it.locale)||void 0===E||null===(F=E.options)||void 0===F?void 0:F.firstWeekContainsDate)&&void 0!==l?l:1);if(!(xt>=1&&xt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Si=Am(null!==(L=null!==($=null!==(q=null!==(Z=i?.weekStartsOn)&&void 0!==Z?Z:null==i||null===(se=i.locale)||void 0===se||null===(ue=se.options)||void 0===ue?void 0:ue.weekStartsOn)&&void 0!==q?q:it.weekStartsOn)&&void 0!==$?$:null===(Oe=it.locale)||void 0===Oe||null===(ze=Oe.options)||void 0===ze?void 0:ze.weekStartsOn)&&void 0!==L?L:0);if(!(Si>=0&&Si<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!yt.localize)throw new RangeError("locale must contain localize property");if(!yt.formatLong)throw new RangeError("locale must contain formatLong property");var Pi=Wu(r);if(!function ffe(r){if(La(1,arguments),!function mfe(r){return La(1,arguments),r instanceof Date||"object"===s3(r)&&"[object Date]"===Object.prototype.toString.call(r)}(r)&&"number"!=typeof r)return!1;var a=Wu(r);return!isNaN(Number(a))}(Pi))throw new RangeError("Invalid time value");var Vr=function Pfe(r){var a=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return a.setUTCFullYear(r.getFullYear()),r.getTime()-a.getTime()}(Pi),Xn=function vfe(r,a){return La(2,arguments),function _fe(r,a){La(2,arguments);var i=Wu(r).getTime(),n=Am(a);return new Date(i+n)}(r,-Am(a))}(Pi,Vr),No={firstWeekContainsDate:xt,weekStartsOn:Si,locale:yt,_originalDate:Pi},xo=Ze.match(w_e).map(function(dn){var Ct=dn[0];return"p"===Ct||"P"===Ct?(0,Rfe[Ct])(dn,yt.formatLong):dn}).join("").match(C_e).map(function(dn){if("''"===dn)return"'";var Ct=dn[0];if("'"===Ct)return function A_e(r){var a=r.match(x_e);return a?a[1].replace(k_e,"'"):r}(dn);var It=Tfe[Ct];if(It)return!(null!=i&&i.useAdditionalWeekYearTokens)&&function Lfe(r){return-1!==Ffe.indexOf(r)}(dn)&&pQ(dn,a,String(r)),!(null!=i&&i.useAdditionalDayOfYearTokens)&&function Nfe(r){return-1!==Ofe.indexOf(r)}(dn)&&pQ(dn,a,String(r)),It(Xn,dn,yt.localize,No);if(Ct.match(D_e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Ct+"`");return dn}).join("");return xo}class d3{}class u3{}class Yu{constructor(a){this.normalizedNames=new Map,this.lazyUpdate=null,a?"string"==typeof a?this.lazyInit=()=>{this.headers=new Map,a.split("\n").forEach(i=>{const n=i.indexOf(":");if(n>0){const s=i.slice(0,n),l=s.toLowerCase(),d=i.slice(n+1).trim();this.maybeSetNormalizedName(s,l),this.headers.has(l)?this.headers.get(l).push(d):this.headers.set(l,[d])}})}:typeof Headers<"u"&&a instanceof Headers?(this.headers=new Map,a.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(a).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(a){return this.init(),this.headers.has(a.toLowerCase())}get(a){this.init();const i=this.headers.get(a.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(a){return this.init(),this.headers.get(a.toLowerCase())||null}append(a,i){return this.clone({name:a,value:i,op:"a"})}set(a,i){return this.clone({name:a,value:i,op:"s"})}delete(a,i){return this.clone({name:a,value:i,op:"d"})}maybeSetNormalizedName(a,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,a)}init(){this.lazyInit&&(this.lazyInit instanceof Yu?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(a=>this.applyUpdate(a)),this.lazyUpdate=null))}copyFrom(a){a.init(),Array.from(a.headers.keys()).forEach(i=>{this.headers.set(i,a.headers.get(i)),this.normalizedNames.set(i,a.normalizedNames.get(i))})}clone(a){const i=new Yu;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof Yu?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([a]),i}applyUpdate(a){const i=a.name.toLowerCase();switch(a.op){case"a":case"s":let n=a.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(a.name,i);const s=("a"===a.op?this.headers.get(i):void 0)||[];s.push(...n),this.headers.set(i,s);break;case"d":const l=a.value;if(l){let d=this.headers.get(i);if(!d)return;d=d.filter(p=>-1===l.indexOf(p)),0===d.length?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,d)}else this.headers.delete(i),this.normalizedNames.delete(i)}}setHeaderEntries(a,i){const n=(Array.isArray(i)?i:[i]).map(l=>l.toString()),s=a.toLowerCase();this.headers.set(s,n),this.maybeSetNormalizedName(a,s)}forEach(a){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>a(this.normalizedNames.get(i),this.headers.get(i)))}}class I_e{encodeKey(a){return mQ(a)}encodeValue(a){return mQ(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const T_e=/%(\d[a-f0-9])/gi,E_e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mQ(r){return encodeURIComponent(r).replace(T_e,(a,i)=>E_e[i]??a)}function h3(r){return`${r}`}class Sm{constructor(a={}){if(this.updates=null,this.cloneFrom=null,this.encoder=a.encoder||new I_e,a.fromString){if(a.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function S_e(r,a){const i=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(s=>{const l=s.indexOf("="),[d,p]=-1==l?[a.decodeKey(s),""]:[a.decodeKey(s.slice(0,l)),a.decodeValue(s.slice(l+1))],f=i.get(d)||[];f.push(p),i.set(d,f)}),i}(a.fromString,this.encoder)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach(i=>{const n=a.fromObject[i],s=Array.isArray(n)?n.map(h3):[h3(n)];this.map.set(i,s)})):this.map=null}has(a){return this.init(),this.map.has(a)}get(a){this.init();const i=this.map.get(a);return i?i[0]:null}getAll(a){return this.init(),this.map.get(a)||null}keys(){return this.init(),Array.from(this.map.keys())}append(a,i){return this.clone({param:a,value:i,op:"a"})}appendAll(a){const i=[];return Object.keys(a).forEach(n=>{const s=a[n];Array.isArray(s)?s.forEach(l=>{i.push({param:n,value:l,op:"a"})}):i.push({param:n,value:s,op:"a"})}),this.clone(i)}set(a,i){return this.clone({param:a,value:i,op:"s"})}delete(a,i){return this.clone({param:a,value:i,op:"d"})}toString(){return this.init(),this.keys().map(a=>{const i=this.encoder.encodeKey(a);return this.map.get(a).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(a=>""!==a).join("&")}clone(a){const i=new Sm({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(a),i}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(a=>this.map.set(a,this.cloneFrom.map.get(a))),this.updates.forEach(a=>{switch(a.op){case"a":case"s":const i=("a"===a.op?this.map.get(a.param):void 0)||[];i.push(h3(a.value)),this.map.set(a.param,i);break;case"d":if(void 0===a.value){this.map.delete(a.param);break}{let n=this.map.get(a.param)||[];const s=n.indexOf(h3(a.value));-1!==s&&n.splice(s,1),n.length>0?this.map.set(a.param,n):this.map.delete(a.param)}}}),this.cloneFrom=this.updates=null)}}class M_e{constructor(){this.map=new Map}set(a,i){return this.map.set(a,i),this}get(a){return this.map.has(a)||this.map.set(a,a.defaultValue()),this.map.get(a)}delete(a){return this.map.delete(a),this}has(a){return this.map.has(a)}keys(){return this.map.keys()}}function fQ(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function _Q(r){return typeof Blob<"u"&&r instanceof Blob}function vQ(r){return typeof FormData<"u"&&r instanceof FormData}class qA{constructor(a,i,n,s){let l;if(this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=a.toUpperCase(),function R_e(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==n?n:null,l=s):l=n,l&&(this.reportProgress=!!l.reportProgress,this.withCredentials=!!l.withCredentials,l.responseType&&(this.responseType=l.responseType),l.headers&&(this.headers=l.headers),l.context&&(this.context=l.context),l.params&&(this.params=l.params)),this.headers||(this.headers=new Yu),this.context||(this.context=new M_e),this.params){const d=this.params.toString();if(0===d.length)this.urlWithParams=i;else{const p=i.indexOf("?");this.urlWithParams=i+(-1===p?"?":pE.set(F,a.setHeaders[F]),f)),a.setParams&&(v=Object.keys(a.setParams).reduce((E,F)=>E.set(F,a.setParams[F]),v)),new qA(i,n,l,{params:v,headers:f,context:D,reportProgress:p,responseType:s,withCredentials:d})}}var VC=function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r}(VC||{});class S6{constructor(a,i=200,n="OK"){this.headers=a.headers||new Yu,this.status=void 0!==a.status?a.status:i,this.statusText=a.statusText||n,this.url=a.url||null,this.ok=this.status>=200&&this.status<300}}class T6 extends S6{constructor(a={}){super(a),this.type=VC.ResponseHeader}clone(a={}){return new T6({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}class zC extends S6{constructor(a={}){super(a),this.type=VC.Response,this.body=void 0!==a.body?a.body:null}clone(a={}){return new zC({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}class bQ extends S6{constructor(a){super(a,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${a.url||"(unknown url)"}`:`Http failure response for ${a.url||"(unknown url)"}: ${a.status} ${a.statusText}`,this.error=a.error||null}}function E6(r,a){return{body:a,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials}}let bv=(()=>{class r{constructor(i){this.handler=i}request(i,n,s={}){let l;if(i instanceof qA)l=i;else{let f,v;f=s.headers instanceof Yu?s.headers:new Yu(s.headers),s.params&&(v=s.params instanceof Sm?s.params:new Sm({fromObject:s.params})),l=new qA(i,n,void 0!==s.body?s.body:null,{headers:f,context:s.context,params:v,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const d=Dt(l).pipe(AC(f=>this.handler.handle(f)));if(i instanceof qA||"events"===s.observe)return d;const p=d.pipe(xi(f=>f instanceof zC));switch(s.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return p.pipe(Rt(f=>{if(null!==f.body&&!(f.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return f.body}));case"blob":return p.pipe(Rt(f=>{if(null!==f.body&&!(f.body instanceof Blob))throw new Error("Response is not a Blob.");return f.body}));case"text":return p.pipe(Rt(f=>{if(null!==f.body&&"string"!=typeof f.body)throw new Error("Response is not a string.");return f.body}));default:return p.pipe(Rt(f=>f.body))}case"response":return p;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(i,n={}){return this.request("DELETE",i,n)}get(i,n={}){return this.request("GET",i,n)}head(i,n={}){return this.request("HEAD",i,n)}jsonp(i,n){return this.request("JSONP",i,{params:(new Sm).append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,n={}){return this.request("OPTIONS",i,n)}patch(i,n,s={}){return this.request("PATCH",i,E6(s,n))}post(i,n,s={}){return this.request("POST",i,E6(s,n))}put(i,n,s={}){return this.request("PUT",i,E6(s,n))}static#e=this.\u0275fac=function(n){return new(n||r)(De(d3))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function wQ(r,a){return a(r)}function F_e(r,a){return(i,n)=>a.intercept(i,{handle:s=>r(s,n)})}const M6=new $e(""),KA=new $e(""),xQ=new $e("");function L_e(){let r=null;return(a,i)=>{null===r&&(r=(st(M6,{optional:!0})??[]).reduceRight(F_e,wQ));const n=st(uC),s=n.add();return r(a,i).pipe(IC(()=>n.remove(s)))}}let kQ=(()=>{class r extends d3{constructor(i,n){super(),this.backend=i,this.injector=n,this.chain=null,this.pendingTasks=st(uC)}handle(i){if(null===this.chain){const s=Array.from(new Set([...this.injector.get(KA),...this.injector.get(xQ,[])]));this.chain=s.reduceRight((l,d)=>function N_e(r,a,i){return(n,s)=>i.runInContext(()=>a(n,l=>r(l,s)))}(l,d,this.injector),wQ)}const n=this.pendingTasks.add();return this.chain(i,s=>this.backend.handle(s)).pipe(IC(()=>this.pendingTasks.remove(n)))}static#e=this.\u0275fac=function(n){return new(n||r)(De(u3),De(_r))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const H_e=/^\)\]\}',?\n/;let AQ=(()=>{class r{constructor(i){this.xhrFactory=i}handle(i){if("JSONP"===i.method)throw new Be(-2800,!1);const n=this.xhrFactory;return(n.\u0275loadImpl?wn(n.\u0275loadImpl()):Dt(null)).pipe(Jn(()=>new _n(l=>{const d=n.build();if(d.open(i.method,i.urlWithParams),i.withCredentials&&(d.withCredentials=!0),i.headers.forEach((q,Z)=>d.setRequestHeader(q,Z.join(","))),i.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*"),!i.headers.has("Content-Type")){const q=i.detectContentTypeHeader();null!==q&&d.setRequestHeader("Content-Type",q)}if(i.responseType){const q=i.responseType.toLowerCase();d.responseType="json"!==q?q:"text"}const p=i.serializeBody();let f=null;const v=()=>{if(null!==f)return f;const q=d.statusText||"OK",Z=new Yu(d.getAllResponseHeaders()),se=function G_e(r){return"responseURL"in r&&r.responseURL?r.responseURL:/^X-Request-URL:/m.test(r.getAllResponseHeaders())?r.getResponseHeader("X-Request-URL"):null}(d)||i.url;return f=new T6({headers:Z,status:d.status,statusText:q,url:se}),f},D=()=>{let{headers:q,status:Z,statusText:se,url:ue}=v(),Oe=null;204!==Z&&(Oe=typeof d.response>"u"?d.responseText:d.response),0===Z&&(Z=Oe?200:0);let ze=Z>=200&&Z<300;if("json"===i.responseType&&"string"==typeof Oe){const Ze=Oe;Oe=Oe.replace(H_e,"");try{Oe=""!==Oe?JSON.parse(Oe):null}catch(it){Oe=Ze,ze&&(ze=!1,Oe={error:it,text:Oe})}}ze?(l.next(new zC({body:Oe,headers:q,status:Z,statusText:se,url:ue||void 0})),l.complete()):l.error(new bQ({error:Oe,headers:q,status:Z,statusText:se,url:ue||void 0}))},E=q=>{const{url:Z}=v(),se=new bQ({error:q,status:d.status||0,statusText:d.statusText||"Unknown Error",url:Z||void 0});l.error(se)};let F=!1;const L=q=>{F||(l.next(v()),F=!0);let Z={type:VC.DownloadProgress,loaded:q.loaded};q.lengthComputable&&(Z.total=q.total),"text"===i.responseType&&d.responseText&&(Z.partialText=d.responseText),l.next(Z)},$=q=>{let Z={type:VC.UploadProgress,loaded:q.loaded};q.lengthComputable&&(Z.total=q.total),l.next(Z)};return d.addEventListener("load",D),d.addEventListener("error",E),d.addEventListener("timeout",E),d.addEventListener("abort",E),i.reportProgress&&(d.addEventListener("progress",L),null!==p&&d.upload&&d.upload.addEventListener("progress",$)),d.send(p),l.next({type:VC.Sent}),()=>{d.removeEventListener("error",E),d.removeEventListener("abort",E),d.removeEventListener("load",D),d.removeEventListener("timeout",E),i.reportProgress&&(d.removeEventListener("progress",L),null!==p&&d.upload&&d.upload.removeEventListener("progress",$)),d.readyState!==d.DONE&&d.abort()}})))}static#e=this.\u0275fac=function(n){return new(n||r)(De(AK))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const R6=new $e("XSRF_ENABLED"),IQ=new $e("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),SQ=new $e("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class TQ{}let U_e=(()=>{class r{constructor(i,n,s){this.doc=i,this.platform=n,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=fK(i,this.cookieName),this.lastCookieString=i),this.lastToken}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(Ld),De(IQ))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function W_e(r,a){const i=r.url.toLowerCase();if(!st(R6)||"GET"===r.method||"HEAD"===r.method||i.startsWith("http://")||i.startsWith("https://"))return a(r);const n=st(TQ).getToken(),s=st(SQ);return null!=n&&!r.headers.has(s)&&(r=r.clone({headers:r.headers.set(s,n)})),a(r)}var Tm=function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r}(Tm||{});function q_e(...r){const a=[bv,AQ,kQ,{provide:d3,useExisting:kQ},{provide:u3,useExisting:AQ},{provide:KA,useValue:W_e,multi:!0},{provide:R6,useValue:!0},{provide:TQ,useClass:U_e}];for(const i of r)a.push(...i.\u0275providers);return S_(a)}const EQ=new $e("LEGACY_INTERCEPTOR_FN");function K_e(){return function yv(r,a){return{\u0275kind:r,\u0275providers:a}}(Tm.LegacyInterceptors,[{provide:EQ,useFactory:L_e},{provide:KA,useExisting:EQ,multi:!0}])}let MQ=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[q_e(K_e())]})}return r})(),Qu=(()=>{class r{constructor(i){this.http=i,this.apiurl="https://tyls.fun",this.isLoggedIn=!0}getApiUrl(){return this.apiurl}login(){this.isLoggedIn=!0}logout(){this.isLoggedIn=!1}isAuthenticated(){return this.isLoggedIn}GetAllRole(){return this.http.get(this.apiurl+"/role")}Login(i){return this.http.post(this.apiurl+"/Login",i)}loginWithFacebook(){const n=`https://www.facebook.com/v18.0/dialog/oauth?client_id=885411713156137&scope=email&response_type=code&redirect_uri=${encodeURIComponent("https://localhost:7138/FacebookCallback")}&state=12345agd`,d=(window.innerWidth-400)/2,p=(window.innerHeight-600)/2;window.open(n,"Facebook Login",`width=400,height=600,top=${p},left=${d}`),console.log("loading"),window.addEventListener("message",v=>{if(console.log("Ok"),"https://localhost:7138"===v.origin){const D=v.data;console.log("Token from popup:",v.data);const F=JSON.parse(D).resultObj;sessionStorage.setItem("access_token",F),console.log("Token from popup:",F),window.close()}})}ProceedRegister(i){return this.http.post(this.apiurl+"/SignUp",i)}UpdateUser(i,n){return this.http.put(this.apiurl+"user/"+i,n)}IsLoggedIn(){return null!=sessionStorage.getItem("access_token")}GetToken(){return sessionStorage.getItem("access_token")??null}GetUserRole(){return null!=sessionStorage.getItem("userrole")?sessionStorage.getItem("userrole")?.toString():""}LogOut(){return this.http.get(this.apiurl+"/Logout")}ForgetPassword(i){return this.http.get(this.apiurl+"/ForgetPassword?email="+i)}ConfirmCode(i){return this.http.get(this.apiurl+"/ForgetPassword/ConfirmCode?email="+i)}ResetPassword(i){return this.http.post(this.apiurl+"/ResetPassword",i)}ChangeEmail(i){return this.http.post(this.apiurl+"/ChangeEmail?email="+i,{responseType:"text"})}ChangePassword(i){return this.http.post(this.apiurl+"/ChangePassword",i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(bv))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),In=(()=>{class r{constructor(i,n,s){this.http=i,this.datePipe=n,this.authservice=s,this.url="https://toiyeulichsu.com/#",this.apiurl=this.authservice.getApiUrl()}CreateDocument(i){return this.http.post(this.apiurl+"/Document",i)}CreateExam(i){return this.http.post(this.apiurl+"/MultipleChoice",i)}CreatePost(i){return this.http.post(this.apiurl+"/Post",i)}CreateQuestion(i){return this.http.post(this.apiurl+"/Question",i)}CreatePostComment(i){return this.http.post(this.apiurl+"/Post/Chat",i)}CreateForumAnswer(i){return this.http.post(this.apiurl+"/Answer",i)}CreateForumSubAnswer(i){return this.http.post(this.apiurl+"/Answer/SubAnswer",i)}deleteAnswer(i){return this.http.delete(this.apiurl+"/Answer/delete?idAnswer="+i)}deleteComment(i){return this.http.delete(this.apiurl+"/Post/Chat?idComment="+i)}DeleteDocument(i){return this.http.delete(this.apiurl+"/Document/Delete?id="+i)}DeleteExam(i){return this.http.delete(this.apiurl+"/MultipleChoice?idMultipleChoice="+i)}DeletePost(i){return this.http.delete(this.apiurl+"/Post/Delete?Id="+i)}deleteSubAnswer(i){return this.http.delete(this.apiurl+"/Answer/DeleteSub?idSubAnswer="+i)}DocumentDetail(i){return this.http.get(this.apiurl+"/Document/"+i)}documentSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/Document/Search?keyWord="+i)}downloadDocumentFile(i){return this.http.get(i,{observe:"response",responseType:"blob"})}ExamDetail(i){return this.http.get(this.apiurl+"/MultipleChoice/"+i)}ExamSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/MultipleChoice/Search?keyWord="+i)}getChatSignRl(){return this.apiurl+"/commentHub"}getCurrentDate(){return this.datePipe.transform(new Date,"dd/MM/yyyy")||""}GetDocument(){return this.http.get(this.apiurl+"/Document")}GetExam(){return this.http.get(this.apiurl+"/MultipleChoice")}getLike(i,n){return this.http.get(`${this.apiurl}/Post/Like`,{params:{PostId:i,UserId:n}})}getLikeQuestion(i,n){return this.http.get(`${this.apiurl}/Question/Like`,{params:{QuestionId:i,UserId:n}})}GetMyPost(){return this.http.get(this.apiurl+"/Post/MyPost")}GetMyDocument(){return this.http.get(this.apiurl+"/Document/MyDocument")}GetMyExam(){return this.http.get(this.apiurl+"/MultipleChoice/MyMultipleChoice")}GetMyExamHistory(){return this.http.get(this.apiurl+"/ExamHistory/GetMyExamHistory")}GetMyQuestion(){return this.http.get(this.apiurl+"/Question/MyQuestion")}GetMyPostSaved(){return this.http.get(this.apiurl+"/Post/MyPostSaved")}GetMyQuestionSaved(){return this.http.get(this.apiurl+"/Question/MyQuestionSaved")}GetMyDocumentSaved(){return this.http.get(this.apiurl+"/Document/MySave")}GetMyNotification(){return this.http.get(this.apiurl+"/Notification")}GetNews(){return this.http.get(this.apiurl+"/News")}getpostbytag(i){return this.http.get(this.apiurl+"/Post/FindByTag?tag="+i)}GetPostDetail(i){return this.http.get(this.apiurl+"/Post/"+i)}GetQuestionDetail(i){return this.http.get(this.apiurl+"/Question/Detail?subId="+i)}getQuestionByTag(i){return this.http.get(this.apiurl+"/Question/FindByTag?tag="+i)}GetAnswers(i){return this.http.get(this.apiurl+"/Answer?questionId="+i)}getRandomPost(i){return this.http.get(this.apiurl+"/Post/RandomArticle?quantity="+i)}GetTopTags(i){return this.http.get(this.apiurl+"/HashTag/TopTag?numberTag="+i)}getUrl(){return this.url}GetAllTag(){return this.http.get(this.apiurl+"/HashTag")}GetQuestionForYou(){return this.http.get(this.apiurl+"/Question")}getSave(i,n){return this.http.get(`${this.apiurl}/Post/Save`,{params:{PostId:i,UserId:n}})}getSaveQuestion(i,n){return this.http.get(`${this.apiurl}/Question/Save`,{params:{QuestionId:i,UserId:n}})}GetSaveDoc(i,n){return this.http.get(`${this.apiurl}/Document/Save`,{params:{DocumentId:i,UserId:n}})}GetTopic(){return this.http.get(this.apiurl+"/Topic")}GetPost(){return this.http.get(this.apiurl+"/Post/Discover")}getPostComment(i){return this.http.get(this.apiurl+"/Post/Chat?PostId="+i)}getReport(){return this.http.get(this.apiurl+"/Report")}LikeOrUnlike(i){return this.http.post(`${this.apiurl}/Post/Like`,i)}LikeOrUnlikeQuestion(i){return this.http.post(`${this.apiurl}/Question/Like`,i)}postSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/Post/Search?keyWord="+i)}questionSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/Question/Search?keyWord="+i)}qusestionSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/Question/Search?keyWord="+i)}readFilePdf(i){return this.http.get(i,{responseType:"arraybuffer"})}ReportPost(i){return this.http.post(`${this.apiurl}/Post/Report`,i)}ReportQuestion(i){return this.http.post(`${this.apiurl}/Question/Report`,i)}SaveDownloadDocument(i){this.http.post(this.apiurl+"/Document/SaveDownloads?documentId="+i,null)}SaveMyExam(i){return this.http.post(this.apiurl+"/ExamHistory",i)}SaveOrUnSave(i){return this.http.post(`${this.apiurl}/Post/Save`,i)}SaveOrUnSaveQuestion(i){return this.http.post(`${this.apiurl}/Question/Save`,i)}SaveOrUnSaveDocument(i){return this.http.post(`${this.apiurl}/Document/Save`,i)}UpdateDocument(i){return this.http.put(this.apiurl+"/Document",i)}UpdateExam(i){return this.http.put(this.apiurl+"/MultipleChoice",i)}UpdatePost(i){return this.http.put(this.apiurl+"/Post",i)}UpdatePostComment(i){return this.http.put(this.apiurl+"/Post/Chat",i)}UpdateQuestion(i){return this.http.put(this.apiurl+"/Question",i)}UpdateQuizOfExam(i){return this.http.put(this.apiurl+"/MultipleChoice/QuizById",i)}UpdateForumAnswer(i){return this.http.put(this.apiurl+"/Answer",i)}UpdateForumSubAnswer(i){return this.http.put(this.apiurl+"/Answer/SubAnswer",i)}VoteAnswer(i){return this.http.post(this.apiurl+"/Answer/Vote",i)}VoteAnswerByQuestioner(i){return this.http.post(this.apiurl+"/Answer/Confirm",i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(bv),De(fc),De(Qu))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Fr=(()=>{class r{constructor(){this.postDataSubject=new Pn(null),this.reloadDetailPageSource=new Pn(""),this.reloadDetailPage$=this.reloadDetailPageSource.asObservable(),this.keywordSource=new Pn(""),this.currentKeyword=this.keywordSource.asObservable(),this.subId=new Pn(""),this.currentSubId=this.subId.asObservable(),this.isRequestInProgress=!1,this.idQuestion=new Pn(""),this.currentIdQuestion=this.idQuestion.asObservable()}setPostData(i){this.postDataSubject.next(i)}getPostData(){return this.postDataSubject.asObservable()}triggerReloadDetailPage(i){this.reloadDetailPageSource.next(i)}changeKeyword(i){this.keywordSource.next(i)}changeSubId(i){this.isRequestInProgress||(this.isRequestInProgress=!0,this.subId.next(i),this.isRequestInProgress=!1)}changeIdQuestion(i){this.idQuestion.next(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Rn=(()=>{class r{constructor(){this.emailSubject=new Pn(""),this.email$=this.emailSubject.asObservable(),this.descriptionUserSubject=new Pn(""),this.descriptionUser$=this.descriptionUserSubject.asObservable()}getKeyWordDocument(){return sessionStorage.getItem("keyword_document")}getName(){return sessionStorage.getItem("name")}getToken(){return sessionStorage.getItem("access_token")}getEmail(){return sessionStorage.getItem("email")}getRole(){return sessionStorage.getItem("role")}getUserId(){return sessionStorage.getItem("id")}getAvatar(){return sessionStorage.getItem("avatar")}getDescriptionUser(){return sessionStorage.getItem("descriptionuser")}setKeyWordDocument(i){sessionStorage.setItem("keyword_document",i)}setName(i){sessionStorage.setItem("name",i)}setToken(i){sessionStorage.setItem("access_token",i)}setEmail(i){sessionStorage.setItem("email",i),this.emailSubject.next(i)}setRole(i){sessionStorage.setItem("role",i)}setUserId(i){sessionStorage.setItem("id",i)}setAvatar(i){sessionStorage.setItem("avatar",i)}setDescriptionUser(i){sessionStorage.setItem("description_user",i),this.descriptionUserSubject.next(i)}removeToken(){sessionStorage.removeItem("access_token")}removeName(){sessionStorage.removeItem("name")}removeEmail(){sessionStorage.removeItem("email")}removeAvatar(){sessionStorage.removeItem("avatar")}removeRole(){sessionStorage.removeItem("role")}clearSessionStorage(){sessionStorage.clear()}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class g3{}class eve{}const Pp="*";function hr(r,a){return{type:7,name:r,definitions:a,options:{}}}function Di(r,a=null){return{type:4,styles:a,timings:r}}function YA(r,a=null){return{type:3,steps:r,options:a}}function RQ(r,a=null){return{type:2,steps:r,options:a}}function gt(r){return{type:6,styles:r,offset:null}}function yn(r,a,i){return{type:0,name:r,styles:a,options:i}}function Zd(r){return{type:5,steps:r}}function Fi(r,a,i=null){return{type:1,expr:r,animation:a,options:i}}function nt(r,a=null){return{type:8,animation:r,options:a}}function HC(r=null){return{type:9,options:r}}function os(r,a=null){return{type:10,animation:r,options:a}}function GC(r,a,i=null){return{type:11,selector:r,animation:a,options:i}}class QA{constructor(a=0,i=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=a+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const i="start"==a?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class PQ{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let i=0,n=0,s=0;const l=this.players.length;0==l?queueMicrotask(()=>this._onFinish()):this.players.forEach(d=>{d.onDone(()=>{++i==l&&this._onFinish()}),d.onDestroy(()=>{++n==l&&this._onDestroy()}),d.onStart(()=>{++s==l&&this._onStart()})}),this.totalTime=this.players.reduce((d,p)=>Math.max(d,p.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const i=a*this.totalTime;this.players.forEach(n=>{const s=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(s)})}getPosition(){const a=this.players.reduce((i,n)=>null===i||n.totalTime>i.totalTime?n:i,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const i="start"==a?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}const OQ=["toast-component",""];function tve(r,a){if(1&r){const i=ce();C(0,"button",5),B("click",function(){return z(i),H(S().remove())}),C(1,"span",6),P(2,"\xd7"),k()()}}function ive(r,a){if(1&r&&(be(0),P(1),ve()),2&r){const i=S(2);y(1),me("[",i.duplicatesCount+1,"]")}}function nve(r,a){if(1&r&&(C(0,"div"),P(1),I(2,ive,2,1,"ng-container",4),k()),2&r){const i=S();Mo(i.options.titleClass),ge("aria-label",i.title),y(1),me(" ",i.title," "),y(1),x("ngIf",i.duplicatesCount)}}function ove(r,a){if(1&r&&Q(0,"div",7),2&r){const i=S();Mo(i.options.messageClass),x("innerHTML",i.message,il)}}function rve(r,a){if(1&r&&(C(0,"div",8),P(1),k()),2&r){const i=S();Mo(i.options.messageClass),ge("aria-label",i.message),y(1),me(" ",i.message," ")}}function sve(r,a){if(1&r&&(C(0,"div"),Q(1,"div",9),k()),2&r){const i=S();y(1),Pe("width",i.width+"%")}}class pve{_attachedHost;component;viewContainerRef;injector;constructor(a,i){this.component=a,this.injector=i}attach(a,i){return this._attachedHost=a,a.attach(this,i)}detach(){const a=this._attachedHost;if(a)return this._attachedHost=void 0,a.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class gve{_attachedPortal;_disposeFn;attach(a,i){return this._attachedPortal=a,this.attachComponentPortal(a,i)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(a){this._disposeFn=a}}class mve{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new Ge;_activate=new Ge;_manualClose=new Ge;_resetTimeout=new Ge;_countDuplicate=new Ge;constructor(a){this._overlayRef=a}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(a,i){a&&this._resetTimeout.next(),i&&this._countDuplicate.next(++this.duplicatesCount)}}class m3{toastId;config;message;title;toastType;toastRef;_onTap=new Ge;_onAction=new Ge;constructor(a,i,n,s,l,d){this.toastId=a,this.config=i,this.message=n,this.title=s,this.toastType=l,this.toastRef=d,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(a){this._onAction.next(a)}onAction(){return this._onAction.asObservable()}}const NQ=new $e("ToastConfig");class fve extends gve{_hostDomElement;_componentFactoryResolver;_appRef;constructor(a,i,n){super(),this._hostDomElement=a,this._componentFactoryResolver=i,this._appRef=n}attachComponentPortal(a,i){const n=this._componentFactoryResolver.resolveComponentFactory(a.component);let s;return s=n.create(a.injector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()}),i?this._hostDomElement.insertBefore(this._getComponentRootNode(s),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(s)),s}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let _ve=(()=>{class r{_document=st(Tt);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i=this._document.createElement("div");i.classList.add("overlay-container"),i.setAttribute("aria-live","polite"),this._document.body.appendChild(i),this._containerElement=i}static \u0275fac=function(n){return new(n||r)};static \u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class vve{_portalHost;constructor(a){this._portalHost=a}attach(a,i=!0){return this._portalHost.attach(a,i)}detach(){return this._portalHost.detach()}}let bve=(()=>{class r{_overlayContainer=st(_ve);_componentFactoryResolver=st(Eu);_appRef=st(qd);_document=st(Tt);_paneElements=new Map;create(i,n){return this._createOverlayRef(this.getPaneElement(i,n))}getPaneElement(i="",n){return this._paneElements.get(n)||this._paneElements.set(n,{}),this._paneElements.get(n)[i]||(this._paneElements.get(n)[i]=this._createPaneElement(i,n)),this._paneElements.get(n)[i]}_createPaneElement(i,n){const s=this._document.createElement("div");return s.id="toast-container",s.classList.add(i),s.classList.add("toast-container"),n?n.getContainerElement().appendChild(s):this._overlayContainer.getContainerElement().appendChild(s),s}_createPortalHost(i){return new fve(i,this._componentFactoryResolver,this._appRef)}_createOverlayRef(i){return new vve(this._createPortalHost(i))}static \u0275fac=function(n){return new(n||r)};static \u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Mi=(()=>{class r{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(i,n,s,l,d){this.overlay=n,this._injector=s,this.sanitizer=l,this.ngZone=d,this.toastrConfig={...i.default,...i.config},i.config.iconClasses&&(this.toastrConfig.iconClasses={...i.default.iconClasses,...i.config.iconClasses})}show(i,n,s={},l=""){return this._preBuildNotification(l,i,n,this.applyConfig(s))}success(i,n,s={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",i,n,this.applyConfig(s))}error(i,n,s={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",i,n,this.applyConfig(s))}info(i,n,s={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",i,n,this.applyConfig(s))}warning(i,n,s={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",i,n,this.applyConfig(s))}clear(i){for(const n of this.toasts)if(void 0!==i){if(n.toastId===i)return void n.toastRef.manualClose()}else n.toastRef.manualClose()}remove(i){const n=this._findToast(i);if(!n||(n.activeToast.toastRef.close(),this.toasts.splice(n.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActivethis._buildNotification(i,n,s,l)):this._buildNotification(i,n,s,l)}_buildNotification(i,n,s,l){if(!l.toastComponent)throw new Error("toastComponent required");const d=this.findDuplicate(s,n,this.toastrConfig.resetTimeoutOnDuplicate&&l.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&s||n)&&this.toastrConfig.preventDuplicates&&null!==d)return d;this.previousToastMessage=n;let p=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(p=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const f=this.overlay.create(l.positionClass,this.overlayContainer);this.index=this.index+1;let v=n;n&&l.enableHtml&&(v=this.sanitizer.sanitize(Tr.HTML,n));const D=new mve(f),E=new m3(this.index,l,v,s,i,D),L=Jt.create({providers:[{provide:m3,useValue:E}],parent:this._injector}),$=new pve(l.toastComponent,L),q=f.attach($,l.newestOnTop);D.componentInstance=q.instance;const Z={toastId:this.index,title:s||"",message:n||"",toastRef:D,onShown:D.afterActivate(),onHidden:D.afterClosed(),onTap:E.onTap(),onAction:E.onAction(),portal:q};return p||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Z.toastRef.activate()})),this.toasts.push(Z),Z}static \u0275fac=function(n){return new(n||r)(De(NQ),De(bve),De(Jt),De(kC),De(et))};static \u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const yve={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class r{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(i,n,s){this.toastrService=i,this.toastPackage=n,this.ngZone=s,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(l=>{this.duplicatesCount=l}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const i=(new Date).getTime();this.width=(this.hideTime-i)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(i,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(i),n)):this.timeout=setTimeout(()=>i(),n)}outsideInterval(i,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(i),n)):this.intervalId=setInterval(()=>i(),n)}runInsideAngular(i){this.ngZone?this.ngZone.run(()=>i()):i()}static \u0275fac=function(n){return new(n||r)(T(Mi),T(m3),T(et))};static \u0275cmp=de({type:r,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(n,s){1&n&&B("click",function(){return s.tapToast()})("mouseenter",function(){return s.stickAround()})("mouseleave",function(){return s.delayedHideToast()}),2&n&&(nv("@flyInOut",s.state),Mo(s.toastClasses),Pe("display",s.displayStyle))},standalone:!0,features:[Ue],attrs:OQ,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,s){1&n&&(I(0,tve,3,0,"button",0),I(1,nve,3,5,"div",1),I(2,ove,1,3,"div",2),I(3,rve,2,4,"div",3),I(4,sve,2,2,"div",4)),2&n&&(x("ngIf",s.options.closeButton),y(1),x("ngIf",s.title),y(1),x("ngIf",s.message&&s.options.enableHtml),y(1),x("ngIf",s.message&&!s.options.enableHtml),y(1),x("ngIf",s.options.progressBar))},dependencies:[Qe],encapsulation:2,data:{animation:[hr("flyInOut",[yn("inactive",gt({opacity:0})),yn("active",gt({opacity:1})),yn("removed",gt({opacity:0})),Fi("inactive => active",Di("{{ easeTime }}ms {{ easing }}")),Fi("active => removed",Di("{{ easeTime }}ms {{ easing }}"))])]}})}return r})()},Cve=(r={})=>S_([{provide:NQ,useValue:{default:yve,config:r}}]);let F6,wve=(()=>{class r{static forRoot(i={}){return{ngModule:r,providers:[Cve(i)]}}static \u0275fac=function(n){return new(n||r)};static \u0275mod=Ht({type:r});static \u0275inj=zt({})}return r})();function Et(r){return null!=r&&"false"!=`${r}`}function Ba(r,a=0){return LQ(r)?Number(r):a}function LQ(r){return!isNaN(parseFloat(r))&&!isNaN(Number(r))}function f3(r){return Array.isArray(r)?r:[r]}function rs(r){return null==r?"":"string"==typeof r?r:`${r}px`}function Op(r){return r instanceof ke?r.nativeElement:r}function BQ(r,a=/\s+/){const i=[];if(null!=r){const n=Array.isArray(r)?r:`${r}`.split(a);for(const s of n){const l=`${s}`.trim();l&&i.push(l)}}return i}function Nr(r,...a){return a.length?a.some(i=>r[i]):r.altKey||r.shiftKey||r.ctrlKey||r.metaKey}try{F6=typeof Intl<"u"&&Intl.v8BreakIterator}catch{F6=!1}let $C,Po=(()=>{class r{constructor(i){this._platformId=i,this.isBrowser=this._platformId?kK(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!F6)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(n){return new(n||r)(De(Ld))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const zQ=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function HQ(){if($C)return $C;if("object"!=typeof document||!document)return $C=new Set(zQ),$C;let r=document.createElement("input");return $C=new Set(zQ.filter(a=>(r.setAttribute("type",a),r.type===a))),$C}let JA,Cv,N6;function eu(r){return function Rve(){if(null==JA&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>JA=!0}))}finally{JA=JA||!1}return JA}()?r:!!r.capture}function Pve(){if(null==Cv){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Cv=!1,Cv;if("scrollBehavior"in document.documentElement.style)Cv=!0;else{const r=Element.prototype.scrollTo;Cv=!!r&&!/\{\s*\[native code\]\s*\}/.test(r.toString())}}return Cv}function UC(){let r=typeof document<"u"&&document?document.activeElement:null;for(;r&&r.shadowRoot;){const a=r.shadowRoot.activeElement;if(a===r)break;r=a}return r}function Np(r){return r.composedPath?r.composedPath()[0]:r.target}function L6(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}class Nve extends Ce{constructor(a,i){super()}schedule(a,i=0){return this}}const C3={setInterval(r,a,...i){const{delegate:n}=C3;return n?.setInterval?n.setInterval(r,a,...i):setInterval(r,a,...i)},clearInterval(r){const{delegate:a}=C3;return(a?.clearInterval||clearInterval)(r)},delegate:void 0};class B6 extends Nve{constructor(a,i){super(a,i),this.scheduler=a,this.work=i,this.pending=!1}schedule(a,i=0){var n;if(this.closed)return this;this.state=a;const s=this.id,l=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(l,s,i)),this.pending=!0,this.delay=i,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(l,this.id,i),this}requestAsyncId(a,i,n=0){return C3.setInterval(a.flush.bind(a,this),n)}recycleAsyncId(a,i,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return i;null!=i&&C3.clearInterval(i)}execute(a,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(a,i);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(a,i){let s,n=!1;try{this.work(a)}catch(l){n=!0,s=l||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),s}unsubscribe(){if(!this.closed){const{id:a,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,_h(n,this),null!=a&&(this.id=this.recycleAsyncId(i,a,null)),this.delay=null,super.unsubscribe()}}}const V6={now:()=>(V6.delegate||Date).now(),delegate:void 0};class eI{constructor(a,i=eI.now){this.schedulerActionCtor=a,this.now=i}schedule(a,i=0,n){return new this.schedulerActionCtor(this,a).schedule(n,i)}}eI.now=V6.now;class z6 extends eI{constructor(a,i=eI.now){super(a,i),this.actions=[],this._active=!1}flush(a){const{actions:i}=this;if(this._active)return void i.push(a);let n;this._active=!0;do{if(n=a.execute(a.state,a.delay))break}while(a=i.shift());if(this._active=!1,n){for(;a=i.shift();)a.unsubscribe();throw n}}}const WC=new z6(B6),Lve=WC;function tI(r,a=WC){return Cn((i,n)=>{let s=null,l=null,d=null;const p=()=>{if(s){s.unsubscribe(),s=null;const v=l;l=null,n.next(v)}};function f(){const v=d+r,D=a.now();if(D{l=v,d=a.now(),s||(s=a.schedule(f,r),n.add(s))},()=>{p(),n.complete()},void 0,()=>{l=s=null}))})}function H6(r){return xi((a,i)=>r<=i)}let GQ=(()=>{class r{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Bve=(()=>{class r{constructor(i){this._mutationObserverFactory=i,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((i,n)=>this._cleanupObserver(n))}observe(i){const n=Op(i);return new _n(s=>{const d=this._observeElement(n).subscribe(s);return()=>{d.unsubscribe(),this._unobserveElement(n)}})}_observeElement(i){if(this._observedElements.has(i))this._observedElements.get(i).count++;else{const n=new Ge,s=this._mutationObserverFactory.create(l=>n.next(l));s&&s.observe(i,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(i,{observer:s,stream:n,count:1})}return this._observedElements.get(i).stream}_unobserveElement(i){this._observedElements.has(i)&&(this._observedElements.get(i).count--,this._observedElements.get(i).count||this._cleanupObserver(i))}_cleanupObserver(i){if(this._observedElements.has(i)){const{observer:n,stream:s}=this._observedElements.get(i);n&&n.disconnect(),s.complete(),this._observedElements.delete(i)}}static#e=this.\u0275fac=function(n){return new(n||r)(De(GQ))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Vve=(()=>{class r{get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(i){this._debounce=Ba(i),this._subscribe()}constructor(i,n,s){this._contentObserver=i,this._elementRef=n,this._ngZone=s,this.event=new X,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const i=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?i.pipe(tI(this.debounce)):i).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)(T(Bve),T(ke),T(et))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return r})(),G6=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[GQ]})}return r})();const jQ=new Set;let wv,zve=(()=>{class r{constructor(i,n){this._platform=i,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Gve}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&function Hve(r,a){if(!jQ.has(r))try{wv||(wv=document.createElement("style"),a&&(wv.nonce=a),wv.setAttribute("type","text/css"),document.head.appendChild(wv)),wv.sheet&&(wv.sheet.insertRule(`@media ${r} {body{ }}`,0),jQ.add(r))}catch(i){console.error(i)}}(i,this._nonce),this._matchMedia(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(dk,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function Gve(r){return{matches:"all"===r||""===r,media:r,addListener:()=>{},removeListener:()=>{}}}let $Q=(()=>{class r{constructor(i,n){this._mediaMatcher=i,this._zone=n,this._queries=new Map,this._destroySubject=new Ge}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return UQ(f3(i)).some(s=>this._registerQuery(s).mql.matches)}observe(i){let l=gv(UQ(f3(i)).map(d=>this._registerQuery(d).observable));return l=EA(l.pipe(An(1)),l.pipe(H6(1),tI(0))),l.pipe(Rt(d=>{const p={matches:!1,breakpoints:{}};return d.forEach(({matches:f,query:v})=>{p.matches=p.matches||f,p.breakpoints[v]=f}),p}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);const n=this._mediaMatcher.matchMedia(i),l={observable:new _n(d=>{const p=f=>this._zone.run(()=>d.next(f));return n.addListener(p),()=>{n.removeListener(p)}}).pipe(go(n),Rt(({matches:d})=>({query:i,matches:d})),xe(this._destroySubject)),mql:n};return this._queries.set(i,l),l}static#e=this.\u0275fac=function(n){return new(n||r)(De(zve),De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function UQ(r){return r.map(a=>a.split(",")).reduce((a,i)=>a.concat(i)).map(a=>a.trim())}function w3(r,a,i){const n=x3(r,a);n.some(s=>s.trim()==i.trim())||(n.push(i.trim()),r.setAttribute(a,n.join(" ")))}function qC(r,a,i){const s=x3(r,a).filter(l=>l!=i.trim());s.length?r.setAttribute(a,s.join(" ")):r.removeAttribute(a)}function x3(r,a){return(r.getAttribute(a)||"").match(/\S+/g)||[]}const qQ="cdk-describedby-message",k3="cdk-describedby-host";let j6=0,KQ=(()=>{class r{constructor(i,n){this._platform=n,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+j6++,this._document=i,this._id=st(Xg)+"-"+j6++}describe(i,n,s){if(!this._canBeDescribed(i,n))return;const l=$6(n,s);"string"!=typeof n?(YQ(n,this._id),this._messageRegistry.set(l,{messageElement:n,referenceCount:0})):this._messageRegistry.has(l)||this._createMessageElement(n,s),this._isElementDescribedByMessage(i,l)||this._addMessageReference(i,l)}removeDescription(i,n,s){if(!n||!this._isElementNode(i))return;const l=$6(n,s);if(this._isElementDescribedByMessage(i,l)&&this._removeMessageReference(i,l),"string"==typeof n){const d=this._messageRegistry.get(l);d&&0===d.referenceCount&&this._deleteMessageElement(l)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const i=this._document.querySelectorAll(`[${k3}="${this._id}"]`);for(let n=0;n0!=s.indexOf(qQ));i.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(i,n){const s=this._messageRegistry.get(n);w3(i,"aria-describedby",s.messageElement.id),i.setAttribute(k3,this._id),s.referenceCount++}_removeMessageReference(i,n){const s=this._messageRegistry.get(n);s.referenceCount--,qC(i,"aria-describedby",s.messageElement.id),i.removeAttribute(k3)}_isElementDescribedByMessage(i,n){const s=x3(i,"aria-describedby"),l=this._messageRegistry.get(n),d=l&&l.messageElement.id;return!!d&&-1!=s.indexOf(d)}_canBeDescribed(i,n){if(!this._isElementNode(i))return!1;if(n&&"object"==typeof n)return!0;const s=null==n?"":`${n}`.trim(),l=i.getAttribute("aria-label");return!(!s||l&&l.trim()===s)}_isElementNode(i){return i.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(Po))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function $6(r,a){return"string"==typeof r?`${a||""}/${r}`:r}function YQ(r,a){r.id||(r.id=`${qQ}-${a}-${j6++}`)}class QQ{constructor(a){this._items=a,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ge,this._typeaheadSubscription=Ce.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this._pressedLetters=[],this.tabOut=new Ge,this.change=new Ge,a instanceof zo&&(this._itemChangesSubscription=a.changes.subscribe(i=>{if(this._activeItem){const s=i.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}}))}skipPredicate(a){return this._skipPredicateFn=a,this}withWrap(a=!0){return this._wrap=a,this}withVerticalOrientation(a=!0){return this._vertical=a,this}withHorizontalOrientation(a){return this._horizontal=a,this}withAllowedModifierKeys(a){return this._allowedModifierKeys=a,this}withTypeAhead(a=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Or(i=>this._pressedLetters.push(i)),tI(a),xi(()=>this._pressedLetters.length>0),Rt(()=>this._pressedLetters.join(""))).subscribe(i=>{const n=this._getItemsArray();for(let s=1;s!a[l]||this._allowedModifierKeys.indexOf(l)>-1);switch(i){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&s){const l=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(l>0?l:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&s){const l=this._activeItemIndex+this._pageUpAndDown.delta,d=this._getItemsArray().length;this._setActiveItemByIndex(l=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i))))}this._pressedLetters=[],a.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(a){const i=this._getItemsArray(),n="number"==typeof a?a:i.indexOf(a);this._activeItem=i[n]??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)}_setActiveInWrapMode(a){const i=this._getItemsArray();for(let n=1;n<=i.length;n++){const s=(this._activeItemIndex+a*n+i.length)%i.length;if(!this._skipPredicateFn(i[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)}_setActiveItemByIndex(a,i){const n=this._getItemsArray();if(n[a]){for(;this._skipPredicateFn(n[a]);)if(!n[a+=i])return;this.setActiveItem(a)}}_getItemsArray(){return this._items instanceof zo?this._items.toArray():this._items}}class XQ extends QQ{setActiveItem(a){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(a),this.activeItem&&this.activeItem.setActiveStyles()}}class D3 extends QQ{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(a){return this._origin=a,this}setActiveItem(a){super.setActiveItem(a),this.activeItem&&this.activeItem.focus(this._origin)}}let A3=(()=>{class r{constructor(i){this._platform=i}isDisabled(i){return i.hasAttribute("disabled")}isVisible(i){return function Uve(r){return!!(r.offsetWidth||r.offsetHeight||"function"==typeof r.getClientRects&&r.getClientRects().length)}(i)&&"visible"===getComputedStyle(i).visibility}isTabbable(i){if(!this._platform.isBrowser)return!1;const n=function $ve(r){try{return r.frameElement}catch{return null}}(function Jve(r){return r.ownerDocument&&r.ownerDocument.defaultView||window}(i));if(n&&(-1===JQ(n)||!this.isVisible(n)))return!1;let s=i.nodeName.toLowerCase(),l=JQ(i);return i.hasAttribute("contenteditable")?-1!==l:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Xve(r){let a=r.nodeName.toLowerCase(),i="input"===a&&r.type;return"text"===i||"password"===i||"select"===a||"textarea"===a}(i))&&("audio"===s?!!i.hasAttribute("controls")&&-1!==l:"video"===s?-1!==l&&(null!==l||this._platform.FIREFOX||i.hasAttribute("controls")):i.tabIndex>=0)}isFocusable(i,n){return function Zve(r){return!function qve(r){return function Yve(r){return"input"==r.nodeName.toLowerCase()}(r)&&"hidden"==r.type}(r)&&(function Wve(r){let a=r.nodeName.toLowerCase();return"input"===a||"select"===a||"button"===a||"textarea"===a}(r)||function Kve(r){return function Qve(r){return"a"==r.nodeName.toLowerCase()}(r)&&r.hasAttribute("href")}(r)||r.hasAttribute("contenteditable")||ZQ(r))}(i)&&!this.isDisabled(i)&&(n?.ignoreVisibility||this.isVisible(i))}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function ZQ(r){if(!r.hasAttribute("tabindex")||void 0===r.tabIndex)return!1;let a=r.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))}function JQ(r){if(!ZQ(r))return null;const a=parseInt(r.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a}class ebe{get enabled(){return this._enabled}set enabled(a){this._enabled=a,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}constructor(a,i,n,s,l=!1){this._element=a,this._checker=i,this._ngZone=n,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,l||this.attachAnchors()}destroy(){const a=this._startAnchor,i=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.remove()),i&&(i.removeEventListener("focus",this.endAnchorListener),i.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(a){return new Promise(i=>{this._executeOnStable(()=>i(this.focusInitialElement(a)))})}focusFirstTabbableElementWhenReady(a){return new Promise(i=>{this._executeOnStable(()=>i(this.focusFirstTabbableElement(a)))})}focusLastTabbableElementWhenReady(a){return new Promise(i=>{this._executeOnStable(()=>i(this.focusLastTabbableElement(a)))})}_getRegionBoundary(a){const i=this._element.querySelectorAll(`[cdk-focus-region-${a}], [cdkFocusRegion${a}], [cdk-focus-${a}]`);return"start"==a?i.length?i[0]:this._getFirstTabbableElement(this._element):i.length?i[i.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(a){const i=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(i){if(!this._checker.isFocusable(i)){const n=this._getFirstTabbableElement(i);return n?.focus(a),!!n}return i.focus(a),!0}return this.focusFirstTabbableElement(a)}focusFirstTabbableElement(a){const i=this._getRegionBoundary("start");return i&&i.focus(a),!!i}focusLastTabbableElement(a){const i=this._getRegionBoundary("end");return i&&i.focus(a),!!i}hasAttached(){return this._hasAttached}_getFirstTabbableElement(a){if(this._checker.isFocusable(a)&&this._checker.isTabbable(a))return a;const i=a.children;for(let n=0;n=0;n--){const s=i[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(i[n]):null;if(s)return s}return null}_createAnchor(){const a=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,a),a.classList.add("cdk-visually-hidden"),a.classList.add("cdk-focus-trap-anchor"),a.setAttribute("aria-hidden","true"),a}_toggleAnchorTabIndex(a,i){a?i.setAttribute("tabindex","0"):i.removeAttribute("tabindex")}toggleAnchors(a){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}_executeOnStable(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(An(1)).subscribe(a)}}let I3=(()=>{class r{constructor(i,n,s){this._checker=i,this._ngZone=n,this._document=s}create(i,n=!1){return new ebe(i,this._checker,this._ngZone,this._document,n)}static#e=this.\u0275fac=function(n){return new(n||r)(De(A3),De(et),De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),tbe=(()=>{class r{get enabled(){return this.focusTrap.enabled}set enabled(i){this.focusTrap.enabled=Et(i)}get autoCapture(){return this._autoCapture}set autoCapture(i){this._autoCapture=Et(i)}constructor(i,n,s){this._elementRef=i,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(i){const n=i.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=UC(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(I3),T(Tt))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[ci]})}return r})();function U6(r){return 0===r.buttons||0===r.detail}function W6(r){const a=r.touches&&r.touches[0]||r.changedTouches&&r.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}const ibe=new $e("cdk-input-modality-detector-options"),nbe={ignoreKeys:[18,17,224,91,16]},KC=eu({passive:!0,capture:!0});let obe=(()=>{class r{get mostRecentModality(){return this._modality.value}constructor(i,n,s,l){this._platform=i,this._mostRecentTarget=null,this._modality=new Pn(null),this._lastTouchMs=0,this._onKeydown=d=>{this._options?.ignoreKeys?.some(p=>p===d.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Np(d))},this._onMousedown=d=>{Date.now()-this._lastTouchMs<650||(this._modality.next(U6(d)?"keyboard":"mouse"),this._mostRecentTarget=Np(d))},this._onTouchstart=d=>{W6(d)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Np(d))},this._options={...nbe,...l},this.modalityDetected=this._modality.pipe(H6(1)),this.modalityChanged=this.modalityDetected.pipe(Qs()),i.isBrowser&&n.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,KC),s.addEventListener("mousedown",this._onMousedown,KC),s.addEventListener("touchstart",this._onTouchstart,KC)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,KC),document.removeEventListener("mousedown",this._onMousedown,KC),document.removeEventListener("touchstart",this._onTouchstart,KC))}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(et),De(Tt),De(ibe,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const rbe=new $e("liveAnnouncerElement",{providedIn:"root",factory:function sbe(){return null}}),abe=new $e("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let lbe=0,Lp=(()=>{class r{constructor(i,n,s,l){this._ngZone=n,this._defaultOptions=l,this._document=s,this._liveElement=i||this._createLiveElement()}announce(i,...n){const s=this._defaultOptions;let l,d;return 1===n.length&&"number"==typeof n[0]?d=n[0]:[l,d]=n,this.clear(),clearTimeout(this._previousTimeout),l||(l=s&&s.politeness?s.politeness:"polite"),null==d&&s&&(d=s.duration),this._liveElement.setAttribute("aria-live",l),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(p=>this._currentResolve=p)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=i,"number"==typeof d&&(this._previousTimeout=setTimeout(()=>this.clear(),d)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const i="cdk-live-announcer-element",n=this._document.getElementsByClassName(i),s=this._document.createElement("div");for(let l=0;l .cdk-overlay-container [aria-modal="true"]');for(let s=0;s{class r{constructor(i,n,s,l,d){this._ngZone=i,this._platform=n,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ge,this._rootNodeFocusAndBlurListener=p=>{for(let v=Np(p);v;v=v.parentElement)"focus"===p.type?this._onFocus(p,v):this._onBlur(p,v)},this._document=l,this._detectionMode=d?.detectionMode||0}monitor(i,n=!1){const s=Op(i);if(!this._platform.isBrowser||1!==s.nodeType)return Dt();const l=function Fve(r){if(function Ove(){if(null==N6){const r=typeof document<"u"?document.head:null;N6=!(!r||!r.createShadowRoot&&!r.attachShadow)}return N6}()){const a=r.getRootNode?r.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}(s)||this._getDocument(),d=this._elementInfo.get(s);if(d)return n&&(d.checkChildren=!0),d.subject;const p={checkChildren:n,subject:new Ge,rootNode:l};return this._elementInfo.set(s,p),this._registerGlobalListeners(p),p.subject}stopMonitoring(i){const n=Op(i),s=this._elementInfo.get(n);s&&(s.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(s))}focusVia(i,n,s){const l=Op(i);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(([p,f])=>this._originChanged(p,n,f)):(this._setOrigin(n),"function"==typeof l.focus&&l.focus(s))}ngOnDestroy(){this._elementInfo.forEach((i,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return 1===this._detectionMode||!!i?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(i,n){i.classList.toggle("cdk-focused",!!n),i.classList.toggle("cdk-touch-focused","touch"===n),i.classList.toggle("cdk-keyboard-focused","keyboard"===n),i.classList.toggle("cdk-mouse-focused","mouse"===n),i.classList.toggle("cdk-program-focused","program"===n)}_setOrigin(i,n=!1){this._ngZone.runOutsideAngular(()=>{this._origin=i,this._originFromTouchInteraction="touch"===i&&n,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(i,n){const s=this._elementInfo.get(n),l=Np(i);!s||!s.checkChildren&&n!==l||this._originChanged(n,this._getFocusOrigin(l),s)}_onBlur(i,n){const s=this._elementInfo.get(n);!s||s.checkChildren&&i.relatedTarget instanceof Node&&n.contains(i.relatedTarget)||(this._setClasses(n),this._emitOrigin(s,null))}_emitOrigin(i,n){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(n))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;const n=i.rootNode,s=this._rootNodeFocusListenerCount.get(n)||0;s||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,S3),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,S3)}),this._rootNodeFocusListenerCount.set(n,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xe(this._stopInputModalityDetector)).subscribe(l=>{this._setOrigin(l,!0)}))}_removeGlobalListeners(i){const n=i.rootNode;if(this._rootNodeFocusListenerCount.has(n)){const s=this._rootNodeFocusListenerCount.get(n);s>1?this._rootNodeFocusListenerCount.set(n,s-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,S3),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,S3),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,n,s){this._setClasses(i,n),this._emitOrigin(s,n),this._lastFocusOrigin=n}_getClosestElementsInfo(i){const n=[];return this._elementInfo.forEach((s,l)=>{(l===i||s.checkChildren&&l.contains(i))&&n.push([l,s])}),n}_isLastInteractionFromInputLabel(i){const{_mostRecentTarget:n,mostRecentModality:s}=this._inputModalityDetector;if("mouse"!==s||!n||n===i||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName||i.disabled)return!1;const l=i.labels;if(l)for(let d=0;d{class r{constructor(i,n){this._elementRef=i,this._focusMonitor=n,this._focusOrigin=null,this.cdkFocusChange=new X}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const i=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(i,1===i.nodeType&&i.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(al))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return r})();const tX="cdk-high-contrast-black-on-white",iX="cdk-high-contrast-white-on-black",q6="cdk-high-contrast-active";let nX=(()=>{class r{constructor(i,n){this._platform=i,this._document=n,this._breakpointSubscription=st($Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);const n=this._document.defaultView||window,s=n&&n.getComputedStyle?n.getComputedStyle(i):null,l=(s&&s.backgroundColor||"").replace(/ /g,"");switch(i.remove(),l){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const i=this._document.body.classList;i.remove(q6,tX,iX),this._hasCheckedHighContrastMode=!0;const n=this.getHighContrastMode();1===n?i.add(q6,tX):2===n&&i.add(q6,iX)}}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),iI=(()=>{class r{constructor(i){i._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(n){return new(n||r)(De(nX))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[G6]})}return r})();const ube=new $e("cdk-dir-doc",{providedIn:"root",factory:function hbe(){return st(Tt)}}),pbe=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Yr=(()=>{class r{constructor(i){this.value="ltr",this.change=new X,i&&(this.value=function gbe(r){const a=r?.toLowerCase()||"";return"auto"===a&&typeof navigator<"u"&&navigator?.language?pbe.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((i.body?i.body.dir:null)||(i.documentElement?i.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(n){return new(n||r)(De(ube,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),YC=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();const mbe=["addListener","removeListener"],fbe=["addEventListener","removeEventListener"],_be=["on","off"];function Ri(r,a,i,n){if(Ti(i)&&(n=i,i=void 0),n)return Ri(r,a,i).pipe(i6(n));const[s,l]=function ybe(r){return Ti(r.addEventListener)&&Ti(r.removeEventListener)}(r)?fbe.map(d=>p=>r[d](a,p,i)):function vbe(r){return Ti(r.addListener)&&Ti(r.removeListener)}(r)?mbe.map(oX(r,a)):function bbe(r){return Ti(r.on)&&Ti(r.off)}(r)?_be.map(oX(r,a)):[];if(!s&&_u(r))return vo(d=>Ri(d,a,i))(Ar(r));if(!s)throw new TypeError("Invalid event target");return new _n(d=>{const p=(...f)=>d.next(1l(p)})}function oX(r,a){return i=>n=>r[i](a,n)}const nI={schedule(r){let a=requestAnimationFrame,i=cancelAnimationFrame;const{delegate:n}=nI;n&&(a=n.requestAnimationFrame,i=n.cancelAnimationFrame);const s=a(l=>{i=void 0,r(l)});return new Ce(()=>i?.(s))},requestAnimationFrame(...r){const{delegate:a}=nI;return(a?.requestAnimationFrame||requestAnimationFrame)(...r)},cancelAnimationFrame(...r){const{delegate:a}=nI;return(a?.cancelAnimationFrame||cancelAnimationFrame)(...r)},delegate:void 0};new class wbe extends z6{flush(a){this._active=!0;const i=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let s;a=a||n.shift();do{if(s=a.execute(a.state,a.delay))break}while((a=n[0])&&a.id===i&&n.shift());if(this._active=!1,s){for(;(a=n[0])&&a.id===i&&n.shift();)a.unsubscribe();throw s}}}(class Cbe extends B6{constructor(a,i){super(a,i),this.scheduler=a,this.work=i}requestAsyncId(a,i,n=0){return null!==n&&n>0?super.requestAsyncId(a,i,n):(a.actions.push(this),a._scheduled||(a._scheduled=nI.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,i,n=0){var s;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(a,i,n);const{actions:l}=a;null!=i&&(null===(s=l[l.length-1])||void 0===s?void 0:s.id)!==i&&(nI.cancelAnimationFrame(i),a._scheduled=void 0)}});let K6,xbe=1;const T3={};function rX(r){return r in T3&&(delete T3[r],!0)}const kbe={setImmediate(r){const a=xbe++;return T3[a]=!0,K6||(K6=Promise.resolve()),K6.then(()=>rX(a)&&r()),a},clearImmediate(r){rX(r)}},{setImmediate:Dbe,clearImmediate:Abe}=kbe,E3={setImmediate(...r){const{delegate:a}=E3;return(a?.setImmediate||Dbe)(...r)},clearImmediate(r){const{delegate:a}=E3;return(a?.clearImmediate||Abe)(r)},delegate:void 0},Y6=new class Sbe extends z6{flush(a){this._active=!0;const i=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let s;a=a||n.shift();do{if(s=a.execute(a.state,a.delay))break}while((a=n[0])&&a.id===i&&n.shift());if(this._active=!1,s){for(;(a=n[0])&&a.id===i&&n.shift();)a.unsubscribe();throw s}}}(class Ibe extends B6{constructor(a,i){super(a,i),this.scheduler=a,this.work=i}requestAsyncId(a,i,n=0){return null!==n&&n>0?super.requestAsyncId(a,i,n):(a.actions.push(this),a._scheduled||(a._scheduled=E3.setImmediate(a.flush.bind(a,void 0))))}recycleAsyncId(a,i,n=0){var s;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(a,i,n);const{actions:l}=a;null!=i&&(null===(s=l[l.length-1])||void 0===s?void 0:s.id)!==i&&(E3.clearImmediate(i),a._scheduled===i&&(a._scheduled=void 0))}});function xv(r=0,a,i=Lve){let n=-1;return null!=a&&(fg(a)?i=a:n=a),new _n(s=>{let l=function Ebe(r){return r instanceof Date&&!isNaN(r)}(r)?+r-i.now():r;l<0&&(l=0);let d=0;return i.schedule(function(){s.closed||(s.next(d++),0<=n?this.schedule(void 0,n):s.complete())},l)})}function sX(r,a=WC){return function Tbe(r){return Cn((a,i)=>{let n=!1,s=null,l=null,d=!1;const p=()=>{if(l?.unsubscribe(),l=null,n){n=!1;const v=s;s=null,i.next(v)}d&&i.complete()},f=()=>{l=null,d&&i.complete()};a.subscribe(qt(i,v=>{n=!0,s=v,l||Ar(r(v)).subscribe(l=qt(i,p,f))},()=>{d=!0,(!n||!l||l.closed)&&i.complete()}))})}(()=>xv(r,a))}let aX=(()=>{class r{constructor(i,n,s){this._ngZone=i,this._platform=n,this._scrolled=new Ge,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(i){this.scrollContainers.has(i)||this.scrollContainers.set(i,i.elementScrolled().subscribe(()=>this._scrolled.next(i)))}deregister(i){const n=this.scrollContainers.get(i);n&&(n.unsubscribe(),this.scrollContainers.delete(i))}scrolled(i=20){return this._platform.isBrowser?new _n(n=>{this._globalSubscription||this._addGlobalListener();const s=i>0?this._scrolled.pipe(sX(i)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Dt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((i,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(i,n){const s=this.getAncestorScrollContainers(i);return this.scrolled(n).pipe(xi(l=>!l||s.indexOf(l)>-1))}getAncestorScrollContainers(i){const n=[];return this.scrollContainers.forEach((s,l)=>{this._scrollableContainsElement(l,i)&&n.push(l)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(i,n){let s=Op(n),l=i.getElementRef().nativeElement;do{if(s==l)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ri(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(n){return new(n||r)(De(et),De(Po),De(Tt,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Rm=(()=>{class r{constructor(i,n,s){this._platform=i,this._change=new Ge,this._changeListener=l=>{this._change.next(l)},this._document=s,n.runOutsideAngular(()=>{if(i.isBrowser){const l=this._getWindow();l.addEventListener("resize",this._changeListener),l.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const i=this._getWindow();i.removeEventListener("resize",this._changeListener),i.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const i={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),i}getViewportRect(){const i=this.getViewportScrollPosition(),{width:n,height:s}=this.getViewportSize();return{top:i.top,left:i.left,bottom:i.top+s,right:i.left+n,height:s,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const i=this._document,n=this._getWindow(),s=i.documentElement,l=s.getBoundingClientRect();return{top:-l.top||i.body.scrollTop||n.scrollY||s.scrollTop||0,left:-l.left||i.body.scrollLeft||n.scrollX||s.scrollLeft||0}}change(i=20){return i>0?this._change.pipe(sX(i)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const i=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:i.innerWidth,height:i.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(et),De(Tt,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),kv=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})(),Q6=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[YC,kv,YC,kv]})}return r})();function oI(r,a=!1){return Cn((i,n)=>{let s=0;i.subscribe(qt(n,l=>{const d=r(l,s++);(d||a)&&n.next(l),!d&&n.complete()}))})}class X6{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class QC extends X6{constructor(a,i,n,s,l){super(),this.component=a,this.viewContainerRef=i,this.injector=n,this.componentFactoryResolver=s,this.projectableNodes=l}}class XC extends X6{constructor(a,i,n,s){super(),this.templateRef=a,this.viewContainerRef=i,this.context=n,this.injector=s}get origin(){return this.templateRef.elementRef}attach(a,i=this.context){return this.context=i,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class Pbe extends X6{constructor(a){super(),this.element=a instanceof ke?a.nativeElement:a}}class Z6{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof QC?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof XC?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof Pbe?(this._attachedPortal=a,this.attachDomPortal(a)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Obe extends Z6{constructor(a,i,n,s,l){super(),this.outletElement=a,this._componentFactoryResolver=i,this._appRef=n,this._defaultInjector=s,this.attachDomPortal=d=>{const p=d.element,f=this._document.createComment("dom-portal");p.parentNode.insertBefore(f,p),this.outletElement.appendChild(p),this._attachedPortal=d,super.setDisposeFn(()=>{f.parentNode&&f.parentNode.replaceChild(p,f)})},this._document=l}attachComponentPortal(a){const n=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);let s;return a.viewContainerRef?(s=a.viewContainerRef.createComponent(n,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector,a.projectableNodes||void 0),this.setDisposeFn(()=>s.destroy())):(s=n.create(a.injector||this._defaultInjector||Jt.NULL),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=a,s}attachTemplatePortal(a){let i=a.viewContainerRef,n=i.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return n.rootNodes.forEach(s=>this.outletElement.appendChild(s)),n.detectChanges(),this.setDisposeFn(()=>{let s=i.indexOf(n);-1!==s&&i.remove(s)}),this._attachedPortal=a,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let ZC=(()=>{class r extends Z6{constructor(i,n,s){super(),this._componentFactoryResolver=i,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new X,this.attachDomPortal=l=>{const d=l.element,p=this._document.createComment("dom-portal");l.setAttachedHost(this),d.parentNode.insertBefore(p,d),this._getRootNode().appendChild(d),this._attachedPortal=l,super.setDisposeFn(()=>{p.parentNode&&p.parentNode.replaceChild(d,p)})},this._document=s}get portal(){return this._attachedPortal}set portal(i){this.hasAttached()&&!i&&!this._isInitialized||(this.hasAttached()&&super.detach(),i&&super.attach(i),this._attachedPortal=i||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(i){i.setAttachedHost(this);const n=null!=i.viewContainerRef?i.viewContainerRef:this._viewContainerRef,l=(i.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(i.component),d=n.createComponent(l,n.length,i.injector||n.injector,i.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]),super.setDisposeFn(()=>d.destroy()),this._attachedPortal=i,this._attachedRef=d,this.attached.emit(d),d}attachTemplatePortal(i){i.setAttachedHost(this);const n=this._viewContainerRef.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=i,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){const i=this._viewContainerRef.element.nativeElement;return i.nodeType===i.ELEMENT_NODE?i:i.parentNode}static#e=this.\u0275fac=function(n){return new(n||r)(T(Eu),T(ei),T(Tt))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ae]})}return r})(),Dv=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();const lX=Pve();class Fbe{constructor(a,i){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=rs(-this._previousScrollPosition.left),a.style.top=rs(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,n=a.style,s=this._document.body.style,l=n.scrollBehavior||"",d=s.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),lX&&(n.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),lX&&(n.scrollBehavior=l,s.scrollBehavior=d)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const i=this._document.body,n=this._viewportRuler.getViewportSize();return i.scrollHeight>n.height||i.scrollWidth>n.width}}class Nbe{constructor(a,i,n,s){this._scrollDispatcher=a,this._ngZone=i,this._viewportRuler=n,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0).pipe(xi(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class cX{enable(){}disable(){}attach(){}}function J6(r,a){return a.some(i=>r.bottomi.bottom||r.righti.right)}function dX(r,a){return a.some(i=>r.topi.bottom||r.lefti.right)}class Lbe{constructor(a,i,n,s){this._scrollDispatcher=a,this._viewportRuler=i,this._ngZone=n,this._config=s,this._scrollSubscription=null}attach(a){this._overlayRef=a}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:s}=this._viewportRuler.getViewportSize();J6(i,[{width:n,height:s,bottom:s,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let e8=(()=>{class r{constructor(i,n,s,l){this._scrollDispatcher=i,this._viewportRuler=n,this._ngZone=s,this.noop=()=>new cX,this.close=d=>new Nbe(this._scrollDispatcher,this._ngZone,this._viewportRuler,d),this.block=()=>new Fbe(this._viewportRuler,this._document),this.reposition=d=>new Lbe(this._scrollDispatcher,this._viewportRuler,this._ngZone,d),this._document=l}static#e=this.\u0275fac=function(n){return new(n||r)(De(aX),De(Rm),De(et),De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class JC{constructor(a){if(this.scrollStrategy=new cX,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const i=Object.keys(a);for(const n of i)void 0!==a[n]&&(this[n]=a[n])}}}class Bbe{constructor(a,i){this.connectionPair=a,this.scrollableViewProperties=i}}let uX=(()=>{class r{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){const n=this._attachedOverlays.indexOf(i);n>-1&&this._attachedOverlays.splice(n,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Vbe=(()=>{class r extends uX{constructor(i,n){super(i),this._ngZone=n,this._keydownListener=s=>{const l=this._attachedOverlays;for(let d=l.length-1;d>-1;d--)if(l[d]._keydownEvents.observers.length>0){const p=l[d]._keydownEvents;this._ngZone?this._ngZone.run(()=>p.next(s)):p.next(s);break}}}add(i){super.add(i),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(et,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),zbe=(()=>{class r extends uX{constructor(i,n,s){super(i),this._platform=n,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=l=>{this._pointerDownEventTarget=Np(l)},this._clickListener=l=>{const d=Np(l),p="click"===l.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:d;this._pointerDownEventTarget=null;const f=this._attachedOverlays.slice();for(let v=f.length-1;v>-1;v--){const D=f[v];if(D._outsidePointerEvents.observers.length<1||!D.hasAttached())continue;if(D.overlayElement.contains(d)||D.overlayElement.contains(p))break;const E=D._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>E.next(l)):E.next(l)}}}add(i){if(super.add(i),!this._isAttached){const n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(Po),De(et,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),M3=(()=>{class r{constructor(i,n){this._platform=n,this._document=i}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i="cdk-overlay-container";if(this._platform.isBrowser||L6()){const s=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let l=0;lthis._backdropClick.next(E),this._backdropTransitionendHandler=E=>{this._disposeBackdrop(E.target)},this._keydownEvents=new Ge,this._outsidePointerEvents=new Ge,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const i=this._portalOutlet.attach(a);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(An(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof i?.onDestroy&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){const a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,a&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config={...this._config,...a},this._updateElementSize()}setDirection(a){this._config={...this._config,direction:a},this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=rs(this._config.width),a.height=rs(this._config.height),a.minWidth=rs(this._config.minWidth),a.minHeight=rs(this._config.minHeight),a.maxWidth=rs(this._config.maxWidth),a.maxHeight=rs(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;if(a){if(this._animationsDisabled)return void this._disposeBackdrop(a);a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500))}}_toggleClasses(a,i,n){const s=f3(i||[]).filter(l=>!!l);s.length&&(n?a.classList.add(...s):a.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe(xe(rn(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const hX="cdk-overlay-connected-position-bounding-box",Hbe=/([A-Za-z%]+)$/;class pX{get positions(){return this._preferredPositions}constructor(a,i,n,s,l){this._viewportRuler=i,this._document=n,this._platform=s,this._overlayContainer=l,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ge,this._resizeSubscription=Ce.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(a)}attach(a){this._validatePositions(),a.hostElement.classList.add(hX),this._overlayRef=a,this._boundingBox=a.hostElement,this._pane=a.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const a=this._originRect,i=this._overlayRect,n=this._viewportRect,s=this._containerRect,l=[];let d;for(let p of this._preferredPositions){let f=this._getOriginPoint(a,s,p),v=this._getOverlayPoint(f,i,p),D=this._getOverlayFit(v,i,n,p);if(D.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(p,f);this._canFitWithFlexibleDimensions(D,v,n)?l.push({position:p,origin:f,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(f,p)}):(!d||d.overlayFit.visibleAreaf&&(f=D,p=v)}return this._isPushed=!1,void this._applyPosition(p.position,p.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(d.position,d.originPoint);this._applyPosition(d.position,d.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Av(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(hX),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._getOriginPoint(this._originRect,this._containerRect,a);this._applyPosition(a,i)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,i,n){let s,l;if("center"==n.originX)s=a.left+a.width/2;else{const d=this._isRtl()?a.right:a.left,p=this._isRtl()?a.left:a.right;s="start"==n.originX?d:p}return i.left<0&&(s-=i.left),l="center"==n.originY?a.top+a.height/2:"top"==n.originY?a.top:a.bottom,i.top<0&&(l-=i.top),{x:s,y:l}}_getOverlayPoint(a,i,n){let s,l;return s="center"==n.overlayX?-i.width/2:"start"===n.overlayX?this._isRtl()?-i.width:0:this._isRtl()?0:-i.width,l="center"==n.overlayY?-i.height/2:"top"==n.overlayY?0:-i.height,{x:a.x+s,y:a.y+l}}_getOverlayFit(a,i,n,s){const l=mX(i);let{x:d,y:p}=a,f=this._getOffset(s,"x"),v=this._getOffset(s,"y");f&&(d+=f),v&&(p+=v);let F=0-p,L=p+l.height-n.height,$=this._subtractOverflows(l.width,0-d,d+l.width-n.width),q=this._subtractOverflows(l.height,F,L),Z=$*q;return{visibleArea:Z,isCompletelyWithinViewport:l.width*l.height===Z,fitsInViewportVertically:q===l.height,fitsInViewportHorizontally:$==l.width}}_canFitWithFlexibleDimensions(a,i,n){if(this._hasFlexibleDimensions){const s=n.bottom-i.y,l=n.right-i.x,d=gX(this._overlayRef.getConfig().minHeight),p=gX(this._overlayRef.getConfig().minWidth);return(a.fitsInViewportVertically||null!=d&&d<=s)&&(a.fitsInViewportHorizontally||null!=p&&p<=l)}return!1}_pushOverlayOnScreen(a,i,n){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const s=mX(i),l=this._viewportRect,d=Math.max(a.x+s.width-l.width,0),p=Math.max(a.y+s.height-l.height,0),f=Math.max(l.top-n.top-a.y,0),v=Math.max(l.left-n.left-a.x,0);let D=0,E=0;return D=s.width<=l.width?v||-d:a.x$&&!this._isInitialRender&&!this._growAfterOpen&&(d=a.y-$/2)}if("end"===i.overlayX&&!s||"start"===i.overlayX&&s)F=n.width-a.x+this._viewportMargin,D=a.x-this._viewportMargin;else if("start"===i.overlayX&&!s||"end"===i.overlayX&&s)E=a.x,D=n.right-a.x;else{const L=Math.min(n.right-a.x+n.left,a.x),$=this._lastBoundingBoxSize.width;D=2*L,E=a.x-L,D>$&&!this._isInitialRender&&!this._growAfterOpen&&(E=a.x-$/2)}return{top:d,left:E,bottom:p,right:F,width:D,height:l}}_setBoundingBoxStyles(a,i){const n=this._calculateBoundingBoxRect(a,i);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const l=this._overlayRef.getConfig().maxHeight,d=this._overlayRef.getConfig().maxWidth;s.height=rs(n.height),s.top=rs(n.top),s.bottom=rs(n.bottom),s.width=rs(n.width),s.left=rs(n.left),s.right=rs(n.right),s.alignItems="center"===i.overlayX?"center":"end"===i.overlayX?"flex-end":"flex-start",s.justifyContent="center"===i.overlayY?"center":"bottom"===i.overlayY?"flex-end":"flex-start",l&&(s.maxHeight=rs(l)),d&&(s.maxWidth=rs(d))}this._lastBoundingBoxSize=n,Av(this._boundingBox.style,s)}_resetBoundingBoxStyles(){Av(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Av(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,i){const n={},s=this._hasExactPosition(),l=this._hasFlexibleDimensions,d=this._overlayRef.getConfig();if(s){const D=this._viewportRuler.getViewportScrollPosition();Av(n,this._getExactOverlayY(i,a,D)),Av(n,this._getExactOverlayX(i,a,D))}else n.position="static";let p="",f=this._getOffset(i,"x"),v=this._getOffset(i,"y");f&&(p+=`translateX(${f}px) `),v&&(p+=`translateY(${v}px)`),n.transform=p.trim(),d.maxHeight&&(s?n.maxHeight=rs(d.maxHeight):l&&(n.maxHeight="")),d.maxWidth&&(s?n.maxWidth=rs(d.maxWidth):l&&(n.maxWidth="")),Av(this._pane.style,n)}_getExactOverlayY(a,i,n){let s={top:"",bottom:""},l=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,n)),"bottom"===a.overlayY?s.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":s.top=rs(l.y),s}_getExactOverlayX(a,i,n){let d,s={left:"",right:""},l=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,n)),d=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===d?s.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":s.left=rs(l.x),s}_getScrollVisibility(){const a=this._getOriginRect(),i=this._pane.getBoundingClientRect(),n=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:dX(a,n),isOriginOutsideView:J6(a,n),isOverlayClipped:dX(i,n),isOverlayOutsideView:J6(i,n)}}_subtractOverflows(a,...i){return i.reduce((n,s)=>n-Math.max(s,0),a)}_getNarrowedViewportRect(){const a=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+a-this._viewportMargin,bottom:n.top+i-this._viewportMargin,width:a-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,i){return"x"===i?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&f3(a).forEach(i=>{""!==i&&-1===this._appliedPanelClasses.indexOf(i)&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof ke)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const i=a.width||0,n=a.height||0;return{top:a.y,bottom:a.y+n,left:a.x,right:a.x+i,height:n,width:i}}}function Av(r,a){for(let i in a)a.hasOwnProperty(i)&&(r[i]=a[i]);return r}function gX(r){if("number"!=typeof r&&null!=r){const[a,i]=r.split(Hbe);return i&&"px"!==i?null:parseFloat(a)}return r||null}function mX(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}const fX="cdk-global-overlay-wrapper";class Gbe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(a){const i=a.getConfig();this._overlayRef=a,this._width&&!i.width&&a.updateSize({width:this._width}),this._height&&!i.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(fX),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._xOffset=a,this._xPosition="left",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._xOffset=a,this._xPosition="right",this}start(a=""){return this._xOffset=a,this._xPosition="start",this}end(a=""){return this._xOffset=a,this._xPosition="end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._xPosition="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:s,height:l,maxWidth:d,maxHeight:p}=n,f=!("100%"!==s&&"100vw"!==s||d&&"100%"!==d&&"100vw"!==d),v=!("100%"!==l&&"100vh"!==l||p&&"100%"!==p&&"100vh"!==p),D=this._xPosition,E=this._xOffset,F="rtl"===this._overlayRef.getConfig().direction;let L="",$="",q="";f?q="flex-start":"center"===D?(q="center",F?$=E:L=E):F?"left"===D||"end"===D?(q="flex-end",L=E):("right"===D||"start"===D)&&(q="flex-start",$=E):"left"===D||"start"===D?(q="flex-start",L=E):("right"===D||"end"===D)&&(q="flex-end",$=E),a.position=this._cssPosition,a.marginLeft=f?"0":L,a.marginTop=v?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=f?"0":$,i.justifyContent=q,i.alignItems=v?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,n=i.style;i.classList.remove(fX),n.justifyContent=n.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let jbe=(()=>{class r{constructor(i,n,s,l){this._viewportRuler=i,this._document=n,this._platform=s,this._overlayContainer=l}global(){return new Gbe}flexibleConnectedTo(i){return new pX(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Rm),De(Tt),De(Po),De(M3))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),$be=0,_a=(()=>{class r{constructor(i,n,s,l,d,p,f,v,D,E,F,L){this.scrollStrategies=i,this._overlayContainer=n,this._componentFactoryResolver=s,this._positionBuilder=l,this._keyboardDispatcher=d,this._injector=p,this._ngZone=f,this._document=v,this._directionality=D,this._location=E,this._outsideClickDispatcher=F,this._animationsModuleType=L}create(i){const n=this._createHostElement(),s=this._createPaneElement(n),l=this._createPortalOutlet(s),d=new JC(i);return d.direction=d.direction||this._directionality.value,new rI(l,n,s,d,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(i){const n=this._document.createElement("div");return n.id="cdk-overlay-"+$be++,n.classList.add("cdk-overlay-pane"),i.appendChild(n),n}_createHostElement(){const i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(qd)),new Obe(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(n){return new(n||r)(De(e8),De(M3),De(Eu),De(jbe),De(Vbe),De(Jt),De(et),De(Tt),De(Yr),De(Gu),De(zbe),De(Eo,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Ube=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],_X=new $e("cdk-connected-overlay-scroll-strategy");let t8=(()=>{class r{constructor(i){this.elementRef=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return r})(),vX=(()=>{class r{get offsetX(){return this._offsetX}set offsetX(i){this._offsetX=i,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(i){this._offsetY=i,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(i){this._hasBackdrop=Et(i)}get lockPosition(){return this._lockPosition}set lockPosition(i){this._lockPosition=Et(i)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(i){this._flexibleDimensions=Et(i)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(i){this._growAfterOpen=Et(i)}get push(){return this._push}set push(i){this._push=Et(i)}constructor(i,n,s,l,d){this._overlay=i,this._dir=d,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ce.EMPTY,this._attachSubscription=Ce.EMPTY,this._detachSubscription=Ce.EMPTY,this._positionSubscription=Ce.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new X,this.positionChange=new X,this.attach=new X,this.detach=new X,this.overlayKeydown=new X,this.overlayOutsideClick=new X,this._templatePortal=new XC(n,s),this._scrollStrategyFactory=l,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(i){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),i.origin&&this.open&&this._position.apply()),i.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ube);const i=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=i.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=i.detachments().subscribe(()=>this.detach.emit()),i.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),27===n.keyCode&&!this.disableClose&&!Nr(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){const i=this._position=this.positionStrategy||this._createPositionStrategy(),n=new JC({direction:this._dir,positionStrategy:i,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(n.width=this.width),(this.height||0===this.height)&&(n.height=this.height),(this.minWidth||0===this.minWidth)&&(n.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(i){const n=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return i.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const i=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(i),i}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof t8?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(i=>{this.backdropClick.emit(i)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(oI(()=>this.positionChange.observers.length>0)).subscribe(i=>{this.positionChange.emit(i),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)(T(_a),T(je),T(ei),T(_X),T(Yr,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ci]})}return r})();const qbe={provide:_X,deps:[_a],useFactory:function Wbe(r){return()=>r.scrollStrategies.reposition()}};let Pm=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[_a,qbe],imports:[YC,Dv,Q6,Q6]})}return r})();const Kbe=["text"];function Ybe(r,a){if(1&r&&Q(0,"mat-pseudo-checkbox",6),2&r){const i=S();x("disabled",i.disabled)("state",i.selected?"checked":"unchecked")}}function Qbe(r,a){1&r&&Q(0,"mat-pseudo-checkbox",7),2&r&&x("disabled",S().disabled)}function Xbe(r,a){if(1&r&&(C(0,"span",8),P(1),k()),2&r){const i=S();y(1),me("(",i.group.label,")")}}const Zbe=[[["mat-icon"]],"*"],Jbe=["mat-icon","*"];let eye=(()=>{class r{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#i=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#n=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return r})(),tye=(()=>{class r{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#i=this.EXITING="195ms"}return r})();const nye=new $e("mat-sanity-checks",{providedIn:"root",factory:function iye(){return!0}});let Ai=(()=>{class r{constructor(i,n,s){this._sanityChecks=n,this._document=s,this._hasDoneGlobalChecks=!1,i._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(i){return!L6()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[i])}static#e=this.\u0275fac=function(n){return new(n||r)(De(nX),De(nye,8),De(Tt))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[YC,YC]})}return r})();function Vp(r){return class extends r{get disabled(){return this._disabled}set disabled(a){this._disabled=Et(a)}constructor(...a){super(...a),this._disabled=!1}}}function Iv(r,a){return class extends r{get color(){return this._color}set color(i){const n=i||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...i){super(...i),this.defaultColor=a,this.color=a}}}function Om(r){return class extends r{get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=Et(a)}constructor(...a){super(...a),this._disableRipple=!1}}}function Sv(r,a=0){return class extends r{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(i){this._tabIndex=null!=i?Ba(i):this.defaultTabIndex}constructor(...i){super(...i),this._tabIndex=a,this.defaultTabIndex=a}}}function i8(r){return class extends r{updateErrorState(){const a=this.errorState,l=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);l!==a&&(this.errorState=l,this.stateChanges.next())}constructor(...a){super(...a),this.errorState=!1}}}function CX(r){return class extends r{constructor(...a){super(...a),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new _n(i=>{this._isInitialized?this._notifySubscriber(i):this._pendingSubscribers.push(i)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(a){a.next(),a.complete()}}}const wX=new $e("MAT_DATE_LOCALE",{providedIn:"root",factory:function oye(){return st(Ho)}});class va{constructor(){this._localeChanges=new Ge,this.localeChanges=this._localeChanges}getValidDateOrNull(a){return this.isDateInstance(a)&&this.isValid(a)?a:null}deserialize(a){return null==a||this.isDateInstance(a)&&this.isValid(a)?a:this.invalid()}setLocale(a){this.locale=a,this._localeChanges.next()}compareDate(a,i){return this.getYear(a)-this.getYear(i)||this.getMonth(a)-this.getMonth(i)||this.getDate(a)-this.getDate(i)}sameDate(a,i){if(a&&i){let n=this.isValid(a),s=this.isValid(i);return n&&s?!this.compareDate(a,i):n==s}return a==i}clampDate(a,i,n){return i&&this.compareDate(a,i)<0?i:n&&this.compareDate(a,n)>0?n:a}}const Tv=new $e("mat-date-formats"),rye=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function n8(r,a){const i=Array(r);for(let n=0;n{class r extends va{constructor(i,n){super(),this.useUtcForDisplay=!1,super.setLocale(i)}getYear(i){return i.getFullYear()}getMonth(i){return i.getMonth()}getDate(i){return i.getDate()}getDayOfWeek(i){return i.getDay()}getMonthNames(i){const n=new Intl.DateTimeFormat(this.locale,{month:i,timeZone:"utc"});return n8(12,s=>this._format(n,new Date(2017,s,1)))}getDateNames(){const i=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return n8(31,n=>this._format(i,new Date(2017,0,n+1)))}getDayOfWeekNames(i){const n=new Intl.DateTimeFormat(this.locale,{weekday:i,timeZone:"utc"});return n8(7,s=>this._format(n,new Date(2017,0,s+1)))}getYearName(i){const n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,i)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(i){return this.getDate(this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+1,0))}clone(i){return new Date(i.getTime())}createDate(i,n,s){let l=this._createDateWithOverflow(i,n,s);return l.getMonth(),l}today(){return new Date}parse(i,n){return"number"==typeof i?new Date(i):i?new Date(Date.parse(i)):null}format(i,n){if(!this.isValid(i))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,{...n,timeZone:"utc"});return this._format(s,i)}addCalendarYears(i,n){return this.addCalendarMonths(i,12*n)}addCalendarMonths(i,n){let s=this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+n,this.getDate(i));return this.getMonth(s)!=((this.getMonth(i)+n)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(i,n){return this._createDateWithOverflow(this.getYear(i),this.getMonth(i),this.getDate(i)+n)}toIso8601(i){return[i.getUTCFullYear(),this._2digit(i.getUTCMonth()+1),this._2digit(i.getUTCDate())].join("-")}deserialize(i){if("string"==typeof i){if(!i)return null;if(rye.test(i)){let n=new Date(i);if(this.isValid(n))return n}}return super.deserialize(i)}isDateInstance(i){return i instanceof Date}isValid(i){return!isNaN(i.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(i,n,s){const l=new Date;return l.setFullYear(i,n,s),l.setHours(0,0,0,0),l}_2digit(i){return("00"+i).slice(-2)}_format(i,n){const s=new Date;return s.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),s.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),i.format(s)}static#e=this.\u0275fac=function(n){return new(n||r)(De(wX,8),De(Po))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const aye={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let lye=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[{provide:va,useClass:sye}]})}return r})(),cye=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[{provide:Tv,useValue:aye}],imports:[lye]})}return r})(),Ev=(()=>{class r{isErrorState(i,n){return!!(i&&i.invalid&&(i.touched||n&&n.submitted))}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),o8=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})}return r})(),xX=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Ai]})}return r})();class dye{constructor(a,i,n,s=!1){this._renderer=a,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=s,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const kX=eu({passive:!0,capture:!0});class uye{constructor(){this._events=new Map,this._delegateEventHandler=a=>{const i=Np(a);i&&this._events.get(a.type)?.forEach((n,s)=>{(s===i||s.contains(i))&&n.forEach(l=>l.handleEvent(a))})}}addHandler(a,i,n,s){const l=this._events.get(i);if(l){const d=l.get(n);d?d.add(s):l.set(n,new Set([s]))}else this._events.set(i,new Map([[n,new Set([s])]])),a.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,kX)})}removeHandler(a,i,n){const s=this._events.get(a);if(!s)return;const l=s.get(i);l&&(l.delete(n),0===l.size&&s.delete(i),0===s.size&&(this._events.delete(a),document.removeEventListener(a,this._delegateEventHandler,kX)))}}const DX={enterDuration:225,exitDuration:150},AX=eu({passive:!0,capture:!0}),IX=["mousedown","touchstart"],SX=["mouseup","mouseleave","touchend","touchcancel"];class R3{static#e=this._eventManager=new uye;constructor(a,i,n,s){this._target=a,this._ngZone=i,this._platform=s,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Op(n))}fadeInRipple(a,i,n={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l={...DX,...n.animation};n.centered&&(a=s.left+s.width/2,i=s.top+s.height/2);const d=n.radius||function pye(r,a,i){const n=Math.max(Math.abs(r-i.left),Math.abs(r-i.right)),s=Math.max(Math.abs(a-i.top),Math.abs(a-i.bottom));return Math.sqrt(n*n+s*s)}(a,i,s),p=a-s.left,f=i-s.top,v=l.enterDuration,D=document.createElement("div");D.classList.add("mat-ripple-element"),D.style.left=p-d+"px",D.style.top=f-d+"px",D.style.height=2*d+"px",D.style.width=2*d+"px",null!=n.color&&(D.style.backgroundColor=n.color),D.style.transitionDuration=`${v}ms`,this._containerElement.appendChild(D);const E=window.getComputedStyle(D),L=E.transitionDuration,$="none"===E.transitionProperty||"0s"===L||"0s, 0s"===L||0===s.width&&0===s.height,q=new dye(this,D,n,$);D.style.transform="scale3d(1, 1, 1)",q.state=0,n.persistent||(this._mostRecentTransientRipple=q);let Z=null;return!$&&(v||l.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const se=()=>this._finishRippleTransition(q),ue=()=>this._destroyRipple(q);D.addEventListener("transitionend",se),D.addEventListener("transitioncancel",ue),Z={onTransitionEnd:se,onTransitionCancel:ue}}),this._activeRipples.set(q,Z),($||!v)&&this._finishRippleTransition(q),q}fadeOutRipple(a){if(2===a.state||3===a.state)return;const i=a.element,n={...DX,...a.config.animation};i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",a.state=2,(a._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(a)}fadeOutAll(){this._getActiveRipples().forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const i=Op(a);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,IX.forEach(n=>{R3._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{SX.forEach(i=>{this._triggerElement.addEventListener(i,this,AX)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(a){0===a.state?this._startFadeOutTransition(a):2===a.state&&this._destroyRipple(a)}_startFadeOutTransition(a){const i=a===this._mostRecentTransientRipple,{persistent:n}=a.config;a.state=1,!n&&(!i||!this._isPointerDown)&&a.fadeOut()}_destroyRipple(a){const i=this._activeRipples.get(a)??null;this._activeRipples.delete(a),this._activeRipples.size||(this._containerRect=null),a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),a.state=3,null!==i&&(a.element.removeEventListener("transitionend",i.onTransitionEnd),a.element.removeEventListener("transitioncancel",i.onTransitionCancel)),a.element.remove()}_onMousedown(a){const i=U6(a),n=this._lastTouchStartEvent&&Date.now(){!a.config.persistent&&(1===a.state||a.config.terminateOnPointerUp&&0===a.state)&&a.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const a=this._triggerElement;a&&(IX.forEach(i=>R3._eventManager.removeHandler(i,a,this)),this._pointerUpEventsRegistered&&SX.forEach(i=>a.removeEventListener(i,this,AX)))}}const ew=new $e("mat-ripple-global-options");let zp=(()=>{class r{get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}constructor(i,n,s,l,d){this._elementRef=i,this._animationMode=d,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new R3(this,n,i,s)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(i,n=0,s){return"number"==typeof i?this._rippleRenderer.fadeInRipple(i,n,{...this.rippleConfig,...s}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...i})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et),T(Po),T(ew,8),T(Eo,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mat-ripple-unbounded",s.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return r})(),Hp=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Ai]})}return r})(),gye=(()=>{class r{constructor(i){this._animationMode=i,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(n){return new(n||r)(T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,s){2&n&&Se("mat-pseudo-checkbox-indeterminate","indeterminate"===s.state)("mat-pseudo-checkbox-checked","checked"===s.state)("mat-pseudo-checkbox-disabled",s.disabled)("mat-pseudo-checkbox-minimal","minimal"===s.appearance)("mat-pseudo-checkbox-full","full"===s.appearance)("_mat-animation-noopable","NoopAnimations"===s._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,s){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return r})(),mye=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai]})}return r})();const r8=new $e("MAT_OPTION_PARENT_COMPONENT"),s8=new $e("MatOptgroup");let fye=0;class TX{constructor(a,i=!1){this.source=a,this.isUserInput=i}}let _ye=(()=>{class r{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(i){this._disabled=Et(i)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(i,n,s,l){this._element=i,this._changeDetectorRef=n,this._parent=s,this.group=l,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+fye++,this.onSelectionChange=new X,this._stateChanges=new Ge}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(i=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}deselect(i=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}focus(i,n){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(i){(13===i.keyCode||32===i.keyCode)&&!Nr(i)&&(this._selectViaInteraction(),i.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const i=this.viewValue;i!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=i)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(i=!1){this.onSelectionChange.emit(new TX(this,i))}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&oe(Kbe,7),2&n){let l;G(l=j())&&(s._text=l.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return r})(),Fm=(()=>{class r extends _ye{constructor(i,n,s,l){super(i,n,s,l)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(r8,8),T(s8,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,s){1&n&&B("click",function(){return s._selectViaInteraction()})("keydown",function(d){return s._handleKeydown(d)}),2&n&&(ur("id",s.id),ge("aria-selected",s.selected)("aria-disabled",s.disabled.toString()),Se("mdc-list-item--selected",s.selected)("mat-mdc-option-multiple",s.multiple)("mat-mdc-option-active",s.active)("mdc-list-item--disabled",s.disabled))},exportAs:["matOption"],features:[Ae],ngContentSelectors:Jbe,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(n,s){1&n&&(pt(Zbe),I(0,Ybe,1,2,"mat-pseudo-checkbox",0),Ie(1),C(2,"span",1,2),Ie(4,1),k(),I(5,Qbe,1,1,"mat-pseudo-checkbox",3),I(6,Xbe,2,1,"span",4),Q(7,"div",5)),2&n&&(x("ngIf",s.multiple),y(5),x("ngIf",!s.multiple&&s.selected&&!s.hideSingleSelectionIndicator),y(1),x("ngIf",s.group&&s.group._inert),y(1),x("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disabled||s.disableRipple))},dependencies:[zp,Qe,gye],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return r})();function EX(r,a,i){if(i.length){let n=a.toArray(),s=i.toArray(),l=0;for(let d=0;di+n?Math.max(0,r-n+a):i}let P3=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Hp,Gs,Ai,mye]})}return r})();const RX={capture:!0},PX=["focus","click","mouseenter","touchstart"],a8="mat-ripple-loader-uninitialized",l8="mat-ripple-loader-class-name",OX="mat-ripple-loader-centered",O3="mat-ripple-loader-disabled";let FX=(()=>{class r{constructor(){this._document=st(Tt,{optional:!0}),this._animationMode=st(Eo,{optional:!0}),this._globalRippleOptions=st(ew,{optional:!0}),this._platform=st(Po),this._ngZone=st(et),this._onInteraction=i=>{if(!(i.target instanceof HTMLElement))return;const s=i.target.closest(`[${a8}]`);s&&this.createRipple(s)},this._ngZone.runOutsideAngular(()=>{for(const i of PX)this._document?.addEventListener(i,this._onInteraction,RX)})}ngOnDestroy(){for(const i of PX)this._document?.removeEventListener(i,this._onInteraction,RX)}configureRipple(i,n){i.setAttribute(a8,""),(n.className||!i.hasAttribute(l8))&&i.setAttribute(l8,n.className||""),n.centered&&i.setAttribute(OX,""),n.disabled&&i.setAttribute(O3,"")}getRipple(i){return i.matRipple?i.matRipple:this.createRipple(i)}setDisabled(i,n){const s=i.matRipple;s?s.disabled=n:n?i.setAttribute(O3,""):i.removeAttribute(O3)}createRipple(i){if(!this._document)return;i.querySelector(".mat-ripple")?.remove();const n=this._document.createElement("span");n.classList.add("mat-ripple",i.getAttribute(l8)),i.append(n);const s=new zp(new ke(n),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=i,s.centered=i.hasAttribute(OX),s.disabled=i.hasAttribute(O3),this.attachRipple(i,s),s}attachRipple(i,n){i.removeAttribute(a8),i.matRipple=n}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const vye=["tooltip"],NX=new $e("mat-tooltip-scroll-strategy"),Cye={provide:NX,deps:[_a],useFactory:function yye(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},xye=new $e("mat-tooltip-default-options",{providedIn:"root",factory:function wye(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),LX="tooltip-panel",BX=eu({passive:!0});let Tye=(()=>{class r{get position(){return this._position}set position(i){i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(i){this._positionAtOrigin=Et(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(i){this._showDelay=Ba(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=Ba(i),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(i){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=i?String(i).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(i,n,s,l,d,p,f,v,D,E,F,L){this._overlay=i,this._elementRef=n,this._scrollDispatcher=s,this._viewContainerRef=l,this._ngZone=d,this._platform=p,this._ariaDescriber=f,this._focusMonitor=v,this._dir=E,this._defaultOptions=F,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ge,this._scrollStrategy=D,this._document=L,F&&(this._showDelay=F.showDelay,this._hideDelay=F.hideDelay,F.position&&(this.position=F.position),F.positionAtOrigin&&(this.positionAtOrigin=F.positionAtOrigin),F.touchGestures&&(this.touchGestures=F.touchGestures)),E.change.pipe(xe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(xe(this._destroyed)).subscribe(i=>{i?"keyboard"===i&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const i=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,s])=>{i.removeEventListener(n,s,BX)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}show(i=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const s=this._createOverlay(n);this._detach(),this._portal=this._portal||new QC(this._tooltipComponent,this._viewContainerRef);const l=this._tooltipInstance=s.attach(this._portal).instance;l._triggerElement=this._elementRef.nativeElement,l._mouseLeaveHideDelay=this._hideDelay,l.afterHidden().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),l.show(i)}hide(i=this.hideDelay){const n=this._tooltipInstance;n&&(n.isVisible()?n.hide(i):(n._cancelPendingAnimations(),this._detach()))}toggle(i){this._isTooltipVisible()?this.hide():this.show(void 0,i)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(i){if(this._overlayRef){const l=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!i)&&l._origin instanceof ke)return this._overlayRef;this._detach()}const n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),s=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&i||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return s.positionChanges.pipe(xe(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:s,panelClass:`${this._cssClassPrefix}-${LX}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(xe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(xe(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&27===l.keyCode&&!Nr(l)&&(l.preventDefault(),l.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(i){const n=i.getConfig().positionStrategy,s=this._getOrigin(),l=this._getOverlayPosition();n.withPositions([this._addOffset({...s.main,...l.main}),this._addOffset({...s.fallback,...l.fallback})])}_addOffset(i){return i}_getOrigin(){const i=!this._dir||"ltr"==this._dir.value,n=this.position;let s;"above"==n||"below"==n?s={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&i||"right"==n&&!i?s={originX:"start",originY:"center"}:("after"==n||"right"==n&&i||"left"==n&&!i)&&(s={originX:"end",originY:"center"});const{x:l,y:d}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:l,originY:d}}}_getOverlayPosition(){const i=!this._dir||"ltr"==this._dir.value,n=this.position;let s;"above"==n?s={overlayX:"center",overlayY:"bottom"}:"below"==n?s={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&i||"right"==n&&!i?s={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&i||"left"==n&&!i)&&(s={overlayX:"start",overlayY:"center"});const{x:l,y:d}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:l,overlayY:d}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(An(1),xe(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}_invertPosition(i,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===i?i="start":"start"===i&&(i="end"),{x:i,y:n}}_updateCurrentPositionClass(i){const{overlayY:n,originX:s,originY:l}=i;let d;if(d="center"===n?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===n&&"top"===l?"above":"below",d!==this._currentPosition){const p=this._overlayRef;if(p){const f=`${this._cssClassPrefix}-${LX}-`;p.removePanelClass(f+this._currentPosition),p.addPanelClass(f+d)}this._currentPosition=d}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",i=>{let n;this._setupPointerExitEventsIfNeeded(),void 0!==i.x&&void 0!==i.y&&(n=i),this.show(void 0,n)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",i=>{const n=i.targetTouches?.[0],s=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,s),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",n=>{const s=n.relatedTarget;(!s||!this._overlayRef?.overlayElement.contains(s))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};i.push(["touchend",n],["touchcancel",n])}this._addListeners(i),this._passiveListeners.push(...i)}_addListeners(i){i.forEach(([n,s])=>{this._elementRef.nativeElement.addEventListener(n,s,BX)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){const n=this._document.elementFromPoint(i.clientX,i.clientY),s=this._elementRef.nativeElement;n!==s&&!s.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){const i=this.touchGestures;if("off"!==i){const n=this._elementRef.nativeElement,s=n.style;("on"===i||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===i||!n.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return r})(),er=(()=>{class r extends Tye{constructor(i,n,s,l,d,p,f,v,D,E,F,L){super(i,n,s,l,d,p,f,v,D,E,F,L),this._tooltipComponent=Mye,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(i){const s=!this._dir||"ltr"==this._dir.value;return"top"===i.originY?i.offsetY=-8:"bottom"===i.originY?i.offsetY=8:"start"===i.originX?i.offsetX=s?-8:8:"end"===i.originX&&(i.offsetX=s?8:-8),i}static#e=this.\u0275fac=function(n){return new(n||r)(T(_a),T(ke),T(aX),T(ei),T(et),T(Po),T(KQ),T(al),T(NX),T(Yr,8),T(xye,8),T(Tt))};static#t=this.\u0275dir=re({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mat-mdc-tooltip-disabled",s.disabled)},exportAs:["matTooltip"],features:[Ae]})}return r})(),Eye=(()=>{class r{constructor(i,n){this._changeDetectorRef=i,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ge,this._animationsDisabled="NoopAnimations"===n}show(i){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},i)}hide(i){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},i)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:i}){(!i||!this._triggerElement.contains(i))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:i}){(i===this._showAnimation||i===this._hideAnimation)&&this._finalizeAnimation(i===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(i){i?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(i){const n=this._tooltip.nativeElement,s=this._showAnimation,l=this._hideAnimation;if(n.classList.remove(i?l:s),n.classList.add(i?s:l),this._isVisible=i,i&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const d=getComputedStyle(n);("0s"===d.getPropertyValue("animation-duration")||"none"===d.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}i&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(i))}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(Eo,8))};static#t=this.\u0275dir=re({type:r})}return r})(),Mye=(()=>{class r extends Eye{constructor(i,n,s){super(i,s),this._elementRef=n,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const i=this._elementRef.nativeElement.getBoundingClientRect();return i.height>24&&i.width>=200}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-tooltip-component"]],viewQuery:function(n,s){if(1&n&&oe(vye,7),2&n){let l;G(l=j())&&(s._tooltip=l.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(n,s){1&n&&B("mouseleave",function(d){return s._handleMouseLeave(d)}),2&n&&Pe("zoom",s.isVisible()?1:null)},features:[Ae],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(n,s){1&n&&(C(0,"div",0,1),B("animationend",function(d){return s._handleAnimationEnd(d)}),C(2,"div",2),P(3),k()()),2&n&&(Se("mdc-tooltip--multiline",s._isMultiline),x("ngClass",s.tooltipClass),y(3),_e(s.message))},dependencies:[Xt],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return r})(),c8=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[Cye],imports:[iI,Gs,Pm,Ai,Ai,kv]})}return r})();function VX(r,a,i,n,s,l,d){try{var p=r[l](d),f=p.value}catch(v){return void i(v)}p.done?a(f):Promise.resolve(f).then(n,s)}function qi(r){return function(){var a=this,i=arguments;return new Promise(function(n,s){var l=r.apply(a,i);function d(f){VX(l,n,s,d,p,"next",f)}function p(f){VX(l,n,s,d,p,"throw",f)}d(void 0)})}}function zX(...r){const a=cy(r),{args:i,keys:n}=QK(r),s=new _n(l=>{const{length:d}=i;if(!d)return void l.complete();const p=new Array(d);let f=d,v=d;for(let D=0;D{E||(E=!0,v--),p[D]=F},()=>f--,void 0,()=>{(!f||!E)&&(v||l.next(n?XK(n,p):p),l.complete())}))}});return a?s.pipe(i6(a)):s}let HX=(()=>{class r{constructor(i,n){this._renderer=i,this._elementRef=n,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(i,n){this._renderer.setProperty(this._elementRef.nativeElement,i,n)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(Ui),T(ke))};static#t=this.\u0275dir=re({type:r})}return r})(),Mv=(()=>{class r extends HX{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,features:[Ae]})}return r})();const Yn=new $e("NgValueAccessor"),Pye={provide:Yn,useExisting:J(()=>Sn),multi:!0},Fye=new $e("CompositionEventMode");let Sn=(()=>{class r extends HX{constructor(i,n,s){super(i,n),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Oye(){const r=Ip()?Ip().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}())}writeValue(i){this.setProperty("value",i??"")}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(Ui),T(ke),T(Fye,8))};static#t=this.\u0275dir=re({type:r,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,s){1&n&&B("input",function(d){return s._handleInput(d.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(d){return s._compositionEnd(d.target.value)})},features:[Ye([Pye]),Ae]})}return r})();function Nm(r){return null==r||("string"==typeof r||Array.isArray(r))&&0===r.length}function jX(r){return null!=r&&"number"==typeof r.length}const io=new $e("NgValidators"),Lm=new $e("NgAsyncValidators"),Nye=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Nt{static min(a){return $X(a)}static max(a){return UX(a)}static required(a){return WX(a)}static requiredTrue(a){return function qX(r){return!0===r.value?null:{required:!0}}(a)}static email(a){return KX(a)}static minLength(a){return YX(a)}static maxLength(a){return QX(a)}static pattern(a){return XX(a)}static nullValidator(a){return null}static compose(a){return nZ(a)}static composeAsync(a){return oZ(a)}}function $X(r){return a=>{if(Nm(a.value)||Nm(r))return null;const i=parseFloat(a.value);return!isNaN(i)&&i{if(Nm(a.value)||Nm(r))return null;const i=parseFloat(a.value);return!isNaN(i)&&i>r?{max:{max:r,actual:a.value}}:null}}function WX(r){return Nm(r.value)?{required:!0}:null}function KX(r){return Nm(r.value)||Nye.test(r.value)?null:{email:!0}}function YX(r){return a=>Nm(a.value)||!jX(a.value)?null:a.value.lengthjX(a.value)&&a.value.length>r?{maxlength:{requiredLength:r,actualLength:a.value.length}}:null}function XX(r){if(!r)return F3;let a,i;return"string"==typeof r?(i="","^"!==r.charAt(0)&&(i+="^"),i+=r,"$"!==r.charAt(r.length-1)&&(i+="$"),a=new RegExp(i)):(i=r.toString(),a=r),n=>{if(Nm(n.value))return null;const s=n.value;return a.test(s)?null:{pattern:{requiredPattern:i,actualValue:s}}}}function F3(r){return null}function ZX(r){return null!=r}function JX(r){return ev(r)?wn(r):r}function eZ(r){let a={};return r.forEach(i=>{a=null!=i?{...a,...i}:a}),0===Object.keys(a).length?null:a}function tZ(r,a){return a.map(i=>i(r))}function iZ(r){return r.map(a=>function Lye(r){return!r.validate}(a)?a:i=>a.validate(i))}function nZ(r){if(!r)return null;const a=r.filter(ZX);return 0==a.length?null:function(i){return eZ(tZ(i,a))}}function d8(r){return null!=r?nZ(iZ(r)):null}function oZ(r){if(!r)return null;const a=r.filter(ZX);return 0==a.length?null:function(i){return zX(tZ(i,a).map(JX)).pipe(Rt(eZ))}}function u8(r){return null!=r?oZ(iZ(r)):null}function rZ(r,a){return null===r?[a]:Array.isArray(r)?[...r,a]:[r,a]}function sZ(r){return r._rawValidators}function aZ(r){return r._rawAsyncValidators}function h8(r){return r?Array.isArray(r)?r:[r]:[]}function N3(r,a){return Array.isArray(r)?r.includes(a):r===a}function lZ(r,a){const i=h8(a);return h8(r).forEach(s=>{N3(i,s)||i.push(s)}),i}function cZ(r,a){return h8(a).filter(i=>!N3(r,i))}class dZ{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(a){this._rawValidators=a||[],this._composedValidatorFn=d8(this._rawValidators)}_setAsyncValidators(a){this._rawAsyncValidators=a||[],this._composedAsyncValidatorFn=u8(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(a){this._onDestroyCallbacks.push(a)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(a=>a()),this._onDestroyCallbacks=[]}reset(a=void 0){this.control&&this.control.reset(a)}hasError(a,i){return!!this.control&&this.control.hasError(a,i)}getError(a,i){return this.control?this.control.getError(a,i):null}}class ll extends dZ{get formDirective(){return null}get path(){return null}}class ws extends dZ{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class uZ{constructor(a){this._cd=a}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let gn=(()=>{class r extends uZ{constructor(i){super(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ws,2))};static#t=this.\u0275dir=re({type:r,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,s){2&n&&Se("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[Ae]})}return r})(),Qr=(()=>{class r extends uZ{constructor(i){super(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ll,10))};static#t=this.\u0275dir=re({type:r,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,s){2&n&&Se("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[Ae]})}return r})();const aI="VALID",B3="INVALID",tw="PENDING",lI="DISABLED";function m8(r){return(V3(r)?r.validators:r)||null}function f8(r,a){return(V3(a)?a.asyncValidators:r)||null}function V3(r){return null!=r&&!Array.isArray(r)&&"object"==typeof r}function pZ(r,a,i){const n=r.controls;if(!(a?Object.keys(n):n).length)throw new Be(1e3,"");if(!n[i])throw new Be(1001,"")}function gZ(r,a,i){r._forEachChild((n,s)=>{if(void 0===i[s])throw new Be(1002,"")})}class z3{constructor(a,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(a),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(a){this._rawValidators=this._composedValidatorFn=a}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}get parent(){return this._parent}get valid(){return this.status===aI}get invalid(){return this.status===B3}get pending(){return this.status==tw}get disabled(){return this.status===lI}get enabled(){return this.status!==lI}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(a){this._assignValidators(a)}setAsyncValidators(a){this._assignAsyncValidators(a)}addValidators(a){this.setValidators(lZ(a,this._rawValidators))}addAsyncValidators(a){this.setAsyncValidators(lZ(a,this._rawAsyncValidators))}removeValidators(a){this.setValidators(cZ(a,this._rawValidators))}removeAsyncValidators(a){this.setAsyncValidators(cZ(a,this._rawAsyncValidators))}hasValidator(a){return N3(this._rawValidators,a)}hasAsyncValidator(a){return N3(this._rawAsyncValidators,a)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(a={}){this.touched=!0,this._parent&&!a.onlySelf&&this._parent.markAsTouched(a)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(a=>a.markAllAsTouched())}markAsUntouched(a={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}markAsDirty(a={}){this.pristine=!1,this._parent&&!a.onlySelf&&this._parent.markAsDirty(a)}markAsPristine(a={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}markAsPending(a={}){this.status=tw,!1!==a.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!a.onlySelf&&this._parent.markAsPending(a)}disable(a={}){const i=this._parentMarkedDirty(a.onlySelf);this.status=lI,this.errors=null,this._forEachChild(n=>{n.disable({...a,onlySelf:!0})}),this._updateValue(),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...a,skipPristineCheck:i}),this._onDisabledChange.forEach(n=>n(!0))}enable(a={}){const i=this._parentMarkedDirty(a.onlySelf);this.status=aI,this._forEachChild(n=>{n.enable({...a,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent}),this._updateAncestors({...a,skipPristineCheck:i}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(a){this._parent&&!a.onlySelf&&(this._parent.updateValueAndValidity(a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(a){this._parent=a}getRawValue(){return this.value}updateValueAndValidity(a={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===aI||this.status===tw)&&this._runAsyncValidator(a.emitEvent)),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.updateValueAndValidity(a)}_updateTreeValidity(a={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(a)),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lI:aI}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(a){if(this.asyncValidator){this.status=tw,this._hasOwnPendingAsyncValidator=!0;const i=JX(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:a})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(a,i={}){this.errors=a,this._updateControlsErrors(!1!==i.emitEvent)}get(a){let i=a;return null==i||(Array.isArray(i)||(i=i.split(".")),0===i.length)?null:i.reduce((n,s)=>n&&n._find(s),this)}getError(a,i){const n=i?this.get(i):this;return n&&n.errors?n.errors[a]:null}hasError(a,i){return!!this.getError(a,i)}get root(){let a=this;for(;a._parent;)a=a._parent;return a}_updateControlsErrors(a){this.status=this._calculateStatus(),a&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(a)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?lI:this.errors?B3:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(tw)?tw:this._anyControlsHaveStatus(B3)?B3:aI}_anyControlsHaveStatus(a){return this._anyControls(i=>i.status===a)}_anyControlsDirty(){return this._anyControls(a=>a.dirty)}_anyControlsTouched(){return this._anyControls(a=>a.touched)}_updatePristine(a={}){this.pristine=!this._anyControlsDirty(),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}_updateTouched(a={}){this.touched=this._anyControlsTouched(),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}_registerOnCollectionChange(a){this._onCollectionChange=a}_setUpdateStrategy(a){V3(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)}_parentMarkedDirty(a){return!a&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(a){return null}_assignValidators(a){this._rawValidators=Array.isArray(a)?a.slice():a,this._composedValidatorFn=function Hye(r){return Array.isArray(r)?d8(r):r||null}(this._rawValidators)}_assignAsyncValidators(a){this._rawAsyncValidators=Array.isArray(a)?a.slice():a,this._composedAsyncValidatorFn=function Gye(r){return Array.isArray(r)?u8(r):r||null}(this._rawAsyncValidators)}}class Rv extends z3{constructor(a,i,n){super(m8(i),f8(n,i)),this.controls=a,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(a,i){return this.controls[a]?this.controls[a]:(this.controls[a]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(a,i,n={}){this.registerControl(a,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(a,i={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(a,i,n={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],i&&this.registerControl(a,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}setValue(a,i={}){gZ(this,0,a),Object.keys(a).forEach(n=>{pZ(this,!0,n),this.controls[n].setValue(a[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(a,i={}){null!=a&&(Object.keys(a).forEach(n=>{const s=this.controls[n];s&&s.patchValue(a[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(a={},i={}){this._forEachChild((n,s)=>{n.reset(a?a[s]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(a,i,n)=>(a[n]=i.getRawValue(),a))}_syncPendingControls(){let a=this._reduceChildren(!1,(i,n)=>!!n._syncPendingControls()||i);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){Object.keys(this.controls).forEach(i=>{const n=this.controls[i];n&&a(n,i)})}_setUpControls(){this._forEachChild(a=>{a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(a){for(const[i,n]of Object.entries(this.controls))if(this.contains(i)&&a(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(i,n,s)=>((n.enabled||this.disabled)&&(i[s]=n.value),i))}_reduceChildren(a,i){let n=a;return this._forEachChild((s,l)=>{n=i(n,s,l)}),n}_allControlsDisabled(){for(const a of Object.keys(this.controls))if(this.controls[a].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null}}class mZ extends Rv{}const Pv=new $e("CallSetDisabledState",{providedIn:"root",factory:()=>cI}),cI="always";function H3(r,a){return[...a.path,r]}function dI(r,a,i=cI){_8(r,a),a.valueAccessor.writeValue(r.value),(r.disabled||"always"===i)&&a.valueAccessor.setDisabledState?.(r.disabled),function $ye(r,a){a.valueAccessor.registerOnChange(i=>{r._pendingValue=i,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&fZ(r,a)})}(r,a),function Wye(r,a){const i=(n,s)=>{a.valueAccessor.writeValue(n),s&&a.viewToModelUpdate(n)};r.registerOnChange(i),a._registerOnDestroy(()=>{r._unregisterOnChange(i)})}(r,a),function Uye(r,a){a.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,"blur"===r.updateOn&&r._pendingChange&&fZ(r,a),"submit"!==r.updateOn&&r.markAsTouched()})}(r,a),function jye(r,a){if(a.valueAccessor.setDisabledState){const i=n=>{a.valueAccessor.setDisabledState(n)};r.registerOnDisabledChange(i),a._registerOnDestroy(()=>{r._unregisterOnDisabledChange(i)})}}(r,a)}function G3(r,a,i=!0){const n=()=>{};a.valueAccessor&&(a.valueAccessor.registerOnChange(n),a.valueAccessor.registerOnTouched(n)),$3(r,a),r&&(a._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function j3(r,a){r.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(a)})}function _8(r,a){const i=sZ(r);null!==a.validator?r.setValidators(rZ(i,a.validator)):"function"==typeof i&&r.setValidators([i]);const n=aZ(r);null!==a.asyncValidator?r.setAsyncValidators(rZ(n,a.asyncValidator)):"function"==typeof n&&r.setAsyncValidators([n]);const s=()=>r.updateValueAndValidity();j3(a._rawValidators,s),j3(a._rawAsyncValidators,s)}function $3(r,a){let i=!1;if(null!==r){if(null!==a.validator){const s=sZ(r);if(Array.isArray(s)&&s.length>0){const l=s.filter(d=>d!==a.validator);l.length!==s.length&&(i=!0,r.setValidators(l))}}if(null!==a.asyncValidator){const s=aZ(r);if(Array.isArray(s)&&s.length>0){const l=s.filter(d=>d!==a.asyncValidator);l.length!==s.length&&(i=!0,r.setAsyncValidators(l))}}}const n=()=>{};return j3(a._rawValidators,n),j3(a._rawAsyncValidators,n),i}function fZ(r,a){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function _Z(r,a){_8(r,a)}function b8(r,a){if(!r.hasOwnProperty("model"))return!1;const i=r.model;return!!i.isFirstChange()||!Object.is(a,i.currentValue)}function vZ(r,a){r._syncPendingControls(),a.forEach(i=>{const n=i.control;"submit"===n.updateOn&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function y8(r,a){if(!a)return null;let i,n,s;return Array.isArray(a),a.forEach(l=>{l.constructor===Sn?i=l:function Yye(r){return Object.getPrototypeOf(r.constructor)===Mv}(l)?n=l:s=l}),s||n||i||null}const Xye={provide:ll,useExisting:J(()=>iw)},uI=(()=>Promise.resolve())();let iw=(()=>{class r extends ll{constructor(i,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new X,this.form=new Rv({},d8(i),u8(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){uI.then(()=>{const n=this._findContainer(i.path);i.control=n.registerControl(i.name,i.control),dI(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){uI.then(()=>{const n=this._findContainer(i.path);n&&n.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){uI.then(()=>{const n=this._findContainer(i.path),s=new Rv({});_Z(s,i),n.registerControl(i.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){uI.then(()=>{const n=this._findContainer(i.path);n&&n.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,n){uI.then(()=>{this.form.get(i.path).setValue(n)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,vZ(this.form,this._directives),this.ngSubmit.emit(i),"dialog"===i?.target?.method}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}static#e=this.\u0275fac=function(n){return new(n||r)(T(io,10),T(Lm,10),T(Pv,8))};static#t=this.\u0275dir=re({type:r,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,s){1&n&&B("submit",function(d){return s.onSubmit(d)})("reset",function(){return s.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ye([Xye]),Ae]})}return r})();function bZ(r,a){const i=r.indexOf(a);i>-1&&r.splice(i,1)}function yZ(r){return"object"==typeof r&&null!==r&&2===Object.keys(r).length&&"value"in r&&"disabled"in r}const Hl=class extends z3{constructor(a=null,i,n){super(m8(i),f8(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(a),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V3(i)&&(i.nonNullable||i.initialValueIsDefault)&&(this.defaultValue=yZ(a)?a.value:a)}setValue(a,i={}){this.value=this._pendingValue=a,this._onChange.length&&!1!==i.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==i.emitViewToModelChange)),this.updateValueAndValidity(i)}patchValue(a,i={}){this.setValue(a,i)}reset(a=this.defaultValue,i={}){this._applyFormState(a),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(a){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(a){this._onChange.push(a)}_unregisterOnChange(a){bZ(this._onChange,a)}registerOnDisabledChange(a){this._onDisabledChange.push(a)}_unregisterOnDisabledChange(a){bZ(this._onDisabledChange,a)}_forEachChild(a){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(a){yZ(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}},e0e={provide:ws,useExisting:J(()=>ss)},xZ=(()=>Promise.resolve())();let ss=(()=>{class r extends ws{constructor(i,n,s,l,d,p){super(),this._changeDetectorRef=d,this.callSetDisabledState=p,this.control=new Hl,this._registered=!1,this.name="",this.update=new X,this._parent=i,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=y8(0,l)}ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){const n=i.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),b8(i,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){dI(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(i){xZ.then(()=>{this.control.setValue(i,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(i){const n=i.isDisabled.currentValue,s=0!==n&&gC(n);xZ.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(i){return this._parent?H3(i,this._parent):[i]}static#e=this.\u0275fac=function(n){return new(n||r)(T(ll,9),T(io,10),T(Lm,10),T(Yn,10),T(rt,8),T(Pv,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ye([e0e]),Ae,ci]})}return r})(),cl=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return r})();let kZ=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();const C8=new $e("NgModelWithFormControlWarning"),r0e={provide:ws,useExisting:J(()=>tu)};let tu=(()=>{class r extends ws{set isDisabled(i){}static#e=this._ngModelWarningSentOnce=!1;constructor(i,n,s,l,d){super(),this._ngModelWarningConfig=l,this.callSetDisabledState=d,this.update=new X,this._ngModelWarningSent=!1,this._setValidators(i),this._setAsyncValidators(n),this.valueAccessor=y8(0,s)}ngOnChanges(i){if(this._isControlChanged(i)){const n=i.form.previousValue;n&&G3(n,this,!1),dI(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}b8(i,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&G3(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_isControlChanged(i){return i.hasOwnProperty("form")}static#t=this.\u0275fac=function(n){return new(n||r)(T(io,10),T(Lm,10),T(Yn,10),T(C8,8),T(Pv,8))};static#i=this.\u0275dir=re({type:r,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ye([r0e]),Ae,ci]})}return r})();const s0e={provide:ll,useExisting:J(()=>jo)};let jo=(()=>{class r extends ll{constructor(i,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new X,this._setValidators(i),this._setAsyncValidators(n)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&($3(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){const n=this.form.get(i.path);return dI(n,i,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),n}getControl(i){return this.form.get(i.path)}removeControl(i){G3(i.control||null,i,!1),function Qye(r,a){const i=r.indexOf(a);i>-1&&r.splice(i,1)}(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,n){this.form.get(i.path).setValue(n)}onSubmit(i){return this.submitted=!0,vZ(this.form,this.directives),this.ngSubmit.emit(i),"dialog"===i?.target?.method}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{const n=i.control,s=this.form.get(i.path);n!==s&&(G3(n||null,i),(r=>r instanceof Hl)(s)&&(dI(s,i,this.callSetDisabledState),i.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){const n=this.form.get(i.path);_Z(n,i),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){const n=this.form.get(i.path);n&&function qye(r,a){return $3(r,a)}(n,i)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){_8(this.form,this),this._oldForm&&$3(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(n){return new(n||r)(T(io,10),T(Lm,10),T(Pv,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","formGroup",""]],hostBindings:function(n,s){1&n&&B("submit",function(d){return s.onSubmit(d)})("reset",function(){return s.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ye([s0e]),Ae,ci]})}return r})();const c0e={provide:ws,useExisting:J(()=>ba)};let ba=(()=>{class r extends ws{set isDisabled(i){}static#e=this._ngModelWarningSentOnce=!1;constructor(i,n,s,l,d){super(),this._ngModelWarningConfig=d,this._added=!1,this.name=null,this.update=new X,this._ngModelWarningSent=!1,this._parent=i,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=y8(0,l)}ngOnChanges(i){this._added||this._setUpControl(),b8(i,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}get path(){return H3(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(n){return new(n||r)(T(ll,13),T(io,10),T(Lm,10),T(Yn,10),T(C8,8))};static#i=this.\u0275dir=re({type:r,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ye([c0e]),Ae,ci]})}return r})();const d0e={provide:Yn,useExisting:J(()=>k8),multi:!0};function SZ(r,a){return null==r?`${a}`:(a&&"object"==typeof a&&(a="Object"),`${r}: ${a}`.slice(0,50))}let k8=(()=>{class r extends Mv{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(i){this._compareWith=i}writeValue(i){this.value=i;const s=SZ(this._getOptionId(i),i);this.setProperty("value",s)}registerOnChange(i){this.onChange=n=>{this.value=this._getOptionValue(n),i(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(i){for(const n of this._optionMap.keys())if(this._compareWith(this._optionMap.get(n),i))return n;return null}_getOptionValue(i){const n=function u0e(r){return r.split(":")[0]}(i);return this._optionMap.has(n)?this._optionMap.get(n):i}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(n,s){1&n&&B("change",function(d){return s.onChange(d.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ye([d0e]),Ae]})}return r})(),TZ=(()=>{class r{constructor(i,n,s){this._element=i,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(i){null!=this._select&&(this._select._optionMap.set(this.id,i),this._setElementValue(SZ(this.id,i)),this._select.writeValue(this._select.value))}set value(i){this._setElementValue(i),this._select&&this._select.writeValue(this._select.value)}_setElementValue(i){this._renderer.setProperty(this._element.nativeElement,"value",i)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Ui),T(k8,9))};static#t=this.\u0275dir=re({type:r,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return r})();const h0e={provide:Yn,useExisting:J(()=>D8),multi:!0};function EZ(r,a){return null==r?`${a}`:("string"==typeof a&&(a=`'${a}'`),a&&"object"==typeof a&&(a="Object"),`${r}: ${a}`.slice(0,50))}let D8=(()=>{class r extends Mv{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(i){this._compareWith=i}writeValue(i){let n;if(this.value=i,Array.isArray(i)){const s=i.map(l=>this._getOptionId(l));n=(l,d)=>{l._setSelected(s.indexOf(d.toString())>-1)}}else n=(s,l)=>{s._setSelected(!1)};this._optionMap.forEach(n)}registerOnChange(i){this.onChange=n=>{const s=[],l=n.selectedOptions;if(void 0!==l){const d=l;for(let p=0;p{class r{constructor(i,n,s){this._element=i,this._renderer=n,this._select=s,this._select&&(this.id=this._select._registerOption(this))}set ngValue(i){null!=this._select&&(this._value=i,this._setElementValue(EZ(this.id,i)),this._select.writeValue(this._select.value))}set value(i){this._select?(this._value=i,this._setElementValue(EZ(this.id,i)),this._select.writeValue(this._select.value)):this._setElementValue(i)}_setElementValue(i){this._renderer.setProperty(this._element.nativeElement,"value",i)}_setSelected(i){this._renderer.setProperty(this._element.nativeElement,"selected",i)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Ui),T(D8,9))};static#t=this.\u0275dir=re({type:r,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return r})();let Ov=(()=>{class r{constructor(){this._validator=F3}ngOnChanges(i){if(this.inputName in i){const n=this.normalizeInput(i[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):F3,this._onChange&&this._onChange()}}validate(i){return this._validator(i)}registerOnValidatorChange(i){this._onChange=i}enabled(i){return null!=i}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,features:[ci]})}return r})();const f0e={provide:io,useExisting:J(()=>vc),multi:!0};let vc=(()=>{class r extends Ov{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=gC,this.createValidator=i=>WX}enabled(i){return i}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,s){2&n&&ge("required",s._enabled?"":null)},inputs:{required:"required"},features:[Ye([f0e]),Ae]})}return r})();let OZ=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[kZ]})}return r})();class FZ extends z3{constructor(a,i,n){super(m8(i),f8(n,i)),this.controls=a,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(a){return this.controls[this._adjustIndex(a)]}push(a,i={}){this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}insert(a,i,n={}){this.controls.splice(a,0,i),this._registerControl(i),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(a,i={}){let n=this._adjustIndex(a);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:i.emitEvent})}setControl(a,i,n={}){let s=this._adjustIndex(a);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),i&&(this.controls.splice(s,0,i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(a,i={}){gZ(this,0,a),a.forEach((n,s)=>{pZ(this,!1,s),this.at(s).setValue(n,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(a,i={}){null!=a&&(a.forEach((n,s)=>{this.at(s)&&this.at(s).patchValue(n,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(a=[],i={}){this._forEachChild((n,s)=>{n.reset(a[s],{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this.controls.map(a=>a.getRawValue())}clear(a={}){this.controls.length<1||(this._forEachChild(i=>i._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}_adjustIndex(a){return a<0?a+this.length:a}_syncPendingControls(){let a=this.controls.reduce((i,n)=>!!n._syncPendingControls()||i,!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){this.controls.forEach((i,n)=>{a(i,n)})}_updateValue(){this.value=this.controls.filter(a=>a.enabled||this.disabled).map(a=>a.value)}_anyControls(a){return this.controls.some(i=>i.enabled&&a(i))}_setUpControls(){this._forEachChild(a=>this._registerControl(a))}_allControlsDisabled(){for(const a of this.controls)if(a.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}_find(a){return this.at(a)??null}}function NZ(r){return!!r&&(void 0!==r.asyncValidators||void 0!==r.validators||void 0!==r.updateOn)}let za=(()=>{class r{constructor(){this.useNonNullable=!1}get nonNullable(){const i=new r;return i.useNonNullable=!0,i}group(i,n=null){const s=this._reduceControls(i);let l={};return NZ(n)?l=n:null!==n&&(l.validators=n.validator,l.asyncValidators=n.asyncValidator),new Rv(s,l)}record(i,n=null){const s=this._reduceControls(i);return new mZ(s,n)}control(i,n,s){let l={};return this.useNonNullable?(NZ(n)?l=n:(l.validators=n,l.asyncValidators=s),new Hl(i,{...l,nonNullable:!0})):new Hl(i,n,s)}array(i,n,s){const l=i.map(d=>this._createControl(d));return new FZ(l,n,s)}_reduceControls(i){const n={};return Object.keys(i).forEach(s=>{n[s]=this._createControl(i[s])}),n}_createControl(i){return i instanceof Hl||i instanceof z3?i:Array.isArray(i)?this.control(i[0],i.length>1?i[1]:null,i.length>2?i[2]:null):this.control(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Zu=(()=>{class r{static withConfig(i){return{ngModule:r,providers:[{provide:Pv,useValue:i.callSetDisabledState??cI}]}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[OZ]})}return r})(),ow=(()=>{class r{static withConfig(i){return{ngModule:r,providers:[{provide:C8,useValue:i.warnOnNgModelWithFormControl??"always"},{provide:Pv,useValue:i.callSetDisabledState??cI}]}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[OZ]})}return r})();class x0e extends Ge{constructor(a=1/0,i=1/0,n=V6){super(),this._bufferSize=a,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,i)}next(a){const{isStopped:i,_buffer:n,_infiniteTimeWindow:s,_timestampProvider:l,_windowTime:d}=this;i||(n.push(a),!s&&n.push(l.now()+d)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const i=this._innerSubscribe(a),{_infiniteTimeWindow:n,_buffer:s}=this,l=s.slice();for(let d=0;dnew x0e(n,a,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}const W3=function I0e(r,a){return r===a||r!=r&&a!=a},q3=function S0e(r,a){for(var i=r.length;i--;)if(W3(r[i][0],a))return i;return-1};var E0e=Array.prototype.splice;function rw(r){var a=-1,i=null==r?0:r.length;for(this.clear();++a-1},rw.prototype.set=function L0e(r,a){var i=this.__data__,n=q3(i,r);return n<0?(++this.size,i.push([r,a])):i[n][1]=a,this};const K3=rw,BZ="object"==typeof global&&global&&global.Object===Object&&global;var K0e="object"==typeof self&&self&&self.Object===Object&&self;const iu=BZ||K0e||Function("return this")(),sw=iu.Symbol;var VZ=Object.prototype,X0e=VZ.hasOwnProperty,Z0e=VZ.toString,gI=sw?sw.toStringTag:void 0;var iCe=Object.prototype.toString;var zZ=sw?sw.toStringTag:void 0;const Fv=function aCe(r){return null==r?void 0===r?"[object Undefined]":"[object Null]":zZ&&zZ in Object(r)?function J0e(r){var a=X0e.call(r,gI),i=r[gI];try{r[gI]=void 0;var n=!0}catch{}var s=Z0e.call(r);return n&&(a?r[gI]=i:delete r[gI]),s}(r):function nCe(r){return iCe.call(r)}(r)},td=function lCe(r){var a=typeof r;return null!=r&&("object"==a||"function"==a)},P8=function pCe(r){if(!td(r))return!1;var a=Fv(r);return"[object Function]"==a||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a};var r,gCe=iu["__core-js_shared__"],HZ=(r=/[^.]+$/.exec(gCe&&gCe.keys&&gCe.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";var vCe=Function.prototype.toString;const Nv=function bCe(r){if(null!=r){try{return vCe.call(r)}catch{}try{return r+""}catch{}}return""};var CCe=/^\[object .+?Constructor\]$/,ACe=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const SCe=function ICe(r){return!(!td(r)||function mCe(r){return!!HZ&&HZ in r}(r))&&(P8(r)?ACe:CCe).test(Nv(r))},Lv=function MCe(r,a){var i=function TCe(r,a){return r?.[a]}(r,a);return SCe(i)?i:void 0},mI=Lv(iu,"Map"),fI=Lv(Object,"create");var zCe=Object.prototype.hasOwnProperty;var $Ce=Object.prototype.hasOwnProperty;function aw(r){var a=-1,i=null==r?0:r.length;for(this.clear();++a-1&&r%1==0&&r<=9007199254740991},X3=function Hwe(r){return null!=r&&nJ(r.length)&&!P8(r)};var oJ="object"==typeof exports&&exports&&!exports.nodeType&&exports,rJ=oJ&&"object"==typeof module&&module&&!module.nodeType&&module,sJ=rJ&&rJ.exports===oJ?iu.Buffer:void 0;const H8=(sJ?sJ.isBuffer:void 0)||function $we(){return!1};var aJ=Function.prototype.toString,Zwe=Object.prototype.hasOwnProperty,Jwe=aJ.call(Object);const lJ=function exe(r){if(!Gp(r)||"[object Object]"!=Fv(r))return!1;var a=B8(r);if(null===a)return!0;var i=Zwe.call(a,"constructor")&&a.constructor;return"function"==typeof i&&i instanceof i&&aJ.call(i)==Jwe};var tr={};tr["[object Float32Array]"]=tr["[object Float64Array]"]=tr["[object Int8Array]"]=tr["[object Int16Array]"]=tr["[object Int32Array]"]=tr["[object Uint8Array]"]=tr["[object Uint8ClampedArray]"]=tr["[object Uint16Array]"]=tr["[object Uint32Array]"]=!0,tr["[object Arguments]"]=tr["[object Array]"]=tr["[object ArrayBuffer]"]=tr["[object Boolean]"]=tr["[object DataView]"]=tr["[object Date]"]=tr["[object Error]"]=tr["[object Function]"]=tr["[object Map]"]=tr["[object Number]"]=tr["[object Object]"]=tr["[object RegExp]"]=tr["[object Set]"]=tr["[object String]"]=tr["[object WeakMap]"]=!1;const G8=function Ixe(r){return function(a){return r(a)}};var cJ="object"==typeof exports&&exports&&!exports.nodeType&&exports,vI=cJ&&"object"==typeof module&&module&&!module.nodeType&&module,j8=vI&&vI.exports===cJ&&BZ.process;const dw=function(){try{return vI&&vI.require&&vI.require("util").types||j8&&j8.binding&&j8.binding("util")}catch{}}();var dJ=dw&&dw.isTypedArray;const uJ=dJ?G8(dJ):function Dxe(r){return Gp(r)&&nJ(r.length)&&!!tr[Fv(r)]},$8=function Mxe(r,a){if(("constructor"!==a||"function"!=typeof r[a])&&"__proto__"!=a)return r[a]};var Pxe=Object.prototype.hasOwnProperty;const hJ=function Oxe(r,a,i){var n=r[a];(!Pxe.call(r,a)||!W3(n,i)||void 0===i&&!(a in r))&&F8(r,a,i)},bI=function Fxe(r,a,i,n){var s=!i;i||(i={});for(var l=-1,d=a.length;++l-1&&r%1==0&&r0){if(++a>=800)return arguments[0]}else a=0;return r.apply(void 0,arguments)}}(c1e);const f1e=m1e,v1e=function _1e(r,a){return f1e(function r1e(r,a,i){return a=_J(void 0===a?r.length-1:a,0),function(){for(var n=arguments,s=-1,l=_J(n.length-a,0),d=Array(l);++s1?i[s-1]:void 0,d=s>2?i[2]:void 0;for(l=r.length>3&&"function"==typeof l?(s--,l):void 0,d&&function b1e(r,a,i){if(!td(i))return!1;var n=typeof a;return!!("number"==n?X3(i)&&pJ(a,i.length):"string"==n&&a in i)&&W3(i[a],r)}(i[0],i[1],d)&&(l=s<3?void 0:l,s=1),a=Object(a);++n>>1|(21845&ir)<<1;wI[ir]=((65280&(Bm=(61680&(Bm=(52428&Bm)>>>2|(13107&Bm)<<2))>>>4|(3855&Bm)<<4))>>>8|(255&Bm)<<8)>>>1}var Vm=new bo(288);for(ir=0;ir<144;++ir)Vm[ir]=8;for(ir=144;ir<256;++ir)Vm[ir]=9;for(ir=256;ir<280;++ir)Vm[ir]=7;for(ir=280;ir<288;++ir)Vm[ir]=8;var xI=new bo(32);for(ir=0;ir<32;++ir)xI[ir]=5;var sF=new bo(0);var i7=typeof TextDecoder<"u"&&new TextDecoder;try{i7.decode(sF,{stream:!0})}catch{}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout;const mF=window,s7=mF.ShadowRoot&&(void 0===mF.ShadyCSS||mF.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a7=Symbol(),ZJ=new WeakMap;class JJ{constructor(a,i,n){if(this._$cssResult$=!0,n!==a7)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=a,this.t=i}get styleSheet(){let a=this.o;const i=this.t;if(s7&&void 0===a){const n=void 0!==i&&1===i.length;n&&(a=ZJ.get(i)),void 0===a&&((this.o=a=new CSSStyleSheet).replaceSync(this.cssText),n&&ZJ.set(i,a))}return a}toString(){return this.cssText}}const eee=r=>new JJ("string"==typeof r?r:r+"",void 0,a7),tee=s7?r=>r:r=>r instanceof CSSStyleSheet?(a=>{let i="";for(const n of a.cssRules)i+=n.cssText;return eee(i)})(r):r;var l7;const fF=window,iee=fF.trustedTypes,sAe=iee?iee.emptyScript:"",nee=fF.reactiveElementPolyfillSupport,c7={toAttribute(r,a){switch(a){case Boolean:r=r?sAe:null;break;case Object:case Array:r=null==r?r:JSON.stringify(r)}return r},fromAttribute(r,a){let i=r;switch(a){case Boolean:i=null!==r;break;case Number:i=null===r?null:Number(r);break;case Object:case Array:try{i=JSON.parse(r)}catch{i=null}}return i}},oee=(r,a)=>a!==r&&(a==a||r==r),d7={attribute:!0,type:String,converter:c7,reflect:!1,hasChanged:oee},u7="finalized";class _w extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(a){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(a)}static get observedAttributes(){this.finalize();const a=[];return this.elementProperties.forEach((i,n)=>{const s=this._$Ep(n,i);void 0!==s&&(this._$Ev.set(s,n),a.push(s))}),a}static createProperty(a,i=d7){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(a,i),!i.noAccessor&&!this.prototype.hasOwnProperty(a)){const n="symbol"==typeof a?Symbol():"__"+a,s=this.getPropertyDescriptor(a,n,i);void 0!==s&&Object.defineProperty(this.prototype,a,s)}}static getPropertyDescriptor(a,i,n){return{get(){return this[i]},set(s){const l=this[a];this[i]=s,this.requestUpdate(a,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(a){return this.elementProperties.get(a)||d7}static finalize(){if(this.hasOwnProperty(u7))return!1;this[u7]=!0;const a=Object.getPrototypeOf(this);if(a.finalize(),void 0!==a.h&&(this.h=[...a.h]),this.elementProperties=new Map(a.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const i=this.properties,n=[...Object.getOwnPropertyNames(i),...Object.getOwnPropertySymbols(i)];for(const s of n)this.createProperty(s,i[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(a){const i=[];if(Array.isArray(a)){const n=new Set(a.flat(1/0).reverse());for(const s of n)i.unshift(tee(s))}else void 0!==a&&i.push(tee(a));return i}static _$Ep(a,i){const n=i.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof a?a.toLowerCase():void 0}_$Eu(){var a;this._$E_=new Promise(i=>this.enableUpdating=i),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(a=this.constructor.h)||void 0===a||a.forEach(i=>i(this))}addController(a){var i,n;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(a),void 0!==this.renderRoot&&this.isConnected&&(null===(n=a.hostConnected)||void 0===n||n.call(a))}removeController(a){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(a)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((a,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])})}createRenderRoot(){var a;const i=null!==(a=this.shadowRoot)&&void 0!==a?a:this.attachShadow(this.constructor.shadowRootOptions);return((r,a)=>{s7?r.adoptedStyleSheets=a.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet):a.forEach(i=>{const n=document.createElement("style"),s=mF.litNonce;void 0!==s&&n.setAttribute("nonce",s),n.textContent=i.cssText,r.appendChild(n)})})(i,this.constructor.elementStyles),i}connectedCallback(){var a;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(a=this._$ES)||void 0===a||a.forEach(i=>{var n;return null===(n=i.hostConnected)||void 0===n?void 0:n.call(i)})}enableUpdating(a){}disconnectedCallback(){var a;null===(a=this._$ES)||void 0===a||a.forEach(i=>{var n;return null===(n=i.hostDisconnected)||void 0===n?void 0:n.call(i)})}attributeChangedCallback(a,i,n){this._$AK(a,n)}_$EO(a,i,n=d7){var s;const l=this.constructor._$Ep(a,n);if(void 0!==l&&!0===n.reflect){const d=(void 0!==(null===(s=n.converter)||void 0===s?void 0:s.toAttribute)?n.converter:c7).toAttribute(i,n.type);this._$El=a,null==d?this.removeAttribute(l):this.setAttribute(l,d),this._$El=null}}_$AK(a,i){var n;const s=this.constructor,l=s._$Ev.get(a);if(void 0!==l&&this._$El!==l){const d=s.getPropertyOptions(l),p="function"==typeof d.converter?{fromAttribute:d.converter}:void 0!==(null===(n=d.converter)||void 0===n?void 0:n.fromAttribute)?d.converter:c7;this._$El=l,this[l]=p.fromAttribute(i,d.type),this._$El=null}}requestUpdate(a,i,n){let s=!0;void 0!==a&&(((n=n||this.constructor.getPropertyOptions(a)).hasChanged||oee)(this[a],i)?(this._$AL.has(a)||this._$AL.set(a,i),!0===n.reflect&&this._$El!==a&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(a,n))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}_$Ej(){var a=this;return qi(function*(){a.isUpdatePending=!0;try{yield a._$E_}catch(n){Promise.reject(n)}const i=a.scheduleUpdate();return null!=i&&(yield i),!a.isUpdatePending})()}scheduleUpdate(){return this.performUpdate()}performUpdate(){var a;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach((s,l)=>this[l]=s),this._$Ei=void 0);let i=!1;const n=this._$AL;try{i=this.shouldUpdate(n),i?(this.willUpdate(n),null===(a=this._$ES)||void 0===a||a.forEach(s=>{var l;return null===(l=s.hostUpdate)||void 0===l?void 0:l.call(s)}),this.update(n)):this._$Ek()}catch(s){throw i=!1,this._$Ek(),s}i&&this._$AE(n)}willUpdate(a){}_$AE(a){var i;null===(i=this._$ES)||void 0===i||i.forEach(n=>{var s;return null===(s=n.hostUpdated)||void 0===s?void 0:s.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(a)),this.updated(a)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(a){return!0}update(a){void 0!==this._$EC&&(this._$EC.forEach((i,n)=>this._$EO(n,this[n],i)),this._$EC=void 0),this._$Ek()}updated(a){}firstUpdated(a){}}var h7;_w[u7]=!0,_w.elementProperties=new Map,_w.elementStyles=[],_w.shadowRootOptions={mode:"open"},nee?.({ReactiveElement:_w}),(null!==(l7=fF.reactiveElementVersions)&&void 0!==l7?l7:fF.reactiveElementVersions=[]).push("1.6.3");const _F=window,vw=_F.trustedTypes,ree=vw?vw.createPolicy("lit-html",{createHTML:r=>r}):void 0,vF="$lit$",jp=`lit$${(Math.random()+"").slice(9)}$`,p7="?"+jp,aAe=`<${p7}>`,zv=document,II=()=>zv.createComment(""),SI=r=>null===r||"object"!=typeof r&&"function"!=typeof r,see=Array.isArray,g7="[ \t\n\f\r]",TI=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lee=/-->/g,cee=/>/g,Hv=RegExp(`>|${g7}(?:([^\\s"'>=/]+)(${g7}*=${g7}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),dee=/'/g,uee=/"/g,hee=/^(?:script|style|textarea|title)$/i,pee=r=>(a,...i)=>({_$litType$:r,strings:a,values:i}),lAe=pee(1),Gv=(pee(2),Symbol.for("lit-noChange")),as=Symbol.for("lit-nothing"),gee=new WeakMap,jv=zv.createTreeWalker(zv,129,null,!1);function mee(r,a){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==ree?ree.createHTML(a):a}class EI{constructor({strings:a,_$litType$:i},n){let s;this.parts=[];let l=0,d=0;const p=a.length-1,f=this.parts,[v,D]=((r,a)=>{const i=r.length-1,n=[];let s,l=2===a?"":"",d=TI;for(let p=0;p"===D[0]?(d=s??TI,E=-1):void 0===D[1]?E=-2:(E=d.lastIndex-D[2].length,v=D[1],d=void 0===D[3]?Hv:'"'===D[3]?uee:dee):d===uee||d===dee?d=Hv:d===lee||d===cee?d=TI:(d=Hv,s=void 0);const L=d===Hv&&r[p+1].startsWith("/>")?" ":"";l+=d===TI?f+aAe:E>=0?(n.push(v),f.slice(0,E)+vF+f.slice(E)+jp+L):f+jp+(-2===E?(n.push(void 0),p):L)}return[mee(r,l+(r[i]||"")+(2===a?"":"")),n]})(a,i);if(this.el=EI.createElement(v,n),jv.currentNode=this.el.content,2===i){const E=this.el.content,F=E.firstChild;F.remove(),E.append(...F.childNodes)}for(;null!==(s=jv.nextNode())&&f.length0){s.textContent=vw?vw.emptyScript:"";for(let L=0;Lsee(r)||"function"==typeof r?.[Symbol.iterator])(a)?this.T(a):this._(a)}k(a){return this._$AA.parentNode.insertBefore(a,this._$AB)}$(a){this._$AH!==a&&(this._$AR(),this._$AH=this.k(a))}_(a){this._$AH!==as&&SI(this._$AH)?this._$AA.nextSibling.data=a:this.$(zv.createTextNode(a)),this._$AH=a}g(a){var i;const{values:n,_$litType$:s}=a,l="number"==typeof s?this._$AC(a):(void 0===s.el&&(s.el=EI.createElement(mee(s.h,s.h[0]),this.options)),s);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===l)this._$AH.v(n);else{const d=new _ee(l,this),p=d.u(this.options);d.v(n),this.$(p),this._$AH=d}}_$AC(a){let i=gee.get(a.strings);return void 0===i&&gee.set(a.strings,i=new EI(a)),i}T(a){see(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let n,s=0;for(const l of a)s===i.length?i.push(n=new bw(this.k(II()),this.k(II()),this,this.options)):n=i[s],n._$AI(l),s++;s2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=as}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(a,i=this,n,s){const l=this.strings;let d=!1;if(void 0===l)a=$v(this,a,i,0),d=!SI(a)||a!==this._$AH&&a!==Gv,d&&(this._$AH=a);else{const p=a;let f,v;for(a=l[0],f=0;f{var n,s;const l=null!==(n=i?.renderBefore)&&void 0!==n?n:a;let d=l._$litPart$;if(void 0===d){const p=null!==(s=i?.renderBefore)&&void 0!==s?s:null;l._$litPart$=d=new bw(a.insertBefore(II(),p),p,void 0,i??{})}return d._$AI(r),d})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var a;super.connectedCallback(),null===(a=this._$Do)||void 0===a||a.setConnected(!0)}disconnectedCallback(){var a;super.disconnectedCallback(),null===(a=this._$Do)||void 0===a||a.setConnected(!1)}render(){return Gv}}RI.finalized=!0,RI._$litElement$=!0,null===(m7=globalThis.litElementHydrateSupport)||void 0===m7||m7.call(globalThis,{LitElement:RI});const xee=globalThis.litElementPolyfillSupport;xee?.({LitElement:RI}),(null!==(f7=globalThis.litElementVersions)&&void 0!==f7?f7:globalThis.litElementVersions=[]).push("3.3.3");const uAe=(r,a)=>"method"===a.kind&&a.descriptor&&!("value"in a.descriptor)?{...a,finisher(i){i.createProperty(a.key,r)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:a.key,initializer(){"function"==typeof a.initializer&&(this[a.key]=a.initializer.call(this))},finisher(i){i.createProperty(a.key,r)}};function kee(r){return(a,i)=>void 0!==i?((r,a,i)=>{a.constructor.createProperty(i,r)})(r,a,i):uAe(r,a)}window;const Dee=r=>(...a)=>({_$litDirective$:r,values:a});class mAe{constructor(a){}get _$AU(){return this._$AM._$AU}_$AT(a,i,n){this._$Ct=a,this._$AM=i,this._$Ci=n}_$AS(a,i){return this.update(a,i)}update(a,i){return this.render(...i)}}class bF extends mAe{constructor(a){if(super(a),this.et=as,2!==a.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(a){if(a===as||null==a)return this.ft=void 0,this.et=a;if(a===Gv)return a;if("string"!=typeof a)throw Error(this.constructor.directiveName+"() called with a non-string value");if(a===this.et)return this.ft;this.et=a;const i=[a];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}bF.directiveName="unsafeHTML",bF.resultType=1,Dee(bF);class v7 extends bF{}v7.directiveName="unsafeSVG",v7.resultType=2;const fAe=Dee(v7);var bAe=Object.defineProperty,yAe=Object.getOwnPropertyDescriptor,Aee=(r,a,i,n)=>{for(var d,s=n>1?void 0:n?yAe(a,i):a,l=r.length-1;l>=0;l--)(d=r[l])&&(s=(n?d(a,i,s):d(s))||s);return n&&s&&bAe(a,i,s),s};class PI extends RI{constructor(){super(...arguments),this.text="Trial version of Ignite UI for Angular",this.url="https://www.infragistics.com/how-to-buy/renewal"}static register(){globalThis.customElements&&!globalThis.customElements.get(this.tagName)&&globalThis.customElements.define(this.tagName,this)}render(){return lAe` +(self.webpackChunkVietNamHistory=self.webpackChunkVietNamHistory||[]).push([[179],{930:(ms,Ya,bl)=>{ms=bl.nmd(ms),function(Ti){const Lo=Ti.en=Ti.en||{};Lo.dictionary=Object.assign(Lo.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 image":"Edit image","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","Failed to determine category of edited image.":"Failed to determine category of edited image.","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 image with file manager":"Insert image with file manager","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","Insert with file manager":"Insert with file manager","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","Processing the edited image.":"Processing the edited image.",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace from computer":"Replace from computer","Replace image":"Replace image","Replace image from computer":"Replace image from computer","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","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","Server failed to process the image.":"Server failed to process the image.","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 from computer":"Upload from computer","Upload image from computer":"Upload image from computer","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,ms.exports=(()=>{var Ti={4959:(Ce,Ne,U)=>{const Te=U(1103),Re={};for(const K of Object.keys(Te))Re[Te[K]]=K;const ae={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"]}};Ce.exports=ae;for(const K of Object.keys(ae)){if(!("channels"in ae[K]))throw new Error("missing channels property: "+K);if(!("labels"in ae[K]))throw new Error("missing channel labels property: "+K);if(ae[K].labels.length!==ae[K].channels)throw new Error("channel and label counts mismatch: "+K);const{channels:te,labels:Ee}=ae[K];delete ae[K].channels,delete ae[K].labels,Object.defineProperty(ae[K],"channels",{value:te}),Object.defineProperty(ae[K],"labels",{value:Ee})}ae.rgb.hsl=function(K){const te=K[0]/255,Ee=K[1]/255,Le=K[2]/255,Ve=Math.min(te,Ee,Le),Je=Math.max(te,Ee,Le),dt=Je-Ve;let bt,Lt;Je===Ve?bt=0:te===Je?bt=(Ee-Le)/dt:Ee===Je?bt=2+(Le-te)/dt:Le===Je&&(bt=4+(te-Ee)/dt),bt=Math.min(60*bt,360),bt<0&&(bt+=360);const ui=(Ve+Je)/2;return Lt=Je===Ve?0:ui<=.5?dt/(Je+Ve):dt/(2-Je-Ve),[bt,100*Lt,100*ui]},ae.rgb.hsv=function(K){let te,Ee,Le,Ve,Je;const dt=K[0]/255,bt=K[1]/255,Lt=K[2]/255,ui=Math.max(dt,bt,Lt),ko=ui-Math.min(dt,bt,Lt),Ut=function(fe){return(ui-fe)/6/ko+.5};return 0===ko?(Ve=0,Je=0):(Je=ko/ui,te=Ut(dt),Ee=Ut(bt),Le=Ut(Lt),dt===ui?Ve=Le-Ee:bt===ui?Ve=.3333333333333333+te-Le:Lt===ui&&(Ve=.6666666666666666+Ee-te),Ve<0?Ve+=1:Ve>1&&(Ve-=1)),[360*Ve,100*Je,100*ui]},ae.rgb.hwb=function(K){const te=K[0],Ee=K[1];let Le=K[2];const Ve=ae.rgb.hsl(K)[0],Je=1/255*Math.min(te,Math.min(Ee,Le));return Le=1-.00392156862745098*Math.max(te,Math.max(Ee,Le)),[Ve,100*Je,100*Le]},ae.rgb.cmyk=function(K){const te=K[0]/255,Ee=K[1]/255,Le=K[2]/255,Ve=Math.min(1-te,1-Ee,1-Le);return[100*((1-te-Ve)/(1-Ve)||0),100*((1-Ee-Ve)/(1-Ve)||0),100*((1-Le-Ve)/(1-Ve)||0),100*Ve]},ae.rgb.keyword=function(K){const te=Re[K];if(te)return te;let Ee,Le=1/0;for(const dt of Object.keys(Te)){const Lt=((Ve=K)[0]-(Je=Te[dt])[0])**2+(Ve[1]-Je[1])**2+(Ve[2]-Je[2])**2;Lt.04045?((te+.055)/1.055)**2.4:te/12.92,Ee=Ee>.04045?((Ee+.055)/1.055)**2.4:Ee/12.92,Le=Le>.04045?((Le+.055)/1.055)**2.4:Le/12.92,[100*(.4124*te+.3576*Ee+.1805*Le),100*(.2126*te+.7152*Ee+.0722*Le),100*(.0193*te+.1192*Ee+.9505*Le)]},ae.rgb.lab=function(K){const te=ae.rgb.xyz(K);let Ee=te[0],Le=te[1],Ve=te[2];return Ee/=95.047,Le/=100,Ve/=108.883,Ee=Ee>.008856?Ee**.3333333333333333:7.787*Ee+.13793103448275862,Le=Le>.008856?Le**.3333333333333333:7.787*Le+.13793103448275862,Ve=Ve>.008856?Ve**.3333333333333333:7.787*Ve+.13793103448275862,[116*Le-16,500*(Ee-Le),200*(Le-Ve)]},ae.hsl.rgb=function(K){const te=K[0]/360,Ee=K[1]/100,Le=K[2]/100;let Ve,Je,dt;if(0===Ee)return dt=255*Le,[dt,dt,dt];Ve=Le<.5?Le*(1+Ee):Le+Ee-Le*Ee;const bt=2*Le-Ve,Lt=[0,0,0];for(let ui=0;ui<3;ui++)Je=te+.3333333333333333*-(ui-1),Je<0&&Je++,Je>1&&Je--,dt=6*Je<1?bt+6*(Ve-bt)*Je:2*Je<1?Ve:3*Je<2?bt+(Ve-bt)*(.6666666666666666-Je)*6:bt,Lt[ui]=255*dt;return Lt},ae.hsl.hsv=function(K){const te=K[0];let Ee=K[1]/100,Le=K[2]/100,Ve=Ee;const Je=Math.max(Le,.01);return Le*=2,Ee*=Le<=1?Le:2-Le,Ve*=Je<=1?Je:2-Je,[te,100*(0===Le?2*Ve/(Je+Ve):2*Ee/(Le+Ee)),(Le+Ee)/2*100]},ae.hsv.rgb=function(K){const te=K[0]/60,Ee=K[1]/100;let Le=K[2]/100;const Ve=Math.floor(te)%6,Je=te-Math.floor(te),dt=255*Le*(1-Ee),bt=255*Le*(1-Ee*Je),Lt=255*Le*(1-Ee*(1-Je));switch(Le*=255,Ve){case 0:return[Le,Lt,dt];case 1:return[bt,Le,dt];case 2:return[dt,Le,Lt];case 3:return[dt,bt,Le];case 4:return[Lt,dt,Le];case 5:return[Le,dt,bt]}},ae.hsv.hsl=function(K){const te=K[0],Ee=K[1]/100,Le=K[2]/100,Ve=Math.max(Le,.01);let Je,dt;dt=(2-Ee)*Le;const bt=(2-Ee)*Ve;return Je=Ee*Ve,Je/=bt<=1?bt:2-bt,Je=Je||0,dt/=2,[te,100*Je,100*dt]},ae.hwb.rgb=function(K){const te=K[0]/360;let Ee=K[1]/100,Le=K[2]/100;const Ve=Ee+Le;let Je;Ve>1&&(Ee/=Ve,Le/=Ve);const dt=Math.floor(6*te),bt=1-Le;Je=6*te-dt,1&dt&&(Je=1-Je);const Lt=Ee+Je*(bt-Ee);let ui,ko,Ut;switch(dt){default:case 6:case 0:ui=bt,ko=Lt,Ut=Ee;break;case 1:ui=Lt,ko=bt,Ut=Ee;break;case 2:ui=Ee,ko=bt,Ut=Lt;break;case 3:ui=Ee,ko=Lt,Ut=bt;break;case 4:ui=Lt,ko=Ee,Ut=bt;break;case 5:ui=bt,ko=Ee,Ut=Lt}return[255*ui,255*ko,255*Ut]},ae.cmyk.rgb=function(K){const Ee=K[1]/100,Le=K[2]/100,Ve=K[3]/100;return[255*(1-Math.min(1,K[0]/100*(1-Ve)+Ve)),255*(1-Math.min(1,Ee*(1-Ve)+Ve)),255*(1-Math.min(1,Le*(1-Ve)+Ve))]},ae.xyz.rgb=function(K){const te=K[0]/100,Ee=K[1]/100,Le=K[2]/100;let Ve,Je,dt;return Ve=3.2406*te+-1.5372*Ee+-.4986*Le,Je=-.9689*te+1.8758*Ee+.0415*Le,dt=.0557*te+-.204*Ee+1.057*Le,Ve=Ve>.0031308?1.055*Ve**.4166666666666667-.055:12.92*Ve,Je=Je>.0031308?1.055*Je**.4166666666666667-.055:12.92*Je,dt=dt>.0031308?1.055*dt**.4166666666666667-.055:12.92*dt,Ve=Math.min(Math.max(0,Ve),1),Je=Math.min(Math.max(0,Je),1),dt=Math.min(Math.max(0,dt),1),[255*Ve,255*Je,255*dt]},ae.xyz.lab=function(K){let te=K[0],Ee=K[1],Le=K[2];return te/=95.047,Ee/=100,Le/=108.883,te=te>.008856?te**.3333333333333333:7.787*te+.13793103448275862,Ee=Ee>.008856?Ee**.3333333333333333:7.787*Ee+.13793103448275862,Le=Le>.008856?Le**.3333333333333333:7.787*Le+.13793103448275862,[116*Ee-16,500*(te-Ee),200*(Ee-Le)]},ae.lab.xyz=function(K){let te,Ee,Le;Ee=(K[0]+16)/116,te=K[1]/500+Ee,Le=Ee-K[2]/200;const Ve=Ee**3,Je=te**3,dt=Le**3;return Ee=Ve>.008856?Ve:(Ee-.13793103448275862)/7.787,te=Je>.008856?Je:(te-.13793103448275862)/7.787,Le=dt>.008856?dt:(Le-.13793103448275862)/7.787,te*=95.047,Ee*=100,Le*=108.883,[te,Ee,Le]},ae.lab.lch=function(K){const te=K[0],Ee=K[1],Le=K[2];let Ve;return Ve=360*Math.atan2(Le,Ee)/2/Math.PI,Ve<0&&(Ve+=360),[te,Math.sqrt(Ee*Ee+Le*Le),Ve]},ae.lch.lab=function(K){const Ee=K[1],Le=K[2]/360*2*Math.PI;return[K[0],Ee*Math.cos(Le),Ee*Math.sin(Le)]},ae.rgb.ansi16=function(K,te=null){const[Ee,Le,Ve]=K;let Je=null===te?ae.rgb.hsv(K)[2]:te;if(Je=Math.round(Je/50),0===Je)return 30;let dt=30+(Math.round(Ve/255)<<2|Math.round(Le/255)<<1|Math.round(Ee/255));return 2===Je&&(dt+=60),dt},ae.hsv.ansi16=function(K){return ae.rgb.ansi16(ae.hsv.rgb(K),K[2])},ae.rgb.ansi256=function(K){const te=K[0],Ee=K[1],Le=K[2];return te===Ee&&Ee===Le?te<8?16:te>248?231:Math.round((te-8)/247*24)+232:16+36*Math.round(te/255*5)+6*Math.round(Ee/255*5)+Math.round(Le/255*5)},ae.ansi16.rgb=function(K){let te=K%10;if(0===te||7===te)return K>50&&(te+=3.5),te=te/10.5*255,[te,te,te];const Ee=.5*(1+~~(K>50));return[(1&te)*Ee*255,(te>>1&1)*Ee*255,(te>>2&1)*Ee*255]},ae.ansi256.rgb=function(K){if(K>=232){const Ee=10*(K-232)+8;return[Ee,Ee,Ee]}let te;return K-=16,[Math.floor(K/36)/5*255,Math.floor((te=K%36)/6)/5*255,te%6/5*255]},ae.rgb.hex=function(K){const te=(((255&Math.round(K[0]))<<16)+((255&Math.round(K[1]))<<8)+(255&Math.round(K[2]))).toString(16).toUpperCase();return"000000".substring(te.length)+te},ae.hex.rgb=function(K){const te=K.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!te)return[0,0,0];let Ee=te[0];3===te[0].length&&(Ee=Ee.split("").map(Ve=>Ve+Ve).join(""));const Le=parseInt(Ee,16);return[Le>>16&255,Le>>8&255,255&Le]},ae.rgb.hcg=function(K){const te=K[0]/255,Ee=K[1]/255,Le=K[2]/255,Ve=Math.max(Math.max(te,Ee),Le),Je=Math.min(Math.min(te,Ee),Le),dt=Ve-Je;let bt,Lt;return bt=dt<1?Je/(1-dt):0,Lt=dt<=0?0:Ve===te?(Ee-Le)/dt%6:Ve===Ee?2+(Le-te)/dt:4+(te-Ee)/dt,Lt/=6,Lt%=1,[360*Lt,100*dt,100*bt]},ae.hsl.hcg=function(K){const te=K[1]/100,Ee=K[2]/100,Le=Ee<.5?2*te*Ee:2*te*(1-Ee);let Ve=0;return Le<1&&(Ve=(Ee-.5*Le)/(1-Le)),[K[0],100*Le,100*Ve]},ae.hsv.hcg=function(K){const Ee=K[2]/100,Le=K[1]/100*Ee;let Ve=0;return Le<1&&(Ve=(Ee-Le)/(1-Le)),[K[0],100*Le,100*Ve]},ae.hcg.rgb=function(K){const Ee=K[1]/100,Le=K[2]/100;if(0===Ee)return[255*Le,255*Le,255*Le];const Ve=[0,0,0],Je=K[0]/360%1*6,dt=Je%1,bt=1-dt;let Lt=0;switch(Math.floor(Je)){case 0:Ve[0]=1,Ve[1]=dt,Ve[2]=0;break;case 1:Ve[0]=bt,Ve[1]=1,Ve[2]=0;break;case 2:Ve[0]=0,Ve[1]=1,Ve[2]=dt;break;case 3:Ve[0]=0,Ve[1]=bt,Ve[2]=1;break;case 4:Ve[0]=dt,Ve[1]=0,Ve[2]=1;break;default:Ve[0]=1,Ve[1]=0,Ve[2]=bt}return Lt=(1-Ee)*Le,[255*(Ee*Ve[0]+Lt),255*(Ee*Ve[1]+Lt),255*(Ee*Ve[2]+Lt)]},ae.hcg.hsv=function(K){const te=K[1]/100,Ee=te+K[2]/100*(1-te);let Le=0;return Ee>0&&(Le=te/Ee),[K[0],100*Le,100*Ee]},ae.hcg.hsl=function(K){const te=K[1]/100,Ee=K[2]/100*(1-te)+.5*te;let Le=0;return Ee>0&&Ee<.5?Le=te/(2*Ee):Ee>=.5&&Ee<1&&(Le=te/(2*(1-Ee))),[K[0],100*Le,100*Ee]},ae.hcg.hwb=function(K){const te=K[1]/100,Ee=te+K[2]/100*(1-te);return[K[0],100*(Ee-te),100*(1-Ee)]},ae.hwb.hcg=function(K){const Ee=1-K[2]/100,Le=Ee-K[1]/100;let Ve=0;return Le<1&&(Ve=(Ee-Le)/(1-Le)),[K[0],100*Le,100*Ve]},ae.apple.rgb=function(K){return[K[0]/65535*255,K[1]/65535*255,K[2]/65535*255]},ae.rgb.apple=function(K){return[K[0]/255*65535,K[1]/255*65535,K[2]/255*65535]},ae.gray.rgb=function(K){return[K[0]/100*255,K[0]/100*255,K[0]/100*255]},ae.gray.hsl=function(K){return[0,0,K[0]]},ae.gray.hsv=ae.gray.hsl,ae.gray.hwb=function(K){return[0,100,K[0]]},ae.gray.cmyk=function(K){return[0,0,0,K[0]]},ae.gray.lab=function(K){return[K[0],0,0]},ae.gray.hex=function(K){const te=255&Math.round(K[0]/100*255),Ee=((te<<16)+(te<<8)+te).toString(16).toUpperCase();return"000000".substring(Ee.length)+Ee},ae.rgb.gray=function(K){return[(K[0]+K[1]+K[2])/3/255*100]}},841:(Ce,Ne,U)=>{const Te=U(4959),Re=U(9325),ae={};Object.keys(Te).forEach(K=>{ae[K]={},Object.defineProperty(ae[K],"channels",{value:Te[K].channels}),Object.defineProperty(ae[K],"labels",{value:Te[K].labels});const te=Re(K);Object.keys(te).forEach(Ee=>{const Le=te[Ee];ae[K][Ee]=function(Ve){const Je=function(...dt){const bt=dt[0];if(null==bt)return bt;bt.length>1&&(dt=bt);const Lt=Ve(dt);if("object"==typeof Lt)for(let ui=Lt.length,ko=0;ko1&&(dt=bt),Ve(dt))};return"conversion"in Ve&&(Je.conversion=Ve.conversion),Je}(Le)})}),Ce.exports=ae},9325:(Ce,Ne,U)=>{const Te=U(4959);function ae(te,Ee){return function(Le){return Ee(te(Le))}}function K(te,Ee){const Le=[Ee[te].parent,te];let Ve=Te[Ee[te].parent][te],Je=Ee[te].parent;for(;Ee[Je].parent;)Le.unshift(Ee[Je].parent),Ve=ae(Te[Ee[Je].parent][Je],Ve),Je=Ee[Je].parent;return Ve.conversion=Le,Ve}Ce.exports=function(te){const Ee=function Re(te){const Ee=function(){const Ve={},Je=Object.keys(Te);for(let dt=Je.length,bt=0;bt{"use strict";Ce.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:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3062:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},443:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,':root{--ck-image-processing-highlight-color:#f9fafa;--ck-image-processing-background-color:#e3e5e8}.ck.ck-editor__editable .image.image-processing{position:relative}.ck.ck-editor__editable .image.image-processing:before{animation:ck-image-processing-animation 2s linear infinite;background:linear-gradient(90deg,var(--ck-image-processing-background-color),var(--ck-image-processing-highlight-color),var(--ck-image-processing-background-color));background-size:200% 100%;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ck.ck-editor__editable .image.image-processing img{height:100%}@keyframes ck-image-processing-animation{0%{background-position:200% 0}to{background-position:-200% 0}}',"",{version:3,sources:["webpack://./../ckeditor5-ckbox/theme/ckboximageedit.css"],names:[],mappings:"AAKA,MAEC,6CAAyD,CACzD,8CACD,CAIE,gDACC,iBA2BD,CAzBC,uDAmBC,0DAA2D,CAR3D,oKAKC,CACD,yBAA0B,CAhB1B,UAAW,CAOX,WAAY,CAHZ,MAAO,CAFP,iBAAkB,CAClB,KAAM,CAKN,UAAW,CAHX,SAcD,CAEA,oDACC,WACD,CAKH,yCACC,GACC,0BACD,CACA,GACC,2BACD,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/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable {\n\t& .image {\n\t\t&.image-processing {\n\t\t\tposition: relative;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n\t\t\t& img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n"],sourceRoot:""}]);const te=K},903:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3143:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4717:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9315:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8733:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3508:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2640:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3535:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-image-insert-url .ck-image-insert-url__action-row{display:grid;grid-template-columns:repeat(2,1fr)}:root{--ck-image-insert-insert-by-url-width:250px}.ck.ck-image-insert-url{--ck-input-width:100%}.ck.ck-image-insert-url .ck-image-insert-url__action-row{grid-column-gap:var(--ck-spacing-large);margin-top:var(--ck-spacing-large)}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-cancel,.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-save{justify-content:center;min-width:auto}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}.ck.ck-image-insert-form>.ck.ck-button{display:block;padding:var(--ck-list-button-padding);width:100%}[dir=ltr] .ck.ck-image-insert-form>.ck.ck-button{text-align:left}[dir=rtl] .ck.ck-image-insert-form>.ck.ck-button{text-align:right}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:last-child){border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible,.ck.ck-image-insert-form>.ck.ck-image-insert-url{min-width:var(--ck-image-insert-insert-by-url-width)}.ck.ck-image-insert-form>.ck.ck-image-insert-url{padding:var(--ck-spacing-large)}.ck.ck-image-insert-form:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsert.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageinsert.css"],names:[],mappings:"AAMC,yDACC,YAAa,CACb,mCACD,CCFD,MACC,2CACD,CAEA,wBACC,qBAgBD,CAdC,yDACC,uCAAwC,CACxC,kCAWD,CATC,oJAEC,sBAAuB,CACvB,cACD,CAEA,sFACC,0BACD,CAKD,uCACC,aAAc,CAEd,qCAAsC,CADtC,UAUD,CAZA,iDAME,eAMF,CAZA,iDAUE,gBAEF,CAGC,8DACC,gDACD,CAEA,6DACC,mDACD,CAMD,6FAJC,oDAOD,CAHA,iDAEC,+BACD,CAEA,+BACC,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-image-insert-url {\n\t& .ck-image-insert-url__action-row {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(2, 1fr);\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-image-insert-insert-by-url-width: 250px;\n}\n\n.ck.ck-image-insert-url {\n\t--ck-input-width: 100%;\n\n\t& .ck-image-insert-url__action-row {\n\t\tgrid-column-gap: var(--ck-spacing-large);\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t\tmin-width: auto;\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\n.ck.ck-image-insert-form {\n\t& > .ck.ck-button {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\tpadding: var(--ck-list-button-padding);\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.ck-collapsible {\n\t\t&:not(:first-child) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t&:not(:last-child) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t}\n\n\t/* This is the case when there are no other integrations configured than insert by URL */\n\t& > .ck.ck-image-insert-url {\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t\tpadding: var(--ck-spacing-large);\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n'],sourceRoot:""}]);const te=K},2873:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-editor__editable img.image_placeholder{background-size:100% 100%}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageplaceholder.css"],names:[],mappings:"AAMC,8CACC,yBACD",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& img.image_placeholder {\n\t\tbackground-size: 100% 100%;\n\t}\n}\n"],sourceRoot:""}]);const te=K},6270:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5083:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4036:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3773:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3689:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},1905:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9773:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2347:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7754:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},111:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5730:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4564:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6082:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2417:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},1199:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4652:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7442:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9292:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7368:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4070:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9247:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},1613:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6306:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2128:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5087:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4101:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3881:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6237:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7341:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6945:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3210:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-aria-live-announcer{left:-10000px;position:absolute;top:-10000px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css"],names:[],mappings:"AAKA,2BAEC,aAAc,CADd,iBAAkB,CAElB,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-aria-live-announcer {\n\tposition: absolute;\n\tleft: -10000px;\n\ttop: -10000px;\n}\n"],sourceRoot:""}]);const te=K},8157:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4906:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .ck.ck-button,[dir=ltr] a.ck.ck-button{justify-content:left}[dir=rtl] .ck.ck-button,[dir=rtl] a.ck.ck-button{justify-content:right}.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:"AAQA,6BAMC,kBAAmB,CADnB,mBAAoB,CADpB,iBAAkB,CCHlB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD0BD,CA9BA,iDASE,oBAqBF,CA9BA,iDAaE,qBAiBF,CAdC,iEACC,YACD,CAGC,yGACC,oBACD,CAID,iFACC,sBACD,CEzBD,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@import "../../mixins/_dir.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\n\t@mixin ck-dir ltr {\n\t\tjustify-content: left;\n\t}\n\n\t@mixin ck-dir rtl {\n\t\tjustify-content: right;\n\t}\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 te=K},5332:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8010:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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-list-button-padding);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:var(--ck-spacing-medium) 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-ui/theme/components/collapsible/collapsible.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/collapsible/collapsible.css"],names:[],mappings:"AAMC,sEACC,YACD,CCHD,MACC,yDACD,CAGC,iCAIC,eAAgB,CAChB,aAAc,CAHd,eAAiB,CACjB,qCAAsC,CAFtC,UAoBD,CAdC,uCACC,sBACD,CAEA,wIACC,sBAAuB,CACvB,wBAAyB,CACzB,eACD,CAEA,0CACC,qCAAsC,CACtC,sCACD,CAGD,6CACC,gFACD,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-list-button-padding);\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: var(--ck-spacing-medium) 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 te=K},6781:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3398:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4157:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5485:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3949:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7686:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7339:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9688:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8847:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.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)}[dir=ltr] .ck.ck-form__header .ck-icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-form__header .ck-icon{margin-left:var(--ck-spacing-medium)}.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,6BAKD,CAHC,8CACC,WACD,CCPD,MACC,4BACD,CAEA,oBAIC,mDAAoD,CAFpD,mCAAoC,CACpC,wCAAyC,CAFzC,uDAkBD,CAbC,uCAEE,qCAMF,CARA,uCAME,oCAEF,CAEA,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& 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@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\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-icon {\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: var(--ck-spacing-medium);\n\t\t}\n\t}\n\n\t& .ck-form__header__label {\n\t\tfont-weight: bold;\n\t}\n}\n'],sourceRoot:""}]);const te=K},8960:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6574:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4879:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3662:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2577:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0;transform:translate(calc(var(--ck-spacing-medium)*-1),-6px) scale(.75);transform-origin:100% 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;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:not(.ck-labeled-field-view_placeholder)>.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:not(.ck-labeled-field-view_placeholder)>.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:not(.ck-labeled-field-view_placeholder)>.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,eD+GD,CA1GA,2FCDE,qCD2GF,CAvGC,mEACC,UAoCD,CAlCC,gFACC,KAgCD,CAjCA,0FAIE,MAAS,CAGT,6DAA+D,CAF/D,oBA4BF,CAjCA,0FAWE,OAAU,CAEV,sEAA0E,CAD1E,uBAqBF,CAjCA,gFAkBC,yDAA0D,CAG1D,eAAmB,CADnB,kBAAoB,CAOpB,cAAe,CAFf,eAAgB,CANhB,2CAA8C,CAH9C,mBAAoB,CAQpB,sBAAuB,CAKvB,+JAID,CAQA,mKACC,gCACD,CAGD,yDACC,mCAAoC,CACpC,kCAAmC,CAInC,kBAKD,CAHC,6FACC,gCACD,CAID,4OAEC,yCACD,CAIA,4WAGE,+HAYF,CAfA,4WAOE,wIAQF,CAfA,wVAaC,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\ttransform-origin: 0 0;\n\t\t\t\t/* By default, display the label scaled down above the field. */\n\t\t\t\ttransform: translate(var(--ck-spacing-medium), -6px) scale(.75);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: 0px;\n\t\t\t\ttransform-origin: 100% 0;\n\t\t\t\ttransform: translate(calc(-1 * var(--ck-spacing-medium)), -6px) scale(.75);\n\t\t\t}\n\n\t\t\tpointer-events: none;\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:not(.ck-labeled-field-view_placeholder) > .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 te=K},1046:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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)}:root{--ck-list-button-padding:calc(var(--ck-line-height-base)*0.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*0.4*var(--ck-font-size-base))}.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;width:100%}[dir=ltr] .ck.ck-list__item .ck-button{text-align:left}[dir=rtl] .ck.ck-list__item .ck-button{text-align:right}.ck.ck-list__item .ck-button{padding:var(--ck-list-button-padding)}.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>.ck-label{font-size:11px;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-medium) 0 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,CEdD,MACC,oJAGD,CAEA,YCLC,eDUD,CALA,+DCDE,qCDMF,CALA,YAIC,0CAA2C,CAD3C,oBAED,CAEA,kBACC,cAAe,CACf,cAgED,CA9DC,6BAGC,eAAgB,CAFhB,gBAAiB,CACjB,UA6CD,CA/CA,uCAME,eAyCF,CA/CA,uCAUE,gBAqCF,CA/CA,6BAgBC,qCA+BD,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,mCACC,cAAe,CACf,eAAiB,CACjB,oFACD,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@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-list-button-padding:\n\t\tcalc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))\n\t\tcalc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));\n}\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\tborder-radius: 0;\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\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: var(--ck-list-button-padding);\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& > .ck-label {\n\t\tfont-size: 11px;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-medium) 0 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 te=K},8793:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4650:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},7676:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5868:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6764:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},6770:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},498:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8182:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},9695:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},5542:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},3332:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4793:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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-color-light-red:#fcc;--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,oCAAyD,CAIzD,yBAAgD,CC3GhD,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,kCJ2GD,CIrGA,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\t/* -- Generic colors ------------------------------------------------------------------------- */\n\n\t--ck-color-light-red:\t\t\t\t\t\t\t\t\t\thsl(0, 100%, 90%);\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 te=K},3488:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},8506:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},4921:(Ce,Ne,U)=>{"use strict";U.d(Ne,{Z:()=>te});var Te=U(1799),Re=U.n(Te),ae=U(2609),K=U.n(ae)()(Re());K.push([Ce.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 te=K},2609:Ce=>{"use strict";Ce.exports=function(Ne){var U=[];return U.toString=function(){return this.map(function(Te){var Re=Ne(Te);return Te[2]?"@media ".concat(Te[2]," {").concat(Re,"}"):Re}).join("")},U.i=function(Te,Re,ae){"string"==typeof Te&&(Te=[[null,Te,""]]);var K={};if(ae)for(var te=0;te{"use strict";function U(Te,Re){(null==Re||Re>Te.length)&&(Re=Te.length);for(var ae=0,K=new Array(Re);ae{"use strict";var Te,Ut,ae=(Ut={},function(fe){if(void 0===Ut[fe]){var St=document.querySelector(fe);if(window.HTMLIFrameElement&&St instanceof window.HTMLIFrameElement)try{St=St.contentDocument.head}catch{St=null}Ut[fe]=St}return Ut[fe]}),K=[];function te(Ut){for(var fe=-1,St=0;St{var Ne=Ce&&Ce.__esModule?()=>Ce.default:()=>Ce;return ft.d(Ne,{a:Ne}),Ne},ft.d=(Ce,Ne)=>{for(var U in Ne)ft.o(Ne,U)&&!ft.o(Ce,U)&&Object.defineProperty(Ce,U,{enumerable:!0,get:Ne[U]})},ft.o=(Ce,Ne)=>Object.prototype.hasOwnProperty.call(Ce,Ne),ft.nc=void 0;var _h={};return(()=>{"use strict";function Ce({emitter:g,activator:c,callback:u,contextElements:h}){g.listenTo(document,"mousedown",(m,_)=>{if(!c())return;const b="function"==typeof _.composedPath?_.composedPath():[],w="function"==typeof h?h():h;for(const A of w)if(A.contains(_.target)||b.includes(A))return;u()})}function Ne(g){return class extends g{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...c){super(...c),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function U({view:g}){g.listenTo(g.element,"submit",(c,u)=>{u.preventDefault(),g.fire("submit")},{useCapture:!0})}ft.d(_h,{default:()=>bA});const Te=function(){try{return navigator.userAgent.toLowerCase()}catch{return""}}();var Re;const ae={isMac:K(Te),isWindows:(Re=Te,Re.indexOf("windows")>-1),isGecko:(g=Te,!!g.match(/gecko\/\d+/)),isSafari:function(g){return g.indexOf(" applewebkit/")>-1&&-1===g.indexOf("chrome")}(Te),isiOS:function(g){return!!g.match(/iphone|ipad/i)||K(g)&&navigator.maxTouchPoints>0}(Te),isAndroid:function(g){return g.indexOf("android")>-1}(Te),isBlink:function(g){return g.indexOf("chrome/")>-1&&g.indexOf("edge/")<0}(Te),features:{isRegExpUnicodePropertySupported:function(){let g=!1;try{g=0==="\u0107".search(new RegExp("[\\p{L}]","u"))}catch{}return g}()}};var g;function K(g){return g.indexOf("macintosh")>-1}function te(g,c,u,h){u=u||function(A,M){return A===M};const m=Array.isArray(g)?g:Array.prototype.slice.call(g),_=Array.isArray(c)?c:Array.prototype.slice.call(c),b=function(A,M,R){const O=Ee(A,M,R);if(-1===O)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const W=Ee(Le(A,O),Le(M,O),R);return{firstIndex:O,lastIndexOld:A.length-W,lastIndexNew:M.length-W}}(m,_,u);return h?function(A,M){const{firstIndex:R,lastIndexOld:O,lastIndexNew:N}=A;if(-1===R)return Array(M).fill("equal");let V=[];return R>0&&(V=V.concat(Array(R).fill("equal"))),N-R>0&&(V=V.concat(Array(N-R).fill("insert"))),O-R>0&&(V=V.concat(Array(O-R).fill("delete"))),N0&&R.push({index:O,type:"insert",values:A.slice(O,V)}),N-O>0&&R.push({index:O+(V-O),type:"delete",howMany:N-O}),R}(_,b)}function Ee(g,c,u){for(let h=0;h200||m>200||h+m>300)return Ve.fastDiff(g,c,u,!0);let _,b;if(mhe?-1:1;R[Y+Me]&&(R[Y]=R[Y+Me].slice(0)),R[Y]||(R[Y]=[]),R[Y].push(ne>he?_:b);let qe=Math.max(ne,he),kt=qe-Y;for(;ktM;V--)O[V]=N(V);O[M]=N(M),W++}while(O[M]!==A);return R[M].slice(1)}Ve.fastDiff=te;class dt{constructor(c,u){this.source=c,this.name=u,this.path=[],this.stop=function g(){g.called=!0},this.off=function g(){g.called=!0}}}const bt=new Array(256).fill("").map((g,c)=>("0"+c.toString(16)).slice(-2));function Lt(){const g=4294967296*Math.random()>>>0,c=4294967296*Math.random()>>>0,u=4294967296*Math.random()>>>0,h=4294967296*Math.random()>>>0;return"e"+bt[g>>0&255]+bt[g>>8&255]+bt[g>>16&255]+bt[g>>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]+bt[h>>0&255]+bt[h>>8&255]+bt[h>>16&255]+bt[h>>24&255]}const ui={get(g="normal"){return"number"!=typeof g?this[g]||this.normal:g},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function ko(g,c){const u=ui.get(c.priority);for(let h=0;h{if("object"==typeof O&&null!==O){if(b.has(O))return`[object ${O.constructor.name}]`;b.add(O)}return O})}`:"")+En(m)}(c,h)),this.name="CKEditorError",this.context=u,this.data=h}is(c){return"CKEditorError"===c}static rethrowUnexpectedError(c,u){if(c.is&&c.is("CKEditorError"))throw c;const h=new fe(c.message,u);throw h.stack=c.stack,h}}function St(g,c){console.warn(...Vn(g,c))}function on(g,c){console.error(...Vn(g,c))}function En(g){return`\nRead more: ${Ut}#error-${g}`}function Vn(g,c){const u=En(g);return c?[g,c,u]:[g,u]}const Ks=new Date(2023,11,12);if(globalThis.CKEDITOR_VERSION)throw new fe("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION="40.2.0";const Do=Symbol("listeningTo"),Qa=Symbol("emitterId"),Ys=Symbol("delegations"),_n=vn(Object);function vn(g){return g?class extends g{on(c,u,h){this.listenTo(this,c,u,h)}once(c,u,h){let m=!1;this.listenTo(this,c,(_,...b)=>{m||(m=!0,_.off(),u.call(this,_,...b))},h)}off(c,u){this.stopListening(this,c,u)}listenTo(c,u,h,m={}){let _,b;this[Do]||(this[Do]={});const w=this[Do];cg(c)||jb(c);const A=cg(c);var R,O,N,V;(_=w[A])||(_=w[A]={emitter:c,callbacks:{}}),(b=_.callbacks[u])||(b=_.callbacks[u]=[]),b.push(h),O=u,N=h,V=m,(R=c)._addEventListener?R._addEventListener(O,N,V):this._addEventListener.call(R,O,N,V)}stopListening(c,u,h){const m=this[Do];let _=c&&cg(c);const b=m&&_?m[_]:void 0,w=b&&u?b.callbacks[u]:void 0;if(!(!m||c&&!b||u&&!w))if(h)Cn(this,c,u,h),-1!==w.indexOf(h)&&(1===w.length?delete b.callbacks[u]:Cn(this,c,u,h));else if(w){for(;h=w.pop();)Cn(this,c,u,h);delete b.callbacks[u]}else if(b){for(u in b.callbacks)this.stopListening(c,u);delete m[_]}else{for(_ in m)this.stopListening(m[_].emitter);delete this[Do]}}fire(c,...u){try{const h=c instanceof dt?c:new dt(this,c),m=h.name;let _=gd(this,m);if(h.path.push(this),_){const w=[h,...u];_=Array.from(_);for(let A=0;A<_.length&&(_[A].callback.apply(this,w),h.off.called&&(delete h.off.called,this._removeEventListener(m,_[A].callback)),!h.stop.called);A++);}const b=this[Ys];if(b){const w=b.get(m),A=b.get("*");w&&Rf(w,h,u),A&&Rf(A,h,u)}return h.return}catch(h){fe.rethrowUnexpectedError(h,this)}}delegate(...c){return{to:(u,h)=>{this[Ys]||(this[Ys]=new Map),c.forEach(m=>{const _=this[Ys].get(m);_?_.set(u,h):this[Ys].set(m,new Map([[u,h]]))})}}}stopDelegating(c,u){if(this[Ys])if(c)if(u){const h=this[Ys].get(c);h&&h.delete(u)}else this[Ys].delete(c);else this[Ys].clear()}_addEventListener(c,u,h){!function(b,w){const A=$b(b);if(A[w])return;let M=w,R=null;const O=[];for(;""!==M&&!A[M];)A[M]={callbacks:[],childEvents:[]},O.push(A[M]),R&&A[M].childEvents.push(R),R=M,M=M.substr(0,M.lastIndexOf(":"));if(""!==M){for(const N of O)N.callbacks=A[M].callbacks.slice();A[M].childEvents.push(R)}}(this,c);const m=Ge(this,c),_={callback:u,priority:ui.get(h.priority)};for(const b of m)ko(b,_)}_removeEventListener(c,u){const h=Ge(this,c);for(const m of h)for(let _=0;_-1?gd(g,c.substr(0,c.lastIndexOf(":"))):null}function Rf(g,c,u){for(let[h,m]of g){m?"function"==typeof m&&(m=m(c.name)):m=c.name;const _=new dt(c.source,m);_.path=[...c.path],h.fire(_,...u)}}function Cn(g,c,u,h){c._removeEventListener?c._removeEventListener(u,h):g._removeEventListener.call(c,u,h)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(g=>{vn[g]=_n.prototype[g]});const qt=function(g){var c=typeof g;return null!=g&&("object"==c||"function"==c)},dg=Symbol("observableProperties"),Rt=Symbol("boundObservables"),Sa=Symbol("boundProperties"),lo=Symbol("decoratedMethods"),Hr=Symbol("decoratedOriginal"),vh=_t(vn());function _t(g){return g?class extends g{set(c,u){if(qt(c))return void Object.keys(c).forEach(m=>{this.set(m,c[m])},this);Jl(this);const h=this[dg];if(c in this&&!h.has(c))throw new fe("observable-set-cannot-override",this);Object.defineProperty(this,c,{enumerable:!0,configurable:!0,get:()=>h.get(c),set(m){const _=h.get(c);let b=this.fire(`set:${c}`,c,m,_);void 0===b&&(b=m),_===b&&h.has(c)||(h.set(c,b),this.fire(`change:${c}`,c,b,_))}}),this[c]=u}bind(...c){if(!c.length||!yl(c))throw new fe("observable-bind-wrong-properties",this);if(new Set(c).size!==c.length)throw new fe("observable-bind-duplicate-properties",this);Jl(this);const u=this[Sa];c.forEach(m=>{if(u.has(m))throw new fe("observable-bind-rebind",this)});const h=new Map;return c.forEach(m=>{const _={property:m,to:[]};u.set(m,_),h.set(m,_)}),{to:ug,toMany:hg,_observable:this,_bindProperties:c,_to:[],_bindings:h}}unbind(...c){if(!this[dg])return;const u=this[Sa],h=this[Rt];if(c.length){if(!yl(c))throw new fe("observable-unbind-wrong-properties",this);c.forEach(m=>{const _=u.get(m);_&&(_.to.forEach(([b,w])=>{const A=h.get(b),M=A[w];M.delete(_),M.size||delete A[w],Object.keys(A).length||(h.delete(b),this.stopListening(b,"change"))}),u.delete(m))})}else h.forEach((m,_)=>{this.stopListening(_,"change")}),h.clear(),u.clear()}decorate(c){Jl(this);const u=this[c];if(!u)throw new fe("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:c});this.on(c,(h,m)=>{h.return=u.apply(this,m)}),this[c]=function(...h){return this.fire(c,h)},this[c][Hr]=u,this[lo]||(this[lo]=[]),this[lo].push(c)}stopListening(c,u,h){if(!c&&this[lo]){for(const m of this[lo])this[m]=this[m][Hr];delete this[lo]}super.stopListening(c,u,h)}}:vh}function Jl(g){g[dg]||(Object.defineProperty(g,dg,{value:new Map}),Object.defineProperty(g,Rt,{value:new Map}),Object.defineProperty(g,Sa,{value:new Map}))}function ug(...g){const c=function(..._){if(!_.length)throw new fe("observable-bind-to-parse-error",null);const b={to:[]};let w;return"function"==typeof _[_.length-1]&&(b.callback=_.pop()),_.forEach(A=>{if("string"==typeof A)w.properties.push(A);else{if("object"!=typeof A)throw new fe("observable-bind-to-parse-error",null);w={observable:A,properties:[]},b.to.push(w)}}),b}(...g),u=Array.from(this._bindings.keys()),h=u.length;if(!c.callback&&c.to.length>1)throw new fe("observable-bind-to-no-callback",this);if(h>1&&c.callback)throw new fe("observable-bind-to-extra-callback",this);var m;c.to.forEach(_=>{if(_.properties.length&&_.properties.length!==h)throw new fe("observable-bind-to-properties-length",this);_.properties.length||(_.properties=this._bindProperties)}),this._to=c.to,c.callback&&(this._bindings.get(u[0]).callback=c.callback),m=this._observable,this._to.forEach(_=>{const b=m[Rt];let w;b.get(_.observable)||m.listenTo(_.observable,"change",(A,M)=>{w=b.get(_.observable)[M],w&&w.forEach(R=>{md(m,R.property)})})}),function(_){let b;_._bindings.forEach((w,A)=>{_._to.forEach(M=>{b=M.properties[w.callback?0:_._bindProperties.indexOf(A)],w.to.push([M.observable,b]),function(R,O,N,V){const W=R[Rt],Y=W.get(N),ne=Y||{};ne[V]||(ne[V]=new Set),ne[V].add(O),Y||W.set(N,ne)}(_._observable,w,M.observable,b)})})}(this),this._bindProperties.forEach(_=>{md(this._observable,_)})}function hg(g,c,u){if(this._bindings.size>1)throw new fe("observable-bind-to-many-not-one-binding",this);this.to(...function(h,m){const _=h.map(b=>[b,m]);return Array.prototype.concat.apply([],_)}(g,c),u)}function yl(g){return g.every(c=>"string"==typeof c)}function md(g,c){const u=g[Sa].get(c);let h;u.callback?h=u.callback.apply(g,u.to.map(m=>m[0][m[1]])):(h=u.to[0],h=h[0][h[1]]),Object.prototype.hasOwnProperty.call(g,c)?g[c]=h:g.set(c,h)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(g=>{_t[g]=vh.prototype[g]});class Ub{constructor(){this._replacedElements=[]}replace(c,u){this._replacedElements.push({element:c,newElement:u}),c.style.display="none",u&&c.parentNode.insertBefore(u,c.nextSibling)}restore(){this._replacedElements.forEach(({element:c,newElement:u})=>{c.style.display="",u&&u.remove()}),this._replacedElements=[]}}function bh(g){let c=0;for(const u of g)c++;return c}function Dr(g,c){const u=Math.min(g.length,c.length);for(let h=0;h-1},Rc.prototype.set=function(g,c){var u=this.__data__,h=wh(u,g);return h<0?(++this.size,u.push([g,c])):u[h][1]=c,this};const pg=Rc,Zr=function(g){if(!qt(g))return!1;var c=Mc(g);return"[object Function]"==c||"[object GeneratorFunction]"==c||"[object AsyncFunction]"==c||"[object Proxy]"==c},gg=Ta["__core-js_shared__"];var vo=function(){var g=/[^.]+$/.exec(gg&&gg.keys&&gg.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}(),Jr=Function.prototype.toString;const wl=function(g){if(null!=g){try{return Jr.call(g)}catch{}try{return g+""}catch{}}return""};var mg=/^\[object .+?Constructor\]$/,Ra=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const _s=function(g,c){var u=function(g,c){return g?.[c]}(g,c);return function(g){return!(!qt(g)||function(g){return!!vo&&vo in g}(g))&&(Zr(g)?Ra:mg).test(wl(g))}(u)?u:void 0},ic=_s(Ta,"Map"),Ms=_s(Object,"create");var dy=Object.prototype.hasOwnProperty,wn=Object.prototype.hasOwnProperty;function Dt(g){var c=-1,u=null==g?0:g.length;for(this.clear();++c-1&&g%1==0&&g-1&&g%1==0&&g<=9007199254740991};var Io={};Io["[object Float32Array]"]=Io["[object Float64Array]"]=Io["[object Int8Array]"]=Io["[object Int16Array]"]=Io["[object Int32Array]"]=Io["[object Uint8Array]"]=Io["[object Uint8ClampedArray]"]=Io["[object Uint16Array]"]=Io["[object Uint32Array]"]=!0,Io["[object Arguments]"]=Io["[object Array]"]=Io["[object ArrayBuffer]"]=Io["[object Boolean]"]=Io["[object DataView]"]=Io["[object Date]"]=Io["[object Error]"]=Io["[object Function]"]=Io["[object Map]"]=Io["[object Number]"]=Io["[object Object]"]=Io["[object RegExp]"]=Io["[object Set]"]=Io["[object String]"]=Io["[object WeakMap]"]=!1;const Ix=function(g){return function(c){return g(c)}};var tL=Ya&&!Ya.nodeType&&Ya,Rs=tL&&ms&&!ms.nodeType&&ms,Zt=Rs&&Rs.exports===tL&&Wb.process;const Vf=function(){try{return Rs&&Rs.require&&Rs.require("util").types||Zt&&Zt.binding&&Zt.binding("util")}catch{}}();var iL=Vf&&Vf.isTypedArray;const gT=iL?Ix(iL):function(g){return Ea(g)&&eL(g.length)&&!!Io[Mc(g)]};var He=Object.prototype.hasOwnProperty;const nL=function(g,c){var u=fs(g),h=!u&&Xs(g),m=!u&&!h&&uy(g),_=!u&&!h&&!m&&gT(g),b=u||h||m||_,w=b?function(g,c){for(var u=-1,h=Array(g);++u{this._setToTarget(c,m,u[m],h)})}}function $x(g){return jx(g,mL)}function mL(g){return vs(g)||"function"==typeof g?g:void 0}function wu(g){if(g){if(g.defaultView)return g instanceof g.defaultView.Document;if(g.ownerDocument&&g.ownerDocument.defaultView)return g instanceof g.ownerDocument.defaultView.Node}return!1}function vy(g){const c=Object.prototype.toString.apply(g);return"[object Window]"==c||"[object global]"==c}const IT=Za(vn());function Za(g){return g?class extends g{listenTo(c,u,h,m={}){if(wu(c)||vy(c)){const _={capture:!!m.useCapture,passive:!!m.usePassive},b=this._getProxyEmitter(c,_)||new fL(c,_);this.listenTo(b,u,h,m)}else super.listenTo(c,u,h,m)}stopListening(c,u,h){if(wu(c)||vy(c)){const m=this._getAllProxyEmitters(c);for(const _ of m)this.stopListening(_,u,h)}else super.stopListening(c,u,h)}_getProxyEmitter(c,u){return function(h,m){const _=h[Do];return _&&_[m]?_[m].emitter:null}(this,ST(c,u))}_getAllProxyEmitters(c){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map(u=>this._getProxyEmitter(c,u)).filter(u=>!!u)}}:IT}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(g=>{Za[g]=IT.prototype[g]});class fL extends(vn()){constructor(c,u){super(),jb(this,ST(c,u)),this._domNode=c,this._options=u}attach(c){if(this._domListeners&&this._domListeners[c])return;const u=this._createDomListener(c);this._domNode.addEventListener(c,u,this._options),this._domListeners||(this._domListeners={}),this._domListeners[c]=u}detach(c){let u;!this._domListeners[c]||(u=this._events[c])&&u.callbacks.length||this._domListeners[c].removeListener()}_addEventListener(c,u,h){this.attach(c),vn().prototype._addEventListener.call(this,c,u,h)}_removeEventListener(c,u){vn().prototype._removeEventListener.call(this,c,u),this.detach(c)}_createDomListener(c){const u=h=>{this.fire(c,h)};return u.removeListener=()=>{this._domNode.removeEventListener(c,u,this._options),delete this._domListeners[c]},u}}function ST(g,c){let u=(h=g)["data-ck-expando"]||(h["data-ck-expando"]=Lt());var h;for(const h of Object.keys(c).sort())c[h]&&(u+="-"+h);return u}let Ux;try{Ux={window,document}}catch{Ux={window:{},document:{}}}const de=Ux;function Ir(g){return"[object Text]"==Object.prototype.toString.call(g)}function by(g){return"[object Range]"==Object.prototype.toString.apply(g)}function TT(g){const c=g.ownerDocument.defaultView.getComputedStyle(g);return{top:parseInt(c.borderTopWidth,10),right:parseInt(c.borderRightWidth,10),bottom:parseInt(c.borderBottomWidth,10),left:parseInt(c.borderLeftWidth,10)}}function Ht(g){return g&&g.parentNode?g.offsetParent===de.document.body?null:g.offsetParent:null}const ET=["top","right","bottom","left","width","height"];class un{constructor(c){const u=by(c);if(Object.defineProperty(this,"_source",{value:c._source||c,writable:!0,enumerable:!1}),Xi(c)||u)if(u){const h=un.getDomRangeRects(c);re(this,un.getBoundingRect(h))}else re(this,c.getBoundingClientRect());else if(vy(c)){const{innerWidth:h,innerHeight:m}=c;re(this,{top:0,right:h,bottom:m,left:0,width:h,height:m})}else re(this,c)}clone(){return new un(this)}moveTo(c,u){return this.top=u,this.right=c+this.width,this.bottom=u+this.height,this.left=c,this}moveBy(c,u){return this.top+=u,this.right+=c,this.left+=c,this.bottom+=u,this}getIntersection(c){const u={top:Math.max(this.top,c.top),right:Math.min(this.right,c.right),bottom:Math.min(this.bottom,c.bottom),left:Math.max(this.left,c.left),width:0,height:0};if(u.width=u.right-u.left,u.height=u.bottom-u.top,u.width<0||u.height<0)return null;{const h=new un(u);return h._source=this._source,h}}getIntersectionArea(c){const u=this.getIntersection(c);return u?u.getArea():0}getArea(){return this.width*this.height}getVisible(){const c=this._source;let u=this.clone();if(Pt(c))return u;let h,m=c,_=c.parentNode||c.commonAncestorContainer;for(;_&&!Pt(_);){const w="visible"===((b=_)instanceof HTMLElement?b.ownerDocument.defaultView.getComputedStyle(b).overflow:"visible");m instanceof HTMLElement&&"absolute"===es(m)&&(h=m);const A=es(_);if(w||h&&("relative"===A&&w||"relative"!==A)){m=_,_=_.parentNode;continue}const M=new un(_),R=u.getIntersection(M);if(!R)return null;R.getArea(){for(const c of g){const u=sn._getElementCallbacks(c.target);if(u)for(const h of u)h(c)}})}};let Nc=sn;function Pa(g,c){g instanceof HTMLTextAreaElement&&(g.value=c),g.innerHTML=c}function wd(g){return c=>c+g}function $f(g){let c=0;for(;g.previousSibling;)g=g.previousSibling,c++;return c}function Uf(g,c,u){g.insertBefore(u,g.childNodes[c]||null)}function Wf(g){return g&&g.nodeType===Node.COMMENT_NODE}function Th(g){return!!(g&&g.getClientRects&&g.getClientRects().length)}Nc._observerInstance=null,Nc._elementCallbacks=null;var Yo=Math.pow;function Ot({element:g,target:c,positions:u,limiter:h,fitInViewport:m,viewportOffsetConfig:_}){Zr(c)&&(c=c()),Zr(h)&&(h=h());const b=Ht(g),w=function(N){N=Object.assign({top:0,bottom:0,left:0,right:0},N);const V=new un(de.window);return V.top+=N.top,V.height-=N.top,V.bottom-=N.bottom,V.height-=N.bottom,V}(_),A=new un(g),M=Ci(c,w);let R;if(!M||!w.getIntersection(M))return null;const O={targetRect:M,elementRect:A,positionedElementAncestor:b,viewportRect:w};if(h||m){if(h){const N=Ci(h,w);N&&(O.limiterRect=N)}R=function(N,V){const{elementRect:W}=V,Y=W.getArea(),ne=N.map(qe=>new So(qe,V)).filter(qe=>!!qe.name);let he=0,Me=null;for(const qe of ne){const{limiterIntersectionArea:kt,viewportIntersectionArea:$t}=qe;if(kt===Y)return qe;const tn=Yo($t,2)+Yo(kt,2);tn>he&&(he=tn,Me=qe)}return Me}(u,O)}else R=new So(u[0],O);return R}function Ci(g,c){const u=new un(g).getVisible();return u?u.getIntersection(c):null}class So{constructor(c,u){const h=c(u.targetRect,u.elementRect,u.viewportRect,u.limiterRect);if(!h)return;const{left:m,top:_,name:b,config:w}=h;this.name=b,this.config=w,this._positioningFunctionCoordinates={left:m,top:_},this._options=u}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const c=this._options.limiterRect;return c?c.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 kl(g){const c=g.parentNode;c&&c.removeChild(g)}function qf({window:g,rect:c,alignToTop:u,forceScroll:h,viewportOffset:m}){const _=c.clone().moveBy(0,m.bottom),b=c.clone().moveBy(0,-m.top),w=new un(g).excludeScrollbarsAndBorders(),A=u&&h,M=[b,_].every(W=>w.contains(W));let{scrollX:R,scrollY:O}=g;const N=R,V=O;A?O-=w.top-c.top+m.top:M||(cr(b,w)?O-=w.top-c.top+m.top:Eh(_,w)&&(O+=u?c.top-w.top-m.top:c.bottom-w.bottom+m.bottom)),M||(xd(c,w)?R-=w.left-c.left+m.left:Mh(c,w)&&(R+=c.right-w.right+m.right)),R==N&&O===V||g.scrollTo(R,O)}function Ps({parent:g,getRect:c,alignToTop:u,forceScroll:h,ancestorOffset:m=0,limiterElement:_}){const b=li(g),w=u&&h;let A,M,R;const O=_||b.document.body;for(;g!=O;)M=c(),A=new un(g).excludeScrollbarsAndBorders(),R=A.contains(M),w?g.scrollTop-=A.top-M.top+m:R||(cr(M,A)?g.scrollTop-=A.top-M.top+m:Eh(M,A)&&(g.scrollTop+=u?M.top-A.top-m:M.bottom-A.bottom+m)),R||(xd(M,A)?g.scrollLeft-=A.left-M.left+m:Mh(M,A)&&(g.scrollLeft+=M.right-A.right+m)),g=g.parentNode}function Eh(g,c){return g.bottom>c.bottom}function cr(g,c){return g.topc.right}function li(g){return by(g)?g.startContainer.ownerDocument.defaultView:g.ownerDocument.defaultView}function Kf(g){if(by(g)){let c=g.commonAncestorContainer;return Ir(c)&&(c=c.parentNode),c}return g.parentNode}function Wx(g,c){const u=li(g),h=new un(g);if(u===c)return h;{let m=u;for(;m!=c;){const b=new un(m.frameElement).excludeScrollbarsAndBorders();h.moveBy(b.left,b.top),m=m.parent}}return h}const xg={ctrl:"\u2303",cmd:"\u2318",alt:"\u2325",shift:"\u21e7"},pr={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},zi=function(){const g={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 c=65;c<=90;c++)g[String.fromCharCode(c).toLowerCase()]=c;for(let c=48;c<=57;c++)g[c-48]=c;for(let c=112;c<=123;c++)g["f"+(c-111)]=c;for(const c of"`-=[];',./\\")g[c]=c.charCodeAt(0);return g}(),kg=Object.fromEntries(Object.entries(zi).map(([g,c])=>[c,g.charAt(0).toUpperCase()+g.slice(1)]));function Js(g){let c;if("string"==typeof g){if(c=zi[g.toLowerCase()],!c)throw new fe("keyboard-unknown-key",null,{key:g})}else c=g.keyCode+(g.altKey?zi.alt:0)+(g.ctrlKey?zi.ctrl:0)+(g.shiftKey?zi.shift:0)+(g.metaKey?zi.cmd:0);return c}function kd(g){return"string"==typeof g&&(g=g.split("+").map(u=>u.trim())),g.map(c=>"string"==typeof c?function(u){if(u.endsWith("!"))return Js(u.slice(0,-1));const h=Js(u);return(ae.isMac||ae.isiOS)&&h==zi.ctrl?zi.cmd:h}(c):c).reduce((c,u)=>u+c,0)}function qx(g){let c=kd(g);return Object.entries(ae.isMac||ae.isiOS?xg:pr).reduce((u,[h,m])=>(c&zi[h]&&(c&=~zi[h],u+=m),u),"")+(c?kg[c]:"")}function Lc(g,c){const u="ltr"===c;switch(g){case zi.arrowleft:return u?"left":"right";case zi.arrowright:return u?"right":"left";case zi.arrowup:return"up";case zi.arrowdown:return"down"}}function ho(g){return Array.isArray(g)?g:[g]}de.window.CKEDITOR_TRANSLATIONS||(de.window.CKEDITOR_TRANSLATIONS={});const Qf=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function Hi(g){return Qf.includes(g)?"rtl":"ltr"}class mW{constructor({uiLanguage:c="en",contentLanguage:u}={}){this.uiLanguage=c,this.contentLanguage=u||this.uiLanguage,this.uiLanguageDirection=Hi(this.uiLanguage),this.contentLanguageDirection=Hi(this.contentLanguage),this.t=(h,m)=>this._t(h,m)}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(c,u=[]){return u=ho(u),"string"==typeof c&&(c={string:c}),m=function Yf(g,c,u=1){if("number"!=typeof u)throw new fe("translation-service-quantity-not-a-number",null,{quantity:u});const h=Object.keys(de.window.CKEDITOR_TRANSLATIONS).length;1===h&&(g=Object.keys(de.window.CKEDITOR_TRANSLATIONS)[0]);const m=c.id||c.string;if(0===h||!de.window.CKEDITOR_TRANSLATIONS[A=g]||!de.window.CKEDITOR_TRANSLATIONS[A].dictionary[m])return 1!==u?c.plural:c.string;var A;const b=de.window.CKEDITOR_TRANSLATIONS[g].getPluralForm||(A=>1===A?0:1),w=de.window.CKEDITOR_TRANSLATIONS[g].dictionary[m];return"string"==typeof w?w:w[Number(b(u))]}(this.uiLanguage,c,c.plural?u[0]:1),_=u,m.replace(/%(\d+)/g,(b,w)=>w<_.length?_[w]:b);var m,_}}class Oa extends(vn()){constructor(c={},u={}){super();const h=Zn(c);if(h||(u=c),this._items=[],this._itemMap=new Map,this._idProperty=u.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],h)for(const m of c)this._items.push(m),this._itemMap.set(this._getItemIdBeforeAdding(m),m)}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(c,u){return this.addMany([c],u)}addMany(c,u){if(void 0===u)u=this._items.length;else if(u>this._items.length||u<0)throw new fe("collection-add-item-invalid-index",this);let h=0;for(const m of c){const _=this._getItemIdBeforeAdding(m),b=u+h;this._items.splice(b,0,m),this._itemMap.set(_,m),this.fire("add",m,b),h++}return this.fire("change",{added:c,removed:[],index:u}),this}get(c){let u;if("string"==typeof c)u=this._itemMap.get(c);else{if("number"!=typeof c)throw new fe("collection-get-invalid-arg",this);u=this._items[c]}return u||null}has(c){if("string"==typeof c)return this._itemMap.has(c);{const u=c[this._idProperty];return u&&this._itemMap.has(u)}}getIndex(c){let u;return u="string"==typeof c?this._itemMap.get(c):c,u?this._items.indexOf(u):-1}remove(c){const[u,h]=this._remove(c);return this.fire("change",{added:[],removed:[u],index:h}),u}map(c,u){return this._items.map(c,u)}forEach(c,u){this._items.forEach(c,u)}find(c,u){return this._items.find(c,u)}filter(c,u){return this._items.filter(c,u)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const c=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:c,index:0})}bindTo(c){if(this._bindToCollection)throw new fe("collection-bind-to-rebind",this);return this._bindToCollection=c,{as:u=>{this._setUpBindToBinding(h=>new u(h))},using:u=>{this._setUpBindToBinding("function"==typeof u?u:h=>h[u])}}}_setUpBindToBinding(c){const u=this._bindToCollection,h=(m,_,b)=>{const w=u._bindToCollection==this,A=u._bindToInternalToExternalMap.get(_);if(w&&A)this._bindToExternalToInternalMap.set(_,A),this._bindToInternalToExternalMap.set(A,_);else{const M=c(_);if(!M)return void this._skippedIndexesFromExternal.push(b);let R=b;for(const O of this._skippedIndexesFromExternal)b>O&&R--;for(const O of u._skippedIndexesFromExternal)R>=O&&R++;this._bindToExternalToInternalMap.set(_,M),this._bindToInternalToExternalMap.set(M,_),this.add(M,R);for(let O=0;O{const w=this._bindToExternalToInternalMap.get(_);w&&this.remove(w),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((A,M)=>(bM&&A.push(M),A),[])})}_getItemIdBeforeAdding(c){const u=this._idProperty;let h;if(u in c){if(h=c[u],"string"!=typeof h)throw new fe("collection-add-invalid-id",this);if(this.get(h))throw new fe("collection-add-item-already-exists",this)}else c[u]=h=Lt();return h}_remove(c){let u,h,m,_=!1;const b=this._idProperty;if("string"==typeof c?(h=c,m=this._itemMap.get(h),_=!m,m&&(u=this._items.indexOf(m))):"number"==typeof c?(u=c,m=this._items[u],_=!m,m&&(h=m[b])):(m=c,h=m[b],u=this._items.indexOf(m),_=-1==u||!this._itemMap.get(h)),_)throw new fe("collection-remove-404",this);this._items.splice(u,1),this._itemMap.delete(h);const w=this._bindToInternalToExternalMap.get(m);return this._bindToInternalToExternalMap.delete(m),this._bindToExternalToInternalMap.delete(w),this.fire("remove",m,u),[m,u]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function gr(g){const c=g.next();return c.done?null:c.value}class Bo extends(Za(_t())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(c){if(this._elements.has(c))throw new fe("focustracker-add-element-already-exist",this);this.listenTo(c,"focus",()=>this._focus(c),{useCapture:!0}),this.listenTo(c,"blur",()=>this._blur(),{useCapture:!0}),this._elements.add(c)}remove(c){c===this.focusedElement&&this._blur(),this._elements.has(c)&&(this.stopListening(c),this._elements.delete(c))}destroy(){this.stopListening()}_focus(c){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=c,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout(()=>{this.focusedElement=null,this.isFocused=!1},0)}}class ea{constructor(){this._listener=new(Za())}listenTo(c){this._listener.listenTo(c,"keydown",(u,h)=>{this._listener.fire("_keydown:"+Js(h),h)})}set(c,u,h={}){const m=kd(c);this._listener.listenTo(this._listener,"_keydown:"+m,(b,w)=>{u(w,()=>{w.preventDefault(),w.stopPropagation(),b.stop()}),b.return=!0},{priority:h.priority})}press(c){return!!this._listener.fire("_keydown:"+Js(c),c)}stopListening(c){this._listener.stopListening(c)}destroy(){this.stopListening()}}function ta(g){return Zn(g)?new Map(g):function(c){const u=new Map;for(const h in c)u.set(h,c[h]);return u}(g)}function Rh(g,c){let u;function h(...m){h.cancel(),u=setTimeout(()=>g(...m),c)}return h.cancel=()=>{clearTimeout(u)},h}function Gr(g,c){return!!(u=g.charAt(c-1))&&1==u.length&&/[\ud800-\udbff]/.test(u)&&!!(h=g.charAt(c))&&1==h.length&&/[\udc00-\udfff]/.test(h);var h,u}function MT(g,c){return!!(u=g.charAt(c))&&1==u.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(u);var u}const Fa=function(){const g=[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")],c=new RegExp("\\p{Regional_Indicator}{2}","u").source,u="(?:"+g.map(h=>h.source).join("|")+")";return new RegExp(`${c}|${u}(?:\u200d${u})*`,"ug")}();function Os(g,c){const u=String(g).matchAll(Fa);return Array.from(u).some(h=>h.index{this._renderViewIntoCollectionParent(h,m)}),this.on("remove",(u,h)=>{h.element&&this._parentElement&&h.element.remove()}),this._parentElement=null}destroy(){this.map(c=>c.destroy())}setParent(c){this._parentElement=c;for(const u of this)this._renderViewIntoCollectionParent(u)}delegate(...c){if(!c.length||!c.every(u=>"string"==typeof u))throw new fe("ui-viewcollection-delegate-wrong-events",this);return{to:u=>{for(const h of this)for(const m of c)h.delegate(m).to(u);this.on("add",(h,m)=>{for(const _ of c)m.delegate(_).to(u)}),this.on("remove",(h,m)=>{for(const _ of c)m.stopDelegating(_,u)})}}}_renderViewIntoCollectionParent(c,u){c.isRendered||c.render(),c.element&&this._parentElement&&this._parentElement.insertBefore(c.element,this._parentElement.children[u])}remove(c){return super.remove(c)}}var Ph=ft(6062),At=ft.n(Ph),Al=ft(4793);At()(Al.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class gi extends(Za(_t())){constructor(c){super(),this.element=null,this.isRendered=!1,this.locale=c,this.t=c&&c.t,this._viewCollections=new Oa,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(u,h)=>{h.locale=c,h.t=c&&c.t}),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=rc.bind(this,this)}createCollection(c){const u=new Dl(c);return this._viewCollections.add(u),u}registerChild(c){Zn(c)||(c=[c]);for(const u of c)this._unboundChildren.add(u)}deregisterChild(c){Zn(c)||(c=[c]);for(const u of c)this._unboundChildren.remove(u)}setTemplate(c){this.template=new rc(c)}extendTemplate(c){rc.extend(this.template,c)}render(){if(this.isRendered)throw new fe("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(c=>c.destroy()),this.template&&this.template._revertData&&this.template.revert(this.element)}}class rc extends(vn()){constructor(c){super(),Object.assign(this,yL(bL(c))),this._isRendered=!1,this._revertData=null}render(){const c=this._renderNode({intoFragment:!0});return this._isRendered=!0,c}apply(c){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:c,intoFragment:!1,isApplying:!0,revertData:this._revertData}),c}revert(c){if(!this._revertData)throw new fe("ui-template-revert-not-applied",[this,c]);this._revertTemplateFromNode(c,this._revertData)}*getViews(){yield*function*c(u){if(u.children)for(const h of u.children)Zf(h)?yield h:Cy(h)&&(yield*c(h))}(this)}static bind(c,u){return{to:(h,m)=>new _L({eventNameOrFunction:h,attribute:h,observable:c,emitter:u,callback:m}),if:(h,m,_)=>new RT({observable:c,emitter:u,attribute:h,valueIfTrue:m,callback:_})}}static extend(c,u){if(c._isRendered)throw new fe("template-extend-render",[this,c]);kL(c,yL(bL(u)))}_renderNode(c){let u;if(u=c.node?this.tag&&this.text:this.tag?this.text:!this.text,u)throw new fe("ui-template-wrong-syntax",this);return this.text?this._renderText(c):this._renderElement(c)}_renderElement(c){let u=c.node;return u||(u=c.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(c),this._renderElementChildren(c),this._setUpListeners(c),u}_renderText(c){let u=c.node;return u?c.revertData.text=u.textContent:u=c.node=document.createTextNode(""),Yx(this.text)?this._bindToObservable({schema:this.text,updater:fW(u),data:c}):u.textContent=this.text.join(""),u}_renderAttributes(c){if(!this.attributes)return;const u=c.node,h=c.revertData;for(const m in this.attributes){const _=u.getAttribute(m),b=this.attributes[m];h&&(h.attributes[m]=_);const w=DL(b)?b[0].ns:null;if(Yx(b)){const A=DL(b)?b[0].value:b;h&&AL(m)&&A.unshift(_),this._bindToObservable({schema:A,updater:_W(u,m,w),data:c})}else if("style"==m&&"string"!=typeof b[0])this._renderStyleAttribute(b[0],c);else{h&&_&&AL(m)&&b.unshift(_);const A=b.map(M=>M&&M.value||M).reduce((M,R)=>M.concat(R),[]).reduce(wL,"");Xf(A)||u.setAttributeNS(w,m,A)}}}_renderStyleAttribute(c,u){const h=u.node;for(const m in c){const _=c[m];Yx(_)?this._bindToObservable({schema:[_],updater:vW(h,m),data:u}):h.style[m]=_}}_renderElementChildren(c){const u=c.node,h=c.intoFragment?document.createDocumentFragment():u,m=c.isApplying;let _=0;for(const b of this.children)if(PT(b)){if(!m){b.setParent(u);for(const w of b)h.appendChild(w.element)}}else if(Zf(b))m||(b.isRendered||b.render(),h.appendChild(b.element));else if(wu(b))h.appendChild(b);else if(m){const w={children:[],bindings:[],attributes:{}};c.revertData.children.push(w),b._renderNode({intoFragment:!1,node:h.childNodes[_++],isApplying:!0,revertData:w})}else h.appendChild(b.render());c.intoFragment&&u.appendChild(h)}_setUpListeners(c){if(this.eventListeners)for(const u in this.eventListeners){const h=this.eventListeners[u].map(m=>{const[_,b]=u.split("@");return m.activateDomEventListener(_,b,c)});c.revertData&&c.revertData.bindings.push(h)}}_bindToObservable({schema:c,updater:u,data:h}){const m=h.revertData;vL(c,u,h);const _=c.filter(b=>!Xf(b)).filter(b=>b.observable).map(b=>b.activateAttributeListener(c,u,h));m&&m.bindings.push(_)}_revertTemplateFromNode(c,u){for(const m of u.bindings)for(const _ of m)_();if(u.text)return void(c.textContent=u.text);const h=c;for(const m in u.attributes){const _=u.attributes[m];null===_?h.removeAttribute(m):h.setAttribute(m,_)}for(let m=0;mvL(c,u,h);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,m),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,m)}}}class _L extends yy{constructor(c){super(c),this.eventNameOrFunction=c.eventNameOrFunction}activateDomEventListener(c,u,h){const m=(_,b)=>{u&&!b.target.matches(u)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(b):this.observable.fire(this.eventNameOrFunction,b))};return this.emitter.listenTo(h.node,c,m),()=>{this.emitter.stopListening(h.node,c,m)}}}class RT extends yy{constructor(c){super(c),this.valueIfTrue=c.valueIfTrue}getValue(c){return!Xf(super.getValue(c))&&(this.valueIfTrue||!0)}}function Yx(g){return!!g&&(g.value&&(g=g.value),Array.isArray(g)?g.some(Yx):g instanceof yy)}function vL(g,c,{node:u}){const h=(b=u,g.map(w=>w instanceof yy?w.getValue(b):w));var b;let m;m=1==g.length&&g[0]instanceof RT?h[0]:h.reduce(wL,""),Xf(m)?c.remove():c.set(m)}function fW(g){return{set(c){g.textContent=c},remove(){g.textContent=""}}}function _W(g,c,u){return{set(h){g.setAttributeNS(u,c,h)},remove(){g.removeAttributeNS(u,c)}}}function vW(g,c){return{set(u){g.style[c]=u},remove(){g.style[c]=null}}}function bL(g){return jx(g,c=>{if(c&&(c instanceof yy||Cy(c)||Zf(c)||PT(c)))return c})}function yL(g){if("string"==typeof g?g={text:[g]}:g.text&&((c=g).text=ho(c.text)),g.on&&(g.eventListeners=function(c){for(const u in c)CL(c,u);return c}(g.on),delete g.on),!g.text){g.attributes&&function(u){for(const h in u)u[h].value&&(u[h].value=ho(u[h].value)),CL(u,h)}(g.attributes);const c=[];if(g.children)if(PT(g.children))c.push(g.children);else for(const u of g.children)Cy(u)||Zf(u)||wu(u)?c.push(u):c.push(new rc(u));g.children=c}var c;return g}function CL(g,c){g[c]=ho(g[c])}function wL(g,c){return Xf(c)?g:Xf(g)?c:`${g} ${c}`}function xL(g,c){for(const u in c)g[u]?g[u].push(...c[u]):g[u]=c[u]}function kL(g,c){if(c.attributes&&(g.attributes||(g.attributes={}),xL(g.attributes,c.attributes)),c.eventListeners&&(g.eventListeners||(g.eventListeners={}),xL(g.eventListeners,c.eventListeners)),c.text&&g.text.push(...c.text),c.children&&c.children.length){if(g.children.length!=c.children.length)throw new fe("ui-template-extend-children-mismatch",g);let u=0;for(const h of c.children)kL(g.children[u++],h)}}function Xf(g){return!g&&0!==g}function Zf(g){return g instanceof gi}function Cy(g){return g instanceof rc}function PT(g){return g instanceof Dl}function DL(g){return qt(g[0])&&g[0].ns}function AL(g){return"class"==g||"style"==g}class Oh extends Dl{constructor(c,u=[]){super(u),this.locale=c}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new rc({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let c=document.querySelector(".ck-body-wrapper");c||(c=_d(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(c)),c.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const c=document.querySelector(".ck-body-wrapper");c&&0==c.childElementCount&&c.remove()}}var Dd=ft(6574);At()(Dd.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const IL=class extends gi{constructor(){super();const g=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",g.if("isVisible","ck-hidden",c=>!c),"ck-reset_all-excluded",g.if("isColorInherited","ck-icon_inherit-color")],viewBox:g.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 g=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),c=g.getAttribute("viewBox");c&&(this.viewBox=c);for(const{name:u,value:h}of Array.from(g.attributes))IL.presentationalAttributeNames.includes(u)&&this.element.setAttribute(u,h);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;g.childNodes.length>0;)this.element.appendChild(g.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach(g=>{g.style.fill=this.fillColor})}};let Qo=IL;Qo.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 wy extends gi{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const c=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:c.to("style"),id:c.to("id")},children:[{text:c.to("text")}]})}}var Ja=ft(4906);At()(Ja.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Hn extends gi{constructor(c,u=new wy){super(c),this._focusDelayed=null;const h=this.bindTemplate,m=Lt();this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${m}`),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(u),this.iconView=new Qo,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 _={tag:"button",attributes:{class:["ck","ck-button",h.to("class"),h.if("isEnabled","ck-disabled",b=>!b),h.if("isVisible","ck-hidden",b=>!b),h.to("isOn",b=>b?"ck-on":"ck-off"),h.if("withText","ck-button_with-text"),h.if("withKeystroke","ck-button_with-keystroke")],role:h.to("role"),type:h.to("type",b=>b||"button"),tabindex:h.to("tabindex"),"aria-label":h.to("ariaLabel"),"aria-labelledby":h.to("ariaLabelledBy"),"aria-disabled":h.if("isEnabled",!0,b=>!b),"aria-pressed":h.to("isOn",b=>!!this.isToggleable&&String(!!b)),"data-cke-tooltip-text":h.to("_tooltipString"),"data-cke-tooltip-position":h.to("tooltipPosition")},children:this.children,on:{click:h.to(b=>{this.isEnabled?this.fire("execute"):b.preventDefault()})}};ae.isSafari&&(this._focusDelayed||(this._focusDelayed=Rh(()=>this.focus(),0)),_.on.mousedown=h.to(()=>{this._focusDelayed()}),_.on.mouseup=h.to(()=>{this._focusDelayed.cancel()})),this.setTemplate(_)}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(c){return c.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),c}_createKeystrokeView(){const c=new gi;return c.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",u=>qx(u))}]}),c}_getTooltipString(c,u,h){return c?"string"==typeof c?c:(h&&(h=qx(h)),c instanceof Function?c(u,h):`${u}${h?` (${h})`:""}`):""}}var Qx=ft(5332);At()(Qx.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Dg extends Hn{constructor(c){super(c),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const c=new gi;return c.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),c}}var Xx=ft(6781);At()(Xx.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),ft(1103),ft(841);var xy=ft(3662);At()(xy.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ky extends gi{constructor(c){super(c),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${Lt()}`;const u=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:u.to("for")},children:[{text:u.to("text")}]})}}var Jx=ft(2577);At()(Jx.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class xu extends gi{constructor(c,u){super(c);const h=`ck-labeled-field-view-${Lt()}`,m=`ck-labeled-field-view-status-${Lt()}`;this.fieldView=u(this,h,m),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(h),this.statusView=this._createStatusView(m),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",(b,w)=>b||w);const _=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",_.to("class"),_.if("isEnabled","ck-disabled",b=>!b),_.if("isEmpty","ck-labeled-field-view_empty"),_.if("isFocused","ck-labeled-field-view_focused"),_.if("placeholder","ck-labeled-field-view_placeholder"),_.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(c){const u=new ky(this.locale);return u.for=c,u.bind("text").to(this,"label"),u}_createStatusView(c){const u=new gi(this.locale),h=this.bindTemplate;return u.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",h.if("errorText","ck-labeled-field-view__status_error"),h.if("_statusText","ck-hidden",m=>!m)],id:c,role:h.if("errorText","alert")},children:[{text:h.to("_statusText")}]}),u}focus(c){this.fieldView.focus(c)}}class Ag extends gi{constructor(c){super(c),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 Bo,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const u=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",u.if("isFocused","ck-input_focused"),u.if("isEmpty","ck-input-text_empty"),u.if("hasError","ck-error")],id:u.to("id"),placeholder:u.to("placeholder"),readonly:u.to("isReadOnly"),"aria-invalid":u.if("hasError",!0),"aria-describedby":u.to("ariaDescribedById")},on:{input:u.to((...h)=>{this.fire("input",...h),this._updateIsEmpty()}),change:u.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",(c,u,h)=>{this._setDomElementValue(h),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(c){this.element.value=c||0===c?c:""}}var e1=ft(4879);At()(e1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class CW extends Ag{constructor(c){super(c),this.set("inputMode","text"),this.extendTemplate({attributes:{inputmode:this.bindTemplate.to("inputMode")}})}}class wW extends CW{constructor(c){super(c),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}var LT=ft(8182);At()(LT.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class xW extends gi{constructor(c){super(c);const u=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",u.to("position",h=>`ck-dropdown__panel_${h}`),u.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:u.to(h=>{"input"!==h.target.tagName.toLocaleLowerCase()&&h.preventDefault()})}})}focus(){if(this.children.length){const c=this.children.first;"function"==typeof c.focus?c.focus():St("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const c=this.children.last;"function"==typeof c.focusLast?c.focusLast():c.focus()}}}var t1=ft(5485);At()(t1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const o1=class extends gi{constructor(g,c,u){super(g);const h=this.bindTemplate;this.buttonView=c,this.panelView=u,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new ea,this.focusTracker=new Bo,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",h.to("class"),h.if("isEnabled","ck-disabled",m=>!m)],id:h.to("id"),"aria-describedby":h.to("ariaDescribedById")},children:[c,u]}),c.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":h.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.on("change:isOpen",(c,u,h)=>{if(h)if("auto"===this.panelPosition){const m=o1._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=m?m.name:this._panelPositions[0].name}else this.panelView.position=this.panelPosition}),this.keystrokes.listenTo(this.element);const g=(c,u)=>{this.isOpen&&(this.isOpen=!1,u())};this.keystrokes.set("arrowdown",(c,u)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,u())}),this.keystrokes.set("arrowright",(c,u)=>{this.isOpen&&u()}),this.keystrokes.set("arrowleft",g),this.keystrokes.set("esc",g)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:g,north:c,southEast:u,southWest:h,northEast:m,northWest:_,southMiddleEast:b,southMiddleWest:w,northMiddleEast:A,northMiddleWest:M}=o1.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[u,h,b,w,g,m,_,A,M,c]:[h,u,w,b,g,_,m,M,A,c]}};let Jf=o1;Jf.defaultPanelPositions={south:(g,c)=>({top:g.bottom,left:g.left-(c.width-g.width)/2,name:"s"}),southEast:g=>({top:g.bottom,left:g.left,name:"se"}),southWest:(g,c)=>({top:g.bottom,left:g.left-c.width+g.width,name:"sw"}),southMiddleEast:(g,c)=>({top:g.bottom,left:g.left-(c.width-g.width)/4,name:"sme"}),southMiddleWest:(g,c)=>({top:g.bottom,left:g.left-3*(c.width-g.width)/4,name:"smw"}),north:(g,c)=>({top:g.top-c.height,left:g.left-(c.width-g.width)/2,name:"n"}),northEast:(g,c)=>({top:g.top-c.height,left:g.left,name:"ne"}),northWest:(g,c)=>({top:g.top-c.height,left:g.left-c.width+g.width,name:"nw"}),northMiddleEast:(g,c)=>({top:g.top-c.height,left:g.left-(c.width-g.width)/4,name:"nme"}),northMiddleWest:(g,c)=>({top:g.top-c.height,left:g.left-3*(c.width-g.width)/4,name:"nmw"})},Jf._getOptimalPosition=Ot;const BT='';class kW extends Hn{constructor(c){super(c),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",u=>String(u))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const c=new Qo;return c.content=BT,c.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),c}}class Ad extends(vn()){constructor(c){if(super(),this.focusables=c.focusables,this.focusTracker=c.focusTracker,this.keystrokeHandler=c.keystrokeHandler,this.actions=c.actions,c.actions&&c.keystrokeHandler)for(const u in c.actions){let h=c.actions[u];"string"==typeof h&&(h=[h]);for(const m of h)c.keystrokeHandler.set(m,(_,b)=>{this[u](),b()})}this.on("forwardCycle",()=>this.focusFirst(),{priority:"low"}),this.on("backwardCycle",()=>this.focusLast(),{priority:"low"})}get first(){return this.focusables.find(Ay)||null}get last(){return this.focusables.filter(Ay).slice(-1)[0]||null}get next(){return this._getFocusableItem(1)}get previous(){return this._getFocusableItem(-1)}get current(){let c=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find((u,h)=>{const m=u.element===this.focusTracker.focusedElement;return m&&(c=h),m}),c)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const c=this.next;c&&this.focusables.getIndex(c)===this.current||(c===this.first?this.fire("forwardCycle"):this._focus(c,1))}focusPrevious(){const c=this.previous;c&&this.focusables.getIndex(c)===this.current||(c===this.last?this.fire("backwardCycle"):this._focus(c,-1))}_focus(c,u){c&&c.focus(u)}_getFocusableItem(c){const u=this.current,h=this.focusables.length;if(!h)return null;if(null===u)return this[1===c?"first":"last"];let m=(u+h+c)%h;do{const _=this.focusables.get(m);if(Ay(_))return _;m=(m+h+c)%h}while(m!==u);return null}}function Ay(g){return!(!("focus"in g)||!Th(g.element))}class r1 extends gi{constructor(c){super(c),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class TL extends gi{constructor(c){super(c),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}var EL=Object.defineProperty,VT=Object.getOwnPropertySymbols,zT=Object.prototype.hasOwnProperty,ML=Object.prototype.propertyIsEnumerable,s1=(g,c,u)=>c in g?EL(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,HT=(g,c)=>{for(var u in c||(c={}))zT.call(c,u)&&s1(g,u,c[u]);if(VT)for(var u of VT(c))ML.call(c,u)&&s1(g,u,c[u]);return g};function RL(g){if(Array.isArray(g))return{items:g,removeItems:[]};const c={items:[],removeItems:[]};return g?HT(HT({},c),g):c}class ht extends(_t()){constructor(c){super(),this._disableStack=new Set,this.editor=c,this.set("isEnabled",!0)}forceDisabled(c){this._disableStack.add(c),1==this._disableStack.size&&(this.on("set:isEnabled",ci,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(c){this._disableStack.delete(c),0==this._disableStack.size&&(this.off("set:isEnabled",ci),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function ci(g){g.return=!1,g.stop()}class Bi extends(_t()){constructor(c){super(),this.editor=c,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(c,"change:isReadOnly",()=>{this.refresh()}),this.on("set:isEnabled",u=>{if(!this.affectsData)return;const h=c.model.document.selection,m="$graveyard"!=h.getFirstPosition().root.rootName&&c.model.canEditAt(h);(c.isReadOnly||this._isEnabledBasedOnSelection&&!m)&&(u.return=!1,u.stop())},{priority:"highest"}),this.on("execute",u=>{this.isEnabled||u.stop()},{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(c){this._affectsData=c}refresh(){this.isEnabled=!0}forceDisabled(c){this._disableStack.add(c),1==this._disableStack.size&&(this.on("set:isEnabled",GT,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(c){this._disableStack.delete(c),0==this._disableStack.size&&(this.off("set:isEnabled",GT),this.refresh())}execute(...c){}destroy(){this.stopListening()}}function GT(g){g.return=!1,g.stop()}class jT extends Bi{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...c){const u=this._getFirstEnabledCommand();return!!u&&u.execute(c)}registerChildCommand(c,u={}){ko(this._childCommandsDefinitions,{command:c,priority:u.priority||"normal"}),c.on("change:isEnabled",()=>this._checkEnabled()),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const c=this._childCommandsDefinitions.find(({command:u})=>u.isEnabled);return c&&c.command}}class a1 extends(vn()){constructor(c,u=[],h=[]){super(),this._plugins=new Map,this._context=c,this._availablePlugins=new Map;for(const m of u)m.pluginName&&this._availablePlugins.set(m.pluginName,m);this._contextPlugins=new Map;for(const[m,_]of h)this._contextPlugins.set(m,_),this._contextPlugins.set(_,m),m.pluginName&&this._availablePlugins.set(m.pluginName,m)}*[Symbol.iterator](){for(const c of this._plugins)"function"==typeof c[0]&&(yield c)}get(c){const u=this._plugins.get(c);if(!u){let h=c;throw"function"==typeof c&&(h=c.pluginName||c.name),new fe("plugincollection-plugin-not-loaded",this._context,{plugin:h})}return u}has(c){return this._plugins.has(c)}init(c,u=[],h=[]){const m=this,_=this._context;(function W(Y,ne=new Set){Y.forEach(he=>{A(he)&&(ne.has(he)||(ne.add(he),he.pluginName&&!m._availablePlugins.has(he.pluginName)&&m._availablePlugins.set(he.pluginName,he),he.requires&&W(he.requires,ne)))})})(c),N(c);const b=[...function W(Y,ne=new Set){return Y.map(he=>A(he)?he:m._availablePlugins.get(he)).reduce((he,Me)=>ne.has(Me)?he:(ne.add(Me),Me.requires&&(N(Me.requires,Me),W(Me.requires,ne).forEach(qe=>he.add(qe))),he.add(Me)),new Set)}(c.filter(W=>!R(W,u)))];!function(W,Y){for(const ne of Y){if("function"!=typeof ne)throw new fe("plugincollection-replace-plugin-invalid-type",null,{pluginItem:ne});const he=ne.pluginName;if(!he)throw new fe("plugincollection-replace-plugin-missing-name",null,{pluginItem:ne});if(ne.requires&&ne.requires.length)throw new fe("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:he});const Me=m._availablePlugins.get(he);if(!Me)throw new fe("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:he});const qe=W.indexOf(Me);if(-1===qe){if(m._contextPlugins.has(Me))return;throw new fe("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:he})}if(Me.requires&&Me.requires.length)throw new fe("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:he});W.splice(qe,1,ne),m._availablePlugins.set(he,ne)}}(b,h);const w=b.map(W=>{let Y=m._contextPlugins.get(W);return Y=Y||new W(_),m._add(W,Y),Y});return V(w,"init").then(()=>V(w,"afterInit")).then(()=>w);function A(W){return"function"==typeof W}function M(W){return A(W)&&!!W.isContextPlugin}function R(W,Y){return Y.some(ne=>ne===W||O(W)===ne||O(ne)===W)}function O(W){return A(W)?W.pluginName||W.name:W}function N(W,Y=null){W.map(ne=>A(ne)?ne:m._availablePlugins.get(ne)||ne).forEach(ne=>{(function(he,Me){if(!A(he))throw Me?new fe("plugincollection-soft-required",_,{missingPlugin:he,requiredBy:O(Me)}):new fe("plugincollection-plugin-not-found",_,{plugin:he})})(ne,Y),function(he,Me){if(M(Me)&&!M(he))throw new fe("plugincollection-context-required",_,{plugin:O(he),requiredBy:O(Me)})}(ne,Y),function(he,Me){if(Me&&R(he,u))throw new fe("plugincollection-required",_,{plugin:O(he),requiredBy:O(Me)})}(ne,Y)})}function V(W,Y){return W.reduce((ne,he)=>he[Y]?m._contextPlugins.has(he)?ne:ne.then(he[Y].bind(he)):ne,Promise.resolve())}}destroy(){const c=[];for(const[,u]of this)"function"!=typeof u.destroy||this._contextPlugins.has(u)||c.push(u.destroy());return Promise.all(c)}_add(c,u){this._plugins.set(c,u);const h=c.pluginName;if(h){if(this._plugins.has(h))throw new fe("plugincollection-plugin-name-conflict",null,{pluginName:h,plugin1:this._plugins.get(h).constructor,plugin2:c});this._plugins.set(h,u)}}}class l1{constructor(c){this._contextOwner=null,this.config=new AT(c,this.constructor.defaultConfig);const u=this.constructor.builtinPlugins;this.config.define("plugins",u),this.plugins=new a1(this,u);const h=this.config.get("language")||{};this.locale=new mW({uiLanguage:"string"==typeof h?h:h.ui,contentLanguage:this.config.get("language.content")}),this.t=this.locale.t,this.editors=new Oa}initPlugins(){const c=this.config.get("plugins")||[],u=this.config.get("substitutePlugins")||[];for(const h of c.concat(u)){if("function"!=typeof h)throw new fe("context-initplugins-constructor-only",null,{Plugin:h});if(!0!==h.isContextPlugin)throw new fe("context-initplugins-invalid-plugin",null,{Plugin:h})}return this.plugins.init(c,[],u)}destroy(){return Promise.all(Array.from(this.editors,c=>c.destroy())).then(()=>this.plugins.destroy())}_addEditor(c,u){if(this._contextOwner)throw new fe("context-addeditor-private-context");this.editors.add(c),u&&(this._contextOwner=c)}_removeEditor(c){return this.editors.has(c)&&this.editors.remove(c),this._contextOwner===c?this.destroy():Promise.resolve()}_getEditorConfig(){const c={};for(const u of this.config.names())["plugins","removePlugins","extraPlugins"].includes(u)||(c[u]=this.config.get(u));return c}static create(c){return new Promise(u=>{const h=new this(c);u(h.initPlugins().then(()=>h))})}}class Iy extends(_t()){constructor(c){super(),this.context=c}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}class c1 extends ea{constructor(c){super(),this.editor=c}set(c,u,h={}){if("string"==typeof u){const m=u;u=(_,b)=>{this.editor.execute(m),b()}}super.set(c,u,h)}}var $T=ft(4717);At()($T.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const e_=new WeakMap;let d1=!1;function po({view:g,element:c,text:u,isDirectHost:h=!0,keepOnFocus:m=!1}){const _=g.document;function b(w){e_.get(_).set(c,{text:w,isDirectHost:h,keepOnFocus:m,hostElement:h?c:null}),g.change(A=>Ig(_,A))}e_.has(_)||(e_.set(_,new Map),_.registerPostFixer(w=>Ig(_,w)),_.on("change:isComposing",()=>{g.change(w=>Ig(_,w))},{priority:"high"})),c.is("editableElement")&&c.on("change:placeholder",(w,A,M)=>{b(M)}),c.placeholder?b(c.placeholder):u&&b(u),u&&(d1||St("enableplaceholder-deprecated-text-option"),d1=!0)}function Ig(g,c){const u=e_.get(g),h=[];let m=!1;for(const[_,b]of u)b.isDirectHost&&(h.push(_),ia(c,_,b)&&(m=!0));for(const[_,b]of u){if(b.isDirectHost)continue;const w=PL(_);w&&(h.includes(w)||(b.hostElement=w,ia(c,_,b)&&(m=!0)))}return m}function ia(g,c,u){const{text:h,isDirectHost:m,hostElement:_}=u;let b=!1;return _.getAttribute("data-placeholder")!==h&&(g.setAttribute("data-placeholder",h,_),b=!0),(m||1==c.childCount)&&function(w,A){if(!w.isAttached()||Array.from(w.getChildren()).some(O=>!O.is("uiElement")))return!1;const M=w.document,R=M.selection.anchor;return!(M.isComposing&&R&&R.parent===w||!A&&M.isFocused&&(!R||R.parent===w))}(_,u.keepOnFocus)?(w=g,!(A=_).hasClass("ck-placeholder")&&(w.addClass("ck-placeholder",A),!0)&&(b=!0)):function u1(g,c){return!!c.hasClass("ck-placeholder")&&(g.removeClass("ck-placeholder",c),!0)}(g,_)&&(b=!0),b;var w,A}function PL(g){if(g.childCount){const c=g.getChild(0);if(c.is("element")&&!c.is("uiElement")&&!c.is("attributeElement"))return c}return null}class ku{is(){throw new Error("is() method is abstract")}}const Fh=function(g){return Gx(g,4)};class jr extends(vn(ku)){constructor(c){super(),this.document=c,this.parent=null}get index(){let c;if(!this.parent)return null;if(-1==(c=this.parent.getChildIndex(this)))throw new fe("view-node-not-found-in-parent",this);return c}get nextSibling(){const c=this.index;return null!==c&&this.parent.getChild(c+1)||null}get previousSibling(){const c=this.index;return null!==c&&this.parent.getChild(c-1)||null}get root(){let c=this;for(;c.parent;)c=c.parent;return c}isAttached(){return this.root.is("rootElement")}getPath(){const c=[];let u=this;for(;u.parent;)c.unshift(u.index),u=u.parent;return c}getAncestors(c={}){const u=[];let h=c.includeSelf?this:this.parent;for(;h;)u[c.parentFirst?"push":"unshift"](h),h=h.parent;return u}getCommonAncestor(c,u={}){const h=this.getAncestors(u),m=c.getAncestors(u);let _=0;for(;h[_]==m[_]&&h[_];)_++;return 0===_?null:h[_-1]}isBefore(c){if(this==c||this.root!==c.root)return!1;const u=this.getPath(),h=c.getPath(),m=Dr(u,h);switch(m){case"prefix":return!0;case"extension":return!1;default:return u[m]c.data.length)throw new fe("view-textproxy-wrong-offsetintext",this);if(h<0||u+h>c.data.length)throw new fe("view-textproxy-wrong-length",this);this.data=c.data.substring(u,u+h),this.offsetInText=u}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(c={}){const u=[];let h=c.includeSelf?this.textNode:this.parent;for(;null!==h;)u[c.parentFirst?"push":"unshift"](h),h=h.parent;return u}}Vc.prototype.is=function(g){return"$textProxy"===g||"view:$textProxy"===g||"textProxy"===g||"view:textProxy"===g};class sc{constructor(...c){this._patterns=[],this.add(...c)}add(...c){for(let u of c)("string"==typeof u||u instanceof RegExp)&&(u={name:u}),this._patterns.push(u)}match(...c){for(const u of c)for(const h of this._patterns){const m=Id(u,h);if(m)return{element:u,pattern:h,match:m}}return null}matchAll(...c){const u=[];for(const h of c)for(const m of this._patterns){const _=Id(h,m);_&&u.push({element:h,pattern:m,match:_})}return u.length>0?u:null}getElementName(){if(1!==this._patterns.length)return null;const c=this._patterns[0],u=c.name;return"function"==typeof c||!u||u instanceof RegExp?null:u}}function Id(g,c){if("function"==typeof c)return c(g);const u={};return c.name&&(u.name=(m=g.name,(h=c.name)instanceof RegExp?!!m.match(h):h===m),!u.name)||c.attributes&&(u.attributes=function(h,m){const _=new Set(m.getAttributeKeys());return Es(h)?(void 0!==h.style&&St("matcher-pattern-deprecated-attributes-style-key",h),void 0!==h.class&&St("matcher-pattern-deprecated-attributes-class-key",h)):(_.delete("style"),_.delete("class")),Sy(h,_,b=>m.getAttribute(b))}(c.attributes,g),!u.attributes)||c.classes&&(u.classes=function(h,m){return Sy(h,m.getClassNames(),()=>{})}(c.classes,g),!u.classes)||c.styles&&(u.styles=function(h,m){return Sy(h,m.getStyleNames(!0),_=>m.getStyle(_))}(c.styles,g),!u.styles)?null:u;var h,m}function Sy(g,c,u){const h=(b=g,Array.isArray(b)?b.map(w=>Es(w)?(void 0!==w.key&&void 0!==w.value||St("matcher-pattern-missing-key-or-value",w),[w.key,w.value]):[w,!0]):Es(b)?Object.entries(b):[[b,!0]]),m=Array.from(c),_=[];var b;if(h.forEach(([b,w])=>{m.forEach(A=>{var M,R;R=A,(!0===(M=b)||M===R||M instanceof RegExp&&R.match(M))&&function(M,R,O){if(!0===M)return!0;const N=O(R);return M===N||M instanceof RegExp&&!!String(N).match(M)}(w,A,u)&&_.push(A)})}),h.length&&!(_.lengthm?0:m+c),(u=u>m?m:u)<0&&(u+=m),m=c>u?0:u-c>>>0,c>>>=0;for(var _=Array(m);++h0){if(++c>=800)return arguments[0]}else c=0;return g.apply(void 0,arguments)}}(eE),Ey=function(g){return function(g,c){return v1(function(g,c,u){return c=Lh(void 0===c?g.length-1:c,0),function(){for(var h=arguments,m=-1,_=Lh(h.length-c,0),b=Array(_);++m<_;)b[m]=h[c+m];m=-1;for(var w=Array(c+1);++m1?u[m-1]:void 0,b=m>2?u[2]:void 0;for(_=g.length>3&&"function"==typeof _?(m--,_):void 0,b&&function(g,c,u){if(!qt(u))return!1;var h=typeof c;return!!("number"==h?Dh(u)&&pT(c,u.length):"string"==h&&c in u)&&Ch(u[c],g)}(u[0],u[1],b)&&(_=m<3?void 0:_,m=1),c=Object(c);++hh===c);return Array.isArray(u)}set(c,u){if(qt(c))for(const[h,m]of Object.entries(c))this._styleProcessor.toNormalizedForm(h,m,this._styles);else this._styleProcessor.toNormalizedForm(c,u,this._styles)}remove(c){const u=My(c);(function(g,c){null==g||function(g,c){null==(g=function(g,c){return c.length<2?g:an(g,z(c,0,-1))}(g,c=g1(c,g)))||delete g[ot(function(g){var c=null==g?0:g.length;return c?g[c-1]:void 0}(c))]}(g,c)})(this._styles,u),delete this._styles[c],this._cleanEmptyObjectsOnPath(u)}getNormalized(c){return this._styleProcessor.getNormalized(c,this._styles)}toString(){return this.isEmpty?"":this._getStylesEntries().map(c=>c.join(":")).sort().join(";")+";"}getAsString(c){if(this.isEmpty)return;if(this._styles[c]&&!qt(this._styles[c]))return this._styles[c];const u=this._styleProcessor.getReducedForm(c,this._styles).find(([h])=>h===c);return Array.isArray(u)?u[1]:void 0}getStyleNames(c=!1){return this.isEmpty?[]:c?this._styleProcessor.getStyleNames(this._styles):this._getStylesEntries().map(([u])=>u)}clear(){this._styles={}}_getStylesEntries(){const c=[],u=Object.keys(this._styles);for(const h of u)c.push(...this._styleProcessor.getReducedForm(h,this._styles));return c}_cleanEmptyObjectsOnPath(c){const u=c.split(".");if(!(u.length>1))return;const h=u.splice(0,u.length-1).join("."),m=Du(this._styles,h);m&&!Object.keys(m).length&&this.remove(h)}}class rE{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(c,u,h){if(qt(u))Ry(h,My(c),u);else if(this._normalizers.has(c)){const m=this._normalizers.get(c),{path:_,value:b}=m(u);Ry(h,_,b)}else Ry(h,c,u)}getNormalized(c,u){if(!c)return iE({},u);if(void 0!==u[c])return u[c];if(this._extractors.has(c)){const h=this._extractors.get(c);if("string"==typeof h)return Du(u,h);const m=h(c,u);if(m)return m}return Du(u,My(c))}getReducedForm(c,u){const h=this.getNormalized(c,u);return void 0===h?[]:this._reducers.has(c)?this._reducers.get(c)(h):[[c,h]]}getStyleNames(c){const u=Array.from(this._consumables.keys()).filter(m=>{const _=this.getNormalized(m,c);return _&&"object"==typeof _?Object.keys(_).length:_}),h=new Set([...u,...Object.keys(c)]);return Array.from(h)}getRelatedStyles(c){return this._consumables.get(c)||[]}setNormalizer(c,u){this._normalizers.set(c,u)}setExtractor(c,u){this._extractors.set(c,u)}setReducer(c,u){this._reducers.set(c,u)}setStyleRelation(c,u){this._mapStyleNames(c,u);for(const h of u)this._mapStyleNames(h,[c])}_mapStyleNames(c,u){this._consumables.has(c)||this._consumables.set(c,[]),this._consumables.get(c).push(...u)}}function My(g){return g.replace("-",".")}function Ry(g,c,u){let h=u;qt(u)&&(h=iE({},Du(g,c),u)),function(g,c,u){null==g||function(g,c,u,h){if(!qt(g))return g;for(var m=-1,_=(c=g1(c,g)).length,b=_-1,w=g;null!=w&&++m<_;){var A=ot(c[m]),M=u;if("__proto__"===A||"constructor"===A||"prototype"===A)return g;if(m!=b){var R=w[A];void 0===(M=void 0)&&(M=qt(R)?R:pT(c[m+1])?[]:{})}Ao(w,A,M),w=w[A]}}(g,c,u)}(g,c,h)}class ra extends jr{constructor(c,u,h,m){if(super(c),this._unsafeAttributesToRender=[],this._customProperties=new Map,this.name=u,this._attrs=function(_){const b=ta(_);for(const[w,A]of b)null===A?b.delete(w):"string"!=typeof A&&b.set(w,String(A));return b}(h),this._children=[],m&&this._insertChild(0,m),this._classes=new Set,this._attrs.has("class")){const _=this._attrs.get("class");sE(this._classes,_),this._attrs.delete("class")}this._styles=new oE(this.document.stylesProcessor),this._attrs.has("style")&&(this._styles.setTo(this._attrs.get("style")),this._attrs.delete("style"))}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}getChild(c){return this._children[c]}getChildIndex(c){return this._children.indexOf(c)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>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(c){if("class"==c)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==c){const u=this._styles.toString();return""==u?void 0:u}return this._attrs.get(c)}hasAttribute(c){return"class"==c?this._classes.size>0:"style"==c?!this._styles.isEmpty:this._attrs.has(c)}isSimilar(c){if(!(c instanceof ra))return!1;if(this===c)return!0;if(this.name!=c.name||this._attrs.size!==c._attrs.size||this._classes.size!==c._classes.size||this._styles.size!==c._styles.size)return!1;for(const[u,h]of this._attrs)if(!c._attrs.has(u)||c._attrs.get(u)!==h)return!1;for(const u of this._classes)if(!c._classes.has(u))return!1;for(const u of this._styles.getStyleNames())if(!c._styles.has(u)||c._styles.getAsString(u)!==this._styles.getAsString(u))return!1;return!0}hasClass(...c){for(const u of c)if(!this._classes.has(u))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(c){return this._styles.getAsString(c)}getNormalizedStyle(c){return this._styles.getNormalized(c)}getStyleNames(c){return this._styles.getStyleNames(c)}hasStyle(...c){for(const u of c)if(!this._styles.has(u))return!1;return!0}findAncestor(...c){const u=new sc(...c);let h=this.parent;for(;h&&!h.is("documentFragment");){if(u.match(h))return h;h=h.parent}return null}getCustomProperty(c){return this._customProperties.get(c)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const c=Array.from(this._classes).sort().join(","),u=this._styles.toString(),h=Array.from(this._attrs).map(m=>`${m[0]}="${m[1]}"`).sort().join(" ");return this.name+(""==c?"":` class="${c}"`)+(u?` style="${u}"`:"")+(""==h?"":` ${h}`)}shouldRenderUnsafeAttribute(c){return this._unsafeAttributesToRender.includes(c)}_clone(c=!1){const u=[];if(c)for(const m of this.getChildren())u.push(m._clone(c));const h=new this.constructor(this.document,this.name,this._attrs,u);return h._classes=new Set(this._classes),h._styles.set(this._styles.getNormalized()),h._customProperties=new Map(this._customProperties),h.getFillerOffset=this.getFillerOffset,h._unsafeAttributesToRender=this._unsafeAttributesToRender,h}_appendChild(c){return this._insertChild(this.childCount,c)}_insertChild(c,u){this._fireChange("children",this);let h=0;const m=(_=this.document,"string"==typeof(b=u)?[new eo(_,b)]:(Zn(b)||(b=[b]),Array.from(b).map(w=>"string"==typeof w?new eo(_,w):w instanceof Vc?new eo(_,w.data):w)));var _,b;for(const _ of m)null!==_.parent&&_._remove(),_.parent=this,_.document=this.document,this._children.splice(c,0,_),c++,h++;return h}_removeChildren(c,u=1){this._fireChange("children",this);for(let h=c;h0&&(this._classes.clear(),!0):"style"==c?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(c)}_addClass(c){this._fireChange("attributes",this);for(const u of ho(c))this._classes.add(u)}_removeClass(c){this._fireChange("attributes",this);for(const u of ho(c))this._classes.delete(u)}_setStyle(c,u){this._fireChange("attributes",this),"string"!=typeof c?this._styles.set(c):this._styles.set(c,u)}_removeStyle(c){this._fireChange("attributes",this);for(const u of ho(c))this._styles.remove(u)}_setCustomProperty(c,u){this._customProperties.set(c,u)}_removeCustomProperty(c){return this._customProperties.delete(c)}}function sE(g,c){const u=c.split(/\s+/);g.clear(),u.forEach(h=>g.add(h))}ra.prototype.is=function(g,c){return c?c===this.name&&("element"===g||"view:element"===g):"element"===g||"view:element"===g||"node"===g||"view:node"===g};class t_ extends ra{constructor(c,u,h,m){super(c,u,h,m),this.getFillerOffset=Fs}}function Fs(){const g=[...this.getChildren()],c=g[this.childCount-1];if(c&&c.is("element","br"))return this.childCount;for(const u of g)if(!u.is("uiElement"))return null;return this.childCount}t_.prototype.is=function(g,c){return c?c===this.name&&("containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g):"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class zc extends(_t(t_)){constructor(c,u,h,m){super(c,u,h,m),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("placeholder",void 0),this.bind("isReadOnly").to(c),this.bind("isFocused").to(c,"isFocused",_=>_&&c.selection.editableElement==this),this.listenTo(c.selection,"change",()=>{this.isFocused=c.isFocused&&c.selection.editableElement==this})}destroy(){this.stopListening()}}zc.prototype.is=function(g,c){return c?c===this.name&&("editableElement"===g||"view:editableElement"===g||"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g):"editableElement"===g||"view:editableElement"===g||"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};const Vo=Symbol("rootName");class mr extends zc{constructor(c,u){super(c,u),this.rootName="main"}get rootName(){return this.getCustomProperty(Vo)}set rootName(c){this._setCustomProperty(Vo,c)}set _name(c){this.name=c}}mr.prototype.is=function(g,c){return c?c===this.name&&("rootElement"===g||"view:rootElement"===g||"editableElement"===g||"view:editableElement"===g||"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g):"rootElement"===g||"view:rootElement"===g||"editableElement"===g||"view:editableElement"===g||"containerElement"===g||"view:containerElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class Bh{constructor(c={}){if(!c.boundaries&&!c.startPosition)throw new fe("view-tree-walker-no-start-position",null);if(c.direction&&"forward"!=c.direction&&"backward"!=c.direction)throw new fe("view-tree-walker-unknown-direction",c.startPosition,{direction:c.direction});this.boundaries=c.boundaries||null,this._position=vt._createAt(c.startPosition?c.startPosition:c.boundaries["backward"==c.direction?"end":"start"]),this.direction=c.direction||"forward",this.singleCharacters=!!c.singleCharacters,this.shallow=!!c.shallow,this.ignoreElementEnd=!!c.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(c){let u,h;do{h=this.position,u=this.next()}while(!u.done&&c(u.value));u.done||(this._position=h)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let c=this.position.clone();const u=this.position,h=c.parent;if(null===h.parent&&c.offset===h.childCount)return{done:!0,value:void 0};if(h===this._boundaryEndParent&&c.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let m;if(h instanceof eo){if(c.isAtEnd)return this._position=vt._createAfter(h),this._next();m=h.data[c.offset]}else m=h.getChild(c.offset);if(m instanceof ra){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(c))return{done:!0,value:void 0};c.offset++}else c=new vt(m,0);return this._position=c,this._formatReturnValue("elementStart",m,u,c,1)}if(m instanceof eo){if(this.singleCharacters)return c=new vt(m,0),this._position=c,this._next();let _,b=m.data.length;return m==this._boundaryEndParent?(b=this.boundaries.end.offset,_=new Vc(m,0,b),c=vt._createAfter(_)):(_=new Vc(m,0,m.data.length),c.offset++),this._position=c,this._formatReturnValue("text",_,u,c,b)}if("string"==typeof m){let _;_=this.singleCharacters?1:(h===this._boundaryEndParent?this.boundaries.end.offset:h.data.length)-c.offset;const b=new Vc(h,c.offset,_);return c.offset+=_,this._position=c,this._formatReturnValue("text",b,u,c,_)}return c=vt._createAfter(h),this._position=c,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",h,u,c)}_previous(){let c=this.position.clone();const u=this.position,h=c.parent;if(null===h.parent&&0===c.offset)return{done:!0,value:void 0};if(h==this._boundaryStartParent&&c.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let m;if(h instanceof eo){if(c.isAtStart)return this._position=vt._createBefore(h),this._previous();m=h.data[c.offset-1]}else m=h.getChild(c.offset-1);if(m instanceof ra)return this.shallow?(c.offset--,this._position=c,this._formatReturnValue("elementStart",m,u,c,1)):(c=new vt(m,m.childCount),this._position=c,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",m,u,c));if(m instanceof eo){if(this.singleCharacters)return c=new vt(m,m.data.length),this._position=c,this._previous();let _,b=m.data.length;if(m==this._boundaryStartParent){const w=this.boundaries.start.offset;_=new Vc(m,w,m.data.length-w),b=_.data.length,c=vt._createBefore(_)}else _=new Vc(m,0,m.data.length),c.offset--;return this._position=c,this._formatReturnValue("text",_,u,c,b)}if("string"==typeof m){let _;_=this.singleCharacters?1:c.offset-(h===this._boundaryStartParent?this.boundaries.start.offset:0),c.offset-=_;const b=new Vc(h,c.offset,_);return this._position=c,this._formatReturnValue("text",b,u,c,_)}return c=vt._createBefore(h),this._position=c,this._formatReturnValue("elementStart",h,u,c,1)}_formatReturnValue(c,u,h,m,_){return u instanceof Vc&&(u.offsetInText+u.data.length==u.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?h=vt._createAfter(u.textNode):(m=vt._createAfter(u.textNode),this._position=m)),0===u.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?h=vt._createBefore(u.textNode):(m=vt._createBefore(u.textNode),this._position=m))),{done:!1,value:{type:c,item:u,previousPosition:h,nextPosition:m,length:_}}}}class vt extends ku{constructor(c,u){super(),this.parent=c,this.offset=u}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 c=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===c}get root(){return this.parent.root}get editableElement(){let c=this.parent;for(;!(c instanceof zc);){if(!c.parent)return null;c=c.parent}return c}getShiftedBy(c){const u=vt._createAt(this),h=u.offset+c;return u.offset=h<0?0:h,u}getLastMatchingPosition(c,u={}){u.startPosition=this;const h=new Bh(u);return h.skip(c),h.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(c){const u=this.getAncestors(),h=c.getAncestors();let m=0;for(;u[m]==h[m]&&u[m];)m++;return 0===m?null:u[m-1]}isEqual(c){return this.parent==c.parent&&this.offset==c.offset}isBefore(c){return"before"==this.compareWith(c)}isAfter(c){return"after"==this.compareWith(c)}compareWith(c){if(this.root!==c.root)return"different";if(this.isEqual(c))return"same";const u=this.parent.is("node")?this.parent.getPath():[],h=c.parent.is("node")?c.parent.getPath():[];u.push(this.offset),h.push(c.offset);const m=Dr(u,h);switch(m){case"prefix":return"before";case"extension":return"after";default:return u[m]0?new this(h,m):new this(m,h)}static _createIn(c){return this._createFromParentsAndOffsets(c,0,c,c.childCount)}static _createOn(c){const u=c.is("$textProxy")?c.offsetSize:1;return this._createFromPositionAndShift(vt._createBefore(c),u)}}function i_(g){return!(!g.item.is("attributeElement")&&!g.item.is("uiElement"))}ni.prototype.is=function(g){return"range"===g||"view:range"===g};class Sl extends(vn(ku)){constructor(...c){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",c.length&&this.setTo(...c)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const c=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?c.end:c.start).clone()}get focus(){if(!this._ranges.length)return null;const c=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?c.start:c.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 c of this._ranges)yield c.clone()}getFirstRange(){let c=null;for(const u of this._ranges)c&&!u.start.isBefore(c.start)||(c=u);return c?c.clone():null}getLastRange(){let c=null;for(const u of this._ranges)c&&!u.end.isAfter(c.end)||(c=u);return c?c.clone():null}getFirstPosition(){const c=this.getFirstRange();return c?c.start.clone():null}getLastPosition(){const c=this.getLastRange();return c?c.end.clone():null}isEqual(c){if(this.isFake!=c.isFake||this.isFake&&this.fakeSelectionLabel!=c.fakeSelectionLabel||this.rangeCount!=c.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(c.anchor)||!this.focus.isEqual(c.focus))return!1;for(const u of this._ranges){let h=!1;for(const m of c._ranges)if(u.isEqual(m)){h=!0;break}if(!h)return!1}return!0}isSimilar(c){if(this.isBackward!=c.isBackward)return!1;const u=bh(this.getRanges());if(u!=bh(c.getRanges()))return!1;if(0==u)return!0;for(let h of this.getRanges()){h=h.getTrimmed();let m=!1;for(let _ of c.getRanges())if(_=_.getTrimmed(),h.start.isEqual(_.start)&&h.end.isEqual(_.end)){m=!0;break}if(!m)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...c){let[u,h,m]=c;if("object"==typeof h&&(m=h,h=void 0),null===u)this._setRanges([]),this._setFakeOptions(m);else if(u instanceof Sl||u instanceof Sg)this._setRanges(u.getRanges(),u.isBackward),this._setFakeOptions({fake:u.isFake,label:u.fakeSelectionLabel});else if(u instanceof ni)this._setRanges([u],m&&m.backward),this._setFakeOptions(m);else if(u instanceof vt)this._setRanges([new ni(u)]),this._setFakeOptions(m);else if(u instanceof jr){const _=!!m&&!!m.backward;let b;if(void 0===h)throw new fe("view-selection-setto-required-second-parameter",this);b="in"==h?ni._createIn(u):"on"==h?ni._createOn(u):new ni(vt._createAt(u,h)),this._setRanges([b],_),this._setFakeOptions(m)}else{if(!Zn(u))throw new fe("view-selection-setto-not-selectable",this);this._setRanges(u,m&&m.backward),this._setFakeOptions(m)}this.fire("change")}setFocus(c,u){if(null===this.anchor)throw new fe("view-selection-setfocus-no-ranges",this);const h=vt._createAt(c,u);if("same"==h.compareWith(this.focus))return;const m=this.anchor;this._ranges.pop(),"before"==h.compareWith(m)?this._addRange(new ni(h,m),!0):this._addRange(new ni(m,h)),this.fire("change")}_setRanges(c,u=!1){c=Array.from(c),this._ranges=[];for(const h of c)this._addRange(h);this._lastRangeBackward=!!u}_setFakeOptions(c={}){this._isFake=!!c.fake,this._fakeSelectionLabel=c.fake&&c.label||""}_addRange(c,u=!1){if(!(c instanceof ni))throw new fe("view-selection-add-range-not-range",this);this._pushRange(c),this._lastRangeBackward=!!u}_pushRange(c){for(const u of this._ranges)if(c.isIntersecting(u))throw new fe("view-selection-range-intersects",this,{addedRange:c,intersectingRange:u});this._ranges.push(new ni(c.start,c.end))}}Sl.prototype.is=function(g){return"selection"===g||"view:selection"===g};class Sg extends(vn(ku)){constructor(...c){super(),this._selection=new Sl,this._selection.delegate("change").to(this),c.length&&this._selection.setTo(...c)}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(c){return this._selection.isEqual(c)}isSimilar(c){return this._selection.isSimilar(c)}_setTo(...c){this._selection.setTo(...c)}_setFocus(c,u){this._selection.setFocus(c,u)}}Sg.prototype.is=function(g){return"selection"===g||"documentSelection"==g||"view:selection"==g||"view:documentSelection"==g};class el extends dt{constructor(c,u,h){super(c,u),this.startRange=h,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const C1=Symbol("bubbling contexts");function Tg(g){return class extends g{fire(c,...u){try{const h=c instanceof dt?c:new dt(this,c),m=Oy(this);if(!m.size)return;if(Au(h,"capturing",this),Td(m,"$capture",h,...u))return h.return;const _=h.startRange||this.selection.getFirstRange(),b=_?_.getContainedElement():null,w=!!b&&!!Py(m,b);let A=b||function(M){if(!M)return null;const R=M.start.parent,O=M.end.parent,N=R.getPath(),V=O.getPath();return N.length>V.length?R:O}(_);if(Au(h,"atTarget",A),!w){if(Td(m,"$text",h,...u))return h.return;Au(h,"bubbling",A)}for(;A;){if(A.is("rootElement")){if(Td(m,"$root",h,...u))return h.return}else if(A.is("element")&&Td(m,A.name,h,...u))return h.return;if(Td(m,A,h,...u))return h.return;A=A.parent,Au(h,"bubbling",A)}return Au(h,"bubbling",this),Td(m,"$document",h,...u),h.return}catch(h){fe.rethrowUnexpectedError(h,this)}}_addEventListener(c,u,h){const m=ho(h.context||"$document"),_=Oy(this);for(const b of m){let w=_.get(b);w||(w=new(vn()),_.set(b,w)),this.listenTo(w,c,u,h)}}_removeEventListener(c,u){const h=Oy(this);for(const m of h.values())this.stopListening(m,c,u)}}}{const g=Tg(Object);["fire","_addEventListener","_removeEventListener"].forEach(c=>{Tg[c]=g.prototype[c]})}function Au(g,c,u){g instanceof el&&(g._eventPhase=c,g._currentTarget=u)}function Td(g,c,u,...h){const m="string"==typeof c?g.get(c):Py(g,c);return!!m&&(m.fire(u,...h),u.stop.called)}function Py(g,c){for(const[u,h]of g)if("function"==typeof u&&u(c))return h;return null}function Oy(g){return g[C1]||(g[C1]=new Map),g[C1]}class n_ extends(Tg(_t())){constructor(c){super(),this._postFixers=new Set,this.selection=new Sg,this.roots=new Oa({idProperty:"rootName"}),this.stylesProcessor=c,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(c="main"){return this.roots.get(c)}registerPostFixer(c){this._postFixers.add(c)}destroy(){this.roots.forEach(c=>c.destroy()),this.stopListening()}_callPostFixers(c){let u=!1;do{for(const h of this._postFixers)if(u=h(c),u)break}while(u)}}class Vh extends ra{constructor(c,u,h,m){super(c,u,h,m),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=Eg}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new fe("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(c){return null!==this.id||null!==c.id?this.id===c.id:super.isSimilar(c)&&this.priority==c.priority}_clone(c=!1){const u=super._clone(c);return u._priority=this._priority,u._id=this._id,u}}function Eg(){if(zh(this))return null;let g=this.parent;for(;g&&g.is("attributeElement");){if(zh(g)>1)return null;g=g.parent}return!g||zh(g)>1?null:this.childCount}function zh(g){return Array.from(g.getChildren()).filter(c=>!c.is("uiElement")).length}Vh.DEFAULT_PRIORITY=10,Vh.prototype.is=function(g,c){return c?c===this.name&&("attributeElement"===g||"view:attributeElement"===g||"element"===g||"view:element"===g):"attributeElement"===g||"view:attributeElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class w1 extends ra{constructor(c,u,h,m){super(c,u,h,m),this.getFillerOffset=SW}_insertChild(c,u){if(u&&(u instanceof jr||Array.from(u).length>0))throw new fe("view-emptyelement-cannot-add",[this,u]);return 0}}function SW(){return null}w1.prototype.is=function(g,c){return c?c===this.name&&("emptyElement"===g||"view:emptyElement"===g||"element"===g||"view:element"===g):"emptyElement"===g||"view:emptyElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class Mg extends ra{constructor(c,u,h,m){super(c,u,h,m),this.getFillerOffset=HL}_insertChild(c,u){if(u&&(u instanceof jr||Array.from(u).length>0))throw new fe("view-uielement-cannot-add",[this,u]);return 0}render(c,u){return this.toDomElement(c)}toDomElement(c){const u=c.createElement(this.name);for(const h of this.getAttributeKeys())u.setAttribute(h,this.getAttribute(h));return u}}function HL(){return null}Mg.prototype.is=function(g,c){return c?c===this.name&&("uiElement"===g||"view:uiElement"===g||"element"===g||"view:element"===g):"uiElement"===g||"view:uiElement"===g||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class x1 extends ra{constructor(c,u,h,m){super(c,u,h,m),this.getFillerOffset=EW}_insertChild(c,u){if(u&&(u instanceof jr||Array.from(u).length>0))throw new fe("view-rawelement-cannot-add",[this,u]);return 0}render(c,u){}}function EW(){return null}x1.prototype.is=function(g,c){return c?c===this.name&&("rawElement"===g||"view:rawElement"===g||"element"===g||"view:element"===g):"rawElement"===g||"view:rawElement"===g||g===this.name||g==="view:"+this.name||"element"===g||"view:element"===g||"node"===g||"view:node"===g};class Rg extends(vn(ku)){constructor(c,u){super(),this._children=[],this._customProperties=new Map,this.document=c,u&&this._insertChild(0,u)}[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(){}get getFillerOffset(){}getCustomProperty(c){return this._customProperties.get(c)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(c){return this._insertChild(this.childCount,c)}getChild(c){return this._children[c]}getChildIndex(c){return this._children.indexOf(c)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(c,u){this._fireChange("children",this);let h=0;const m=(_=this.document,"string"==typeof(b=u)?[new eo(_,b)]:(Zn(b)||(b=[b]),Array.from(b).map(w=>"string"==typeof w?new eo(_,w):w instanceof Vc?new eo(_,w.data):w)));var _,b;for(const _ of m)null!==_.parent&&_._remove(),_.parent=this,this._children.splice(c,0,_),c++,h++;return h}_removeChildren(c,u=1){this._fireChange("children",this);for(let h=c;h{const A=b[b.length-1],M=!w.is("uiElement");return A&&A.breakAttributes==M?A.nodes.push(w):b.push({breakAttributes:M,nodes:[w]}),b},[]);let m=null,_=c;for(const{nodes:b,breakAttributes:w}of h){const A=this._insertNodes(_,b,w);m||(m=A.start),_=A.end}return m?new ni(m,_):new ni(c)}remove(c){const u=c instanceof ni?c:ni._createOn(c);if(s_(u,this.document),u.isCollapsed)return new Rg(this.document);const{start:h,end:m}=this._breakAttributesRange(u,!0),w=h.parent._removeChildren(h.offset,m.offset-h.offset);for(const M of w)this._removeFromClonedElementsGroup(M);const A=this.mergeAttributes(h);return u.start=A,u.end=A.clone(),new Rg(this.document,w)}clear(c,u){s_(c,this.document);const h=c.getWalker({direction:"backward",ignoreElementEnd:!0});for(const m of h){const _=m.item;let b;if(_.is("element")&&u.isSimilar(_))b=ni._createOn(_);else if(!m.nextPosition.isAfter(c.start)&&_.is("$textProxy")){const w=_.getAncestors().find(A=>A.is("element")&&u.isSimilar(A));w&&(b=ni._createIn(w))}b&&(b.end.isAfter(c.end)&&(b.end=c.end),b.start.isBefore(c.start)&&(b.start=c.start),this.remove(b))}}move(c,u){let h;if(u.isAfter(c.end)){const m=(u=this._breakAttributes(u,!0)).parent,_=m.childCount;c=this._breakAttributesRange(c,!0),h=this.remove(c),u.offset+=m.childCount-_}else h=this.remove(c);return this.insert(u,h)}wrap(c,u){if(!(u instanceof Vh))throw new fe("view-writer-wrap-invalid-attribute",this.document);if(s_(c,this.document),c.isCollapsed){let m=c.start;m.parent.is("element")&&!Array.from(m.parent.getChildren()).some(b=>!b.is("uiElement"))&&(m=m.getLastMatchingPosition(b=>b.item.is("uiElement"))),m=this._wrapPosition(m,u);const _=this.document.selection;return _.isCollapsed&&_.getFirstPosition().isEqual(c.start)&&this.setSelection(m),new ni(m)}return this._wrapRange(c,u)}unwrap(c,u){if(!(u instanceof Vh))throw new fe("view-writer-unwrap-invalid-attribute",this.document);if(s_(c,this.document),c.isCollapsed)return c;const{start:h,end:m}=this._breakAttributesRange(c,!0),b=this._unwrapChildren(h.parent,h.offset,m.offset,u),w=this.mergeAttributes(b.start);w.isEqual(b.start)||b.end.offset--;const A=this.mergeAttributes(b.end);return new ni(w,A)}rename(c,u){const h=new t_(this.document,c,u.getAttributes());return this.insert(vt._createAfter(u),h),this.move(ni._createIn(u),vt._createAt(h,0)),this.remove(ni._createOn(u)),h}clearClonedElementsGroup(c){this._cloneGroups.delete(c)}createPositionAt(c,u){return vt._createAt(c,u)}createPositionAfter(c){return vt._createAfter(c)}createPositionBefore(c){return vt._createBefore(c)}createRange(c,u){return new ni(c,u)}createRangeOn(c){return ni._createOn(c)}createRangeIn(c){return ni._createIn(c)}createSelection(...c){return new Sl(...c)}createSlot(c="children"){if(!this._slotFactory)throw new fe("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,c)}_registerSlotFactory(c){this._slotFactory=c}_clearSlotFactory(){this._slotFactory=null}_insertNodes(c,u,h){let m,_;if(m=h?Hh(c):c.parent.is("$text")?c.parent.parent:c.parent,!m)throw new fe("view-writer-invalid-position-container",this.document);_=h?this._breakAttributes(c,!0):c.parent.is("$text")?o_(c):c;const b=m._insertChild(_.offset,u);for(const R of u)this._addToClonedElementsGroup(R);const w=_.getShiftedBy(b),A=this.mergeAttributes(_);A.isEqual(_)||w.offset--;const M=this.mergeAttributes(w);return new ni(A,M)}_wrapChildren(c,u,h,m){let _=u;const b=[];for(;_!1,c.parent._insertChild(c.offset,h);const m=new ni(c,c.getShiftedBy(1));this.wrap(m,u);const _=new vt(h.parent,h.index);h._remove();const b=_.nodeBefore,w=_.nodeAfter;return b instanceof eo&&w instanceof eo?r_(b,w):Pg(_)}_wrapAttributeElement(c,u){if(!ac(c,u)||c.name!==u.name||c.priority!==u.priority)return!1;for(const h of c.getAttributeKeys())if("class"!==h&&"style"!==h&&u.hasAttribute(h)&&u.getAttribute(h)!==c.getAttribute(h))return!1;for(const h of c.getStyleNames())if(u.hasStyle(h)&&u.getStyle(h)!==c.getStyle(h))return!1;for(const h of c.getAttributeKeys())"class"!==h&&"style"!==h&&(u.hasAttribute(h)||this.setAttribute(h,c.getAttribute(h),u));for(const h of c.getStyleNames())u.hasStyle(h)||this.setStyle(h,c.getStyle(h),u);for(const h of c.getClassNames())u.hasClass(h)||this.addClass(h,u);return!0}_unwrapAttributeElement(c,u){if(!ac(c,u)||c.name!==u.name||c.priority!==u.priority)return!1;for(const h of c.getAttributeKeys())if("class"!==h&&"style"!==h&&(!u.hasAttribute(h)||u.getAttribute(h)!==c.getAttribute(h)))return!1;if(!u.hasClass(...c.getClassNames()))return!1;for(const h of c.getStyleNames())if(!u.hasStyle(h)||u.getStyle(h)!==c.getStyle(h))return!1;for(const h of c.getAttributeKeys())"class"!==h&&"style"!==h&&this.removeAttribute(h,u);return this.removeClass(Array.from(c.getClassNames()),u),this.removeStyle(Array.from(c.getStyleNames()),u),!0}_breakAttributesRange(c,u=!1){const h=c.start,m=c.end;if(s_(c,this.document),c.isCollapsed){const A=this._breakAttributes(c.start,u);return new ni(A,A)}const _=this._breakAttributes(m,u),b=_.parent.childCount,w=this._breakAttributes(h,u);return _.offset+=_.parent.childCount-b,new ni(w,_)}_breakAttributes(c,u=!1){const h=c.offset,m=c.parent;if(c.parent.is("emptyElement"))throw new fe("view-writer-cannot-break-empty-element",this.document);if(c.parent.is("uiElement"))throw new fe("view-writer-cannot-break-ui-element",this.document);if(c.parent.is("rawElement"))throw new fe("view-writer-cannot-break-raw-element",this.document);if(!u&&m.is("$text")&&Ny(m.parent)||Ny(m))return c.clone();if(m.is("$text"))return this._breakAttributes(o_(c),u);if(h==m.childCount){const _=new vt(m.parent,m.index+1);return this._breakAttributes(_,u)}if(0===h){const _=new vt(m.parent,m.index);return this._breakAttributes(_,u)}{const _=m.index+1,b=m._clone();m.parent._insertChild(_,b),this._addToClonedElementsGroup(b);const A=m._removeChildren(h,m.childCount-h);b._appendChild(A);const M=new vt(m.parent,_);return this._breakAttributes(M,u)}}_addToClonedElementsGroup(c){if(!c.root.is("rootElement"))return;if(c.is("element"))for(const m of c.getChildren())this._addToClonedElementsGroup(m);const u=c.id;if(!u)return;let h=this._cloneGroups.get(u);h||(h=new Set,this._cloneGroups.set(u,h)),h.add(c),c._clonesGroup=h}_removeFromClonedElementsGroup(c){if(c.is("element"))for(const m of c.getChildren())this._removeFromClonedElementsGroup(m);const u=c.id;if(!u)return;const h=this._cloneGroups.get(u);h&&h.delete(c)}}function Hh(g){let c=g.parent;for(;!Ny(c);){if(!c)return;c=c.parent}return c}function GL(g,c){return g.priorityc.priority)&&g.getIdentity()u instanceof h))throw new fe("view-writer-insert-invalid-node-type",c);u.is("$text")||k1(u.getChildren(),c)}}function Ny(g){return g&&(g.is("containerElement")||g.is("documentFragment"))}function s_(g,c){const u=Hh(g.start),h=Hh(g.end);if(!u||!h||u!==h)throw new fe("view-writer-invalid-range-container",c)}function ac(g,c){return null===g.id&&null===c.id}const aE=g=>g.createTextNode("\xa0"),a_=g=>{const c=g.createElement("span");return c.dataset.ckeFiller="true",c.innerText="\xa0",c},Ly=g=>{const c=g.createElement("br");return c.dataset.ckeFiller="true",c},Tl=7,Iu="\u2060".repeat(Tl);function sa(g){return"string"==typeof g?g.substr(0,Tl)===Iu:Ir(g)&&g.data.substr(0,Tl)===Iu}function l_(g){return g.data.length==Tl&&sa(g)}function D1(g){const c="string"==typeof g?g:g.data;return sa(g)?c.slice(Tl):c}function lE(g,c){if(c.keyCode==zi.arrowleft){const u=c.domTarget.ownerDocument.defaultView.getSelection();if(1==u.rangeCount&&u.getRangeAt(0).collapsed){const h=u.getRangeAt(0).startContainer,m=u.getRangeAt(0).startOffset;sa(h)&&m<=Tl&&u.collapse(h,0)}}}var A1=ft(9315);At()(A1.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class jL extends(_t()){constructor(c,u){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=c,this.selection=u,this.set("isFocused",!1),this.set("isSelecting",!1),ae.isBlink&&!ae.isAndroid&&this.on("change:isSelecting",()=>{this.isSelecting||this.render()}),this.set("isComposing",!1),this.on("change:isComposing",()=>{this.isComposing||this.render()})}markToSync(c,u){if("text"===c)this.domConverter.mapViewToDom(u.parent)&&this.markedTexts.add(u);else{if(!this.domConverter.mapViewToDom(u))return;if("attributes"===c)this.markedAttributes.add(u);else{if("children"!==c)throw new fe("view-renderer-unknown-type",this);this.markedChildren.add(u)}}}render(){if(this.isComposing&&!ae.isAndroid)return;let c=null;const u=!(ae.isBlink&&!ae.isAndroid&&this.isSelecting);for(const h of this.markedChildren)this._updateChildrenMappings(h);u?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?c=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(c=this.selection.getFirstPosition(),this.markedChildren.add(c.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(c=this.domConverter.domPositionToView(this._inlineFiller),c&&c.parent.is("$text")&&(c=vt._createBefore(c.parent)));for(const h of this.markedAttributes)this._updateAttrs(h);for(const h of this.markedChildren)this._updateChildren(h,{inlineFillerPosition:c});for(const h of this.markedTexts)!this.markedChildren.has(h.parent)&&this.domConverter.mapViewToDom(h.parent)&&this._updateText(h,{inlineFillerPosition:c});if(u)if(c){const h=this.domConverter.viewPositionToDom(c),m=h.parent.ownerDocument;this._inlineFiller=sa(h.parent)?h.parent:c_(m,h.parent,h.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.domConverter._clearTemporaryCustomProperties(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(c){const u=this.domConverter.mapViewToDom(c);if(!u)return;const h=Array.from(u.childNodes),m=Array.from(this.domConverter.viewChildrenToDom(c,{withChildren:!1})),_=this._diffNodeLists(h,m),b=this._findUpdateActions(_,h,m,Gh);if(-1!==b.indexOf("update")){const w={equal:0,insert:0,delete:0};for(const A of b)if("update"===A){const M=w.equal+w.insert,R=w.equal+w.delete,O=c.getChild(M);!O||O.is("uiElement")||O.is("rawElement")||this._updateElementMappings(O,h[R]),kl(m[M]),w.equal++}else w[A]++}}_updateElementMappings(c,u){this.domConverter.unbindDomElement(u),this.domConverter.bindElements(u,c),this.markedChildren.add(c),this.markedAttributes.add(c)}_getInlineFillerPosition(){const c=this.selection.getFirstPosition();return c.parent.is("$text")?vt._createBefore(c.parent):c}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const c=this.selection.getFirstPosition(),u=this.domConverter.viewPositionToDom(c);return!!(u&&Ir(u.parent)&&sa(u.parent))}_removeInlineFiller(){const c=this._inlineFiller;if(!sa(c))throw new fe("view-renderer-filler-was-lost",this);l_(c)?c.remove():c.data=c.data.substr(Tl),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const c=this.selection.getFirstPosition(),u=c.parent,h=c.offset;if(!this.domConverter.mapViewToDom(u.root)||!u.is("element")||!function(b){if("false"==b.getAttribute("contenteditable"))return!1;const w=b.findAncestor(A=>A.hasAttribute("contenteditable"));return!w||"true"==w.getAttribute("contenteditable")}(u)||h===u.getFillerOffset())return!1;const m=c.nodeBefore,_=c.nodeAfter;return!(m instanceof eo||_ instanceof eo||ae.isAndroid&&(m||_))}_updateText(c,u){const h=this.domConverter.findCorrespondingDomText(c);let m=this.domConverter.viewToDom(c).data;const _=u.inlineFillerPosition;_&&_.parent==c.parent&&_.offset==c.index&&(m=Iu+m),I1(h,m)}_updateAttrs(c){const u=this.domConverter.mapViewToDom(c);if(!u)return;const h=Array.from(u.attributes).map(_=>_.name),m=c.getAttributeKeys();for(const _ of m)this.domConverter.setDomElementAttribute(u,_,c.getAttribute(_),c);for(const _ of h)c.hasAttribute(_)||this.domConverter.removeDomElementAttribute(u,_)}_updateChildren(c,u){const h=this.domConverter.mapViewToDom(c);if(!h)return;if(ae.isAndroid){let O=null;for(const N of Array.from(h.childNodes)){if(O&&Ir(O)&&Ir(N)){h.normalize();break}O=N}}const m=u.inlineFillerPosition,_=h.childNodes,b=Array.from(this.domConverter.viewChildrenToDom(c,{bind:!0}));m&&m.parent===c&&c_(h.ownerDocument,b,m.offset);const w=this._diffNodeLists(_,b),A=this._findUpdateActions(w,_,b,$L);let M=0;const R=new Set;for(const O of A)"delete"===O?(R.add(_[M]),kl(_[M])):"equal"!==O&&"update"!==O||M++;M=0;for(const O of A)"insert"===O?(Uf(h,M,b[M]),M++):"update"===O?(I1(_[M],b[M].data),M++):"equal"===O&&(this._markDescendantTextToSync(this.domConverter.domToView(b[M])),M++);for(const O of R)O.parentNode||this.domConverter.unbindDomElement(O)}_diffNodeLists(c,u){return Ve(c=function(h,m){const _=Array.from(h);return 0==_.length||!m||_[_.length-1]==m&&_.pop(),_}(c,this._fakeSelectionContainer),u,dE.bind(null,this.domConverter))}_findUpdateActions(c,u,h,m){if(-1===c.indexOf("insert")||-1===c.indexOf("delete"))return c;let _=[],b=[],w=[];const A={equal:0,insert:0,delete:0};for(const M of c)"insert"===M?w.push(h[A.equal+A.insert]):"delete"===M?b.push(u[A.equal+A.delete]):(_=_.concat(Ve(b,w,m).map(R=>"equal"===R?"update":R)),_.push("equal"),b=[],w=[]),A[M]++;return _.concat(Ve(b,w,m).map(M=>"equal"===M?"update":M))}_markDescendantTextToSync(c){if(c)if(c.is("$text"))this.markedTexts.add(c);else if(c.is("element"))for(const u of c.getChildren())this._markDescendantTextToSync(u)}_updateSelection(){if(ae.isBlink&&!ae.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const c=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&c&&(this.selection.isFake?this._updateFakeSelection(c):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(c)):this.isComposing&&ae.isAndroid||this._updateDomSelection(c))}_updateFakeSelection(c){const u=c.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(b){const w=b.createElement("div");return w.className="ck-fake-selection-container",Object.assign(w.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),w.textContent="\xa0",w}(u));const h=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(h,this.selection),!this._fakeSelectionNeedsUpdate(c))return;h.parentElement&&h.parentElement==c||c.appendChild(h),h.textContent=this.selection.fakeSelectionLabel||"\xa0";const m=u.getSelection(),_=u.createRange();m.removeAllRanges(),_.selectNodeContents(h),m.addRange(_)}_updateDomSelection(c){const u=c.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(u))return;const h=this.domConverter.viewPositionToDom(this.selection.anchor),m=this.domConverter.viewPositionToDom(this.selection.focus);u.setBaseAndExtent(h.parent,h.offset,m.parent,m.offset),ae.isGecko&&function(_,b){const w=_.parent;if(w.nodeType!=Node.ELEMENT_NODE||_.offset!=w.childNodes.length-1)return;const A=w.childNodes[_.offset];A&&"BR"==A.tagName&&b.addRange(b.getRangeAt(0))}(m,u)}_domSelectionNeedsUpdate(c){if(!this.domConverter.isDomSelectionCorrect(c))return!0;const u=c&&this.domConverter.domSelectionToView(c);return!(u&&this.selection.isEqual(u)||!this.selection.isCollapsed&&this.selection.isSimilar(u))}_fakeSelectionNeedsUpdate(c){const u=this._fakeSelectionContainer,h=c.ownerDocument.getSelection();return!u||u.parentElement!==c||h.anchorNode!==u&&!u.contains(h.anchorNode)||u.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const c of this.domDocuments){const u=c.getSelection();if(u.rangeCount){const h=c.activeElement,m=this.domConverter.mapDomToView(h);h&&m&&u.removeAllRanges()}}}_removeFakeSelection(){const c=this._fakeSelectionContainer;c&&c.remove()}_updateFocus(){if(this.isFocused){const c=this.selection.editableElement;c&&this.domConverter.focus(c)}}}function c_(g,c,u){const h=c instanceof Array?c:c.childNodes,m=h[u];if(Ir(m))return m.data=Iu+m.data,m;{const _=g.createTextNode(Iu);return Array.isArray(c)?h.splice(u,0,_):Uf(c,u,_),_}}function Gh(g,c){return wu(g)&&wu(c)&&!Ir(g)&&!Ir(c)&&!Wf(g)&&!Wf(c)&&g.tagName.toLowerCase()===c.tagName.toLowerCase()}function $L(g,c){return wu(g)&&wu(c)&&Ir(g)&&Ir(c)}function dE(g,c,u){return c===u||(Ir(c)&&Ir(u)?c.data===u.data:!(!g.isBlockFiller(c)||!g.isBlockFiller(u)))}function I1(g,c){const u=g.data;if(u==c)return;const h=te(u,c);for(const m of h)"insert"===m.type?g.insertData(m.index,m.values.join("")):g.deleteData(m.index,m.howMany)}const d_=Ly(de.document),UL=aE(de.document),aa=a_(de.document),By="data-ck-unsafe-attribute-",at="data-ck-unsafe-element";class Og{constructor(c,{blockFillerMode:u,renderingMode:h="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new sc,this._inlineObjectElementMatcher=new sc,this._elementsWithTemporaryCustomProperties=new Set,this.document=c,this.renderingMode=h,this.blockFillerMode=u||("editing"===h?"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?de.document:de.document.implementation.createHTMLDocument("")}bindFakeSelection(c,u){this._fakeSelectionMapping.set(c,new Sl(u))}fakeSelectionToView(c){return this._fakeSelectionMapping.get(c)}bindElements(c,u){this._domToViewMapping.set(c,u),this._viewToDomMapping.set(u,c)}unbindDomElement(c){const u=this._domToViewMapping.get(c);if(u){this._domToViewMapping.delete(c),this._viewToDomMapping.delete(u);for(const h of Array.from(c.children))this.unbindDomElement(h)}}bindDocumentFragments(c,u){this._domToViewMapping.set(c,u),this._viewToDomMapping.set(u,c)}shouldRenderAttribute(c,u,h){return"data"===this.renderingMode||!(c=c.toLowerCase()).startsWith("on")&&("srcdoc"!==c||!u.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===h&&("src"===c||"srcset"===c)||"source"===h&&"srcset"===c||!u.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))}setContentOf(c,u){if("data"===this.renderingMode)return void(c.innerHTML=u);const h=(new DOMParser).parseFromString(u,"text/html"),m=h.createDocumentFragment(),_=h.body.childNodes;for(;_.length>0;)m.appendChild(_[0]);const b=h.createTreeWalker(m,NodeFilter.SHOW_ELEMENT),w=[];let A;for(;A=b.nextNode();)w.push(A);for(const M of w){for(const O of M.getAttributeNames())this.setDomElementAttribute(M,O,M.getAttribute(O));const R=M.tagName.toLowerCase();this._shouldRenameElement(R)&&(jh(R),M.replaceWith(this._createReplacementDomElement(R,M)))}for(;c.firstChild;)c.firstChild.remove();c.append(m)}viewToDom(c,u={}){if(c.is("$text")){const h=this._processDataFromViewText(c);return this._domDocument.createTextNode(h)}{const h=c;if(this.mapViewToDom(h)){if(!h.getCustomProperty("editingPipeline:doNotReuseOnce"))return this.mapViewToDom(h);this._elementsWithTemporaryCustomProperties.add(h)}let m;if(h.is("documentFragment"))m=this._domDocument.createDocumentFragment(),u.bind&&this.bindDocumentFragments(m,h);else{if(h.is("uiElement"))return m="$comment"===h.name?this._domDocument.createComment(h.getCustomProperty("$rawContent")):h.render(this._domDocument,this),u.bind&&this.bindElements(m,h),m;this._shouldRenameElement(h.name)?(jh(h.name),m=this._createReplacementDomElement(h.name)):m=h.hasAttribute("xmlns")?this._domDocument.createElementNS(h.getAttribute("xmlns"),h.name):this._domDocument.createElement(h.name),h.is("rawElement")&&h.render(m,this),u.bind&&this.bindElements(m,h);for(const _ of h.getAttributeKeys())this.setDomElementAttribute(m,_,h.getAttribute(_),h)}if(!1!==u.withChildren)for(const _ of this.viewChildrenToDom(h,u))m.appendChild(_);return m}}setDomElementAttribute(c,u,h,m){const _=this.shouldRenderAttribute(u,h,c.tagName.toLowerCase())||m&&m.shouldRenderUnsafeAttribute(u);_||St("domconverter-unsafe-attribute-detected",{domElement:c,key:u,value:h}),function(b){try{de.document.createAttribute(b)}catch{return!1}return!0}(u)?(c.hasAttribute(u)&&!_?c.removeAttribute(u):c.hasAttribute(By+u)&&_&&c.removeAttribute(By+u),c.setAttribute(_?u:By+u,h)):St("domconverter-invalid-attribute-detected",{domElement:c,key:u,value:h})}removeDomElementAttribute(c,u){u!=at&&(c.removeAttribute(u),c.removeAttribute(By+u))}*viewChildrenToDom(c,u={}){const h=c.getFillerOffset&&c.getFillerOffset();let m=0;for(const _ of c.getChildren()){h===m&&(yield this._getBlockFiller());const b=_.is("element")&&!!_.getCustomProperty("dataPipeline:transparentRendering")&&!gr(_.getAttributes());b&&"data"==this.renderingMode?yield*this.viewChildrenToDom(_,u):(b&&St("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:_}),yield this.viewToDom(_,u)),m++}h===m&&(yield this._getBlockFiller())}viewRangeToDom(c){const u=this.viewPositionToDom(c.start),h=this.viewPositionToDom(c.end),m=this._domDocument.createRange();return m.setStart(u.parent,u.offset),m.setEnd(h.parent,h.offset),m}viewPositionToDom(c){const u=c.parent;if(u.is("$text")){const h=this.findCorrespondingDomText(u);if(!h)return null;let m=c.offset;return sa(h)&&(m+=Tl),{parent:h,offset:m}}{let h,m,_;if(0===c.offset){if(h=this.mapViewToDom(u),!h)return null;_=h.childNodes[0]}else{const b=c.nodeBefore;if(m=b.is("$text")?this.findCorrespondingDomText(b):this.mapViewToDom(b),!m)return null;h=m.parentNode,_=m.nextSibling}return Ir(_)&&sa(_)?{parent:_,offset:Tl}:{parent:h,offset:m?$f(m)+1:0}}}domToView(c,u={}){const h=[],m=this._domToView(c,u,h),_=m.next().value;return _?(m.next(),this._processDomInlineNodes(null,h,u),_.is("$text")&&0==_.data.length?null:_):null}*domChildrenToView(c,u={},h=[]){for(let m=0;m{const{scrollLeft:w,scrollTop:A}=b;_.push([w,A])}),u.focus(),S1(u,b=>{const[w,A]=_.shift();b.scrollLeft=w,b.scrollTop=A}),de.window.scrollTo(h,m)}}_clearDomSelection(){const c=this.mapViewToDom(this.document.selection.editableElement);if(!c)return;const u=c.ownerDocument.defaultView.getSelection(),h=this.domSelectionToView(u);h&&h.rangeCount>0&&u.removeAllRanges()}isElement(c){return c&&c.nodeType==Node.ELEMENT_NODE}isDocumentFragment(c){return c&&c.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(c){return"br"==this.blockFillerMode?c.isEqualNode(d_):!("BR"!==c.tagName||!Ns(c,this.blockElements)||1!==c.parentNode.childNodes.length)||c.isEqualNode(aa)||(h=this.blockElements,(u=c).isEqualNode(UL)&&Ns(u,h)&&1===u.parentNode.childNodes.length);var u,h}isDomSelectionBackward(c){if(c.isCollapsed)return!1;const u=this._domDocument.createRange();try{u.setStart(c.anchorNode,c.anchorOffset),u.setEnd(c.focusNode,c.focusOffset)}catch{return!1}const h=u.collapsed;return u.detach(),h}getHostViewElement(c){const u=function(h){const m=[];let _=h;for(;_&&_.nodeType!=Node.DOCUMENT_NODE;)m.unshift(_),_=_.parentNode;return m}(c);for(u.pop();u.length;){const h=u.pop(),m=this._domToViewMapping.get(h);if(m&&(m.is("uiElement")||m.is("rawElement")))return m}return null}isDomSelectionCorrect(c){return this._isDomSelectionPositionCorrect(c.anchorNode,c.anchorOffset)&&this._isDomSelectionPositionCorrect(c.focusNode,c.focusOffset)}registerRawContentMatcher(c){this._rawContentElementMatcher.add(c)}registerInlineObjectMatcher(c){this._inlineObjectElementMatcher.add(c)}_clearTemporaryCustomProperties(){for(const c of this._elementsWithTemporaryCustomProperties)c._removeCustomProperty("editingPipeline:doNotReuseOnce");this._elementsWithTemporaryCustomProperties.clear()}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return aE(this._domDocument);case"markedNbsp":return a_(this._domDocument);case"br":return Ly(this._domDocument)}}_isDomSelectionPositionCorrect(c,u){if(Ir(c)&&sa(c)&&u0?u[_-1]:null,R=_+1this.preElements.includes(h.name)))return u;if(" "==u.charAt(0)){const h=this._getTouchingInlineViewNode(c,!1);!(h&&h.is("$textProxy")&&this._nodeEndsWithSpace(h))&&h||(u="\xa0"+u.substr(1))}if(" "==u.charAt(u.length-1)){const h=this._getTouchingInlineViewNode(c,!0),m=h&&h.is("$textProxy")&&" "==h.data.charAt(0);" "!=u.charAt(u.length-2)&&h&&!m||(u=u.substr(0,u.length-1)+"\xa0")}return u.replace(/ {2}/g," \xa0")}_nodeEndsWithSpace(c){if(c.getAncestors().some(h=>this.preElements.includes(h.name)))return!1;const u=this._processDataFromViewText(c);return" "==u.charAt(u.length-1)}_getTouchingInlineViewNode(c,u){const h=new Bh({startPosition:u?vt._createAfter(c):vt._createBefore(c),direction:u?"forward":"backward"});for(const m of h){if(m.item.is("element","br"))return null;if(this._isInlineObjectElement(m.item))return m.item;if(m.item.is("containerElement"))return null;if(m.item.is("$textProxy"))return m.item}return null}_isBlockDomElement(c){return this.isElement(c)&&this.blockElements.includes(c.tagName.toLowerCase())}_isBlockViewElement(c){return c.is("element")&&this.blockElements.includes(c.name)}_isInlineObjectElement(c){return!!c.is("element")&&("br"==c.name||this.inlineObjectElements.includes(c.name)||!!this._inlineObjectElementMatcher.match(c))}_createViewElement(c,u){if(Wf(c))return new Mg(this.document,"$comment");const h=u.keepOriginalCase?c.tagName:c.tagName.toLowerCase();return new ra(this.document,h)}_isViewElementWithRawContent(c,u){return!1!==u.withChildren&&c.is("element")&&!!this._rawContentElementMatcher.match(c)}_shouldRenameElement(c){const u=c.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(u)}_createReplacementDomElement(c,u){const h=this._domDocument.createElement("span");if(h.setAttribute(at,c),u){for(;u.firstChild;)h.appendChild(u.firstChild);for(const m of u.getAttributeNames())h.setAttribute(m,u.getAttribute(m))}return h}}function WL(g,c){return g.getAncestors().some(u=>u.is("element")&&c.includes(u.name))}function S1(g,c){let u=g;for(;u;)c(u),u=u.parentElement}function Ns(g,c){const u=g.parentNode;return!!u&&!!u.tagName&&c.includes(u.tagName.toLowerCase())}function jh(g){"script"===g&&St("domconverter-unsafe-script-element-detected"),"style"===g&&St("domconverter-unsafe-style-element-detected")}class la extends(Za()){constructor(c){super(),this._isEnabled=!1,this.view=c,this.document=c.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(c){return c&&3===c.nodeType&&(c=c.parentNode),!(!c||1!==c.nodeType)&&c.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}const $h=Ey(function(g,c){Bt(c,yu(c),g)});class Uh{constructor(c,u,h){this.view=c,this.document=c.document,this.domEvent=u,this.domTarget=u.target,$h(this,h)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class Hc extends la{constructor(){super(...arguments),this.useCapture=!1}observe(c){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach(u=>{this.listenTo(c,u,(h,m)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(m.target)&&this.onDomEvent(m)},{useCapture:this.useCapture})})}stopObserving(c){this.stopListening(c)}fire(c,u,h){this.isEnabled&&this.document.fire(c,new Uh(this.view,u,h))}}class Fg extends Hc{constructor(){super(...arguments),this.domEventType=["keydown","keyup"]}onDomEvent(c){this.fire(c.type,c,{keyCode:c.keyCode,altKey:c.altKey,ctrlKey:c.ctrlKey,shiftKey:c.shiftKey,metaKey:c.metaKey,get keystroke(){return Js(this)}})}}const uE=function(){return Ta.Date.now()};var qL=/\s/,PW=/^\s+/,FW=/^[-+]0x[0-9a-f]+$/i,NW=/^0b[01]+$/i,LW=/^0o[0-7]+$/i,Ng=parseInt;const hE=function(g){if("number"==typeof g)return g;if(Ty(g))return NaN;if(qt(g)){var c="function"==typeof g.valueOf?g.valueOf():g;g=qt(c)?c+"":c}if("string"!=typeof g)return 0===g?g:+g;g=function(g){return g&&g.slice(0,function(g){for(var c=g.length;c--&&qL.test(g.charAt(c)););return c}(g)+1).replace(PW,"")}(g);var u=NW.test(g);return u||LW.test(g)?Ng(g.slice(2),u?2:8):FW.test(g)?NaN:+g};var KL=Math.max,$r=Math.min;const u_=function(g,c,u){var h,m,_,b,w,A,M=0,R=!1,O=!1,N=!0;if("function"!=typeof g)throw new TypeError("Expected a function");function V(Me){var qe=h,kt=m;return h=m=void 0,M=Me,b=g.apply(kt,qe)}function W(Me){var qe=Me-A;return void 0===A||qe>=c||qe<0||O&&Me-M>=_}function Y(){var qe,kt,Me=uE();if(W(Me))return ne(Me);w=setTimeout(Y,(kt=c-((qe=Me)-A),O?$r(kt,_-(qe-M)):kt))}function ne(Me){return w=void 0,N&&h?V(Me):(h=m=void 0,b)}function he(){var kt,Me=uE(),qe=W(Me);if(h=arguments,m=this,A=Me,qe){if(void 0===w)return M=kt=A,w=setTimeout(Y,c),R?V(kt):b;if(O)return clearTimeout(w),w=setTimeout(Y,c),V(A)}return void 0===w&&(w=setTimeout(Y,c)),b}return c=hE(c)||0,qt(u)&&(R=!!u.leading,_=(O="maxWait"in u)?KL(hE(u.maxWait)||0,c):_,N="trailing"in u?!!u.trailing:N),he.cancel=function(){void 0!==w&&clearTimeout(w),M=0,h=A=m=w=void 0},he.flush=function(){return void 0===w?b:ne(uE())},he};class h_ extends la{constructor(c){super(c),this._fireSelectionChangeDoneDebounced=u_(u=>{this.document.fire("selectionChangeDone",u)},200)}observe(){const c=this.document;c.on("arrowKey",(u,h)=>{c.selection.isFake&&this.isEnabled&&h.preventDefault()},{context:"$capture"}),c.on("arrowKey",(u,h)=>{c.selection.isFake&&this.isEnabled&&this._handleSelectionMove(h.keyCode)},{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(c){const u=this.document.selection,h=new Sl(u.getRanges(),{backward:u.isBackward,fake:!1});c!=zi.arrowleft&&c!=zi.arrowup||h.setTo(h.getFirstPosition()),c!=zi.arrowright&&c!=zi.arrowdown||h.setTo(h.getLastPosition());const m={oldSelection:u,newSelection:h,domSelection:null};this.document.fire("selectionChange",m),this._fireSelectionChangeDoneDebounced(m)}}function Ed(g){var c=-1,u=null==g?0:g.length;for(this.__data__=new vg;++cw))return!1;var M=_.get(g),R=_.get(c);if(M&&R)return M==c&&R==g;var O=-1,N=!0,V=2&u?new pE:void 0;for(_.set(g,c),_.set(c,g);++O{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout(()=>{this.flush(),c.change(()=>{})},50)}),u.on("blur",(h,m)=>{const _=u.selection.editableElement;null!==_&&_!==m.target||(u.isFocused=!1,this._isFocusChanging=!1,c.change(()=>{}))})}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(c){this.fire(c.type,c)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class da extends la{constructor(c){super(c),this.mutationObserver=c.getObserver(Hy),this.focusObserver=c.getObserver(g_),this.selection=this.document.selection,this.domConverter=c.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=u_(u=>{this.document.fire("selectionChangeDone",u)},200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._documentIsSelectingInactivityTimeoutDebounced=u_(()=>this.document.isSelecting=!1,5e3),this._loopbackCounter=0}observe(c){const u=c.ownerDocument,h=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,u),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(c,"selectstart",()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()},{priority:"highest"}),this.listenTo(c,"keydown",h,{priority:"highest",useCapture:!0}),this.listenTo(c,"keyup",h,{priority:"highest",useCapture:!0}),this._documents.has(u)||(this.listenTo(u,"mouseup",h,{priority:"highest",useCapture:!0}),this.listenTo(u,"selectionchange",(m,_)=>{this.document.isComposing&&!ae.isAndroid||(this._handleSelectionChange(_,u),this._documentIsSelectingInactivityTimeoutDebounced())}),this._documents.add(u))}stopObserving(c){this.stopListening(c)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(c,u){if(!this.isEnabled)return;const h=u.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(h.anchorNode))return;this.mutationObserver.flush();const m=this.domConverter.domSelectionToView(h);if(0!=m.rangeCount){if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.selection.isEqual(m)||!this.domConverter.isDomSelectionCorrect(h))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.selection.isSimilar(m))this.view.forceRender();else{const _={oldSelection:this.selection,newSelection:m,domSelection:h};this.document.fire("selectionChange",_),this._fireSelectionChangeDoneDebounced(_)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class eB extends Hc{constructor(c){super(c),this.domEventType=["compositionstart","compositionupdate","compositionend"];const u=this.document;u.on("compositionstart",()=>{u.isComposing=!0},{priority:"low"}),u.on("compositionend",()=>{u.isComposing=!1},{priority:"low"})}onDomEvent(c){this.fire(c.type,c,{data:c.data})}}class Ml{constructor(c,u={}){this._files=u.cacheFiles?vE(c):null,this._native=c}get files(){return this._files||(this._files=vE(this._native)),this._files}get types(){return this._native.types}getData(c){return this._native.getData(c)}setData(c,u){this._native.setData(c,u)}set effectAllowed(c){this._native.effectAllowed=c}get effectAllowed(){return this._native.effectAllowed}set dropEffect(c){this._native.dropEffect=c}get dropEffect(){return this._native.dropEffect}setDragImage(c,u,h){this._native.setDragImage(c,u,h)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function vE(g){const c=Array.from(g.files||[]),u=Array.from(g.items||[]);return c.length?c:u.filter(h=>"file"===h.kind).map(h=>h.getAsFile())}class bE extends Hc{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(c){const u=c.getTargetRanges(),h=this.view,m=h.document;let _=null,b=null,w=[];if(c.dataTransfer&&(_=new Ml(c.dataTransfer)),null!==c.data?b=c.data:_&&(b=_.getData("text/plain")),m.selection.isFake)w=Array.from(m.selection.getRanges());else if(u.length)w=u.map(A=>{const M=h.domConverter.domPositionToView(A.startContainer,A.startOffset),R=h.domConverter.domPositionToView(A.endContainer,A.endOffset);return M?h.createRange(M,R):R?h.createRange(R):void 0}).filter(A=>!!A);else if(ae.isAndroid){const A=c.target.ownerDocument.defaultView.getSelection();w=Array.from(h.domConverter.domSelectionToView(A).getRanges())}if(ae.isAndroid&&"insertCompositionText"==c.inputType&&b&&b.endsWith("\n"))this.fire(c.type,c,{inputType:"insertParagraph",targetRanges:[h.createRange(w[0].end)]});else if("insertText"==c.inputType&&b&&b.includes("\n")){const A=b.split(/\n{1,2}/g);let M=w;for(let R=0;R{if(this.isEnabled&&((m=h.keyCode)==zi.arrowright||m==zi.arrowleft||m==zi.arrowup||m==zi.arrowdown)){const _=new el(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(_,h),_.stop.called&&u.stop()}var m})}observe(){}stopObserving(){}}class jy extends la{constructor(c){super(c);const u=this.document;u.on("keydown",(h,m)=>{if(!this.isEnabled||m.keyCode!=zi.tab||m.ctrlKey)return;const _=new el(u,"tab",u.selection.getFirstRange());u.fire(_,m),_.stop.called&&h.stop()})}observe(){}stopObserving(){}}const Md=function(g){return Gx(g,5)};class tB extends(_t()){constructor(c){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 n_(c),this.domConverter=new Og(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new jL(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new Fy(this.document),this.addObserver(Hy),this.addObserver(g_),this.addObserver(da),this.addObserver(Fg),this.addObserver(h_),this.addObserver(eB),this.addObserver(M1),this.addObserver(bE),this.addObserver(jy),this.document.on("arrowKey",lE,{priority:"low"}),function TW(g){g.document.on("arrowKey",(c,u)=>function(h,m,_){if(m.keyCode==zi.arrowright){const b=m.domTarget.ownerDocument.defaultView.getSelection(),w=1==b.rangeCount&&b.getRangeAt(0).collapsed;if(w||m.shiftKey){const R=_.domPositionToView(b.focusNode,b.focusOffset);if(null===R)return;let O=!1;const N=R.getLastMatchingPosition(V=>(V.item.is("uiElement")&&(O=!0),!(!V.item.is("uiElement")&&!V.item.is("attributeElement"))));if(O){const V=_.viewPositionToDom(N);w?b.collapse(V.parent,V.offset):b.extend(V.parent,V.offset)}}}}(0,u,g.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}),ae.isiOS&&this.listenTo(this.document,"blur",(u,h)=>{this.domConverter.mapDomToView(h.domEvent.relatedTarget)||this.domConverter._clearDomSelection()})}attachDomRoot(c,u="main"){const h=this.document.getRoot(u);h._name=c.tagName.toLowerCase();const m={};for(const{name:b,value:w}of Array.from(c.attributes))m[b]=w,"class"===b?this._writer.addClass(w.split(" "),h):this._writer.setAttribute(b,w,h);this._initialDomRootAttributes.set(c,m);const _=()=>{this._writer.setAttribute("contenteditable",(!h.isReadOnly).toString(),h),h.isReadOnly?this._writer.addClass("ck-read-only",h):this._writer.removeClass("ck-read-only",h)};_(),this.domRoots.set(u,c),this.domConverter.bindElements(c,h),this._renderer.markToSync("children",h),this._renderer.markToSync("attributes",h),this._renderer.domDocuments.add(c.ownerDocument),h.on("change:children",(b,w)=>this._renderer.markToSync("children",w)),h.on("change:attributes",(b,w)=>this._renderer.markToSync("attributes",w)),h.on("change:text",(b,w)=>this._renderer.markToSync("text",w)),h.on("change:isReadOnly",()=>this.change(_)),h.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const b of this._observers.values())b.observe(c,u)}detachDomRoot(c){const u=this.domRoots.get(c);Array.from(u.attributes).forEach(({name:m})=>u.removeAttribute(m));const h=this._initialDomRootAttributes.get(u);for(const m in h)u.setAttribute(m,h[m]);this.domRoots.delete(c),this.domConverter.unbindDomElement(u);for(const m of this._observers.values())m.stopObserving(u)}getDomRoot(c="main"){return this.domRoots.get(c)}addObserver(c){let u=this._observers.get(c);if(u)return u;u=new c(this),this._observers.set(c,u);for(const[h,m]of this.domRoots)u.observe(m,h);return u.enable(),u}getObserver(c){return this._observers.get(c)}disableObservers(){for(const c of this._observers.values())c.disable()}enableObservers(){for(const c of this._observers.values())c.enable()}scrollToTheSelection({alignToTop:c,forceScroll:u,viewportOffset:h=20,ancestorOffset:m=20}={}){const _=this.document.selection.getFirstRange();if(!_)return;const b=Md({alignToTop:c,forceScroll:u,viewportOffset:h,ancestorOffset:m});"number"==typeof h&&(h={top:h,bottom:h,left:h,right:h});const w={target:this.domConverter.viewRangeToDom(_),viewportOffset:h,ancestorOffset:m,alignToTop:c,forceScroll:u};this.fire("scrollToTheSelection",w,b),function({target:A,viewportOffset:M=0,ancestorOffset:R=0,alignToTop:O,forceScroll:N}){const V=li(A);let W=V,Y=null;for(M="number"==typeof(ne=M)?{top:ne,bottom:ne,left:ne,right:ne}:ne;W;){let ne;ne=Kf(W==V?A:Y),Ps({parent:ne,getRect:()=>Wx(A,W),alignToTop:O,ancestorOffset:R,forceScroll:N});const he=Wx(A,W);if(qf({window:W,rect:he,viewportOffset:M,alignToTop:O,forceScroll:N}),W.parent!=W){if(Y=W.frameElement,W=W.parent,!Y)return}else W=null}var ne}(w)}focus(){if(!this.document.isFocused){const c=this.document.selection.editableElement;c&&(this.domConverter.focus(c),this.forceRender())}}change(c){if(this.isRenderingInProgress||this._postFixersInProgress)throw new fe("cannot-change-view-tree",this);try{if(this._ongoingChange)return c(this._writer);this._ongoingChange=!0;const u=c(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),u}catch(u){fe.rethrowUnexpectedError(u,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(g_).flush(),this.change(()=>{})}destroy(){for(const c of this._observers.values())c.destroy();this.document.destroy(),this.stopListening()}createPositionAt(c,u){return vt._createAt(c,u)}createPositionAfter(c){return vt._createAfter(c)}createPositionBefore(c){return vt._createBefore(c)}createRange(c,u){return new ni(c,u)}createRangeOn(c){return ni._createOn(c)}createRangeIn(c){return ni._createIn(c)}createSelection(...c){return new Sl(...c)}_disableRendering(c){this._renderingDisabled=c,0==c&&this.change(()=>{})}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class Su{is(){throw new Error("is() method is abstract")}}class Rl extends Su{constructor(c){super(),this.parent=null,this._attrs=ta(c)}get document(){return null}get index(){let c;if(!this.parent)return null;if(null===(c=this.parent.getChildIndex(this)))throw new fe("model-node-not-found-in-parent",this);return c}get startOffset(){let c;if(!this.parent)return null;if(null===(c=this.parent.getChildStartOffset(this)))throw new fe("model-node-not-found-in-parent",this);return c}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const c=this.index;return null!==c&&this.parent.getChild(c+1)||null}get previousSibling(){const c=this.index;return null!==c&&this.parent.getChild(c-1)||null}get root(){let c=this;for(;c.parent;)c=c.parent;return c}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const c=[];let u=this;for(;u.parent;)c.unshift(u.startOffset),u=u.parent;return c}getAncestors(c={}){const u=[];let h=c.includeSelf?this:this.parent;for(;h;)u[c.parentFirst?"push":"unshift"](h),h=h.parent;return u}getCommonAncestor(c,u={}){const h=this.getAncestors(u),m=c.getAncestors(u);let _=0;for(;h[_]==m[_]&&h[_];)_++;return 0===_?null:h[_-1]}isBefore(c){if(this==c||this.root!==c.root)return!1;const u=this.getPath(),h=c.getPath(),m=Dr(u,h);switch(m){case"prefix":return!0;case"extension":return!1;default:return u[m](u[h[0]]=h[1],u),{})),c}_clone(c){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(c,u){this._attrs.set(c,u)}_setAttributesTo(c){this._attrs=ta(c)}_removeAttribute(c){return this._attrs.delete(c)}_clearAttributes(){this._attrs.clear()}}Rl.prototype.is=function(g){return"node"===g||"model:node"===g};class Rd{constructor(c){this._nodes=[],c&&this._insertNodes(0,c)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce((c,u)=>c+u.offsetSize,0)}getNode(c){return this._nodes[c]||null}getNodeIndex(c){const u=this._nodes.indexOf(c);return-1==u?null:u}getNodeStartOffset(c){const u=this.getNodeIndex(c);return null===u?null:this._nodes.slice(0,u).reduce((h,m)=>h+m.offsetSize,0)}indexToOffset(c){if(c==this._nodes.length)return this.maxOffset;const u=this._nodes[c];if(!u)throw new fe("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(u)}offsetToIndex(c){let u=0;for(const h of this._nodes){if(c>=u&&c1e4)return h.slice(0,_).concat(m).concat(h.slice(_+0,h.length));{const w=Array.from(h);return w.splice(_,0,...m),w}}(this._nodes,Array.from(u),c)}_removeNodes(c,u=1){return this._nodes.splice(c,u)}toJSON(){return this._nodes.map(c=>c.toJSON())}}class to extends Rl{constructor(c,u){super(u),this._data=c||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const c=super.toJSON();return c.data=this.data,c}_clone(){return new to(this.data,this.getAttributes())}static fromJSON(c){return new to(c.data,c.attributes)}}to.prototype.is=function(g){return"$text"===g||"model:$text"===g||"text"===g||"model:text"===g||"node"===g||"model:node"===g};class Gc extends Su{constructor(c,u,h){if(super(),this.textNode=c,u<0||u>c.offsetSize)throw new fe("model-textproxy-wrong-offsetintext",this);if(h<0||u+h>c.offsetSize)throw new fe("model-textproxy-wrong-length",this);this.data=c.data.substring(u,u+h),this.offsetInText=u}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 c=this.textNode.getPath();return c.length>0&&(c[c.length-1]+=this.offsetInText),c}getAncestors(c={}){const u=[];let h=c.includeSelf?this:this.parent;for(;h;)u[c.parentFirst?"push":"unshift"](h),h=h.parent;return u}hasAttribute(c){return this.textNode.hasAttribute(c)}getAttribute(c){return this.textNode.getAttribute(c)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}Gc.prototype.is=function(g){return"$textProxy"===g||"model:$textProxy"===g||"textProxy"===g||"model:textProxy"===g};class On extends Rl{constructor(c,u,h){super(u),this._children=new Rd,this.name=c,h&&this._insertChild(0,h)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(c){return this._children.getNode(c)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(c){return this._children.getNodeIndex(c)}getChildStartOffset(c){return this._children.getNodeStartOffset(c)}offsetToIndex(c){return this._children.offsetToIndex(c)}getNodeByPath(c){let u=this;for(const h of c)u=u.getChild(u.offsetToIndex(h));return u}findAncestor(c,u={}){let h=u.includeSelf?this:this.parent;for(;h;){if(h.name===c)return h;h=h.parent}return null}toJSON(){const c=super.toJSON();if(c.name=this.name,this._children.length>0){c.children=[];for(const u of this._children)c.children.push(u.toJSON())}return c}_clone(c=!1){const u=c?Array.from(this._children).map(h=>h._clone(!0)):void 0;return new On(this.name,this.getAttributes(),u)}_appendChild(c){this._insertChild(this.childCount,c)}_insertChild(c,u){const h="string"==typeof(m=u)?[new to(m)]:(Zn(m)||(m=[m]),Array.from(m).map(_=>"string"==typeof _?new to(_):_ instanceof Gc?new to(_.data,_.getAttributes()):_));var m;for(const m of h)null!==m.parent&&m._remove(),m.parent=this;this._children._insertNodes(c,h)}_removeChildren(c,u=1){const h=this._children._removeNodes(c,u);for(const m of h)m.parent=null;return h}static fromJSON(c){let u;if(c.children){u=[];for(const h of c.children)u.push(h.name?On.fromJSON(h):to.fromJSON(h))}return new On(c.name,c.attributes,u)}}On.prototype.is=function(g,c){return c?c===this.name&&("element"===g||"model:element"===g):"element"===g||"model:element"===g||"node"===g||"model:node"===g};class lc{constructor(c){if(!c||!c.boundaries&&!c.startPosition)throw new fe("model-tree-walker-no-start-position",null);const u=c.direction||"forward";if("forward"!=u&&"backward"!=u)throw new fe("model-tree-walker-unknown-direction",c,{direction:u});this.direction=u,this.boundaries=c.boundaries||null,this._position=c.startPosition?c.startPosition.clone():ct._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!c.singleCharacters,this.shallow=!!c.shallow,this.ignoreElementEnd=!!c.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(c){let u,h,m,_;do{m=this.position,_=this._visitedParent,({done:u,value:h}=this.next())}while(!u&&c(h));u||(this._position=m,this._visitedParent=_)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const c=this.position,u=this.position.clone(),h=this._visitedParent;if(null===h.parent&&u.offset===h.maxOffset)return{done:!0,value:void 0};if(h===this._boundaryEndParent&&u.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const m=m_(u,h),_=m||yE(u,h,m);if(_ instanceof On){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(u))return{done:!0,value:void 0};u.offset++}else u.path.push(0),this._visitedParent=_;return this._position=u,Bg("elementStart",_,c,u,1)}if(_ instanceof to){let b;if(this.singleCharacters)b=1;else{let M=_.endOffset;this._boundaryEndParent==h&&this.boundaries.end.offsetR&&(R=this.boundaries.start.offset),w=u.offset-R}const M=new Gc(b,u.offset-b.startOffset-w,w);return u.offset-=w,this._position=u,Bg("text",M,c,u,w)}return u.path.pop(),this._position=u,this._visitedParent=h.parent,Bg("elementStart",h,c,u,1)}}function Bg(g,c,u,h,m){return{done:!1,value:{type:g,item:c,previousPosition:u,nextPosition:h,length:m}}}class ct extends Su{constructor(c,u,h="toNone"){if(super(),!c.is("element")&&!c.is("documentFragment"))throw new fe("model-position-root-invalid",c);if(!(u instanceof Array)||0===u.length)throw new fe("model-position-path-incorrect-format",c,{path:u});c.is("rootElement")?u=u.slice():(u=[...c.getPath(),...u],c=c.root),this.root=c,this.path=u,this.stickiness=h}get offset(){return this.path[this.path.length-1]}set offset(c){this.path[this.path.length-1]=c}get parent(){let c=this.root;for(let u=0;u1)return!1;if(1===m)return R1(c,this,h);if(-1===m)return R1(this,c,h)}return this.path.length===c.path.length||P1(this.path.length>c.path.length?this.path:c.path,u)}hasSameParentAs(c){return this.root===c.root&&"same"==Dr(this.getParentPath(),c.getParentPath())}getTransformedByOperation(c){let u;switch(c.type){case"insert":u=this._getTransformedByInsertOperation(c);break;case"move":case"remove":case"reinsert":u=this._getTransformedByMoveOperation(c);break;case"split":u=this._getTransformedBySplitOperation(c);break;case"merge":u=this._getTransformedByMergeOperation(c);break;default:u=ct._createAt(this)}return u}_getTransformedByInsertOperation(c){return this._getTransformedByInsertion(c.position,c.howMany)}_getTransformedByMoveOperation(c){return this._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany)}_getTransformedBySplitOperation(c){const u=c.movedRange;return u.containsPosition(this)||u.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(c.splitPosition,c.moveTargetPosition):c.graveyardPosition?this._getTransformedByMove(c.graveyardPosition,c.insertionPosition,1):this._getTransformedByInsertion(c.insertionPosition,1)}_getTransformedByMergeOperation(c){const u=c.movedRange;let h;return u.containsPosition(this)||u.start.isEqual(this)?(h=this._getCombined(c.sourcePosition,c.targetPosition),c.sourcePosition.isBefore(c.targetPosition)&&(h=h._getTransformedByDeletion(c.deletionPosition,1))):h=this.isEqual(c.deletionPosition)?ct._createAt(c.deletionPosition):this._getTransformedByMove(c.deletionPosition,c.graveyardPosition,1),h}_getTransformedByDeletion(c,u){const h=ct._createAt(this);if(this.root!=c.root)return h;if("same"==Dr(c.getParentPath(),this.getParentPath())){if(c.offsetthis.offset)return null;h.offset-=u}}else if("prefix"==Dr(c.getParentPath(),this.getParentPath())){const m=c.path.length-1;if(c.offset<=this.path[m]){if(c.offset+u>this.path[m])return null;h.path[m]-=u}}return h}_getTransformedByInsertion(c,u){const h=ct._createAt(this);if(this.root!=c.root)return h;if("same"==Dr(c.getParentPath(),this.getParentPath()))(c.offset=m;){if(h.path[b]+w!==_.maxOffset)return!1;w=1,b--,_=_.parent}return!0}(g,u+1)}function P1(g,c){for(;cu+1;){const _=m.maxOffset-h.offset;0!==_&&c.push(new Ke(h,h.getShiftedBy(_))),h.path=h.path.slice(0,-1),h.offset++,m=m.parent}for(;h.path.length<=this.end.path.length;){const _=this.end.path[h.path.length-1],b=_-h.offset;0!==b&&c.push(new Ke(h,h.getShiftedBy(b))),h.offset=_,h.path.push(0)}return c}getWalker(c={}){return c.boundaries=this,new lc(c)}*getItems(c={}){c.boundaries=this,c.ignoreElementEnd=!0;const u=new lc(c);for(const h of u)yield h.item}*getPositions(c={}){c.boundaries=this;const u=new lc(c);yield u.position;for(const h of u)yield h.nextPosition}getTransformedByOperation(c){switch(c.type){case"insert":return this._getTransformedByInsertOperation(c);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(c);case"split":return[this._getTransformedBySplitOperation(c)];case"merge":return[this._getTransformedByMergeOperation(c)]}return[new Ke(this.start,this.end)]}getTransformedByOperations(c){const u=[new Ke(this.start,this.end)];for(const h of c)for(let m=0;m0?new this(h,m):new this(m,h)}static _createIn(c){return new this(ct._createAt(c,0),ct._createAt(c,c.maxOffset))}static _createOn(c){return this._createFromPositionAndShift(ct._createBefore(c),c.offsetSize)}static _createFromRanges(c){if(0===c.length)throw new fe("range-create-from-ranges-empty-array",null);if(1==c.length)return c[0].clone();const u=c[0];c.sort((_,b)=>_.start.isAfter(b.start)?1:-1);const h=c.indexOf(u),m=new this(u.start,u.end);if(h>0)for(let _=h-1;c[_].end.isEqual(m.start);_++)m.start=ct._createAt(c[_].start);for(let _=h+1;_{if(u.viewPosition)return;const h=this._modelToViewMapping.get(u.modelPosition.parent);if(!h)throw new fe("mapping-model-position-view-parent-not-found",this,{modelPosition:u.modelPosition});u.viewPosition=this.findPositionIn(h,u.modelPosition.offset)},{priority:"low"}),this.on("viewToModelPosition",(c,u)=>{if(u.modelPosition)return;const h=this.findMappedViewAncestor(u.viewPosition),m=this._viewToModelMapping.get(h),_=this._toModelOffset(u.viewPosition.parent,u.viewPosition.offset,h);u.modelPosition=ct._createAt(m,_)},{priority:"low"})}bindElements(c,u){this._modelToViewMapping.set(c,u),this._viewToModelMapping.set(u,c)}unbindViewElement(c,u={}){const h=this.toModelElement(c);if(this._elementToMarkerNames.has(c))for(const m of this._elementToMarkerNames.get(c))this._unboundMarkerNames.add(m);u.defer?this._deferredBindingRemovals.set(c,c.root):(this._viewToModelMapping.delete(c),this._modelToViewMapping.get(h)==c&&this._modelToViewMapping.delete(h))}unbindModelElement(c){const u=this.toViewElement(c);this._modelToViewMapping.delete(c),this._viewToModelMapping.get(u)==c&&this._viewToModelMapping.delete(u)}bindElementToMarker(c,u){const h=this._markerNameToElements.get(u)||new Set;h.add(c);const m=this._elementToMarkerNames.get(c)||new Set;m.add(u),this._markerNameToElements.set(u,h),this._elementToMarkerNames.set(c,m)}unbindElementFromMarkerName(c,u){const h=this._markerNameToElements.get(u);h&&(h.delete(c),0==h.size&&this._markerNameToElements.delete(u));const m=this._elementToMarkerNames.get(c);m&&(m.delete(u),0==m.size&&this._elementToMarkerNames.delete(c))}flushUnboundMarkerNames(){const c=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),c}flushDeferredBindings(){for(const[c,u]of this._deferredBindingRemovals)c.root==u&&this.unbindViewElement(c);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(c){return this._viewToModelMapping.get(c)}toViewElement(c){return this._modelToViewMapping.get(c)}toModelRange(c){return new Ke(this.toModelPosition(c.start),this.toModelPosition(c.end))}toViewRange(c){return new ni(this.toViewPosition(c.start),this.toViewPosition(c.end))}toModelPosition(c){const u={viewPosition:c,mapper:this};return this.fire("viewToModelPosition",u),u.modelPosition}toViewPosition(c,u={}){const h={modelPosition:c,mapper:this,isPhantom:u.isPhantom};return this.fire("modelToViewPosition",h),h.viewPosition}markerNameToElements(c){const u=this._markerNameToElements.get(c);if(!u)return null;const h=new Set;for(const m of u)if(m.is("attributeElement"))for(const _ of m.getElementsWithSameId())h.add(_);else h.add(m);return h}registerViewToModelLength(c,u){this._viewToModelLengthCallbacks.set(c,u)}findMappedViewAncestor(c){let u=c.parent;for(;!this._viewToModelMapping.has(u);)u=u.parent;return u}_toModelOffset(c,u,h){if(h!=c)return this._toModelOffset(c.parent,c.index,h)+this._toModelOffset(c,u,c);if(c.is("$text"))return u;let m=0;for(let _=0;_1?c[0]+":"+c[1]:c[0]}var nB=Object.defineProperty,oB=Object.defineProperties,F1=Object.getOwnPropertyDescriptors,rB=Object.getOwnPropertySymbols,zW=Object.prototype.hasOwnProperty,N1=Object.prototype.propertyIsEnumerable,sB=(g,c,u)=>c in g?nB(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,wE=(g,c)=>{for(var u in c||(c={}))zW.call(c,u)&&sB(g,u,c[u]);if(rB)for(var u of rB(c))N1.call(c,u)&&sB(g,u,c[u]);return g},aB=(g,c)=>oB(g,F1(c));class lB extends(vn()){constructor(c){super(),this._conversionApi=wE({dispatcher:this},c),this._firedEventsMap=new WeakMap}convertChanges(c,u,h){const m=this._createConversionApi(h,c.getRefreshedItems());for(const b of c.getMarkersToRemove())this._convertMarkerRemove(b.name,b.range,m);const _=this._reduceChanges(c.getChanges());for(const b of _)"insert"===b.type?this._convertInsert(Ke._createFromPositionAndShift(b.position,b.length),m):"reinsert"===b.type?this._convertReinsert(Ke._createFromPositionAndShift(b.position,b.length),m):"remove"===b.type?this._convertRemove(b.position,b.length,b.name,m):this._convertAttribute(b.range,b.attributeKey,b.attributeOldValue,b.attributeNewValue,m);m.mapper.flushDeferredBindings();for(const b of m.mapper.flushUnboundMarkerNames()){const w=u.get(b).getRange();this._convertMarkerRemove(b,w,m),this._convertMarkerAdd(b,w,m)}for(const b of c.getMarkersToAdd())this._convertMarkerAdd(b.name,b.range,m);m.consumable.verifyAllConsumed("insert")}convert(c,u,h,m={}){const _=this._createConversionApi(h,void 0,m);this._convertInsert(c,_);for(const[b,w]of u)this._convertMarkerAdd(b,w,_);_.consumable.verifyAllConsumed("insert")}convertSelection(c,u,h){const m=this._createConversionApi(h);this.fire("cleanSelection",{selection:c},m);const _=c.getFirstPosition().root;if(!m.mapper.toViewElement(_))return;const b=Array.from(u.getMarkersAtPosition(c.getFirstPosition()));if(this._addConsumablesForSelection(m.consumable,c,b),this.fire("selection",{selection:c},m),c.isCollapsed){for(const w of b)if(m.consumable.test(c,"addMarker:"+w.name)){const A=w.getRange();if(!HW(c.getFirstPosition(),w,m.mapper))continue;this.fire(`addMarker:${w.name}`,{item:c,markerName:w.name,markerRange:A},m)}for(const w of c.getAttributeKeys())if(m.consumable.test(c,"attribute:"+w)){const A={item:c,range:c.getFirstRange(),attributeKey:w,attributeOldValue:null,attributeNewValue:c.getAttribute(w)};this.fire(`attribute:${w}:$text`,A,m)}}}_convertInsert(c,u,h={}){h.doNotAddConsumables||this._addConsumablesForInsert(u.consumable,c);for(const m of Array.from(c.getWalker({shallow:!0})).map(xE))this._testAndFire("insert",m,u)}_convertRemove(c,u,h,m){this.fire(`remove:${h}`,{position:c,length:u},m)}_convertAttribute(c,u,h,m,_){this._addConsumablesForRange(_.consumable,c,`attribute:${u}`);for(const b of c){const w={item:b.item,range:Ke._createFromPositionAndShift(b.previousPosition,b.length),attributeKey:u,attributeOldValue:h,attributeNewValue:m};this._testAndFire(`attribute:${u}`,w,_)}}_convertReinsert(c,u){const h=Array.from(c.getWalker({shallow:!0}));this._addConsumablesForInsert(u.consumable,h);for(const m of h.map(xE))this._testAndFire("insert",aB(wE({},m),{reconversion:!0}),u)}_convertMarkerAdd(c,u,h){if("$graveyard"==u.root.rootName)return;const m=`addMarker:${c}`;if(h.consumable.add(u,m),this.fire(m,{markerName:c,markerRange:u},h),h.consumable.consume(u,m)){this._addConsumablesForRange(h.consumable,u,m);for(const _ of u.getItems()){if(!h.consumable.test(_,m))continue;const b={item:_,range:Ke._createOn(_),markerName:c,markerRange:u};this.fire(m,b,h)}}}_convertMarkerRemove(c,u,h){"$graveyard"!=u.root.rootName&&this.fire(`removeMarker:${c}`,{markerName:c,markerRange:u},h)}_reduceChanges(c){const u={changes:c};return this.fire("reduceChanges",u),u.changes}_addConsumablesForInsert(c,u){for(const h of u){const m=h.item;if(null===c.test(m,"insert")){c.add(m,"insert");for(const _ of m.getAttributeKeys())c.add(m,"attribute:"+_)}}return c}_addConsumablesForRange(c,u,h){for(const m of u.getItems())c.add(m,h);return c}_addConsumablesForSelection(c,u,h){c.add(u,"selection");for(const m of h)c.add(u,"addMarker:"+m.name);for(const m of u.getAttributeKeys())c.add(u,"attribute:"+m);return c}_testAndFire(c,u,h){const m=`${c}:${(M=u).item.is("element")?M.item.name:"$text"}`,_=u.item.is("$textProxy")?h.consumable._getSymbolForTextProxy(u.item):u.item,b=this._firedEventsMap.get(h),w=b.get(_);var M;if(w){if(w.has(m))return;w.add(m)}else b.set(_,new Set([m]));this.fire(m,u,h)}_testAndFireAddAttributes(c,u){const h={item:c,range:Ke._createOn(c)};for(const m of h.item.getAttributeKeys())h.attributeKey=m,h.attributeOldValue=null,h.attributeNewValue=h.item.getAttribute(m),this._testAndFire(`attribute:${m}`,h,u)}_createConversionApi(c,u=new Set,h={}){const m=aB(wE({},this._conversionApi),{consumable:new CE,writer:c,options:h,convertItem:_=>this._convertInsert(Ke._createOn(_),m),convertChildren:_=>this._convertInsert(Ke._createIn(_),m,{doNotAddConsumables:!0}),convertAttributes:_=>this._testAndFireAddAttributes(_,m),canReuseView:_=>!u.has(m.mapper.toModelElement(_))});return this._firedEventsMap.set(m,new Map),m}}function HW(g,c,u){const h=c.getRange(),m=Array.from(g.getAncestors());return m.shift(),m.reverse(),!m.some(_=>{if(h.containsItem(_))return!!u.toViewElement(_).getCustomProperty("addHighlight")})}function xE(g){return{item:g.item,range:Ke._createFromPositionAndShift(g.previousPosition,g.length)}}class Ls extends(vn(Su)){constructor(...c){super(),this._lastRangeBackward=!1,this._attrs=new Map,this._ranges=[],c.length&&this.setTo(...c)}get anchor(){if(this._ranges.length>0){const c=this._ranges[this._ranges.length-1];return this._lastRangeBackward?c.end:c.start}return null}get focus(){if(this._ranges.length>0){const c=this._ranges[this._ranges.length-1];return this._lastRangeBackward?c.start:c.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(c){if(this.rangeCount!=c.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(c.anchor)||!this.focus.isEqual(c.focus))return!1;for(const u of this._ranges){let h=!1;for(const m of c._ranges)if(u.isEqual(m)){h=!0;break}if(!h)return!1}return!0}*getRanges(){for(const c of this._ranges)yield new Ke(c.start,c.end)}getFirstRange(){let c=null;for(const u of this._ranges)c&&!u.start.isBefore(c.start)||(c=u);return c?new Ke(c.start,c.end):null}getLastRange(){let c=null;for(const u of this._ranges)c&&!u.end.isAfter(c.end)||(c=u);return c?new Ke(c.start,c.end):null}getFirstPosition(){const c=this.getFirstRange();return c?c.start.clone():null}getLastPosition(){const c=this.getLastRange();return c?c.end.clone():null}setTo(...c){let[u,h,m]=c;if("object"==typeof h&&(m=h,h=void 0),null===u)this._setRanges([]);else if(u instanceof Ls)this._setRanges(u.getRanges(),u.isBackward);else if(u&&"function"==typeof u.getRanges)this._setRanges(u.getRanges(),u.isBackward);else if(u instanceof Ke)this._setRanges([u],!!m&&!!m.backward);else if(u instanceof ct)this._setRanges([new Ke(u)]);else if(u instanceof Rl){const _=!!m&&!!m.backward;let b;if("in"==h)b=Ke._createIn(u);else if("on"==h)b=Ke._createOn(u);else{if(void 0===h)throw new fe("model-selection-setto-required-second-parameter",[this,u]);b=new Ke(ct._createAt(u,h))}this._setRanges([b],_)}else{if(!Zn(u))throw new fe("model-selection-setto-not-selectable",[this,u]);this._setRanges(u,m&&!!m.backward)}}_setRanges(c,u=!1){const h=Array.from(c),m=h.some(_=>{if(!(_ instanceof Ke))throw new fe("model-selection-set-ranges-not-range",[this,c]);return this._ranges.every(b=>!b.isEqual(_))});(h.length!==this._ranges.length||m)&&(this._replaceAllRanges(h),this._lastRangeBackward=!!u,this.fire("change:range",{directChange:!0}))}setFocus(c,u){if(null===this.anchor)throw new fe("model-selection-setfocus-no-ranges",[this,c]);const h=ct._createAt(c,u);if("same"==h.compareWith(this.focus))return;const m=this.anchor;this._ranges.length&&this._popRange(),"before"==h.compareWith(m)?(this._pushRange(new Ke(h,m)),this._lastRangeBackward=!0):(this._pushRange(new Ke(m,h)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(c){return this._attrs.get(c)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(c){return this._attrs.has(c)}removeAttribute(c){this.hasAttribute(c)&&(this._attrs.delete(c),this.fire("change:attribute",{attributeKeys:[c],directChange:!0}))}setAttribute(c,u){this.getAttribute(c)!==u&&(this._attrs.set(c,u),this.fire("change:attribute",{attributeKeys:[c],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const c=new WeakSet;for(const u of this.getRanges()){const h=L1(u.start,c);Vg(h,u)&&(yield h);for(const _ of u.getWalker()){const b=_.item;"elementEnd"==_.type&&kE(b,c,u)&&(yield b)}const m=L1(u.end,c);DE(m,u)&&(yield m)}}containsEntireContent(c=this.anchor.root){const u=ct._createAt(c,0),h=ct._createAt(c,"end");return u.isTouching(this.getFirstPosition())&&h.isTouching(this.getLastPosition())}_pushRange(c){this._checkRange(c),this._ranges.push(new Ke(c.start,c.end))}_checkRange(c){for(let u=0;u0;)this._popRange()}_popRange(){this._ranges.pop()}}function __(g,c){return!c.has(g)&&(c.add(g),g.root.document.model.schema.isBlock(g)&&!!g.parent)}function kE(g,c,u){return __(g,c)&&$y(g,u)}function L1(g,c){const u=g.parent.root.document.model.schema,h=g.parent.getAncestors({parentFirst:!0,includeSelf:!0});let m=!1;const _=h.find(b=>!m&&(m=u.isLimit(b),!m&&__(b,c)));return h.forEach(b=>c.add(b)),_}function $y(g,c){const u=function(h){const m=h.root.document.model.schema;let _=h.parent;for(;_;){if(m.isBlock(_))return _;_=_.parent}}(g);return!u||!c.containsRange(Ke._createOn(u),!0)}function Vg(g,c){return!!g&&(!(!c.isCollapsed&&!g.isEmpty)||!c.start.isTouching(ct._createAt(g,g.maxOffset))&&$y(g,c))}function DE(g,c){return!!g&&(!(!c.isCollapsed&&!g.isEmpty)||!c.end.isTouching(ct._createAt(g,0))&&$y(g,c))}Ls.prototype.is=function(g){return"selection"===g||"model:selection"===g};class Na extends(vn(Ke)){constructor(c,u){super(c,u),Uy.call(this)}detach(){this.stopListening()}toRange(){return new Ke(this.start,this.end)}static fromRange(c){return new Na(c.start,c.end)}}function Uy(){this.listenTo(this.root.document.model,"applyOperation",(g,c)=>{const u=c[0];u.isDocumentOperation&&Wy.call(this,u)},{priority:"low"})}function Wy(g){const c=this.getTransformedByOperation(g),u=Ke._createFromRanges(c),h=!u.isEqual(this),m=function(b,w){switch(w.type){case"insert":return b.containsPosition(w.position);case"move":case"remove":case"reinsert":case"merge":return b.containsPosition(w.sourcePosition)||b.start.isEqual(w.sourcePosition)||b.containsPosition(w.targetPosition);case"split":return b.containsPosition(w.splitPosition)||b.containsPosition(w.insertionPosition)}return!1}(this,g);let _=null;if(h){"$graveyard"==u.root.rootName&&(_="remove"==g.type?g.sourcePosition:g.deletionPosition);const b=this.toRange();this.start=u.start,this.end=u.end,this.fire("change:range",b,{deletionPosition:_})}else m&&this.fire("change:content",this.toRange(),{deletionPosition:_})}Na.prototype.is=function(g){return"liveRange"===g||"model:liveRange"===g||"range"==g||"model:range"===g};const Pl="selection:";class cc extends(vn(Su)){constructor(c){super(),this._selection=new cB(c),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(c){return this._selection.containsEntireContent(c)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(c){return this._selection.getAttribute(c)}hasAttribute(c){return this._selection.hasAttribute(c)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(c){this._selection.observeMarkers(c)}_setFocus(c,u){this._selection.setFocus(c,u)}_setTo(...c){this._selection.setTo(...c)}_setAttribute(c,u){this._selection.setAttribute(c,u)}_removeAttribute(c){this._selection.removeAttribute(c)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(c){this._selection.restoreGravity(c)}static _getStoreAttributeKey(c){return Pl+c}static _isStoreAttributeKey(c){return c.startsWith(Pl)}}cc.prototype.is=function(g){return"selection"===g||"model:selection"==g||"documentSelection"==g||"model:documentSelection"==g};class cB extends Ls{constructor(c){super(),this.markers=new Oa({idProperty:"name"}),this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this._model=c.model,this._document=c,this.listenTo(this._model,"applyOperation",(u,h)=>{const m=h[0];m.isDocumentOperation&&"marker"!=m.type&&"rename"!=m.type&&"noop"!=m.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",(u,h,m,_)=>{this._updateMarker(h,_)}),this.listenTo(this._document,"change",(u,h)=>{!function(m,_){const b=m.document.differ;for(const w of b.getChanges()){if("insert"!=w.type)continue;const A=w.position.parent;w.length===A.maxOffset&&m.enqueueChange(_,M=>{const R=Array.from(A.getAttributeKeys()).filter(O=>O.startsWith(Pl));for(const O of R)M.removeAttribute(O,A)})}}(this._model,h)})}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 c=0;c{if(this._hasChangedRange=!0,u.root==this._document.graveyard){this._selectionRestorePosition=_.deletionPosition;const b=this._ranges.indexOf(u);this._ranges.splice(b,1),u.detach()}}),u}updateMarkers(){if(!this._observedMarkers.size)return;const c=[];let u=!1;for(const m of this._model.markers){const _=m.name.split(":",1)[0];if(!this._observedMarkers.has(_))continue;const b=m.getRange();for(const w of this.getRanges())b.containsRange(w,!w.isCollapsed)&&c.push(m)}const h=Array.from(this.markers);for(const m of c)this.markers.has(m)||(this.markers.add(m),u=!0);for(const m of Array.from(this.markers))c.includes(m)||(this.markers.remove(m),u=!0);u&&this.fire("change:marker",{oldMarkers:h,directChange:!1})}_updateMarker(c,u){const h=c.name.split(":",1)[0];if(!this._observedMarkers.has(h))return;let m=!1;const _=Array.from(this.markers),b=this.markers.has(c);if(u){let w=!1;for(const A of this.getRanges())if(u.containsRange(A,!A.isCollapsed)){w=!0;break}w&&!b?(this.markers.add(c),m=!0):!w&&b&&(this.markers.remove(c),m=!0)}else b&&(this.markers.remove(c),m=!0);m&&this.fire("change:marker",{oldMarkers:_,directChange:!1})}_updateAttributes(c){const u=ta(this._getSurroundingAttributes()),h=ta(this.getAttributes());if(c)this._attributePriority=new Map,this._attrs=new Map;else for(const[_,b]of this._attributePriority)"low"==b&&(this._attrs.delete(_),this._attributePriority.delete(_));this._setAttributesTo(u);const m=[];for(const[_,b]of this.getAttributes())h.has(_)&&h.get(_)===b||m.push(_);for(const[_]of h)this.hasAttribute(_)||m.push(_);m.length>0&&this.fire("change:attribute",{attributeKeys:m,directChange:!1})}_setAttribute(c,u,h=!0){const m=h?"normal":"low";return("low"!=m||"normal"!=this._attributePriority.get(c))&&super.getAttribute(c)!==u&&(this._attrs.set(c,u),this._attributePriority.set(c,m),!0)}_removeAttribute(c,u=!0){const h=u?"normal":"low";return!("low"==h&&"normal"==this._attributePriority.get(c)||(this._attributePriority.set(c,h),!super.hasAttribute(c)||(this._attrs.delete(c),0)))}_setAttributesTo(c){const u=new Set;for(const[h,m]of this.getAttributes())c.get(h)!==m&&this._removeAttribute(h,!1);for(const[h,m]of c)this._setAttribute(h,m,!1)&&u.add(h);return u}*getStoredAttributes(){const c=this.getFirstPosition().parent;if(this.isCollapsed&&c.isEmpty)for(const u of c.getAttributeKeys())u.startsWith(Pl)&&(yield[u.substr(10),c.getAttribute(u)])}_getSurroundingAttributes(){const c=this.getFirstPosition(),u=this._model.schema;if("$graveyard"==c.root.rootName)return null;let h=null;if(this.isCollapsed){const m=c.textNode?c.textNode:c.nodeBefore,_=c.textNode?c.textNode:c.nodeAfter;if(this.isGravityOverridden||(h=v_(m,u)),h||(h=v_(_,u)),!this.isGravityOverridden&&!h){let b=m;for(;b&&!h;)b=b.previousSibling,h=v_(b,u)}if(!h){let b=_;for(;b&&!h;)b=b.nextSibling,h=v_(b,u)}h||(h=this.getStoredAttributes())}else{const m=this.getFirstRange();for(const _ of m){if(_.item.is("element")&&u.isObject(_.item)){h=v_(_.item,u);break}if("text"==_.type){h=_.item.getAttributes();break}}}return h}_fixGraveyardSelection(c){const u=this._model.schema.getNearestSelectionRange(c);u&&this._pushRange(u)}}function v_(g,c){if(!g)return null;if(g instanceof Gc||g instanceof to)return g.getAttributes();if(!c.isInline(g))return null;if(!c.isObject(g))return[];const u=[];for(const[h,m]of g.getAttributes())c.checkAttribute("$text",h)&&!1!==c.getAttributeProperties(h).copyFromObject&&u.push([h,m]);return u}class B1{constructor(c){this._dispatchers=c}add(c){for(const u of this._dispatchers)c(u);return this}}class V1 extends B1{elementToElement(c){return this.add(function(u){const h=SE(u.model),m=zg(u.view,"container");return h.attributes.length&&(h.children=!0),_=>{_.on(`insert:${h.name}`,function(b,w=b_){return(A,M,R)=>{if(!w(M.item,R.consumable,{preflight:!0}))return;const O=b(M.item,R,M);if(!O)return;w(M.item,R.consumable);const N=R.mapper.toViewPosition(M.range.start);R.mapper.bindElements(M.item,O),R.writer.insert(N,O),R.convertAttributes(M.item),Ky(O,M.item.getChildren(),R,{reconversion:M.reconversion})}}(m,z1(h)),{priority:u.converterPriority||"normal"}),(h.children||h.attributes.length)&&_.on("reduceChanges",qy(h),{priority:"low"})}}(c))}elementToStructure(c){return this.add(function(u){const h=SE(u.model),m=zg(u.view,"container");return h.children=!0,_=>{if(_._conversionApi.schema.checkChild(h.name,"$text"))throw new fe("conversion-element-to-structure-disallowed-text",_,{elementName:h.name});var b,w;_.on(`insert:${h.name}`,(b=m,w=z1(h),(A,M,R)=>{if(!w(M.item,R.consumable,{preflight:!0}))return;const O=new Map;var W,Y,ne;R.writer._registerSlotFactory((W=M.item,Y=O,ne=R,(he,Me)=>{const qe=he.createContainerElement("$slot");let kt=null;if("children"===Me)kt=Array.from(W.getChildren());else{if("function"!=typeof Me)throw new fe("conversion-slot-mode-unknown",ne.dispatcher,{modeOrFilter:Me});kt=Array.from(W.getChildren()).filter($t=>Me($t))}return Y.set(qe,kt),qe}));const N=b(M.item,R,M);if(R.writer._clearSlotFactory(),!N)return;(function(W,Y,ne){const he=Array.from(Y.values()).flat(),Me=new Set(he);if(Me.size!=he.length)throw new fe("conversion-slot-filter-overlap",ne.dispatcher,{element:W});if(Me.size!=W.childCount)throw new fe("conversion-slot-filter-incomplete",ne.dispatcher,{element:W})})(M.item,O,R),w(M.item,R.consumable);const V=R.mapper.toViewPosition(M.range.start);R.mapper.bindElements(M.item,N),R.writer.insert(V,N),R.convertAttributes(M.item),function(W,Y,ne,he){ne.mapper.on("modelToViewPosition",kt,{priority:"highest"});let Me=null,qe=null;for([Me,qe]of Y)Ky(W,qe,ne,he),ne.writer.move(ne.writer.createRangeIn(Me),ne.writer.createPositionBefore(Me)),ne.writer.remove(Me);function kt($t,tn){const Wn=qe.indexOf(tn.modelPosition.nodeAfter);Wn<0||(tn.viewPosition=tn.mapper.findPositionIn(Me,Wn))}ne.mapper.off("modelToViewPosition",kt)}(N,O,R,{reconversion:M.reconversion})}),{priority:u.converterPriority||"normal"}),_.on("reduceChanges",qy(h),{priority:"low"})}}(c))}attributeToElement(c){return this.add(function(u){let h=(u=Md(u)).model;"string"==typeof h&&(h={key:h});let m=`attribute:${h.key}`;if(h.name&&(m+=":"+h.name),h.values)for(const b of h.values)u.view[b]=zg(u.view[b],"attribute");else u.view=zg(u.view,"attribute");const _=TE(u);return b=>{var w;b.on(m,(w=_,(A,M,R)=>{if(!R.consumable.test(M.item,A.name))return;const O=w(M.attributeOldValue,R,M),N=w(M.attributeNewValue,R,M);if(!O&&!N)return;R.consumable.consume(M.item,A.name);const V=R.writer;if(M.item instanceof Ls||M.item instanceof cc)V.wrap(V.document.selection.getFirstRange(),N);else{let Y=R.mapper.toViewRange(M.range);null!==M.attributeOldValue&&O&&(Y=V.unwrap(Y,O)),null!==M.attributeNewValue&&N&&V.wrap(Y,N)}}),{priority:u.converterPriority||"normal"})}}(c))}attributeToAttribute(c){return this.add(function(u){let h=(u=Md(u)).model;"string"==typeof h&&(h={key:h});let m=`attribute:${h.key}`;if(h.name&&(m+=":"+h.name),h.values)for(const b of h.values)u.view[b]=EE(u.view[b]);else u.view=EE(u.view);const _=TE(u);return b=>{var w;b.on(m,(w=_,(A,M,R)=>{if(!R.consumable.test(M.item,A.name))return;const O=w(M.attributeOldValue,R,M),N=w(M.attributeNewValue,R,M);if(!O&&!N)return;R.consumable.consume(M.item,A.name);const V=R.mapper.toViewElement(M.item),W=R.writer;if(!V)throw new fe("conversion-attribute-to-attribute-on-text",R.dispatcher,M);if(null!==M.attributeOldValue&&O)if("class"==O.key){const Y=ho(O.value);for(const ne of Y)W.removeClass(ne,V)}else if("style"==O.key){const Y=Object.keys(O.value);for(const ne of Y)W.removeStyle(ne,V)}else W.removeAttribute(O.key,V);if(null!==M.attributeNewValue&&N)if("class"==N.key){const Y=ho(N.value);for(const ne of Y)W.addClass(ne,V)}else if("style"==N.key){const Y=Object.keys(N.value);for(const ne of Y)W.setStyle(ne,N.value[ne],V)}else W.setAttribute(N.key,N.value,V)}),{priority:u.converterPriority||"normal"})}}(c))}markerToElement(c){return this.add(function(u){const h=zg(u.view,"ui");return m=>{var _;m.on(`addMarker:${u.model}`,(_=h,(b,w,A)=>{w.isOpening=!0;const M=_(w,A);w.isOpening=!1;const R=_(w,A);if(!M||!R)return;const O=w.markerRange;if(O.isCollapsed&&!A.consumable.consume(O,b.name))return;for(const W of O)if(!A.consumable.consume(W.item,b.name))return;const N=A.mapper,V=A.writer;V.insert(N.toViewPosition(O.start),M),A.mapper.bindElementToMarker(M,w.markerName),O.isCollapsed||(V.insert(N.toViewPosition(O.end),R),A.mapper.bindElementToMarker(R,w.markerName)),b.stop()}),{priority:u.converterPriority||"normal"}),m.on(`removeMarker:${u.model}`,(b,w,A)=>{const M=A.mapper.markerNameToElements(w.markerName);if(M){for(const R of M)A.mapper.unbindElementFromMarkerName(R,w.markerName),A.writer.clear(A.writer.createRangeOn(R),R);A.writer.clearClonedElementsGroup(w.markerName),b.stop()}},{priority:u.converterPriority||"normal"})}}(c))}markerToHighlight(c){return this.add((u=c,h=>{var m,_;h.on(`addMarker:${u.model}`,(m=u.view,(_,b,w)=>{if(!b.item||!(b.item instanceof Ls||b.item instanceof cc||b.item.is("$textProxy")))return;const A=Bs(m,b,w);if(!A||!w.consumable.consume(b.item,_.name))return;const M=w.writer,R=AE(M,A);if(b.item instanceof Ls||b.item instanceof cc)M.wrap(M.document.selection.getFirstRange(),R);else{const N=w.mapper.toViewRange(b.range),V=M.wrap(N,R);for(const W of V.getItems())if(W.is("attributeElement")&&W.isSimilar(R)){w.mapper.bindElementToMarker(W,b.markerName);break}}}),{priority:u.converterPriority||"normal"}),h.on(`addMarker:${u.model}`,(_=u.view,(b,w,A)=>{if(!(w.item&&w.item instanceof On))return;const M=Bs(_,w,A);if(!M||!A.consumable.test(w.item,b.name))return;const R=A.mapper.toViewElement(w.item);if(R&&R.getCustomProperty("addHighlight")){A.consumable.consume(w.item,b.name);for(const O of Ke._createIn(w.item))A.consumable.consume(O.item,b.name);R.getCustomProperty("addHighlight")(R,M,A.writer),A.mapper.bindElementToMarker(R,w.markerName)}}),{priority:u.converterPriority||"normal"}),h.on(`removeMarker:${u.model}`,function(_){return(b,w,A)=>{if(w.markerRange.isCollapsed)return;const M=Bs(_,w,A);if(!M)return;const R=AE(A.writer,M),O=A.mapper.markerNameToElements(w.markerName);if(O){for(const N of O)A.mapper.unbindElementFromMarkerName(N,w.markerName),N.is("attributeElement")?A.writer.unwrap(A.writer.createRangeOn(N),R):N.getCustomProperty("removeHighlight")(N,M.id,A.writer);A.writer.clearClonedElementsGroup(w.markerName),b.stop()}}}(u.view),{priority:u.converterPriority||"normal"})}));var u}markerToData(c){return this.add(function(u){const h=(u=Md(u)).model;let m=u.view;return m||(m=_=>({group:h,name:_.substr(u.model.length+1)})),_=>{var b,w;_.on(`addMarker:${h}`,(b=m,(w,A,M)=>{const R=b(A.markerName,M);if(!R)return;const O=A.markerRange;M.consumable.consume(O,w.name)&&(IE(O,!1,M,A,R),IE(O,!0,M,A,R),w.stop())}),{priority:u.converterPriority||"normal"}),_.on(`removeMarker:${h}`,(w=m,(A,M,R)=>{const O=w(M.markerName,R);if(!O)return;const N=R.mapper.markerNameToElements(M.markerName);if(N){for(const W of N)R.mapper.unbindElementFromMarkerName(W,M.markerName),W.is("containerElement")?(V(`data-${O.group}-start-before`,W),V(`data-${O.group}-start-after`,W),V(`data-${O.group}-end-before`,W),V(`data-${O.group}-end-after`,W)):R.writer.clear(R.writer.createRangeOn(W),W);R.writer.clearClonedElementsGroup(M.markerName),A.stop()}function V(W,Y){if(Y.hasAttribute(W)){const ne=new Set(Y.getAttribute(W).split(","));ne.delete(O.name),0==ne.size?R.writer.removeAttribute(W,Y):R.writer.setAttribute(W,Array.from(ne).join(","),Y)}}}),{priority:u.converterPriority||"normal"})}}(c))}}function AE(g,c){const u=g.createAttributeElement("span",c.attributes);return c.classes&&u._addClass(c.classes),"number"==typeof c.priority&&(u._priority=c.priority),u._id=c.id,u}function IE(g,c,u,h,m){const _=c?g.start:g.end,b=_.nodeAfter&&_.nodeAfter.is("element")?_.nodeAfter:null,w=_.nodeBefore&&_.nodeBefore.is("element")?_.nodeBefore:null;if(b||w){let A,M;c&&b||!c&&!w?(A=b,M=!0):(A=w,M=!1);const R=u.mapper.toViewElement(A);if(R)return void function(O,N,V,W,Y,ne){const he=`data-${ne.group}-${N?"start":"end"}-${V?"before":"after"}`,Me=O.hasAttribute(he)?O.getAttribute(he).split(","):[];Me.unshift(ne.name),W.writer.setAttribute(he,Me.join(","),O),W.mapper.bindElementToMarker(O,Y.markerName)}(R,c,M,u,h,m)}!function(A,M,R,O,N){const Y=R.writer.createUIElement(`${N.group}-${M?"start":"end"}`,N.name?{name:N.name}:null);R.writer.insert(A,Y),R.mapper.bindElementToMarker(Y,O.markerName)}(u.mapper.toViewPosition(_),c,u,h,m)}function SE(g){return"string"==typeof g&&(g={name:g}),{name:g.name,attributes:g.attributes?ho(g.attributes):[],children:!!g.children}}function zg(g,c){return"function"==typeof g?g:(u,h)=>function(m,_,b){let w;"string"==typeof m&&(m={name:m});const A=_.writer,M=Object.assign({},m.attributes);if(w="container"==b?A.createContainerElement(m.name,M):"attribute"==b?A.createAttributeElement(m.name,M,{priority:m.priority||Vh.DEFAULT_PRIORITY}):A.createUIElement(m.name,M),m.styles){const R=Object.keys(m.styles);for(const O of R)A.setStyle(O,m.styles[O],w)}if(m.classes){const R=m.classes;if("string"==typeof R)A.addClass(R,w);else for(const O of R)A.addClass(O,w)}return w}(g,h,c)}function TE(g){return g.model.values?(c,u,h)=>{const m=g.view[c];return m?m(c,u,h):null}:g.view}function EE(g){return"string"==typeof g?c=>({key:g,value:c}):"object"==typeof g?g.value?()=>g:c=>({key:g.key,value:c}):g}function Bs(g,c,u){const h="function"==typeof g?g(c,u):g;return h?(h.priority||(h.priority=10),h.id||(h.id=c.markerName),h):null}function qy(g){const c=(u=g,(h,m)=>{if(!h.is("element",u.name))return!1;if("attribute"==m.type){if(u.attributes.includes(m.attributeKey))return!0}else if(u.children)return!0;return!1});var u;return(u,h)=>{const m=[];h.reconvertedElements||(h.reconvertedElements=new Set);for(const _ of h.changes){const b="attribute"==_.type?_.range.start.nodeAfter:_.position.parent;if(b&&c(b,_)){if(!h.reconvertedElements.has(b)){h.reconvertedElements.add(b);const w=ct._createBefore(b);let A=m.length;for(let M=m.length-1;M>=0;M--){const R=m[M],O=("attribute"==R.type?R.range.start:R.position).compareWith(w);if("before"==O||"remove"==R.type&&"same"==O)break;A=M}m.splice(A,0,{type:"remove",name:b.name,position:w,length:1},{type:"reinsert",name:b.name,position:w,length:1})}}else m.push(_)}h.changes=m}}function z1(g){return(c,u,h={})=>{const m=["insert"];for(const _ of g.attributes)c.hasAttribute(_)&&m.push(`attribute:${_}`);return!!m.every(_=>u.test(c,_))&&(h.preflight||m.forEach(_=>u.consume(c,_)),!0)}}function Ky(g,c,u,h){for(const m of c)Vs(g.root,m,u,h)||u.convertItem(m)}function Vs(g,c,u,h){const{writer:m,mapper:_}=u;if(!h.reconversion)return!1;const b=_.toViewElement(c);return!(!b||b.root==g||!u.canReuseView(b)||(m.move(m.createRangeOn(b),_.toViewPosition(ct._createBefore(c))),0))}function b_(g,c,{preflight:u}={}){return u?c.test(g,"insert"):c.consume(g,"insert")}function H1(g){const{schema:c,document:u}=g.model;for(const h of u.getRoots())if(h.isEmpty&&!c.checkChild(h,"$text")&&c.checkChild(h,"paragraph"))return g.insertElement("paragraph",h),!0;return!1}function G1(g,c,u){const h=u.createContext(g);return!!u.checkChild(h,"paragraph")&&!!u.checkChild(h.push("paragraph"),c)}function ME(g,c){const u=c.createElement("paragraph");return c.insert(u,g),c.createPositionAt(u,0)}var RE=Object.defineProperty,dB=Object.defineProperties,PE=Object.getOwnPropertyDescriptors,OE=Object.getOwnPropertySymbols,FE=Object.prototype.hasOwnProperty,uB=Object.prototype.propertyIsEnumerable,NE=(g,c,u)=>c in g?RE(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class j1 extends B1{elementToElement(c){return this.add(Yy(c))}elementToAttribute(c){return this.add(function(u){LE(u=Md(u));const h=BE(u,!1),m=$1(u.view),_=m?`element:${m}`:"element";return b=>{b.on(_,h,{priority:u.converterPriority||"low"})}}(c))}attributeToAttribute(c){return this.add(function(u){let h=null;("string"==typeof(u=Md(u)).view||u.view.key)&&(h=function(_){"string"==typeof _.view&&(_.view={key:_.view});const b=_.view.key;let w;return w="class"==b||"style"==b?{["class"==b?"classes":"styles"]:_.view.value}:{attributes:{[b]:void 0===_.view.value?/[\s\S]*/:_.view.value}},_.view.name&&(w.name=_.view.name),_.view=w,b}(u)),LE(u,h);const m=BE(u,!0);return _=>{_.on("element",m,{priority:u.converterPriority||"low"})}}(c))}elementToMarker(c){return this.add(function(u){const h=(b=u.model,(w,A)=>{const M="string"==typeof b?b:b(w,A);return A.writer.createElement("$marker",{"data-name":M})});var b,m;return Yy((m=((b,w)=>{for(var A in w||(w={}))FE.call(w,A)&&NE(b,A,w[A]);if(OE)for(var A of OE(w))uB.call(w,A)&&NE(b,A,w[A]);return b})({},u),dB(m,PE({model:h}))))}(c))}dataToMarker(c){return this.add(function(u){(u=Md(u)).model||(u.model=b=>b?u.view+":"+b:u.view);const h={view:u.view,model:u.model},m=Wh(U1(h,"start")),_=Wh(U1(h,"end"));return b=>{b.on(`element:${u.view}-start`,m,{priority:u.converterPriority||"normal"}),b.on(`element:${u.view}-end`,_,{priority:u.converterPriority||"normal"});const w=ui.low,A=ui.highest,M=ui.get(u.converterPriority)/A;var R;b.on("element",(R=h,(O,N,V)=>{const W=`data-${R.view}`;function Y(ne,he){for(const Me of he){const qe=R.model(Me,V),kt=V.writer.createElement("$marker",{"data-name":qe});V.writer.insert(kt,ne),N.modelCursor=N.modelCursor.isEqual(ne)?N.modelCursor.getShiftedBy(1):N.modelCursor._getTransformedByInsertion(ne,1),N.modelRange=N.modelRange._getTransformedByInsertion(ne,1)[0]}}(V.consumable.test(N.viewItem,{attributes:W+"-end-after"})||V.consumable.test(N.viewItem,{attributes:W+"-start-after"})||V.consumable.test(N.viewItem,{attributes:W+"-end-before"})||V.consumable.test(N.viewItem,{attributes:W+"-start-before"}))&&(N.modelRange||Object.assign(N,V.convertChildren(N.viewItem,N.modelCursor)),V.consumable.consume(N.viewItem,{attributes:W+"-end-after"})&&Y(N.modelRange.end,N.viewItem.getAttribute(W+"-end-after").split(",")),V.consumable.consume(N.viewItem,{attributes:W+"-start-after"})&&Y(N.modelRange.end,N.viewItem.getAttribute(W+"-start-after").split(",")),V.consumable.consume(N.viewItem,{attributes:W+"-end-before"})&&Y(N.modelRange.start,N.viewItem.getAttribute(W+"-end-before").split(",")),V.consumable.consume(N.viewItem,{attributes:W+"-start-before"})&&Y(N.modelRange.start,N.viewItem.getAttribute(W+"-start-before").split(",")))}),{priority:w+M})}}(c))}}function Yy(g){const c=Wh(g=Md(g)),u=$1(g.view),h=u?`element:${u}`:"element";return m=>{m.on(h,c,{priority:g.converterPriority||"normal"})}}function $1(g){return"string"==typeof g?g:"object"==typeof g&&"string"==typeof g.name?g.name:null}function Wh(g){const c=new sc(g.view);return(u,h,m)=>{const _=c.match(h.viewItem);if(!_)return;const b=_.match;if(b.name=!0,!m.consumable.test(h.viewItem,b))return;const w=(R=m,(A=g.model)instanceof Function?A(h.viewItem,R):R.writer.createElement(A));var A,R;w&&m.safeInsert(w,h.modelCursor)&&(m.consumable.consume(h.viewItem,b),m.convertChildren(h.viewItem,w),m.updateConversionResult(w,h))}}function LE(g,c=null){g.model={key:"object"!=typeof g.model?g.model:g.model.key,value:"object"!=typeof g.model||void 0===g.model.value?null===c||(_=>_.getAttribute(c)):g.model.value}}function BE(g,c){const u=new sc(g.view);return(h,m,_)=>{if(!m.modelRange&&c)return;const b=u.match(m.viewItem);if(!b||(function(R,O){const N="function"==typeof R?R(O):R;return!("object"==typeof N&&!$1(N)||N.classes||N.attributes||N.styles)}(g.view,m.viewItem)?b.match.name=!0:delete b.match.name,!_.consumable.test(m.viewItem,b.match)))return;const w=g.model.key,A="function"==typeof g.model.value?g.model.value(m.viewItem,_):g.model.value;null!==A&&(m.modelRange||Object.assign(m,_.convertChildren(m.viewItem,m.modelCursor)),function(R,O,N,V){let W=!1;for(const Y of Array.from(R.getItems({shallow:N})))V.schema.checkAttribute(Y,O.key)&&(W=!0,Y.hasAttribute(O.key)||V.writer.setAttribute(O.key,O.value,Y));return W}(m.modelRange,{key:w,value:A},c,_)&&(_.consumable.test(m.viewItem,{name:!0})&&(b.match.name=!0),_.consumable.consume(m.viewItem,b.match)))}}function U1(g,c){return{view:`${g.view}-${c}`,model:(u,h)=>{const m=u.getAttribute("name"),_=g.model(m,h);return h.writer.createElement("$marker",{"data-name":_})}}}function W1(g,c){return g.isCollapsed?function(u,h){const m=u.start,_=h.getNearestSelectionRange(m);if(!_){const w=m.getAncestors().reverse().find(A=>h.isObject(A));return w?Ke._createOn(w):null}if(!_.isCollapsed)return _;const b=_.start;return m.isEqual(b)?null:new Ke(b)}(g,c):function(u,h){const{start:m,end:_}=u,b=h.checkChild(m,"$text"),w=h.checkChild(_,"$text"),A=h.getLimitElement(m),M=h.getLimitElement(_);if(A===M){if(b&&w)return null;if(function(N,V,W){const Y=N.nodeAfter&&!W.isLimit(N.nodeAfter)||W.checkChild(N,"$text"),ne=V.nodeBefore&&!W.isLimit(V.nodeBefore)||W.checkChild(V,"$text");return Y||ne}(m,_,h)){const N=m.nodeAfter&&h.isSelectable(m.nodeAfter)?null:h.getNearestSelectionRange(m,"forward"),V=_.nodeBefore&&h.isSelectable(_.nodeBefore)?null:h.getNearestSelectionRange(_,"backward");return new Ke(N?N.start:m,V?V.end:_)}}const R=A&&!A.is("rootElement"),O=M&&!M.is("rootElement");if(R||O){const N=m.nodeAfter&&_.nodeBefore&&m.nodeAfter.parent===_.nodeBefore.parent,V=R&&(!N||!y_(m.nodeAfter,h)),W=O&&(!N||!y_(_.nodeBefore,h));let Y=m,ne=_;return V&&(Y=ct._createBefore(qh(A,h))),W&&(ne=ct._createAfter(qh(M,h))),new Ke(Y,ne)}return null}(g,c)}function qh(g,c){let u=g,h=u;for(;c.isLimit(h)&&h.parent;)u=h,h=h.parent;return u}function y_(g,c){return g&&c.isSelectable(g)}class zE extends(_t()){constructor(c,u){super(),this.model=c,this.view=new tB(u),this.mapper=new iB,this.downcastDispatcher=new lB({mapper:this.mapper,schema:c.schema});const h=this.model.document,m=h.selection,_=this.model.markers;var b,w,A,M,R;this.listenTo(this.model,"_beforeChanges",()=>{this.view._disableRendering(!0)},{priority:"highest"}),this.listenTo(this.model,"_afterChanges",()=>{this.view._disableRendering(!1)},{priority:"lowest"}),this.listenTo(h,"change",()=>{this.view.change(M=>{this.downcastDispatcher.convertChanges(h.differ,_,M),this.downcastDispatcher.convertSelection(m,_,M)})},{priority:"low"}),this.listenTo(this.view.document,"selectionChange",(M=this.model,R=this.mapper,(O,N)=>{const V=N.newSelection,W=[];for(const ne of V.getRanges())W.push(R.toModelRange(ne));const Y=M.createSelection(W,{backward:V.isBackward});Y.isEqual(M.document.selection)||M.change(ne=>{ne.setSelection(Y)})})),this.listenTo(this.view.document,"beforeinput",(b=this.mapper,w=this.model.schema,A=this.view,(M,R)=>{if(!A.document.isComposing||ae.isAndroid)for(let O=0;O{if(!O.consumable.consume(R.item,M.name))return;const N=O.writer,V=O.mapper.toViewPosition(R.range.start),W=N.createText(R.item.data);N.insert(V,W)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(M,R,O)=>{O.convertAttributes(R.item),R.reconversion||!R.item.is("element")||R.item.isEmpty||O.convertChildren(R.item)},{priority:"lowest"}),this.downcastDispatcher.on("remove",(M,R,O)=>{const N=O.mapper.toViewPosition(R.position),V=R.position.getShiftedBy(R.length),W=O.mapper.toViewPosition(V,{isPhantom:!0}),Y=O.writer.createRange(N,W),ne=O.writer.remove(Y.getTrimmed());for(const he of O.writer.createRangeIn(ne).getItems())O.mapper.unbindViewElement(he,{defer:!0})},{priority:"low"}),this.downcastDispatcher.on("cleanSelection",(M,R,O)=>{const N=O.writer,V=N.document.selection;for(const W of V.getRanges())W.isCollapsed&&W.end.parent.isAttached()&&O.writer.mergeAttributes(W.start);N.setSelection(null)}),this.downcastDispatcher.on("selection",(M,R,O)=>{const N=R.selection;if(N.isCollapsed||!O.consumable.consume(N,"selection"))return;const V=[];for(const W of N.getRanges())V.push(O.mapper.toViewRange(W));O.writer.setSelection(V,{backward:N.isBackward})},{priority:"low"}),this.downcastDispatcher.on("selection",(M,R,O)=>{const N=R.selection;if(!N.isCollapsed||!O.consumable.consume(N,"selection"))return;const V=O.writer,W=N.getFirstPosition(),Y=O.mapper.toViewPosition(W),ne=V.breakAttributes(Y);V.setSelection(ne)},{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using(M=>{if("$graveyard"==M.rootName)return null;const R=new mr(this.view.document,M.name);return R.rootName=M.rootName,this.mapper.bindElements(M,R),R})}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(c){const u="string"==typeof c?c:c.name,h=this.model.markers.get(u);if(!h)throw new fe("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:u});this.model.change(()=>{this.model.markers._refresh(h)})}reconvertItem(c){this.model.change(()=>{this.model.document.differ._refreshItem(c)})}}class Kh{constructor(){this._consumables=new Map}add(c,u){let h;c.is("$text")||c.is("documentFragment")?this._consumables.set(c,!0):(this._consumables.has(c)?h=this._consumables.get(c):(h=new hB(c),this._consumables.set(c,h)),h.add(u))}test(c,u){const h=this._consumables.get(c);return void 0===h?null:c.is("$text")||c.is("documentFragment")?h:h.test(u)}consume(c,u){return!!this.test(c,u)&&(c.is("$text")||c.is("documentFragment")?this._consumables.set(c,!1):this._consumables.get(c).consume(u),!0)}revert(c,u){const h=this._consumables.get(c);void 0!==h&&(c.is("$text")||c.is("documentFragment")?this._consumables.set(c,!0):h.revert(u))}static consumablesFromElement(c){const u={element:c,name:!0,attributes:[],classes:[],styles:[]},h=c.getAttributeKeys();for(const b of h)"style"!=b&&"class"!=b&&u.attributes.push(b);const m=c.getClassNames();for(const b of m)u.classes.push(b);const _=c.getStyleNames();for(const b of _)u.styles.push(b);return u}static createFrom(c,u){if(u||(u=new Kh),c.is("$text"))return u.add(c),u;c.is("element")&&u.add(c,Kh.consumablesFromElement(c)),c.is("documentFragment")&&u.add(c);for(const h of c.getChildren())u=Kh.createFrom(h,u);return u}}const Yh=["attributes","classes","styles"];class hB{constructor(c){this.element=c,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(c){c.name&&(this._canConsumeName=!0);for(const u of Yh)u in c&&this._add(u,c[u])}test(c){if(c.name&&!this._canConsumeName)return this._canConsumeName;for(const u of Yh)if(u in c){const h=this._test(u,c[u]);if(!0!==h)return h}return!0}consume(c){c.name&&(this._canConsumeName=!1);for(const u of Yh)u in c&&this._consume(u,c[u])}revert(c){c.name&&(this._canConsumeName=!0);for(const u of Yh)u in c&&this._revert(u,c[u])}_add(c,u){const h=fs(u)?u:[u],m=this._consumables[c];for(const _ of h){if("attributes"===c&&("class"===_||"style"===_))throw new fe("viewconsumable-invalid-attribute",this);if(m.set(_,!0),"styles"===c)for(const b of this.element.document.stylesProcessor.getRelatedStyles(_))m.set(b,!0)}}_test(c,u){const h=fs(u)?u:[u],m=this._consumables[c];for(const _ of h)if("attributes"!==c||"class"!==_&&"style"!==_){const b=m.get(_);if(void 0===b)return null;if(!b)return!1}else{const b="class"==_?"classes":"styles",w=this._test(b,[...this._consumables[b].keys()]);if(!0!==w)return w}return!0}_consume(c,u){const h=fs(u)?u:[u],m=this._consumables[c];for(const _ of h)if("attributes"!==c||"class"!==_&&"style"!==_){if(m.set(_,!1),"styles"==c)for(const b of this.element.document.stylesProcessor.getRelatedStyles(_))m.set(b,!1)}else{const b="class"==_?"classes":"styles";this._consume(b,[...this._consumables[b].keys()])}}_revert(c,u){const h=fs(u)?u:[u],m=this._consumables[c];for(const _ of h)if("attributes"!==c||"class"!==_&&"style"!==_)!1===m.get(_)&&m.set(_,!0);else{const b="class"==_?"classes":"styles";this._revert(b,[...this._consumables[b].keys()])}}}class pB extends(_t()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",(c,u)=>{u[0]=new Qh(u[0])},{priority:"highest"}),this.on("checkChild",(c,u)=>{u[0]=new Qh(u[0]),u[1]=this.getDefinition(u[1])},{priority:"highest"})}register(c,u){if(this._sourceDefinitions[c])throw new fe("schema-cannot-register-item-twice",this,{itemName:c});this._sourceDefinitions[c]=[Object.assign({},u)],this._clearCache()}extend(c,u){if(!this._sourceDefinitions[c])throw new fe("schema-cannot-extend-missing-item",this,{itemName:c});this._sourceDefinitions[c].push(Object.assign({},u)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(c){let u;return u="string"==typeof c?c:"is"in c&&(c.is("$text")||c.is("$textProxy"))?"$text":c.name,this.getDefinitions()[u]}isRegistered(c){return!!this.getDefinition(c)}isBlock(c){const u=this.getDefinition(c);return!(!u||!u.isBlock)}isLimit(c){const u=this.getDefinition(c);return!(!u||!u.isLimit&&!u.isObject)}isObject(c){const u=this.getDefinition(c);return!!u&&!!(u.isObject||u.isLimit&&u.isSelectable&&u.isContent)}isInline(c){const u=this.getDefinition(c);return!(!u||!u.isInline)}isSelectable(c){const u=this.getDefinition(c);return!(!u||!u.isSelectable&&!u.isObject)}isContent(c){const u=this.getDefinition(c);return!(!u||!u.isContent&&!u.isObject)}checkChild(c,u){return!!u&&this._checkContextMatch(u,c)}checkAttribute(c,u){const h=this.getDefinition(c.last);return!!h&&h.allowAttributes.includes(u)}checkMerge(c,u){if(c instanceof ct){const h=c.nodeBefore,m=c.nodeAfter;if(!(h instanceof On))throw new fe("schema-check-merge-no-element-before",this);if(!(m instanceof On))throw new fe("schema-check-merge-no-element-after",this);return this.checkMerge(h,m)}for(const h of u.getChildren())if(!this.checkChild(c,h))return!1;return!0}addChildCheck(c){this.on("checkChild",(u,[h,m])=>{if(!m)return;const _=c(h,m);"boolean"==typeof _&&(u.stop(),u.return=_)},{priority:"high"})}addAttributeCheck(c){this.on("checkAttribute",(u,[h,m])=>{const _=c(h,m);"boolean"==typeof _&&(u.stop(),u.return=_)},{priority:"high"})}setAttributeProperties(c,u){this._attributeProperties[c]=Object.assign(this.getAttributeProperties(c),u)}getAttributeProperties(c){return this._attributeProperties[c]||{}}getLimitElement(c){let u;for(u=c instanceof ct?c.parent:(c instanceof Ke?[c]:Array.from(c.getRanges())).reduce((h,m)=>{const _=m.getCommonAncestor();return h?h.getCommonAncestor(_,{includeSelf:!0}):_},null);!this.isLimit(u)&&u.parent;)u=u.parent;return u}checkAttributeInSelection(c,u){if(c.isCollapsed){const h=[...c.getFirstPosition().getAncestors(),new to("",c.getAttributes())];return this.checkAttribute(h,u)}{const h=c.getRanges();for(const m of h)for(const _ of m)if(this.checkAttribute(_.item,u))return!0}return!1}*getValidRanges(c,u){c=function*(h){for(const m of h)yield*m.getMinimalFlatRanges()}(c);for(const h of c)yield*this._getValidRangesForRange(h,u)}getNearestSelectionRange(c,u="both"){if("$graveyard"==c.root.rootName)return null;if(this.checkChild(c,"$text"))return new Ke(c);let h,m;const _=c.getAncestors().reverse().find(b=>this.isLimit(b))||c.root;"both"!=u&&"backward"!=u||(h=new lc({boundaries:Ke._createIn(_),startPosition:c,direction:"backward"})),"both"!=u&&"forward"!=u||(m=new lc({boundaries:Ke._createIn(_),startPosition:c}));for(const b of function*(w,A){let M=!1;for(;!M;){if(M=!0,w){const R=w.next();R.done||(M=!1,yield{walker:w,value:R.value})}if(A){const R=A.next();R.done||(M=!1,yield{walker:A,value:R.value})}}}(h,m)){const A=b.value;if(A.type==(b.walker==h?"elementEnd":"elementStart")&&this.isObject(A.item))return Ke._createOn(A.item);if(this.checkChild(A.nextPosition,"$text"))return new Ke(A.nextPosition)}return null}findAllowedParent(c,u){let h=c.parent;for(;h;){if(this.checkChild(h,u))return h;if(this.isLimit(h))return null;h=h.parent}return null}setAllowedAttributes(c,u,h){const m=h.model;for(const[_,b]of Object.entries(u))m.schema.checkAttribute(c,_)&&h.setAttribute(_,b,c)}removeDisallowedAttributes(c,u){for(const h of c)if(h.is("$text"))Y1(this,h,u);else{const m=Ke._createIn(h).getPositions();for(const _ of m)Y1(this,_.nodeBefore||_.parent,u)}}getAttributesWithProperty(c,u,h){const m={};for(const[_,b]of c.getAttributes()){const w=this.getAttributeProperties(_);void 0!==w[u]&&(void 0!==h&&h!==w[u]||(m[_]=b))}return m}createContext(c){return new Qh(c)}_clearCache(){this._compiledDefinitions=null}_compile(){const c={},u=this._sourceDefinitions,h=Object.keys(u);for(const m of h)c[m]=gB(u[m],m);for(const m of h)mB(c,m);for(const m of h)fB(c,m);for(const m of h)HE(c,m);for(const m of h)Qy(c,m),q1(c,m);for(const m of h)K1(c,m),_B(c,m),vB(c,m);this._compiledDefinitions=c}_checkContextMatch(c,u,h=u.length-1){const m=u.getItem(h);if(c.allowIn.includes(m.name)){if(0==h)return!0;{const _=this.getDefinition(m);return this._checkContextMatch(_,u,h-1)}}return!1}*_getValidRangesForRange(c,u){let h=c.start,m=c.start;for(const _ of c.getItems({shallow:!0}))_.is("element")&&(yield*this._getValidRangesForRange(Ke._createIn(_),u)),this.checkAttribute(_,u)||(h.isEqual(m)||(yield new Ke(h,m)),h=ct._createAfter(_)),m=ct._createAfter(_);h.isEqual(m)||(yield new Ke(h,m))}}class Qh{constructor(c){if(c instanceof Qh)return c;let u;u="string"==typeof c?[c]:Array.isArray(c)?c:c.getAncestors({includeSelf:!0}),this._items=u.map(Xh)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(c){const u=new Qh([c]);return u._items=[...this._items,...u._items],u}getItem(c){return this._items[c]}*getNames(){yield*this._items.map(c=>c.name)}endsWith(c){return Array.from(this.getNames()).join(" ").endsWith(c)}startsWith(c){return Array.from(this.getNames()).join(" ").startsWith(c)}}function gB(g,c){const u={name:c,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(h,m){for(const _ of h){const b=Object.keys(_).filter(w=>w.startsWith("is"));for(const w of b)m[w]=!!_[w]}}(g,u),Pd(g,u,"allowIn"),Pd(g,u,"allowContentOf"),Pd(g,u,"allowWhere"),Pd(g,u,"allowAttributes"),Pd(g,u,"allowAttributesOf"),Pd(g,u,"allowChildren"),Pd(g,u,"inheritTypesFrom"),function(h,m){for(const _ of h){const b=_.inheritAllFrom;b&&(m.allowContentOf.push(b),m.allowWhere.push(b),m.allowAttributesOf.push(b),m.inheritTypesFrom.push(b))}}(g,u),u}function mB(g,c){const u=g[c];for(const h of u.allowChildren){const m=g[h];m&&m.allowIn.push(c)}u.allowChildren.length=0}function fB(g,c){for(const u of g[c].allowContentOf)g[u]&&GE(g,u).forEach(h=>{h.allowIn.push(c)});delete g[c].allowContentOf}function HE(g,c){for(const u of g[c].allowWhere){const h=g[u];h&&g[c].allowIn.push(...h.allowIn)}delete g[c].allowWhere}function Qy(g,c){for(const u of g[c].allowAttributesOf){const h=g[u];h&&g[c].allowAttributes.push(...h.allowAttributes)}delete g[c].allowAttributesOf}function q1(g,c){const u=g[c];for(const h of u.inheritTypesFrom){const m=g[h];if(m){const _=Object.keys(m).filter(b=>b.startsWith("is"));for(const b of _)b in u||(u[b]=m[b])}}delete u.inheritTypesFrom}function K1(g,c){const u=g[c],h=u.allowIn.filter(m=>g[m]);u.allowIn=Array.from(new Set(h))}function _B(g,c){const u=g[c];for(const h of u.allowIn)g[h].allowChildren.push(c)}function vB(g,c){const u=g[c];u.allowAttributes=Array.from(new Set(u.allowAttributes))}function Pd(g,c,u){for(const h of g){const m=h[u];"string"==typeof m?c[u].push(m):Array.isArray(m)&&c[u].push(...m)}}function GE(g,c){const u=g[c];return(h=g,Object.keys(h).map(m=>h[m])).filter(m=>m.allowIn.includes(u.name));var h}function Xh(g){return"string"==typeof g||g.is("documentFragment")?{name:"string"==typeof g?g:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:g.is("element")?g.name:"$text",*getAttributeKeys(){yield*g.getAttributeKeys()},getAttribute:c=>g.getAttribute(c)}}function Y1(g,c,u){for(const h of c.getAttributeKeys())g.checkAttribute(c,h)||u.removeAttribute(h,c)}var jE=Object.defineProperty,bB=Object.defineProperties,GW=Object.getOwnPropertyDescriptors,C_=Object.getOwnPropertySymbols,yB=Object.prototype.hasOwnProperty,$E=Object.prototype.propertyIsEnumerable,Q1=(g,c,u)=>c in g?jE(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class UE extends(vn()){constructor(c){var u;super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi=(u=((h,m)=>{for(var _ in m||(m={}))yB.call(m,_)&&Q1(h,_,m[_]);if(C_)for(var _ of C_(m))$E.call(m,_)&&Q1(h,_,m[_]);return h})({},c),bB(u,GW({consumable:null,writer:null,store:null,convertItem:(h,m)=>this._convertItem(h,m),convertChildren:(h,m)=>this._convertChildren(h,m),safeInsert:(h,m)=>this._safeInsert(h,m),updateConversionResult:(h,m)=>this._updateConversionResult(h,m),splitToAllowedParent:(h,m)=>this._splitToAllowedParent(h,m),getSplitParts:h=>this._getSplitParts(h),keepEmptyElement:h=>this._keepEmptyElement(h)})))}convert(c,u,h=["$root"]){this.fire("viewCleanup",c),this._modelCursor=function(b,w){let A;for(const M of new Qh(b)){const R={};for(const N of M.getAttributeKeys())R[N]=M.getAttribute(N);const O=w.createElement(M.name,R);A&&w.insert(O,A),A=ct._createAt(O,0)}return A}(h,u),this.conversionApi.writer=u,this.conversionApi.consumable=Kh.createFrom(c),this.conversionApi.store={};const{modelRange:m}=this._convertItem(c,this._modelCursor),_=u.createDocumentFragment();if(m){this._removeEmptyElements();for(const b of Array.from(this._modelCursor.parent.getChildren()))u.append(b,_);_.markers=function(b,w){const A=new Set,M=new Map,R=Ke._createIn(b).getItems();for(const O of R)O.is("element","$marker")&&A.add(O);for(const O of A){const N=O.getAttribute("data-name"),V=w.createPositionBefore(O);M.has(N)?M.get(N).end=V.clone():M.set(N,new Ke(V.clone())),w.remove(O)}return M}(_,u)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,_}_convertItem(c,u){const h={viewItem:c,modelCursor:u,modelRange:null};if(c.is("element")?this.fire(`element:${c.name}`,h,this.conversionApi):c.is("$text")?this.fire("text",h,this.conversionApi):this.fire("documentFragment",h,this.conversionApi),h.modelRange&&!(h.modelRange instanceof Ke))throw new fe("view-conversion-dispatcher-incorrect-result",this);return{modelRange:h.modelRange,modelCursor:h.modelCursor}}_convertChildren(c,u){let h=u.is("position")?u:ct._createAt(u,0);const m=new Ke(h);for(const _ of Array.from(c.getChildren())){const b=this._convertItem(_,h);b.modelRange instanceof Ke&&(m.end=b.modelRange.end,h=b.modelCursor)}return{modelRange:m,modelCursor:h}}_safeInsert(c,u){const h=this._splitToAllowedParent(c,u);return!!h&&(this.conversionApi.writer.insert(c,h.position),!0)}_updateConversionResult(c,u){const h=this._getSplitParts(c),m=this.conversionApi.writer;u.modelRange||(u.modelRange=m.createRange(m.createPositionBefore(c),m.createPositionAfter(h[h.length-1])));const _=this._cursorParents.get(c);u.modelCursor=_?m.createPositionAt(_,0):u.modelRange.end}_splitToAllowedParent(c,u){const{schema:h,writer:m}=this.conversionApi;let _=h.findAllowedParent(u,c);if(_){if(_===u.parent)return{position:u};this._modelCursor.parent.getAncestors().includes(_)&&(_=null)}if(!_)return G1(u,c,h)?{position:ME(u,m)}:null;const b=this.conversionApi.writer.split(u,_),w=[];for(const M of b.range.getWalker())if("elementEnd"==M.type)w.push(M.item);else{const R=w.pop();this._registerSplitPair(R,M.item)}const A=b.range.end.parent;return this._cursorParents.set(c,A),{position:b.position,cursorParent:A}}_registerSplitPair(c,u){this._splitParts.has(c)||this._splitParts.set(c,[c]);const h=this._splitParts.get(c);this._splitParts.set(u,h),h.push(u)}_getSplitParts(c){let u;return u=this._splitParts.has(c)?this._splitParts.get(c):[c],u}_keepEmptyElement(c){this._emptyElementsToKeep.add(c)}_removeEmptyElements(){let c=!1;for(const u of this._splitParts.keys())u.isEmpty&&!this._emptyElementsToKeep.has(u)&&(this.conversionApi.writer.remove(u),this._splitParts.delete(u),c=!0);c&&this._removeEmptyElements()}}class X1{getHtml(c){const u=de.document.implementation.createHTMLDocument("").createElement("div");return u.appendChild(c),u.innerHTML}}class WE{constructor(c){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new Og(c,{renderingMode:"data"}),this.htmlWriter=new X1}toData(c){const u=this.domConverter.viewToDom(c);return this.htmlWriter.getHtml(u)}toView(c){const u=this._toDom(c);return this.domConverter.domToView(u,{skipComments:this.skipComments})}registerRawContentMatcher(c){this.domConverter.registerRawContentMatcher(c)}useFillerType(c){this.domConverter.blockFillerMode="marked"==c?"markedNbsp":"nbsp"}_toDom(c){c.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(c=`${c}`);const u=this.domParser.parseFromString(c,"text/html"),h=u.createDocumentFragment(),m=u.body.childNodes;for(;m.length>0;)h.appendChild(m[0]);return h}}class Xy extends(vn()){constructor(c,u){super(),this.model=c,this.mapper=new iB,this.downcastDispatcher=new lB({mapper:this.mapper,schema:c.schema}),this.downcastDispatcher.on("insert:$text",(h,m,_)=>{if(!_.consumable.consume(m.item,h.name))return;const b=_.writer,w=_.mapper.toViewPosition(m.range.start),A=b.createText(m.item.data);b.insert(w,A)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(h,m,_)=>{_.convertAttributes(m.item),m.reconversion||!m.item.is("element")||m.item.isEmpty||_.convertChildren(m.item)},{priority:"lowest"}),this.upcastDispatcher=new UE({schema:c.schema}),this.viewDocument=new n_(u),this.stylesProcessor=u,this.htmlProcessor=new WE(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new Fy(this.viewDocument),this.upcastDispatcher.on("text",(h,m,{schema:_,consumable:b,writer:w})=>{let A=m.modelCursor;if(!b.test(m.viewItem))return;if(!_.checkChild(A,"$text")){if(!G1(A,"$text",_)||0==m.viewItem.data.trim().length)return;const R=A.nodeBefore;A=ME(A,w),R&&R.is("element","$marker")&&(w.move(w.createRangeOn(R),A),A=w.createPositionAfter(R))}b.consume(m.viewItem);const M=w.createText(m.viewItem.data);w.insert(M,A),m.modelRange=w.createRange(A,A.getShiftedBy(M.offsetSize)),m.modelCursor=m.modelRange.end},{priority:"lowest"}),this.upcastDispatcher.on("element",(h,m,_)=>{if(!m.modelRange&&_.consumable.consume(m.viewItem,{name:!0})){const{modelRange:b,modelCursor:w}=_.convertChildren(m.viewItem,m.modelCursor);m.modelRange=b,m.modelCursor=w}},{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",(h,m,_)=>{if(!m.modelRange&&_.consumable.consume(m.viewItem,{name:!0})){const{modelRange:b,modelCursor:w}=_.convertChildren(m.viewItem,m.modelCursor);m.modelRange=b,m.modelCursor=w}},{priority:"lowest"}),_t().prototype.decorate.call(this,"init"),_t().prototype.decorate.call(this,"set"),_t().prototype.decorate.call(this,"get"),_t().prototype.decorate.call(this,"toView"),_t().prototype.decorate.call(this,"toModel"),this.on("init",()=>{this.fire("ready")},{priority:"lowest"}),this.on("ready",()=>{this.model.enqueueChange({isUndoable:!1},H1)},{priority:"lowest"})}get(c={}){const{rootName:u="main",trim:h="empty"}=c;if(!this._checkIfRootsExists([u]))throw new fe("datacontroller-get-non-existent-root",this);const m=this.model.document.getRoot(u);return m.isAttached()||St("datacontroller-get-detached-root",this),"empty"!==h||this.model.hasContent(m,{ignoreWhitespaces:!0})?this.stringify(m,c):""}stringify(c,u={}){const h=this.toView(c,u);return this.processor.toData(h)}toView(c,u={}){const h=this.viewDocument,m=this._viewWriter;this.mapper.clearBindings();const _=Ke._createIn(c),b=new Rg(h);this.mapper.bindElements(c,b);const w=c.is("documentFragment")?c.markers:function(A){const M=[],R=A.root.document;if(!R)return new Map;const O=Ke._createIn(A);for(const N of R.model.markers){const V=N.getRange(),W=V.isCollapsed,Y=V.start.isEqual(O.start)||V.end.isEqual(O.end);if(W&&Y)M.push([N.name,V]);else{const ne=O.getIntersection(V);ne&&M.push([N.name,ne])}}return M.sort(([N,V],[W,Y])=>{if("after"!==V.end.compareWith(Y.start))return 1;if("before"!==V.start.compareWith(Y.end))return-1;switch(V.start.compareWith(Y.start)){case"before":return 1;case"after":return-1;default:switch(V.end.compareWith(Y.end)){case"before":return 1;case"after":return-1;default:return W.localeCompare(N)}}}),new Map(M)}(c);return this.downcastDispatcher.convert(_,w,m,u),b}init(c){if(this.model.document.version)throw new fe("datacontroller-init-document-not-empty",this);let u={};if("string"==typeof c?u.main=c:u=c,!this._checkIfRootsExists(Object.keys(u)))throw new fe("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},h=>{for(const m of Object.keys(u)){const _=this.model.document.getRoot(m);h.insert(this.parse(u[m],_),_,0)}}),Promise.resolve()}set(c,u={}){let h={};if("string"==typeof c?h.main=c:h=c,!this._checkIfRootsExists(Object.keys(h)))throw new fe("datacontroller-set-non-existent-root",this);this.model.enqueueChange(u.batchType||{},m=>{m.setSelection(null),m.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const _ of Object.keys(h)){const b=this.model.document.getRoot(_);m.remove(m.createRangeIn(b)),m.insert(this.parse(h[_],b),b,0)}})}parse(c,u="$root"){const h=this.processor.toView(c);return this.toModel(h,u)}toModel(c,u="$root"){return this.model.change(h=>this.upcastDispatcher.convert(c,h,u))}addStyleProcessorRules(c){c(this.stylesProcessor)}registerRawContentMatcher(c){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(c),this.htmlProcessor.registerRawContentMatcher(c)}destroy(){this.stopListening()}_checkIfRootsExists(c){for(const u of c)if(!this.model.document.getRoot(u))return!1;return!0}}class w_{constructor(c,u){this._helpers=new Map,this._downcast=ho(c),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=ho(u),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(c,u){const h=this._downcast.includes(u);if(!this._upcast.includes(u)&&!h)throw new fe("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:c,dispatchers:[u],isDowncast:h})}for(c){if(!this._helpers.has(c))throw new fe("conversion-for-unknown-group",this);return this._helpers.get(c)}elementToElement(c){this.for("downcast").elementToElement(c);for(const{model:u,view:h}of Zy(c))this.for("upcast").elementToElement({model:u,view:h,converterPriority:c.converterPriority})}attributeToElement(c){this.for("downcast").attributeToElement(c);for(const{model:u,view:h}of Zy(c))this.for("upcast").elementToAttribute({view:h,model:u,converterPriority:c.converterPriority})}attributeToAttribute(c){this.for("downcast").attributeToAttribute(c);for(const{model:u,view:h}of Zy(c))this.for("upcast").attributeToAttribute({view:h,model:u})}_createConversionHelpers({name:c,dispatchers:u,isDowncast:h}){if(this._helpers.has(c))throw new fe("conversion-group-exists",this);const m=h?new V1(u):new j1(u);this._helpers.set(c,m)}}function*Zy(g){if(g.model.values)for(const c of g.model.values){const u={key:g.model.key,value:c},h=g.view[c],m=g.upcastAlso?g.upcastAlso[c]:void 0;yield*Jy(u,h,m)}else yield*Jy(g.model,g.view,g.upcastAlso)}function*Jy(g,c,u){if(yield{model:g,view:c},u)for(const h of ho(u))yield{model:g,view:h}}class zs{constructor(c){this.baseVersion=c,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const c=Object.assign({},this);return c.__className=this.constructor.className,delete c.batch,delete c.isDocumentOperation,c}static get className(){return"Operation"}static fromJSON(c,u){return new this(c.baseVersion)}}function e0(g,c){const u=qE(c),h=u.reduce((b,w)=>b+w.offsetSize,0),m=g.parent;x_(g);const _=g.index;return m._insertChild(_,u),Hg(m,_+u.length),Hg(m,_),new Ke(g,g.getShiftedBy(h))}function t0(g){if(!g.isFlat)throw new fe("operation-utils-remove-range-not-flat",this);const c=g.start.parent;x_(g.start),x_(g.end);const u=c._removeChildren(g.start.index,g.end.index-g.start.index);return Hg(c,g.start.index),u}function Od(g,c){if(!g.isFlat)throw new fe("operation-utils-move-range-not-flat",this);const u=t0(g);return e0(c=c._getTransformedByDeletion(g.start,g.end.offset-g.start.offset),u)}function qE(g){const c=[];!function u(h){if("string"==typeof h)c.push(new to(h));else if(h instanceof Gc)c.push(new to(h.data,h.getAttributes()));else if(h instanceof Rl)c.push(h);else if(Zn(h))for(const m of h)u(m)}(g);for(let u=1;uc.maxOffset)throw new fe("move-operation-nodes-do-not-exist",this);if(c===u&&h=h&&this.targetPosition.path[_]h._clone(!0))),u=new Ur(this.position,c,this.baseVersion);return u.shouldReceiveAttributes=this.shouldReceiveAttributes,u}getReversed(){const u=new ct(this.position.root.document.graveyard,[0]);return new kn(this.position,this.nodes.maxOffset,u,this.baseVersion+1)}_validate(){const c=this.position.parent;if(!c||c.maxOffsetu._clone(!0))),e0(this.position,c)}toJSON(){const c=super.toJSON();return c.position=this.position.toJSON(),c.nodes=this.nodes.toJSON(),c}static get className(){return"InsertOperation"}static fromJSON(c,u){const h=[];for(const _ of c.nodes)h.push(_.name?On.fromJSON(_):to.fromJSON(_));const m=new Ur(ct.fromJSON(c.position,u),h,c.baseVersion);return m.shouldReceiveAttributes=c.shouldReceiveAttributes,m}}class Gn extends zs{constructor(c,u,h,m,_){super(_),this.splitPosition=c.clone(),this.splitPosition.stickiness="toNext",this.howMany=u,this.insertionPosition=h,this.graveyardPosition=m?m.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const c=this.insertionPosition.path.slice();return c.push(0),new ct(this.insertionPosition.root,c)}get movedRange(){const c=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Ke(this.splitPosition,c)}get affectedSelectable(){const c=[Ke._createFromPositionAndShift(this.splitPosition,0),Ke._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&c.push(Ke._createFromPositionAndShift(this.graveyardPosition,0)),c}clone(){return new Gn(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const u=new ct(this.splitPosition.root.document.graveyard,[0]);return new To(this.moveTargetPosition,this.howMany,this.splitPosition,u,this.baseVersion+1)}_validate(){const c=this.splitPosition.parent;if(!c||c.maxOffset{if(g.key===c.key&&g.range.start.hasSameParentAs(c.range.start)){const h=g.range.getDifference(c.range).map(_=>new fr(_,g.key,g.oldValue,g.newValue,0)),m=g.range.getIntersection(c.range);return m&&u.aIsStrong&&h.push(new fr(m,c.key,c.newValue,g.newValue,0)),0==h.length?[new Sr(0)]:h}return[g]}),Zi(fr,Ur,(g,c)=>{if(g.range.start.hasSameParentAs(c.position)&&g.range.containsPosition(c.position)){const u=g.range._getTransformedByInsertion(c.position,c.howMany,!c.shouldReceiveAttributes).map(h=>new fr(h,g.key,g.oldValue,g.newValue,g.baseVersion));if(c.shouldReceiveAttributes){const h=JE(c,g.key,g.oldValue);h&&u.unshift(h)}return u}return g.range=g.range._getTransformedByInsertion(c.position,c.howMany,!1)[0],[g]}),Zi(fr,To,(g,c)=>{const u=[];g.range.start.hasSameParentAs(c.deletionPosition)&&(g.range.containsPosition(c.deletionPosition)||g.range.start.isEqual(c.deletionPosition))&&u.push(Ke._createFromPositionAndShift(c.graveyardPosition,1));const h=g.range._getTransformedByMergeOperation(c);return h.isCollapsed||u.push(h),u.map(m=>new fr(m,g.key,g.oldValue,g.newValue,g.baseVersion))}),Zi(fr,kn,(g,c)=>function(h,m){const _=Ke._createFromPositionAndShift(m.sourcePosition,m.howMany);let b=null,w=[];_.containsRange(h,!0)?b=h:h.start.hasSameParentAs(_.start)?(w=h.getDifference(_),b=h.getIntersection(_)):w=[h];const A=[];for(let M of w){M=M._getTransformedByDeletion(m.sourcePosition,m.howMany);const R=m.getMovedRangeStart(),O=M.start.hasSameParentAs(R),N=M._getTransformedByInsertion(R,m.howMany,O);A.push(...N)}return b&&A.push(b._getTransformedByMove(m.sourcePosition,m.targetPosition,m.howMany,!1)[0]),A}(g.range,c).map(h=>new fr(h,g.key,g.oldValue,g.newValue,g.baseVersion))),Zi(fr,Gn,(g,c)=>{if(g.range.end.isEqual(c.insertionPosition))return c.graveyardPosition||g.range.end.offset++,[g];if(g.range.start.hasSameParentAs(c.splitPosition)&&g.range.containsPosition(c.splitPosition)){const u=g.clone();return u.range=new Ke(c.moveTargetPosition.clone(),g.range.end._getCombined(c.splitPosition,c.moveTargetPosition)),g.range.end=c.splitPosition.clone(),g.range.end.stickiness="toPrevious",[g,u]}return g.range=g.range._getTransformedBySplitOperation(c),[g]}),Zi(Ur,fr,(g,c)=>{const u=[g];if(g.shouldReceiveAttributes&&g.position.hasSameParentAs(c.range.start)&&c.range.containsPosition(g.position)){const h=JE(g,c.key,c.newValue);h&&u.push(h)}return u}),Zi(Ur,Ur,(g,c,u)=>(g.position.isEqual(c.position)&&u.aIsStrong||(g.position=g.position._getTransformedByInsertOperation(c)),[g])),Zi(Ur,kn,(g,c)=>(g.position=g.position._getTransformedByMoveOperation(c),[g])),Zi(Ur,Gn,(g,c)=>(g.position=g.position._getTransformedBySplitOperation(c),[g])),Zi(Ur,To,(g,c)=>(g.position=g.position._getTransformedByMergeOperation(c),[g])),Zi(Hs,Ur,(g,c)=>(g.oldRange&&(g.oldRange=g.oldRange._getTransformedByInsertOperation(c)[0]),g.newRange&&(g.newRange=g.newRange._getTransformedByInsertOperation(c)[0]),[g])),Zi(Hs,Hs,(g,c,u)=>{if(g.name==c.name){if(!u.aIsStrong)return[new Sr(0)];g.oldRange=c.newRange?c.newRange.clone():null}return[g]}),Zi(Hs,To,(g,c)=>(g.oldRange&&(g.oldRange=g.oldRange._getTransformedByMergeOperation(c)),g.newRange&&(g.newRange=g.newRange._getTransformedByMergeOperation(c)),[g])),Zi(Hs,kn,(g,c,u)=>{if(g.oldRange&&(g.oldRange=Ke._createFromRanges(g.oldRange._getTransformedByMoveOperation(c))),g.newRange){if(u.abRelation){const h=Ke._createFromRanges(g.newRange._getTransformedByMoveOperation(c));if("left"==u.abRelation.side&&c.targetPosition.isEqual(g.newRange.start))return g.newRange.end=h.end,g.newRange.start.path=u.abRelation.path,[g];if("right"==u.abRelation.side&&c.targetPosition.isEqual(g.newRange.end))return g.newRange.start=h.start,g.newRange.end.path=u.abRelation.path,[g]}g.newRange=Ke._createFromRanges(g.newRange._getTransformedByMoveOperation(c))}return[g]}),Zi(Hs,Gn,(g,c,u)=>{if(g.oldRange&&(g.oldRange=g.oldRange._getTransformedBySplitOperation(c)),g.newRange){if(u.abRelation){const h=g.newRange._getTransformedBySplitOperation(c);return g.newRange.start.isEqual(c.splitPosition)&&u.abRelation.wasStartBeforeMergedElement?g.newRange.start=ct._createAt(c.insertionPosition):g.newRange.start.isEqual(c.splitPosition)&&!u.abRelation.wasInLeftElement&&(g.newRange.start=ct._createAt(c.moveTargetPosition)),g.newRange.end=g.newRange.end.isEqual(c.splitPosition)&&u.abRelation.wasInRightElement?ct._createAt(c.moveTargetPosition):g.newRange.end.isEqual(c.splitPosition)&&u.abRelation.wasEndBeforeMergedElement?ct._createAt(c.insertionPosition):h.end,[g]}g.newRange=g.newRange._getTransformedBySplitOperation(c)}return[g]}),Zi(To,Ur,(g,c)=>(g.sourcePosition.hasSameParentAs(c.position)&&(g.howMany+=c.howMany),g.sourcePosition=g.sourcePosition._getTransformedByInsertOperation(c),g.targetPosition=g.targetPosition._getTransformedByInsertOperation(c),[g])),Zi(To,To,(g,c,u)=>{if(g.sourcePosition.isEqual(c.sourcePosition)&&g.targetPosition.isEqual(c.targetPosition)){if(u.bWasUndone){const h=c.graveyardPosition.path.slice();return h.push(0),g.sourcePosition=new ct(c.graveyardPosition.root,h),g.howMany=0,[g]}return[new Sr(0)]}if(g.sourcePosition.isEqual(c.sourcePosition)&&!g.targetPosition.isEqual(c.targetPosition)&&!u.bWasUndone&&"splitAtSource"!=u.abRelation){const h="$graveyard"==g.targetPosition.root.rootName,m="$graveyard"==c.targetPosition.root.rootName;if(m&&!h||(!h||m)&&u.aIsStrong){const _=c.targetPosition._getTransformedByMergeOperation(c),b=g.targetPosition._getTransformedByMergeOperation(c);return[new kn(_,g.howMany,b,0)]}return[new Sr(0)]}return g.sourcePosition.hasSameParentAs(c.targetPosition)&&(g.howMany+=c.howMany),g.sourcePosition=g.sourcePosition._getTransformedByMergeOperation(c),g.targetPosition=g.targetPosition._getTransformedByMergeOperation(c),g.graveyardPosition.isEqual(c.graveyardPosition)&&u.aIsStrong||(g.graveyardPosition=g.graveyardPosition._getTransformedByMergeOperation(c)),[g]}),Zi(To,kn,(g,c,u)=>{const h=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany);return"remove"==c.type&&!u.bWasUndone&&!u.forceWeakRemove&&g.deletionPosition.hasSameParentAs(c.sourcePosition)&&h.containsPosition(g.sourcePosition)?[new Sr(0)]:(g.sourcePosition.hasSameParentAs(c.targetPosition)&&(g.howMany+=c.howMany),g.sourcePosition.hasSameParentAs(c.sourcePosition)&&(g.howMany-=c.howMany),g.sourcePosition=g.sourcePosition._getTransformedByMoveOperation(c),g.targetPosition=g.targetPosition._getTransformedByMoveOperation(c),g.graveyardPosition.isEqual(c.targetPosition)||(g.graveyardPosition=g.graveyardPosition._getTransformedByMoveOperation(c)),[g])}),Zi(To,Gn,(g,c,u)=>{if(c.graveyardPosition&&(g.graveyardPosition=g.graveyardPosition._getTransformedByDeletion(c.graveyardPosition,1),g.deletionPosition.isEqual(c.graveyardPosition)&&(g.howMany=c.howMany)),g.targetPosition.isEqual(c.splitPosition)){const h=0!=c.howMany,m=c.graveyardPosition&&g.deletionPosition.isEqual(c.graveyardPosition);if(h||m||"mergeTargetNotMoved"==u.abRelation)return g.sourcePosition=g.sourcePosition._getTransformedBySplitOperation(c),[g]}if(g.sourcePosition.isEqual(c.splitPosition)){if("mergeSourceNotMoved"==u.abRelation)return g.howMany=0,g.targetPosition=g.targetPosition._getTransformedBySplitOperation(c),[g];if("mergeSameElement"==u.abRelation||g.sourcePosition.offset>0)return g.sourcePosition=c.moveTargetPosition.clone(),g.targetPosition=g.targetPosition._getTransformedBySplitOperation(c),[g]}return g.sourcePosition.hasSameParentAs(c.splitPosition)&&(g.howMany=c.splitPosition.offset),g.sourcePosition=g.sourcePosition._getTransformedBySplitOperation(c),g.targetPosition=g.targetPosition._getTransformedBySplitOperation(c),[g]}),Zi(kn,Ur,(g,c)=>{const u=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany)._getTransformedByInsertOperation(c,!1)[0];return g.sourcePosition=u.start,g.howMany=u.end.offset-u.start.offset,g.targetPosition.isEqual(c.position)||(g.targetPosition=g.targetPosition._getTransformedByInsertOperation(c)),[g]}),Zi(kn,kn,(g,c,u)=>{const h=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany),m=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany);let _,b=u.aIsStrong,w=!u.aIsStrong;if("insertBefore"==u.abRelation||"insertAfter"==u.baRelation?w=!0:"insertAfter"!=u.abRelation&&"insertBefore"!=u.baRelation||(w=!1),_=g.targetPosition.isEqual(c.targetPosition)&&w?g.targetPosition._getTransformedByDeletion(c.sourcePosition,c.howMany):g.targetPosition._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),e2(g,c)&&e2(c,g))return[c.getReversed()];if(h.containsPosition(c.targetPosition)&&h.containsRange(m,!0))return h.start=h.start._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),h.end=h.end._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),$g([h],_);if(m.containsPosition(g.targetPosition)&&m.containsRange(h,!0))return h.start=h.start._getCombined(c.sourcePosition,c.getMovedRangeStart()),h.end=h.end._getCombined(c.sourcePosition,c.getMovedRangeStart()),$g([h],_);const A=Dr(g.sourcePosition.getParentPath(),c.sourcePosition.getParentPath());if("prefix"==A||"extension"==A)return h.start=h.start._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),h.end=h.end._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany),$g([h],_);"remove"!=g.type||"remove"==c.type||u.aWasUndone||u.forceWeakRemove?"remove"==g.type||"remove"!=c.type||u.bWasUndone||u.forceWeakRemove||(b=!1):b=!0;const M=[],R=h.getDifference(m);for(const N of R){N.start=N.start._getTransformedByDeletion(c.sourcePosition,c.howMany),N.end=N.end._getTransformedByDeletion(c.sourcePosition,c.howMany);const V="same"==Dr(N.start.getParentPath(),c.getMovedRangeStart().getParentPath()),W=N._getTransformedByInsertion(c.getMovedRangeStart(),c.howMany,V);M.push(...W)}const O=h.getIntersection(m);return null!==O&&b&&(O.start=O.start._getCombined(c.sourcePosition,c.getMovedRangeStart()),O.end=O.end._getCombined(c.sourcePosition,c.getMovedRangeStart()),0===M.length?M.push(O):1==M.length?m.start.isBefore(h.start)||m.start.isEqual(h.start)?M.unshift(O):M.push(O):M.splice(1,0,O)),0===M.length?[new Sr(g.baseVersion)]:$g(M,_)}),Zi(kn,Gn,(g,c,u)=>{let h=g.targetPosition.clone();g.targetPosition.isEqual(c.insertionPosition)&&c.graveyardPosition&&"moveTargetAfter"!=u.abRelation||(h=g.targetPosition._getTransformedBySplitOperation(c));const m=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany);if(m.end.isEqual(c.insertionPosition))return c.graveyardPosition||g.howMany++,g.targetPosition=h,[g];if(m.start.hasSameParentAs(c.splitPosition)&&m.containsPosition(c.splitPosition)){let b=new Ke(c.splitPosition,m.end);return b=b._getTransformedBySplitOperation(c),$g([new Ke(m.start,c.splitPosition),b],h)}g.targetPosition.isEqual(c.splitPosition)&&"insertAtSource"==u.abRelation&&(h=c.moveTargetPosition),g.targetPosition.isEqual(c.insertionPosition)&&"insertBetween"==u.abRelation&&(h=g.targetPosition);const _=[m._getTransformedBySplitOperation(c)];if(c.graveyardPosition){const b=m.start.isEqual(c.graveyardPosition)||m.containsPosition(c.graveyardPosition);g.howMany>1&&b&&!u.aWasUndone&&_.push(Ke._createFromPositionAndShift(c.insertionPosition,1))}return $g(_,h)}),Zi(kn,To,(g,c,u)=>{const h=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany);if(c.deletionPosition.hasSameParentAs(g.sourcePosition)&&h.containsPosition(c.sourcePosition))if("remove"!=g.type||u.forceWeakRemove){if(1==g.howMany)return u.bWasUndone?(g.sourcePosition=c.graveyardPosition.clone(),g.targetPosition=g.targetPosition._getTransformedByMergeOperation(c),[g]):[new Sr(0)]}else if(!u.aWasUndone){const _=[];let b=c.graveyardPosition.clone(),w=c.targetPosition._getTransformedByMergeOperation(c);g.howMany>1&&(_.push(new kn(g.sourcePosition,g.howMany-1,g.targetPosition,0)),b=b._getTransformedByMove(g.sourcePosition,g.targetPosition,g.howMany-1),w=w._getTransformedByMove(g.sourcePosition,g.targetPosition,g.howMany-1));const A=c.deletionPosition._getCombined(g.sourcePosition,g.targetPosition),M=new kn(b,1,A,0),R=M.getMovedRangeStart().path.slice();R.push(0);const O=new ct(M.targetPosition.root,R);w=w._getTransformedByMove(b,A,1);const N=new kn(w,c.howMany,O,0);return _.push(M),_.push(N),_}const m=Ke._createFromPositionAndShift(g.sourcePosition,g.howMany)._getTransformedByMergeOperation(c);return g.sourcePosition=m.start,g.howMany=m.end.offset-m.start.offset,g.targetPosition=g.targetPosition._getTransformedByMergeOperation(c),[g]}),Zi(tl,Ur,(g,c)=>(g.position=g.position._getTransformedByInsertOperation(c),[g])),Zi(tl,To,(g,c)=>g.position.isEqual(c.deletionPosition)?(g.position=c.graveyardPosition.clone(),g.position.stickiness="toNext",[g]):(g.position=g.position._getTransformedByMergeOperation(c),[g])),Zi(tl,kn,(g,c)=>(g.position=g.position._getTransformedByMoveOperation(c),[g])),Zi(tl,tl,(g,c,u)=>{if(g.position.isEqual(c.position)){if(!u.aIsStrong)return[new Sr(0)];g.oldName=c.newName}return[g]}),Zi(tl,Gn,(g,c)=>{if("same"==Dr(g.position.path,c.splitPosition.getParentPath())&&!c.graveyardPosition){const u=new tl(g.position.getShiftedBy(1),g.oldName,g.newName,0);return[g,u]}return g.position=g.position._getTransformedBySplitOperation(c),[g]}),Zi(Fd,Fd,(g,c,u)=>{if(g.root===c.root&&g.key===c.key){if(!u.aIsStrong||g.newValue===c.newValue)return[new Sr(0)];g.oldValue=c.newValue}return[g]}),Zi(Ol,Ol,(g,c)=>g.rootName===c.rootName&&g.isAdd===c.isAdd?[new Sr(0)]:[g]),Zi(Gn,Ur,(g,c)=>(g.splitPosition.hasSameParentAs(c.position)&&g.splitPosition.offset{if(!g.graveyardPosition&&!u.bWasUndone&&g.splitPosition.hasSameParentAs(c.sourcePosition)){const h=c.graveyardPosition.path.slice();h.push(0);const m=new ct(c.graveyardPosition.root,h),_=Gn.getInsertionPosition(new ct(c.graveyardPosition.root,h)),b=new Gn(m,0,_,null,0);return g.splitPosition=g.splitPosition._getTransformedByMergeOperation(c),g.insertionPosition=Gn.getInsertionPosition(g.splitPosition),g.graveyardPosition=b.insertionPosition.clone(),g.graveyardPosition.stickiness="toNext",[b,g]}return g.splitPosition.hasSameParentAs(c.deletionPosition)&&!g.splitPosition.isAfter(c.deletionPosition)&&g.howMany--,g.splitPosition.hasSameParentAs(c.targetPosition)&&(g.howMany+=c.howMany),g.splitPosition=g.splitPosition._getTransformedByMergeOperation(c),g.insertionPosition=Gn.getInsertionPosition(g.splitPosition),g.graveyardPosition&&(g.graveyardPosition=g.graveyardPosition._getTransformedByMergeOperation(c)),[g]}),Zi(Gn,kn,(g,c,u)=>{const h=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany);if(g.graveyardPosition){const _=h.start.isEqual(g.graveyardPosition)||h.containsPosition(g.graveyardPosition);if(!u.bWasUndone&&_){const b=g.splitPosition._getTransformedByMoveOperation(c),w=g.graveyardPosition._getTransformedByMoveOperation(c),A=w.path.slice();A.push(0);const M=new ct(w.root,A);return[new kn(b,g.howMany,M,0)]}g.graveyardPosition=g.graveyardPosition._getTransformedByMoveOperation(c)}const m=g.splitPosition.isEqual(c.targetPosition);if(m&&("insertAtSource"==u.baRelation||"splitBefore"==u.abRelation))return g.howMany+=c.howMany,g.splitPosition=g.splitPosition._getTransformedByDeletion(c.sourcePosition,c.howMany),g.insertionPosition=Gn.getInsertionPosition(g.splitPosition),[g];if(m&&u.abRelation&&u.abRelation.howMany){const{howMany:_,offset:b}=u.abRelation;return g.howMany+=_,g.splitPosition=g.splitPosition.getShiftedBy(b),[g]}return g.splitPosition.hasSameParentAs(c.sourcePosition)&&h.containsPosition(g.splitPosition)?(g.howMany-=c.howMany-(g.splitPosition.offset-c.sourcePosition.offset),g.splitPosition.hasSameParentAs(c.targetPosition)&&g.splitPosition.offset{if(g.splitPosition.isEqual(c.splitPosition)){if(!g.graveyardPosition&&!c.graveyardPosition)return[new Sr(0)];if(g.graveyardPosition&&c.graveyardPosition&&g.graveyardPosition.isEqual(c.graveyardPosition))return[new Sr(0)];if("splitBefore"==u.abRelation)return g.howMany=0,g.graveyardPosition=g.graveyardPosition._getTransformedBySplitOperation(c),[g]}if(g.graveyardPosition&&c.graveyardPosition&&g.graveyardPosition.isEqual(c.graveyardPosition)){const h="$graveyard"==g.splitPosition.root.rootName,m="$graveyard"==c.splitPosition.root.rootName;if(m&&!h||(!h||m)&&u.aIsStrong){const _=[];return c.howMany&&_.push(new kn(c.moveTargetPosition,c.howMany,c.splitPosition,0)),g.howMany&&_.push(new kn(g.splitPosition,g.howMany,g.moveTargetPosition,0)),_}return[new Sr(0)]}if(g.graveyardPosition&&(g.graveyardPosition=g.graveyardPosition._getTransformedBySplitOperation(c)),g.splitPosition.isEqual(c.insertionPosition)&&"splitBefore"==u.abRelation)return g.howMany++,[g];if(c.splitPosition.isEqual(g.insertionPosition)&&"splitBefore"==u.baRelation){const h=c.insertionPosition.path.slice();h.push(0);const m=new ct(c.insertionPosition.root,h);return[g,new kn(g.insertionPosition,1,m,0)]}return g.splitPosition.hasSameParentAs(c.splitPosition)&&g.splitPosition.offset{const u=c[0];u.isDocumentOperation&&CB.call(this,u)},{priority:"low"})}function CB(g){const c=this.getTransformedByOperation(g);if(!this.isEqual(c)){const u=this.toPosition();this.path=c.path,this.root=c.root,this.fire("change",u)}}jn.prototype.is=function(g){return"livePosition"===g||"model:livePosition"===g||"position"==g||"model:position"===g};class Ug{constructor(c={}){"string"==typeof c&&(c="transparent"===c?{isUndoable:!1}:{},St("batch-constructor-deprecated-string-type"));const{isUndoable:u=!0,isLocal:h=!0,isUndo:m=!1,isTyping:_=!1}=c;this.operations=[],this.isUndoable=u,this.isLocal=h,this.isUndo=m,this.isTyping=_}get type(){return St("batch-type-deprecated"),"default"}get baseVersion(){for(const c of this.operations)if(null!==c.baseVersion)return c.baseVersion;return null}addOperation(c){return c.batch=this,this.operations.push(c),c}}var wB=Object.defineProperty,xB=Object.defineProperties,kB=Object.getOwnPropertyDescriptors,t2=Object.getOwnPropertySymbols,n2=Object.prototype.hasOwnProperty,DB=Object.prototype.propertyIsEnumerable,o2=(g,c,u)=>c in g?wB(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,r2=(g,c)=>{for(var u in c||(c={}))n2.call(c,u)&&o2(g,u,c[u]);if(t2)for(var u of t2(c))DB.call(c,u)&&o2(g,u,c[u]);return g};class AB{constructor(c){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=c}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(c){const u=c;switch(u.type){case"insert":if(this._isInInsertedElement(u.position.parent))return;this._markInsert(u.position.parent,u.position.offset,u.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const h of u.range.getItems({shallow:!0}))this._isInInsertedElement(h.parent)||this._markAttribute(h);break;case"remove":case"move":case"reinsert":{if(u.sourcePosition.isEqual(u.targetPosition)||u.sourcePosition.getShiftedBy(u.howMany).isEqual(u.targetPosition))return;const h=this._isInInsertedElement(u.sourcePosition.parent),m=this._isInInsertedElement(u.targetPosition.parent);h||this._markRemove(u.sourcePosition.parent,u.sourcePosition.offset,u.howMany),m||this._markInsert(u.targetPosition.parent,u.getMovedRangeStart().offset,u.howMany);break}case"rename":{if(this._isInInsertedElement(u.position.parent))return;this._markRemove(u.position.parent,u.position.offset,1),this._markInsert(u.position.parent,u.position.offset,1);const h=Ke._createFromPositionAndShift(u.position,1);for(const m of this._markerCollection.getMarkersIntersectingRange(h)){const _=m.getData();this.bufferMarkerChange(m.name,_,_)}break}case"split":{const h=u.splitPosition.parent;this._isInInsertedElement(h)||this._markRemove(h,u.splitPosition.offset,u.howMany),this._isInInsertedElement(u.insertionPosition.parent)||this._markInsert(u.insertionPosition.parent,u.insertionPosition.offset,1),u.graveyardPosition&&this._markRemove(u.graveyardPosition.parent,u.graveyardPosition.offset,1);break}case"merge":{const h=u.sourcePosition.parent;this._isInInsertedElement(h.parent)||this._markRemove(h.parent,h.startOffset,1),this._markInsert(u.graveyardPosition.parent,u.graveyardPosition.offset,1);const _=u.targetPosition.parent;this._isInInsertedElement(_)||this._markInsert(_,u.targetPosition.offset,h.maxOffset);break}case"detachRoot":case"addRoot":{const h=u.affectedSelectable;if(!h._isLoaded||h.isAttached()==u.isAdd)return;this._bufferRootStateChange(u.rootName,u.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":if(!u.root._isLoaded)return;this._bufferRootAttributeChange(u.root.rootName,u.key,u.oldValue,u.newValue)}this._cachedChanges=null}bufferMarkerChange(c,u,h){u.range&&u.range.root.is("rootElement")&&!u.range.root._isLoaded&&(u.range=null),h.range&&h.range.root.is("rootElement")&&!h.range.root._isLoaded&&(h.range=null);let m=this._changedMarkers.get(c);m?m.newMarkerData=h:(m={newMarkerData:h,oldMarkerData:u},this._changedMarkers.set(c,m)),null==m.oldMarkerData.range&&null==h.range&&this._changedMarkers.delete(c)}getMarkersToRemove(){const c=[];for(const[u,h]of this._changedMarkers)null!=h.oldMarkerData.range&&c.push({name:u,range:h.oldMarkerData.range});return c}getMarkersToAdd(){const c=[];for(const[u,h]of this._changedMarkers)null!=h.newMarkerData.range&&c.push({name:u,range:h.newMarkerData.range});return c}getChangedMarkers(){return Array.from(this._changedMarkers).map(([c,u])=>({name:c,data:{oldRange:u.oldMarkerData.range,newRange:u.newMarkerData.range}}))}hasDataChanges(){if(this._changesInElement.size>0||this._changedRoots.size>0)return!0;for(const{newMarkerData:c,oldMarkerData:u}of this._changedMarkers.values()){if(c.affectsData!==u.affectsData)return!0;if(c.affectsData){const h=c.range&&!u.range,m=!c.range&&u.range,_=c.range&&u.range&&!c.range.isEqual(u.range);if(h||m||_)return!0}}return!1}getChanges(c={}){if(this._cachedChanges)return c.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let u=[];for(const h of this._changesInElement.keys()){const m=this._changesInElement.get(h).sort((R,O)=>R.offset===O.offset?R.type!=O.type?"remove"==R.type?-1:1:0:R.offseth.position.root!=m.position.root?h.position.root.rootNameh);for(const h of u)delete h.changeCount,"attribute"==h.type&&(delete h.position,delete h.length);return this._changeCount=0,this._cachedChangesWithGraveyard=u,this._cachedChanges=u.filter(D_),c.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map(c=>{const u=r2({},c);return void 0!==u.state&&delete u.attributes,u})}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(c,u){if(!this._changedRoots.has(c))return void this._changedRoots.set(c,{name:c,state:u?"attached":"detached"});const h=this._changedRoots.get(c);void 0!==h.state?(delete h.state,void 0===h.attributes&&this._changedRoots.delete(c)):h.state=u?"attached":"detached"}_bufferRootAttributeChange(c,u,h,m){const _=this._changedRoots.get(c)||{name:c},b=_.attributes||{};if(b[u]){const w=b[u];m===w.oldValue?delete b[u]:w.newValue=m}else b[u]={oldValue:h,newValue:m};0===Object.entries(b).length?(delete _.attributes,void 0===_.state&&this._changedRoots.delete(c)):(_.attributes=b,this._changedRoots.set(c,_))}_refreshItem(c){if(this._isInInsertedElement(c.parent))return;this._markRemove(c.parent,c.startOffset,c.offsetSize),this._markInsert(c.parent,c.startOffset,c.offsetSize),this._refreshedItems.add(c);const u=Ke._createOn(c);for(const h of this._markerCollection.getMarkersIntersectingRange(u)){const m=h.getData();this.bufferMarkerChange(h.name,m,m)}this._cachedChanges=null}_bufferRootLoad(c){if(c.isAttached()){this._bufferRootStateChange(c.rootName,!0),this._markInsert(c,0,c.maxOffset);for(const h of c.getAttributeKeys())this._bufferRootAttributeChange(c.rootName,h,null,c.getAttribute(h));for(const h of this._markerCollection)if(h.getRange().root==c){const m=h.getData();this.bufferMarkerChange(h.name,(u=r2({},m),xB(u,kB({range:null}))),m)}var u}}_markInsert(c,u,h){if(c.root.is("rootElement")&&!c.root._isLoaded)return;const m={type:"insert",offset:u,howMany:h,count:this._changeCount++};this._markChange(c,m)}_markRemove(c,u,h){if(c.root.is("rootElement")&&!c.root._isLoaded)return;const m={type:"remove",offset:u,howMany:h,count:this._changeCount++};this._markChange(c,m),this._removeAllNestedChanges(c,u,h)}_markAttribute(c){if(c.root.is("rootElement")&&!c.root._isLoaded)return;const u={type:"attribute",offset:c.startOffset,howMany:c.offsetSize,count:this._changeCount++};this._markChange(c.parent,u)}_markChange(c,u){this._makeSnapshot(c);const h=this._getChangesForElement(c);this._handleChange(u,h),h.push(u);for(let m=0;mh.offset){if(m>_){const b={type:"attribute",offset:_,howMany:m-_,count:this._changeCount++};this._handleChange(b,u),u.push(b)}c.nodesToHandle=h.offset-c.offset,c.howMany=c.nodesToHandle}else c.offset>=h.offset&&c.offset<_&&(m>_?(c.nodesToHandle=m-_,c.offset=_):c.nodesToHandle=0);if("remove"==h.type&&c.offseth.offset){const b={type:"attribute",offset:h.offset,howMany:m-h.offset,count:this._changeCount++};this._handleChange(b,u),u.push(b),c.nodesToHandle=h.offset-c.offset,c.howMany=c.nodesToHandle}"attribute"==h.type&&(c.offset>=h.offset&&m<=_?(c.nodesToHandle=0,c.howMany=0,c.offset=0):c.offset<=h.offset&&m>=_&&(h.howMany=0))}}c.howMany=c.nodesToHandle,delete c.nodesToHandle}_getInsertDiff(c,u,h){return{type:"insert",position:ct._createAt(c,u),name:h.name,attributes:new Map(h.attributes),length:1,changeCount:this._changeCount++}}_getRemoveDiff(c,u,h){return{type:"remove",position:ct._createAt(c,u),name:h.name,attributes:new Map(h.attributes),length:1,changeCount:this._changeCount++}}_getAttributesDiff(c,u,h){const m=[];h=new Map(h);for(const[_,b]of u){const w=h.has(_)?h.get(_):null;w!==b&&m.push({type:"attribute",position:c.start,range:c.clone(),length:1,attributeKey:_,attributeOldValue:b,attributeNewValue:w,changeCount:this._changeCount++}),h.delete(_)}for(const[_,b]of h)m.push({type:"attribute",position:c.start,range:c.clone(),length:1,attributeKey:_,attributeOldValue:null,attributeNewValue:b,changeCount:this._changeCount++});return m}_isInInsertedElement(c){const u=c.parent;if(!u)return!1;const h=this._changesInElement.get(u),m=c.startOffset;if(h)for(const _ of h)if("insert"==_.type&&m>=_.offset&&m<_.offset+_.howMany)return!0;return this._isInInsertedElement(u)}_removeAllNestedChanges(c,u,h){const m=new Ke(ct._createAt(c,u),ct._createAt(c,u+h));for(const _ of m.getItems({shallow:!0}))_.is("element")&&(this._elementSnapshots.delete(_),this._changesInElement.delete(_),this._removeAllNestedChanges(_,0,_.maxOffset))}}function k_(g){const c=[];for(const u of g)if(u.is("$text"))for(let h=0;hh){for(let b=0;b<_.offset-h;b++)u.push("e");m+=_.offset-h}if("insert"==_.type){for(let b=0;b<_.howMany;b++)u.push("i");h=_.offset+_.howMany}else if("remove"==_.type){for(let b=0;b<_.howMany;b++)u.push("r");h=_.offset,m+=_.howMany}else u.push(..."a".repeat(_.howMany).split("")),h=_.offset+_.howMany,m+=_.howMany}if(mthis._version+1&&this._gaps.set(this._version,c),this._version=c}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(c){if(c.baseVersion!==this.version)throw new fe("model-document-history-addoperation-incorrect-version",this,{operation:c,historyVersion:this.version});this._operations.push(c),this._version++,this._baseVersionToOperationIndex.set(c.baseVersion,this._operations.length-1)}getOperations(c,u=this.version){if(!this._operations.length)return[];const h=this._operations[0];void 0===c&&(c=h.baseVersion);let m=u-1;for(const[w,A]of this._gaps)c>w&&cw&&mthis.lastOperation.baseVersion)return[];let _=this._baseVersionToOperationIndex.get(c);void 0===_&&(_=0);let b=this._baseVersionToOperationIndex.get(m);return void 0===b&&(b=this._operations.length-1),this._operations.slice(_,b+1)}getOperation(c){const u=this._baseVersionToOperationIndex.get(c);if(void 0!==u)return this._operations[u]}setOperationAsUndone(c,u){this._undoPairs.set(u,c),this._undoneOperations.add(c)}isUndoingOperation(c){return this._undoPairs.has(c)}isUndoneOperation(c){return this._undoneOperations.has(c)}getUndoneOperation(c){return this._undoPairs.get(c)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class A_ extends On{constructor(c,u,h="main"){super(u),this._isAttached=!0,this._isLoaded=!0,this._document=c,this.rootName=h}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}A_.prototype.is=function(g,c){return c?c===this.name&&("rootElement"===g||"model:rootElement"===g||"element"===g||"model:element"===g):"rootElement"===g||"model:rootElement"===g||"element"===g||"model:element"===g||"node"===g||"model:node"===g};var a2=Object.defineProperty,jW=Object.defineProperties,$W=Object.getOwnPropertyDescriptors,IB=Object.getOwnPropertySymbols,J1=Object.prototype.hasOwnProperty,ek=Object.prototype.propertyIsEnumerable,SB=(g,c,u)=>c in g?a2(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,TB=(g,c)=>{for(var u in c||(c={}))J1.call(c,u)&&SB(g,u,c[u]);if(IB)for(var u of IB(c))ek.call(c,u)&&SB(g,u,c[u]);return g},tk=(g,c)=>jW(g,$W(c));const l2="$graveyard";class EB extends(vn()){constructor(c){super(),this.model=c,this.history=new s2,this.selection=new cc(this),this.roots=new Oa({idProperty:"rootName"}),this.differ=new AB(c.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",l2),this.listenTo(c,"applyOperation",(u,h)=>{const m=h[0];m.isDocumentOperation&&this.differ.bufferOperation(m)},{priority:"high"}),this.listenTo(c,"applyOperation",(u,h)=>{const m=h[0];m.isDocumentOperation&&this.history.addOperation(m)},{priority:"low"}),this.listenTo(this.selection,"change",()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0}),this.listenTo(c.markers,"update",(u,h,m,_,b)=>{const w=tk(TB({},h.getData()),{range:_});this.differ.bufferMarkerChange(h.name,b,w),null===m&&h.on("change",(A,M)=>{const R=h.getData();this.differ.bufferMarkerChange(h.name,tk(TB({},R),{range:M}),R)})}),this.registerPostFixer(u=>{let h=!1;for(const m of this.roots)m.isAttached()||m.isEmpty||(u.remove(u.createRangeIn(m)),h=!0);for(const m of this.model.markers)m.getRange().root.isAttached()||(u.removeMarker(m),h=!0);return h})}get version(){return this.history.version}set version(c){this.history.version=c}get graveyard(){return this.getRoot(l2)}createRoot(c="$root",u="main"){if(this.roots.get(u))throw new fe("model-document-createroot-name-exists",this,{name:u});const h=new A_(this,c,u);return this.roots.add(h),h}destroy(){this.selection.destroy(),this.stopListening()}getRoot(c="main"){return this.roots.get(c)}getRootNames(c=!1){return this.getRoots(c).map(u=>u.rootName)}getRoots(c=!1){return this.roots.filter(u=>u!=this.graveyard&&(c||u.isAttached())&&u._isLoaded)}registerPostFixer(c){this._postFixers.add(c)}toJSON(){const c=Fh(this);return c.selection="[engine.model.DocumentSelection]",c.model="[engine.model.Model]",c}_handleChangeBlock(c){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(c),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",c.batch):this.fire("change",c.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const c=this.getRoots();return c.length?c[0]:this.graveyard}_getDefaultRange(){const c=this._getDefaultRoot(),u=this.model,h=u.schema,m=u.createPositionFromPath(c,[0]);return h.getNearestSelectionRange(m)||u.createRange(m)}_validateSelectionRange(c){return c2(c.start)&&c2(c.end)}_callPostFixers(c){let u=!1;do{for(const h of this._postFixers)if(this.selection.refresh(),u=h(c),u)break}while(u)}}function c2(g){const c=g.textNode;if(c){const u=c.data,h=g.offset-c.startOffset;return!Gr(u,h)&&!MT(u,h)}return!0}var MB=Object.defineProperty,d2=Object.defineProperties,n0=Object.getOwnPropertyDescriptors,ik=Object.getOwnPropertySymbols,nk=Object.prototype.hasOwnProperty,RB=Object.prototype.propertyIsEnumerable,Tr=(g,c,u)=>c in g?MB(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class il extends(vn()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(c){return this._markers.has(c instanceof Wg?c.name:c)}get(c){return this._markers.get(c)||null}_set(c,u,h=!1,m=!1){const _=c instanceof Wg?c.name:c;if(_.includes(","))throw new fe("markercollection-incorrect-marker-name",this);const b=this._markers.get(_);if(b){const R=b.getData(),O=b.getRange();let N=!1;return O.isEqual(u)||(b._attachLiveRange(Na.fromRange(u)),N=!0),h!=b.managedUsingOperations&&(b._managedUsingOperations=h,N=!0),"boolean"==typeof m&&m!=b.affectsData&&(b._affectsData=m,N=!0),N&&this.fire(`update:${_}`,b,O,u,R),b}const w=Na.fromRange(u),A=new Wg(_,w,h,m);var M;return this._markers.set(_,A),this.fire(`update:${_}`,A,null,u,(M=((R,O)=>{for(var N in O||(O={}))nk.call(O,N)&&Tr(R,N,O[N]);if(ik)for(var N of ik(O))RB.call(O,N)&&Tr(R,N,O[N]);return R})({},A.getData()),d2(M,n0({range:null})))),A}_remove(c){const u=c instanceof Wg?c.name:c,h=this._markers.get(u);return!!h&&(this._markers.delete(u),this.fire(`update:${u}`,h,h.getRange(),null,h.getData()),this._destroyMarker(h),!0)}_refresh(c){const u=c instanceof Wg?c.name:c,h=this._markers.get(u);if(!h)throw new fe("markercollection-refresh-marker-not-exists",this);const m=h.getRange();this.fire(`update:${u}`,h,m,m,h.getData())}*getMarkersAtPosition(c){for(const u of this)u.getRange().containsPosition(c)&&(yield u)}*getMarkersIntersectingRange(c){for(const u of this)null!==u.getRange().getIntersection(c)&&(yield u)}destroy(){for(const c of this._markers.values())this._destroyMarker(c);this._markers=null,this.stopListening()}*getMarkersGroup(c){for(const u of this._markers.values())u.name.startsWith(c+":")&&(yield u)}_destroyMarker(c){c.stopListening(),c._detachLiveRange()}}class Wg extends(vn(Su)){constructor(c,u,h,m){super(),this.name=c,this._liveRange=this._attachLiveRange(u),this._managedUsingOperations=h,this._affectsData=m}get managedUsingOperations(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new fe("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(c){return this._liveRange&&this._detachLiveRange(),c.delegate("change:range").to(this),c.delegate("change:content").to(this),this._liveRange=c,c}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}Wg.prototype.is=function(g){return"marker"===g||"model:marker"===g};class oi extends zs{constructor(c,u){super(null),this.sourcePosition=c.clone(),this.howMany=u}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const c=super.toJSON();return c.sourcePosition=this.sourcePosition.toJSON(),c}_validate(){if(this.sourcePosition.root.document)throw new fe("detach-operation-on-document-node",this)}_execute(){t0(Ke._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class nl extends Su{constructor(c){super(),this.markers=new Map,this._children=new Rd,c&&this._insertChild(0,c)}[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(c){return this._children.getNode(c)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(c){return this._children.getNodeIndex(c)}getChildStartOffset(c){return this._children.getNodeStartOffset(c)}getPath(){return[]}getNodeByPath(c){let u=this;for(const h of c)u=u.getChild(u.offsetToIndex(h));return u}offsetToIndex(c){return this._children.offsetToIndex(c)}toJSON(){const c=[];for(const u of this._children)c.push(u.toJSON());return c}static fromJSON(c){const u=[];for(const h of c)u.push(h.name?On.fromJSON(h):to.fromJSON(h));return new nl(u)}_appendChild(c){this._insertChild(this.childCount,c)}_insertChild(c,u){const h="string"==typeof(m=u)?[new to(m)]:(Zn(m)||(m=[m]),Array.from(m).map(_=>"string"==typeof _?new to(_):_ instanceof Gc?new to(_.data,_.getAttributes()):_));var m;for(const m of h)null!==m.parent&&m._remove(),m.parent=this;this._children._insertNodes(c,h)}_removeChildren(c,u=1){const h=this._children._removeNodes(c,u);for(const m of h)m.parent=null;return h}}nl.prototype.is=function(g){return"documentFragment"===g||"model:documentFragment"===g};class PB{constructor(c,u){this.model=c,this.batch=u}createText(c,u){return new to(c,u)}createElement(c,u){return new On(c,u)}createDocumentFragment(){return new nl}cloneElement(c,u=!0){return c._clone(u)}insert(c,u,h=0){if(this._assertWriterUsedCorrectly(),c instanceof to&&""==c.data)return;const m=ct._createAt(u,h);if(c.parent){if(OB(c.root,m.root))return void this.move(Ke._createOn(c),m);if(c.root.document)throw new fe("model-writer-insert-forbidden-move",this);this.remove(c)}const b=new Ur(m,c,m.root.document?m.root.document.version:null);if(c instanceof to&&(b.shouldReceiveAttributes=!0),this.batch.addOperation(b),this.model.applyOperation(b),c instanceof nl)for(const[w,A]of c.markers){const M=ct._createAt(A.root,0),R={range:new Ke(A.start._getCombined(M,m),A.end._getCombined(M,m)),usingOperation:!0,affectsData:!0};this.model.markers.has(w)?this.updateMarker(w,R):this.addMarker(w,R)}}insertText(c,u,h,m){u instanceof nl||u instanceof On||u instanceof ct?this.insert(this.createText(c),u,h):this.insert(this.createText(c,u),h,m)}insertElement(c,u,h,m){u instanceof nl||u instanceof On||u instanceof ct?this.insert(this.createElement(c),u,h):this.insert(this.createElement(c,u),h,m)}append(c,u){this.insert(c,u,"end")}appendText(c,u,h){u instanceof nl||u instanceof On?this.insert(this.createText(c),u,"end"):this.insert(this.createText(c,u),h,"end")}appendElement(c,u,h){u instanceof nl||u instanceof On?this.insert(this.createElement(c),u,"end"):this.insert(this.createElement(c,u),h,"end")}setAttribute(c,u,h){if(this._assertWriterUsedCorrectly(),h instanceof Ke){const m=h.getMinimalFlatRanges();for(const _ of m)u2(this,c,u,_)}else h2(this,c,u,h)}setAttributes(c,u){for(const[h,m]of ta(c))this.setAttribute(h,m,u)}removeAttribute(c,u){if(this._assertWriterUsedCorrectly(),u instanceof Ke){const h=u.getMinimalFlatRanges();for(const m of h)u2(this,c,null,m)}else h2(this,c,null,u)}clearAttributes(c){this._assertWriterUsedCorrectly();const u=h=>{for(const m of h.getAttributeKeys())this.removeAttribute(m,h)};if(c instanceof Ke)for(const h of c.getItems())u(h);else u(c)}move(c,u,h){if(this._assertWriterUsedCorrectly(),!(c instanceof Ke))throw new fe("writer-move-invalid-range",this);if(!c.isFlat)throw new fe("writer-move-range-not-flat",this);const m=ct._createAt(u,h);if(m.isEqual(c.start))return;if(this._addOperationForAffectedMarkers("move",c),!OB(c.root,m.root))throw new fe("writer-move-different-document",this);const b=new kn(c.start,c.end.offset-c.start.offset,m,c.root.document?c.root.document.version:null);this.batch.addOperation(b),this.model.applyOperation(b)}remove(c){this._assertWriterUsedCorrectly();const u=(c instanceof Ke?c:Ke._createOn(c)).getMinimalFlatRanges().reverse();for(const h of u)this._addOperationForAffectedMarkers("move",h),p2(h.start,h.end.offset-h.start.offset,this.batch,this.model)}merge(c){this._assertWriterUsedCorrectly();const u=c.nodeBefore,h=c.nodeAfter;if(this._addOperationForAffectedMarkers("merge",c),!(u instanceof On))throw new fe("writer-merge-no-element-before",this);if(!(h instanceof On))throw new fe("writer-merge-no-element-after",this);c.root.document?this._merge(c):this._mergeDetached(c)}createPositionFromPath(c,u,h){return this.model.createPositionFromPath(c,u,h)}createPositionAt(c,u){return this.model.createPositionAt(c,u)}createPositionAfter(c){return this.model.createPositionAfter(c)}createPositionBefore(c){return this.model.createPositionBefore(c)}createRange(c,u){return this.model.createRange(c,u)}createRangeIn(c){return this.model.createRangeIn(c)}createRangeOn(c){return this.model.createRangeOn(c)}createSelection(...c){return this.model.createSelection(...c)}_mergeDetached(c){const u=c.nodeBefore,h=c.nodeAfter;this.move(Ke._createIn(h),ct._createAt(u,"end")),this.remove(h)}_merge(c){const u=ct._createAt(c.nodeBefore,"end"),h=ct._createAt(c.nodeAfter,0),_=new ct(c.root.document.graveyard,[0]),w=new To(h,c.nodeAfter.maxOffset,u,_,c.root.document.version);this.batch.addOperation(w),this.model.applyOperation(w)}rename(c,u){if(this._assertWriterUsedCorrectly(),!(c instanceof On))throw new fe("writer-rename-not-element-instance",this);const h=c.root.document?c.root.document.version:null,m=new tl(ct._createBefore(c),c.name,u,h);this.batch.addOperation(m),this.model.applyOperation(m)}split(c,u){this._assertWriterUsedCorrectly();let h,m,_=c.parent;if(!_.parent)throw new fe("writer-split-element-no-parent",this);if(u||(u=_.parent),!c.parent.getAncestors({includeSelf:!0}).includes(u))throw new fe("writer-split-invalid-limit-element",this);do{const b=_.root.document?_.root.document.version:null,w=_.maxOffset-c.offset,A=Gn.getInsertionPosition(c),M=new Gn(c,w,A,null,b);this.batch.addOperation(M),this.model.applyOperation(M),h||m||(h=_,m=c.parent.nextSibling),_=(c=this.createPositionAfter(c.parent)).parent}while(_!==u);return{position:c,range:new Ke(ct._createAt(h,"end"),ct._createAt(m,0))}}wrap(c,u){if(this._assertWriterUsedCorrectly(),!c.isFlat)throw new fe("writer-wrap-range-not-flat",this);const h=u instanceof On?u:new On(u);if(h.childCount>0)throw new fe("writer-wrap-element-not-empty",this);if(null!==h.parent)throw new fe("writer-wrap-element-attached",this);this.insert(h,c.start);const m=new Ke(c.start.getShiftedBy(1),c.end.getShiftedBy(1));this.move(m,ct._createAt(h,0))}unwrap(c){if(this._assertWriterUsedCorrectly(),null===c.parent)throw new fe("writer-unwrap-element-no-parent",this);this.move(Ke._createIn(c),this.createPositionAfter(c)),this.remove(c)}addMarker(c,u){if(this._assertWriterUsedCorrectly(),!u||"boolean"!=typeof u.usingOperation)throw new fe("writer-addmarker-no-usingoperation",this);const h=u.usingOperation,m=u.range,_=void 0!==u.affectsData&&u.affectsData;if(this.model.markers.has(c))throw new fe("writer-addmarker-marker-exists",this);if(!m)throw new fe("writer-addmarker-no-range",this);return h?(I_(this,c,null,m,_),this.model.markers.get(c)):this.model.markers._set(c,m,h,_)}updateMarker(c,u){this._assertWriterUsedCorrectly();const h="string"==typeof c?c:c.name,m=this.model.markers.get(h);if(!m)throw new fe("writer-updatemarker-marker-not-exists",this);if(!u)return St("writer-updatemarker-reconvert-using-editingcontroller",{markerName:h}),void this.model.markers._refresh(m);const _="boolean"==typeof u.usingOperation,b="boolean"==typeof u.affectsData,w=b?u.affectsData:m.affectsData;if(!_&&!u.range&&!b)throw new fe("writer-updatemarker-wrong-options",this);const A=m.getRange(),M=u.range?u.range:A;_&&u.usingOperation!==m.managedUsingOperations?u.usingOperation?I_(this,h,null,M,w):(I_(this,h,A,null,w),this.model.markers._set(h,M,void 0,w)):m.managedUsingOperations?I_(this,h,A,M,w):this.model.markers._set(h,M,void 0,w)}removeMarker(c){this._assertWriterUsedCorrectly();const u="string"==typeof c?c:c.name;if(!this.model.markers.has(u))throw new fe("writer-removemarker-no-marker",this);const h=this.model.markers.get(u);h.managedUsingOperations?I_(this,u,h.getRange(),null,h.affectsData):this.model.markers._remove(u)}addRoot(c,u="$root"){this._assertWriterUsedCorrectly();const h=this.model.document.getRoot(c);if(h&&h.isAttached())throw new fe("writer-addroot-root-exists",this);const m=this.model.document,_=new Ol(c,u,!0,m,m.version);return this.batch.addOperation(_),this.model.applyOperation(_),this.model.document.getRoot(c)}detachRoot(c){this._assertWriterUsedCorrectly();const u="string"==typeof c?this.model.document.getRoot(c):c;if(!u||!u.isAttached())throw new fe("writer-detachroot-no-root",this);for(const _ of this.model.markers)_.getRange().root===u&&this.removeMarker(_);for(const _ of u.getAttributeKeys())this.removeAttribute(_,u);this.remove(this.createRangeIn(u));const h=this.model.document,m=new Ol(u.rootName,u.name,!1,h,h.version);this.batch.addOperation(m),this.model.applyOperation(m)}setSelection(...c){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...c)}setSelectionFocus(c,u){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(c,u)}setSelectionAttribute(c,u){if(this._assertWriterUsedCorrectly(),"string"==typeof c)this._setSelectionAttribute(c,u);else for(const[h,m]of ta(c))this._setSelectionAttribute(h,m)}removeSelectionAttribute(c){if(this._assertWriterUsedCorrectly(),"string"==typeof c)this._removeSelectionAttribute(c);else for(const u of c)this._removeSelectionAttribute(u)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(c){this.model.document.selection._restoreGravity(c)}_setSelectionAttribute(c,u){const h=this.model.document.selection;if(h.isCollapsed&&h.anchor.parent.isEmpty){const m=cc._getStoreAttributeKey(c);this.setAttribute(m,u,h.anchor.parent)}h._setAttribute(c,u)}_removeSelectionAttribute(c){const u=this.model.document.selection;if(u.isCollapsed&&u.anchor.parent.isEmpty){const h=cc._getStoreAttributeKey(c);this.removeAttribute(h,u.anchor.parent)}u._removeAttribute(c)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new fe("writer-incorrect-use",this)}_addOperationForAffectedMarkers(c,u){for(const h of this.model.markers){if(!h.managedUsingOperations)continue;const m=h.getRange();let _=!1;if("move"===c){const b=u;_=b.containsPosition(m.start)||b.start.isEqual(m.start)||b.containsPosition(m.end)||b.end.isEqual(m.end)}else{const A=u.nodeAfter;_=m.start.parent==u.nodeBefore&&m.start.isAtEnd||m.end.parent==A&&0==m.end.offset||m.end.nodeAfter==A||m.start.nodeAfter==A}_&&this.updateMarker(h.name,{range:m})}}}function u2(g,c,u,h){const m=g.model,_=m.document;let b,w,A,M=h.start;for(const O of h.getWalker({shallow:!0}))A=O.item.getAttribute(c),b&&w!=A&&(w!=u&&R(),M=b),b=O.nextPosition,w=A;function R(){const O=new Ke(M,b),V=new fr(O,c,w,u,O.root.document?_.version:null);g.batch.addOperation(V),m.applyOperation(V)}b instanceof ct&&b!=M&&w!=u&&R()}function h2(g,c,u,h){const m=g.model,_=m.document,b=h.getAttribute(c);let w,A;b!=u&&(h.root===h?A=new Fd(h,c,b,u,h.document?_.version:null):(w=new Ke(ct._createBefore(h),g.createPositionAfter(h)),A=new fr(w,c,b,u,w.root.document?_.version:null)),g.batch.addOperation(A),m.applyOperation(A))}function I_(g,c,u,h,m){const _=g.model,w=new Hs(c,u,h,_.markers,!!m,_.document.version);g.batch.addOperation(w),_.applyOperation(w)}function p2(g,c,u,h){let m;if(g.root.document){const _=h.document,b=new ct(_.graveyard,[0]);m=new kn(g,c,b,_.version)}else m=new oi(g,c);u.addOperation(m),h.applyOperation(m)}function OB(g,c){return g===c||g instanceof A_&&c instanceof A_}function UW(g,c,u={}){if(c.isCollapsed)return;const h=c.getFirstRange();if("$graveyard"==h.root.rootName)return;const m=g.schema;g.change(_=>{if(!u.doNotResetEntireContent&&function(M,R){const O=M.getLimitElement(R);if(!R.containsEntireContent(O))return!1;const N=R.getFirstRange();return N.start.parent!=N.end.parent&&M.checkChild(O,"paragraph")}(m,c))return void function(M,R){const O=M.model.schema.getLimitElement(R);M.remove(M.createRangeIn(O)),ok(M,M.createPositionAt(O,0),R)}(_,c);const b={};if(!u.doNotAutoparagraph){const M=c.getSelectedElement();M&&Object.assign(b,m.getAttributesWithProperty(M,"copyOnReplace",!0))}const[w,A]=function(M){const R=M.root.document.model,O=M.start;let N=M.end;if(R.hasContent(M,{ignoreMarkers:!0})){const V=function(W){const Y=W.parent,ne=Y.root.document.model.schema,he=Y.getAncestors({parentFirst:!0,includeSelf:!0});for(const Me of he){if(ne.isLimit(Me))return null;if(ne.isBlock(Me))return Me}}(N);if(V&&N.isTouching(R.createPositionAt(V,0))){const W=R.createSelection(M);R.modifySelection(W,{direction:"backward"});const Y=W.getLastPosition(),ne=R.createRange(Y,N);R.hasContent(ne,{ignoreMarkers:!0})||(N=Y)}}return[jn.fromPosition(O,"toPrevious"),jn.fromPosition(N,"toNext")]}(h);w.isTouching(A)||_.remove(_.createRange(w,A)),u.leaveUnmerged||(function(M,R,O){const N=M.model;if(!o0(M.model.schema,R,O))return;const[V,W]=function(Y,ne){const he=Y.getAncestors(),Me=ne.getAncestors();let qe=0;for(;he[qe]&&he[qe]==Me[qe];)qe++;return[he[qe],Me[qe]]}(R,O);!V||!W||(!N.hasContent(V,{ignoreMarkers:!0})&&N.hasContent(W,{ignoreMarkers:!0})?Kg(M,R,O,V.parent):qg(M,R,O,V.parent))}(_,w,A),m.removeDisallowedAttributes(w.parent.getChildren(),_)),r0(_,c,w),!u.doNotAutoparagraph&&function(M,R){const O=M.checkChild(R,"$text"),N=M.checkChild(R,"paragraph");return!O&&N}(m,w)&&ok(_,w,c,b),w.detach(),A.detach()})}function qg(g,c,u,h){const m=c.parent,_=u.parent;if(m!=h&&_!=h){for(c=g.createPositionAfter(m),(u=g.createPositionBefore(_)).isEqual(c)||g.insert(_,c),g.merge(c);u.parent.isEmpty;){const b=u.parent;u=g.createPositionBefore(b),g.remove(b)}o0(g.model.schema,c,u)&&qg(g,c,u,h)}}function Kg(g,c,u,h){const m=c.parent,_=u.parent;if(m!=h&&_!=h){for(c=g.createPositionAfter(m),(u=g.createPositionBefore(_)).isEqual(c)||g.insert(m,u);c.parent.isEmpty;){const b=c.parent;c=g.createPositionBefore(b),g.remove(b)}u=g.createPositionBefore(_),function(b,w){const A=w.nodeBefore,M=w.nodeAfter;A.name!=M.name&&b.rename(A,M.name),b.clearAttributes(A),b.setAttributes(Object.fromEntries(M.getAttributes()),A),b.merge(w)}(g,u),o0(g.model.schema,c,u)&&Kg(g,c,u,h)}}function o0(g,c,u){const h=c.parent,m=u.parent;return h!=m&&!g.isLimit(h)&&!g.isLimit(m)&&function(_,b,w){const A=new Ke(_,b);for(const M of A.getWalker())if(w.isLimit(M.item))return!1;return!0}(c,u,g)}function ok(g,c,u,h={}){const m=g.createElement("paragraph");g.model.schema.setAllowedAttributes(m,h,g),g.insert(m,c),r0(g,u,g.createPositionAt(m,0))}function r0(g,c,u){c instanceof cc?g.setSelection(u):c.setTo(u)}function S_(g,c){const u=[];Array.from(g.getItems({direction:"backward"})).map(h=>c.createRangeOn(h)).filter(h=>(h.start.isAfter(g.start)||h.start.isEqual(g.start))&&(h.end.isBefore(g.end)||h.end.isEqual(g.end))).forEach(h=>{u.push(h.start.parent),c.remove(h)}),u.forEach(h=>{let m=h;for(;m.parent&&m.isEmpty;){const _=c.createRangeOn(m);m=m.parent,c.remove(_)}})}class FB{constructor(c,u,h){this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null,this._nodeToSelect=null,this.model=c,this.writer=u,this.position=h,this.canMergeWith=new Set([this.position.parent]),this.schema=c.schema,this._documentFragment=u.createDocumentFragment(),this._documentFragmentPosition=u.createPositionAt(this._documentFragment,0)}handleNodes(c){for(const u of Array.from(c))this._handleNode(u);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(c){const u=this.writer.createPositionAfter(this._lastNode),h=this.writer.createPositionAfter(c);if(h.isAfter(u)){if(this._lastNode=c,this.position.parent!=c||!this.position.isAtEnd)throw new fe("insertcontent-invalid-insertion-position",this);this.position=h,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Ke._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Ke(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(c){if(this.schema.isObject(c))return void this._handleObject(c);let u=this._checkAndAutoParagraphToAllowedPosition(c);u||(u=this._checkAndSplitToAllowedPosition(c),u)?(this._appendToFragment(c),this._firstNode||(this._firstNode=c),this._lastNode=c):this._handleDisallowedNode(c)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const c=jn.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=c.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=c.toPosition(),c.detach()}_handleObject(c){this._checkAndSplitToAllowedPosition(c)?this._appendToFragment(c):this._tryAutoparagraphing(c)}_handleDisallowedNode(c){c.is("element")?this.handleNodes(c.getChildren()):this._tryAutoparagraphing(c)}_appendToFragment(c){if(!this.schema.checkChild(this.position,c))throw new fe("insertcontent-wrong-position",this,{node:c,position:this.position});this.writer.insert(c,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(c.offsetSize),this._nodeToSelect=this.schema.isObject(c)&&!this.schema.checkChild(this.position,"$text")?c:null,this._filterAttributesOf.push(c)}_setAffectedBoundaries(c){this._affectedStart||(this._affectedStart=jn.fromPosition(c,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(c)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=jn.fromPosition(c,"toNext"))}_mergeOnLeft(){const c=this._firstNode;if(!(c instanceof On&&this._canMergeLeft(c)))return;const u=jn._createBefore(c);u.stickiness="toNext";const h=jn.fromPosition(this.position,"toNext");this._affectedStart.isEqual(u)&&(this._affectedStart.detach(),this._affectedStart=jn._createAt(u.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=u.nodeBefore,this._lastNode=u.nodeBefore),this.writer.merge(u),u.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=jn._createAt(u.nodeBefore,"end","toNext")),this.position=h.toPosition(),h.detach(),this._filterAttributesOf.push(this.position.parent),u.detach()}_mergeOnRight(){const c=this._lastNode;if(!(c instanceof On&&this._canMergeRight(c)))return;const u=jn._createAfter(c);if(u.stickiness="toNext",!this.position.isEqual(u))throw new fe("insertcontent-invalid-insertion-position",this);this.position=ct._createAt(u.nodeBefore,"end");const h=jn.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(u)&&(this._affectedEnd.detach(),this._affectedEnd=jn._createAt(u.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=u.nodeBefore,this._lastNode=u.nodeBefore),this.writer.merge(u),u.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=jn._createAt(u.nodeBefore,0,"toPrevious")),this.position=h.toPosition(),h.detach(),this._filterAttributesOf.push(this.position.parent),u.detach()}_canMergeLeft(c){const u=c.previousSibling;return u instanceof On&&this.canMergeWith.has(u)&&this.model.schema.checkMerge(u,c)}_canMergeRight(c){const u=c.nextSibling;return u instanceof On&&this.canMergeWith.has(u)&&this.model.schema.checkMerge(c,u)}_tryAutoparagraphing(c){const u=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,u)&&this.schema.checkChild(u,c)&&(u._appendChild(c),this._handleNode(u))}_checkAndAutoParagraphToAllowedPosition(c){if(this.schema.checkChild(this.position.parent,c))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",c))return!1;this._insertPartialFragment();const u=this.writer.createElement("paragraph");return this.writer.insert(u,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=u,this.position=this.writer.createPositionAt(u,0),!0}_checkAndSplitToAllowedPosition(c){const u=this._getAllowedIn(this.position.parent,c);if(!u)return!1;for(u!=this.position.parent&&this._insertPartialFragment();u!=this.position.parent;)if(this.position.isAtStart){const h=this.position.parent;this.position=this.writer.createPositionBefore(h),h.isEmpty&&h.parent===u&&this.writer.remove(h)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const h=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=h,this.canMergeWith.add(this.position.nodeAfter)}return!0}_getAllowedIn(c,u){return this.schema.checkChild(c,u)?c:this.schema.isLimit(c)?null:this._getAllowedIn(c.parent,u)}}function rk(g,c,u="auto"){const h=g.getSelectedElement();if(h&&c.schema.isObject(h)&&!c.schema.isInline(h))return"before"==u||"after"==u?c.createRange(c.createPositionAt(h,u)):c.createRangeOn(h);const m=gr(g.getSelectedBlocks());if(!m)return c.createRange(g.focus);if(m.isEmpty)return c.createRange(c.createPositionAt(m,0));const _=c.createPositionAfter(m);return g.focus.isTouching(_)?c.createRange(_):c.createRange(c.createPositionBefore(m))}const s0=' ,.?!:;"-()';function WW(g,c){const{isForward:u,walker:h,unit:m,schema:_,treatEmojiAsSingleUnit:b}=g,{type:w,item:A,nextPosition:M}=c;if("text"==w)return"word"===g.unit?function(R,O){let N=R.position.textNode;for(N||(N=O?R.position.nodeAfter:R.position.nodeBefore);N&&N.is("$text");){const V=R.position.offset-N.startOffset;if(ak(N,V,O))N=O?R.position.nodeAfter:R.position.nodeBefore;else{if(NB(N.data,V,O))break;R.next()}}return R.position}(h,u):function(R,O,N){const V=R.position.textNode;if(V){const W=V.data;let Y=R.position.offset-V.startOffset;for(;Gr(W,Y)||"character"==O&&MT(W,Y)||N&&Os(W,Y);)R.next(),Y=R.position.offset-V.startOffset}return R.position}(h,m,b);if(w==(u?"elementStart":"elementEnd")){if(_.isSelectable(A))return ct._createAt(A,u?"after":"before");if(_.checkChild(M,"$text"))return M}else{if(_.isLimit(A))return void h.skip(()=>!0);if(_.checkChild(M,"$text"))return M}}function sk(g,c){const h=ct._createAt(g.root,c?"end":0);return c?new Ke(g,h):new Ke(h,g)}function NB(g,c,u){return s0.includes(g.charAt(c+(u?0:-1)))}function ak(g,c,u){return c===(u?g.offsetSize:0)}class m2 extends(_t()){constructor(){super(),this.markers=new il,this.document=new EB(this),this.schema=new pB,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach(c=>this.decorate(c)),this.on("applyOperation",(c,u)=>{u[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((c,u)=>{if("$marker"===u.name)return!0}),function VE(g){g.document.registerPostFixer(c=>function(u,h){const m=h.document.selection,_=h.schema,b=[];let w=!1;for(const A of m.getRanges()){const M=W1(A,_);M&&!M.isEqual(A)?(b.push(M),w=!0):b.push(A)}return w&&u.setSelection(function(A){const M=[...A],R=new Set;let O=1;for(;O!R.has(V))}(b),{backward:m.isBackward}),!1}(c,g))}(this),this.document.registerPostFixer(H1),this.on("insertContent",(c,[u,h])=>{var m,_,b;c.return=(_=u,b=h,(m=this).change(w=>{const A=b||m.document.selection;A.isCollapsed||m.deleteContent(A,{doNotAutoparagraph:!0});const M=new FB(m,w,A.anchor),R=[];let O;if(_.is("documentFragment")){if(_.markers.size){const W=[];for(const[Y,ne]of _.markers){const{start:he,end:Me}=ne,qe=he.isEqual(Me);W.push({position:he,name:Y,isCollapsed:qe},{position:Me,name:Y,isCollapsed:qe})}W.sort(({position:Y},{position:ne})=>Y.isBefore(ne)?1:-1);for(const{position:Y,name:ne,isCollapsed:he}of W){let Me=null,qe=null;const kt=Y.parent===_&&Y.isAtStart;kt||Y.parent===_&&Y.isAtEnd?he&&(qe=kt?"start":"end"):(Me=w.createElement("$marker"),w.insert(Me,Y)),R.push({name:ne,element:Me,collapsed:qe})}}O=_.getChildren()}else O=[_];M.handleNodes(O);let N=M.getSelectionRange();if(_.is("documentFragment")&&R.length){const W=N?Na.fromRange(N):null,Y={};for(let ne=R.length-1;ne>=0;ne--){const{name:he,element:Me,collapsed:qe}=R[ne],kt=!Y[he];if(kt&&(Y[he]=[]),Me){const $t=w.createPositionAt(Me,"before");Y[he].push($t),w.remove(Me)}else{const $t=M.getAffectedRange();if(!$t){qe&&Y[he].push(M.position);continue}Y[he].push(qe?$t[qe]:kt?$t.start:$t.end)}}for(const[ne,[he,Me]]of Object.entries(Y))he&&Me&&he.root===Me.root&&w.addMarker(ne,{usingOperation:!0,affectsData:!0,range:new Ke(he,Me)});W&&(N=W.toRange(),W.detach())}N&&(A instanceof cc?w.setSelection(N):A.setTo(N));const V=M.getAffectedRange()||m.createRange(A.anchor);return M.destroy(),V}))}),this.on("insertObject",(c,[u,h,m])=>{c.return=function g2(g,c,u,h={}){if(!g.schema.isObject(c))throw new fe("insertobject-element-not-an-object",g,{object:c});const m=u||g.document.selection;let _=m;h.findOptimalPosition&&g.schema.isBlock(c)&&(_=g.createSelection(rk(m,g,h.findOptimalPosition)));const b=gr(m.getSelectedBlocks()),w={};return b&&Object.assign(w,g.schema.getAttributesWithProperty(b,"copyOnReplace",!0)),g.change(A=>{_.isCollapsed||g.deleteContent(_,{doNotAutoparagraph:!0});let M=c;const R=_.anchor.parent;!g.schema.checkChild(R,c)&&g.schema.checkChild(R,"paragraph")&&g.schema.checkChild("paragraph",c)&&(M=A.createElement("paragraph"),A.insert(c,M)),g.schema.setAllowedAttributes(M,w,A);const O=g.insertContent(M,_);return O.isCollapsed||h.setSelection&&function(N,V,W,Y){const ne=N.model;if("on"==W)return void N.setSelection(V,"on");if("after"!=W)throw new fe("insertobject-invalid-place-parameter-value",ne);let he=V.nextSibling;ne.schema.isInline(V)?N.setSelection(V,"after"):(!(he&&ne.schema.checkChild(he,"$text"))&&ne.schema.checkChild(V.parent,"paragraph")&&(he=N.createElement("paragraph"),ne.schema.setAllowedAttributes(he,Y,N),ne.insertContent(he,N.createPositionAfter(V))),he&&N.setSelection(he,0))}(A,c,h.setSelection,w),O})}(this,u,h,m)}),this.on("canEditAt",c=>{const u=!this.document.isReadOnly;c.return=u,u||c.stop()})}change(c){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new Ug,callback:c}),this._runPendingChanges()[0]):c(this._currentWriter)}catch(u){fe.rethrowUnexpectedError(u,this)}}enqueueChange(c,u){try{c?"function"==typeof c?(u=c,c=new Ug):c instanceof Ug||(c=new Ug(c)):c=new Ug,this._pendingChanges.push({batch:c,callback:u}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(h){fe.rethrowUnexpectedError(h,this)}}applyOperation(c){c._execute()}insertContent(c,u,h,...m){const _=a0(u,h);return this.fire("insertContent",[c,_,h,...m])}insertObject(c,u,h,m,..._){const b=a0(u,h);return this.fire("insertObject",[c,b,m,m,..._])}deleteContent(c,u){UW(this,c,u)}modifySelection(c,u){!function(h,m,_={}){const b=h.schema,w="backward"!=_.direction,A=_.unit?_.unit:"character",M=!!_.treatEmojiAsSingleUnit,O=new lc({boundaries:sk(m.focus,w),singleCharacters:!0,direction:w?"forward":"backward"}),N={walker:O,schema:b,isForward:w,unit:A,treatEmojiAsSingleUnit:M};let V;for(;V=O.next();){if(V.done)return;const W=WW(N,V.value);if(W)return void(m instanceof cc?h.change(Y=>{Y.setSelectionFocus(W)}):m.setFocus(W))}}(this,c,u)}getSelectedContent(c){return h=c,this.change(m=>{const _=m.createDocumentFragment(),b=h.getFirstRange();if(!b||b.isCollapsed)return _;const w=b.start.root,A=b.start.getCommonPath(b.end),M=w.getNodeByPath(A);let R;R=b.start.parent==b.end.parent?b:m.createRange(m.createPositionAt(M,b.start.path[A.length]),m.createPositionAt(M,b.end.path[A.length]+1));const O=R.end.offset-R.start.offset;for(const N of R.getItems({shallow:!0}))N.is("$textProxy")?m.appendText(N.data,N.getAttributes(),_):m.append(m.cloneElement(N,!0),_);if(R!=b){const N=b._getTransformedByMove(R.start,m.createPositionAt(_,0),O)[0],V=m.createRange(m.createPositionAt(_,0),N.start);S_(m.createRange(N.end,m.createPositionAt(_,"end")),m),S_(V,m)}return _});var h}hasContent(c,u={}){const h=c instanceof Ke?c:Ke._createIn(c);if(h.isCollapsed)return!1;const{ignoreWhitespaces:m=!1,ignoreMarkers:_=!1}=u;if(!_)for(const b of this.markers.getMarkersIntersectingRange(h))if(b.affectsData)return!0;for(const b of h.getItems())if(this.schema.isContent(b)&&(!b.is("$textProxy")||!m||-1!==b.data.search(/\S/)))return!0;return!1}canEditAt(c){const u=a0(c);return this.fire("canEditAt",[u])}createPositionFromPath(c,u,h){return new ct(c,u,h)}createPositionAt(c,u){return ct._createAt(c,u)}createPositionAfter(c){return ct._createAfter(c)}createPositionBefore(c){return ct._createBefore(c)}createRange(c,u){return new Ke(c,u)}createRangeIn(c){return Ke._createIn(c)}createRangeOn(c){return Ke._createOn(c)}createSelection(...c){return new Ls(...c)}createBatch(c){return new Ug(c)}createOperationFromJSON(c){return Gg.fromJSON(c,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const c=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){this._currentWriter=new PB(this,this._pendingChanges[0].batch);const h=this._pendingChanges[0].callback(this._currentWriter);c.push(h),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return c}}function a0(g,c){if(g)return g instanceof Ls||g instanceof cc?g:g instanceof Rl?c||0===c?new Ls(g,c):g.is("rootElement")?new Ls(g,"in"):new Ls(g,"on"):new Ls(g)}class ep extends Hc{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(c){this.fire(c.type,c)}}class lk extends Hc{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(c){this.fire(c.type,c)}}class $c{constructor(c){this.document=c}createDocumentFragment(c){return new Rg(this.document,c)}createElement(c,u,h){return new ra(this.document,c,u,h)}createText(c){return new eo(this.document,c)}clone(c,u=!1){return c._clone(u)}appendChild(c,u){return u._appendChild(c)}insertChild(c,u,h){return h._insertChild(c,u)}removeChildren(c,u,h){return h._removeChildren(c,u)}remove(c){const u=c.parent;return u?this.removeChildren(u.getChildIndex(c),1,u):[]}replace(c,u){const h=c.parent;if(h){const m=h.getChildIndex(c);return this.removeChildren(m,1,h),this.insertChild(m,u,h),!0}return!1}unwrapElement(c){const u=c.parent;if(u){const h=u.getChildIndex(c);this.remove(c),this.insertChild(h,c.getChildren(),u)}}rename(c,u){const h=new ra(this.document,c,u.getAttributes(),u.getChildren());return this.replace(u,h)?h:null}setAttribute(c,u,h){h._setAttribute(c,u)}removeAttribute(c,u){u._removeAttribute(c)}addClass(c,u){u._addClass(c)}removeClass(c,u){u._removeClass(c)}setStyle(c,u,h){Es(c)&&void 0===h?u._setStyle(c):h._setStyle(c,u)}removeStyle(c,u){u._removeStyle(c)}setCustomProperty(c,u,h){h._setCustomProperty(c,u)}removeCustomProperty(c,u){return u._removeCustomProperty(c)}createPositionAt(c,u){return vt._createAt(c,u)}createPositionAfter(c){return vt._createAfter(c)}createPositionBefore(c){return vt._createBefore(c)}createRange(c,u){return new ni(c,u)}createRangeOn(c){return ni._createOn(c)}createRangeIn(c){return ni._createIn(c)}createSelection(...c){return new Sl(...c)}}class l0{constructor(){this._commands=new Map}add(c,u){this._commands.set(c,u)}get(c){return this._commands.get(c)}execute(c,...u){const h=this.get(c);if(!h)throw new fe("commandcollection-command-not-found",this,{commandName:c});return h.execute(...u)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const c of this.commands())c.destroy()}}class LB extends(_t()){constructor(c={}){super();const u=this.constructor;this._context=c.context||new l1({language:c.language||u.defaultConfig&&u.defaultConfig.language}),this._context._addEditor(this,!c.context);const m=Array.from(u.builtinPlugins||[]);this.config=new AT(c,u.defaultConfig),this.config.define("plugins",m),this.config.define(this._context._getEditorConfig()),this.plugins=new a1(this,m,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new l0,this.set("state","initializing"),this.once("ready",()=>this.state="ready",{priority:"high"}),this.once("destroy",()=>this.state="destroyed",{priority:"high"}),this.model=new m2,this.on("change:isReadOnly",()=>{this.model.document.isReadOnly=this.isReadOnly});const _=new rE;this.data=new Xy(this.model,_),this.editing=new zE(this.model,_),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new w_([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 c1(this),this.keystrokes.listenTo(this.editing.view.document)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(c){throw new fe("editor-isreadonly-has-no-setter")}enableReadOnlyMode(c){if("string"!=typeof c&&"symbol"!=typeof c)throw new fe("editor-read-only-lock-id-invalid",null,{lockId:c});this._readOnlyLocks.has(c)||(this._readOnlyLocks.add(c),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(c){if("string"!=typeof c&&"symbol"!=typeof c)throw new fe("editor-read-only-lock-id-invalid",null,{lockId:c});this._readOnlyLocks.has(c)&&(this._readOnlyLocks.delete(c),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}initPlugins(){const c=this.config,u=c.get("plugins"),h=c.get("removePlugins")||[],m=c.get("extraPlugins")||[],_=c.get("substitutePlugins")||[];return this.plugins.init(u.concat(m),h,_)}destroy(){let c=Promise.resolve();return"initializing"==this.state&&(c=new Promise(u=>this.once("ready",u))),c.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(c,...u){try{return this.commands.execute(c,...u)}catch(h){fe.rethrowUnexpectedError(h,this)}}focus(){this.editing.view.focus()}static create(...c){throw new Error("This is an abstract method.")}}function Yg(g){return class extends g{setData(c){this.data.set(c)}getData(c){return this.data.get(c)}}}{const g=Yg(Object);Yg.setData=g.prototype.setData,Yg.getData=g.prototype.getData}function Qg(g){return class extends g{updateSourceElement(c){if(!this.sourceElement)throw new fe("editor-missing-sourceelement",this);const u=this.config.get("updateSourceElementOnDestroy"),h=this.sourceElement instanceof HTMLTextAreaElement;if(!u&&!h)return void Pa(this.sourceElement,"");const m="string"==typeof c?c:this.data.get();Pa(this.sourceElement,m)}}}Qg.updateSourceElement=Qg(Object).prototype.updateSourceElement;class _r extends Iy{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new Oa({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(c){if("string"!=typeof c)throw new fe("pendingactions-add-invalid-message",this);const u=new(_t());return u.set("message",c),this._actions.add(u),this.hasAny=!0,u}remove(c){this._actions.remove(c),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const hn={bold:'',cancel:'',caption:'',check:'',cog:'',eraser:'',history:'',image:'',imageUpload:'',imageAssetManager:'',imageUrl:'',lowVision:'\n',textAlternative:'',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 c0=ft(5542);At()(c0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const{threeVerticalDots:f2}=hn,_2={alignLeft:hn.alignLeft,bold:hn.bold,importExport:hn.importExport,paragraph:hn.paragraph,plus:hn.plus,text:hn.text,threeVerticalDots:hn.threeVerticalDots,pilcrow:hn.pilcrow,dragIndicator:hn.dragIndicator};class Tu extends gi{constructor(c,u){super(c);const h=this.bindTemplate,m=this.t;this.options=u||{},this.set("ariaLabel",m("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new Bo,this.keystrokes=new ea,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new VB(c),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const _="rtl"===c.uiLanguageDirection;this._focusCycler=new Ad({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[_?"arrowright":"arrowleft","arrowup"],focusNext:[_?"arrowleft":"arrowright","arrowdown"]}});const b=["ck","ck-toolbar",h.to("class"),h.if("isCompact","ck-toolbar_compact")];var w;this.options.shouldGroupWhenFull&&this.options.isFloating&&b.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:b,role:"toolbar","aria-label":h.to("ariaLabel"),style:{maxWidth:h.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(w=this,w.bindTemplate.to(A=>{A.target===w.element&&A.preventDefault()}))}}),this._behavior=this.options.shouldGroupWhenFull?new HB(this):new zB(this)}render(){super.render(),this.focusTracker.add(this.element);for(const c of this.items)this.focusTracker.add(c.element);this.items.on("add",(c,u)=>{this.focusTracker.add(u.element)}),this.items.on("remove",(c,u)=>{this.focusTracker.remove(u.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(c,u,h){this.items.addMany(this._buildItemsFromConfig(c,u,h))}_buildItemsFromConfig(c,u,h){const m=RL(c),_=h||m.removeItems;return this._cleanItemsConfiguration(m.items,u,_).map(b=>qt(b)?this._createNestedToolbarDropdown(b,u,_):"|"===b?new r1:"-"===b?new TL:u.create(b)).filter(b=>!!b)}_cleanItemsConfiguration(c,u,h){const m=c.filter((_,b,w)=>"|"===_||-1===h.indexOf(_)&&("-"===_?!this.options.shouldGroupWhenFull||(St("toolbarview-line-break-ignored-when-grouping-items",w),!1):!(!qt(_)&&!u.has(_)&&(St("toolbarview-item-unavailable",{item:_}),1))));return this._cleanSeparatorsAndLineBreaks(m)}_cleanSeparatorsAndLineBreaks(c){const u=b=>"-"!==b&&"|"!==b,h=c.length,m=c.findIndex(u);if(-1===m)return[];const _=h-c.slice().reverse().findIndex(u);return c.slice(m,_).filter((b,w,A)=>!!u(b)||!(w>0&&A[w-1]===b))}_createNestedToolbarDropdown(c,u,h){let{label:m,icon:_,items:b,tooltip:w=!0,withText:A=!1}=c;if(b=this._cleanItemsConfiguration(b,u,h),!b.length)return null;const M=dc(this.locale);return m||St("toolbarview-nested-toolbar-dropdown-missing-label",c),M.class="ck-toolbar__nested-toolbar-dropdown",M.buttonView.set({label:m,tooltip:w,withText:!!A}),!1!==_?M.buttonView.icon=_2[_]||_||f2:M.buttonView.withText=!0,M_(M,()=>M.toolbarView._buildItemsFromConfig(b,u,h)),M}}class VB extends gi{constructor(c){super(c),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class zB{constructor(c){const u=c.bindTemplate;c.set("isVertical",!1),c.itemsView.children.bindTo(c.items).using(h=>h),c.focusables.bindTo(c.items).using(h=>h),c.extendTemplate({attributes:{class:[u.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class HB{constructor(c){this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,this.view=c,this.viewChildren=c.children,this.viewFocusables=c.focusables,this.viewItemsView=c.itemsView,this.viewFocusTracker=c.focusTracker,this.viewLocale=c.locale,this.ungroupedItems=c.createCollection(),this.groupedItems=c.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),c.itemsView.children.bindTo(this.ungroupedItems).using(u=>u),this.ungroupedItems.on("change",this._updateFocusCycleableItems.bind(this)),c.children.on("change",this._updateFocusCycleableItems.bind(this)),c.items.on("change",(u,h)=>{const m=h.index,_=Array.from(h.added);for(const b of h.removed)m>=this.ungroupedItems.length?this.groupedItems.remove(b):this.ungroupedItems.remove(b);for(let b=m;bthis.ungroupedItems.length?this.groupedItems.add(w,b-this.ungroupedItems.length):this.ungroupedItems.add(w,b)}this._updateGrouping()}),c.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(c){this.viewElement=c.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(c)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!Th(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const c=this.groupedItems.length;let u;for(;this._areItemsOverflowing;)this._groupLastItem(),u=!0;if(!u&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==c&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const c=this.viewElement,u=this.viewLocale.uiLanguageDirection,h=new un(c.lastChild),m=new un(c);if(!this.cachedPadding){const _=de.window.getComputedStyle(c);this.cachedPadding=Number.parseInt(_["ltr"===u?"paddingRight":"paddingLeft"])}return"ltr"===u?h.right>m.right-this.cachedPadding:h.left{c&&c===u.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),c=u.contentRect.width)}),this._updateGrouping()}_enableGroupingOnMaxWidthChange(c){c.on("change:maxWidth",()=>{this._updateGrouping()})}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new r1),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 c=this.viewLocale,u=c.t,h=dc(c);return h.class="ck-toolbar__grouped-dropdown",h.panelPosition="ltr"===c.uiLanguageDirection?"sw":"se",M_(h,this.groupedItems),h.buttonView.set({label:u("Show more items"),tooltip:!0,tooltipPosition:"rtl"===c.uiLanguageDirection?"se":"sw",icon:f2}),h}_updateFocusCycleableItems(){this.viewFocusables.clear(),this.ungroupedItems.map(c=>{this.viewFocusables.add(c)}),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}class T_ extends gi{constructor(c){super(c);const u=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",u.if("isVisible","ck-hidden",h=>!h)],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class Xg extends gi{constructor(c){super(c),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}class d0 extends gi{constructor(c,u=new ky){super(c);const h=this.bindTemplate,m=new GB(c);this.set({label:"",isVisible:!0}),this.labelView=u,this.labelView.bind("text").to(this,"label"),this.children=this.createCollection(),this.children.addMany([this.labelView,m]),m.set({role:"group",ariaLabelledBy:u.id}),m.focusTracker.destroy(),m.keystrokes.destroy(),this.items=m.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",h.if("isVisible","ck-hidden",_=>!_)]},children:this.children})}focus(){if(this.items){const c=this.items.find(u=>!(u instanceof Xg));c&&c.focus()}}}var ck=ft(1046);At()(ck.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class GB extends gi{constructor(c){super(c),this._listItemGroupToChangeListeners=new WeakMap;const u=this.bindTemplate;this.focusables=new Dl,this.items=this.createCollection(),this.focusTracker=new Bo,this.keystrokes=new ea,this._focusCycler=new Ad({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:u.to("role"),"aria-label":u.to("ariaLabel"),"aria-labelledby":u.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const c of this.items)c instanceof d0?this._registerFocusableItemsGroup(c):c instanceof T_&&this._registerFocusableListItem(c);this.items.on("change",(c,u)=>{for(const h of u.removed)h instanceof d0?this._deregisterFocusableItemsGroup(h):this._deregisterFocusableListItem(h);for(const h of Array.from(u.added).reverse())h instanceof d0?this._registerFocusableItemsGroup(h,u.index):this._registerFocusableListItem(h,u.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(c,u){this.focusTracker.add(c.element),this.focusables.add(c,u)}_deregisterFocusableListItem(c){this.focusTracker.remove(c.element),this.focusables.remove(c)}_getOnGroupItemsChangeCallback(c){return(u,h)=>{for(const m of h.removed)this._deregisterFocusableListItem(m);for(const m of Array.from(h.added).reverse())this._registerFocusableListItem(m,this.items.getIndex(c)+h.index)}}_registerFocusableItemsGroup(c,u){Array.from(c.items).forEach((m,_)=>{this._registerFocusableListItem(m,void 0!==u?u+_:void 0)});const h=this._getOnGroupItemsChangeCallback(c);this._listItemGroupToChangeListeners.set(c,h),c.items.on("change",h)}_deregisterFocusableItemsGroup(c){for(const u of c.items)this._deregisterFocusableListItem(u);c.items.off("change",this._listItemGroupToChangeListeners.get(c)),this._listItemGroupToChangeListeners.delete(c)}}var Eo=ft(7686);At()(Eo.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class u0 extends gi{constructor(c,u){super(c);const h=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(u),this.arrowView=this._createArrowView(),this.keystrokes=new ea,this.focusTracker=new Bo,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",h.to("class"),h.if("isVisible","ck-hidden",m=>!m),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",(c,u)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),u())}),this.keystrokes.set("arrowleft",(c,u)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),u())})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(c){const u=c||new Hn;return c||u.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),u.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),u.delegate("execute").to(this),u}_createArrowView(){const c=new Hn,u=c.bindTemplate;return c.icon=BT,c.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":u.to("isOn"),"aria-haspopup":!0,"aria-expanded":u.to("isOn",h=>String(h))}}),c.bind("isEnabled").to(this),c.bind("label").to(this),c.bind("tooltip").to(this),c.delegate("execute").to(this,"open"),c}}var jB=ft(7339);At()(jB.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var E_=ft(3949);function dc(g,c=kW){const u="function"==typeof c?new c(g):c,h=new xW(g),m=new Jf(g,u,h);return u.bind("isEnabled").to(m),u instanceof u0?u.arrowView.bind("isOn").to(m,"isOpen"):u.bind("isOn").to(m,"isOpen"),(b=_=m).on("render",()=>{Ce({emitter:b,activator:()=>b.isOpen,callback:()=>{b.isOpen=!1},contextElements:()=>[b.element,...b.focusTracker._elements]})}),function(b){b.on("execute",w=>{w.source instanceof Dg||(b.isOpen=!1)})}(_),function(b){b.focusTracker.on("change:isFocused",(w,A,M)=>{b.isOpen&&!M&&(b.isOpen=!1)})}(_),function(b){b.keystrokes.set("arrowdown",(w,A)=>{b.isOpen&&(b.panelView.focus(),A())}),b.keystrokes.set("arrowup",(w,A)=>{b.isOpen&&(b.panelView.focusLast(),A())})}(_),function(b){b.on("change:isOpen",(w,A,M)=>{if(M)return;const R=b.panelView.element;R&&R.contains(de.document.activeElement)&&b.buttonView.focus()})}(_),function(b){b.on("change:isOpen",(w,A,M)=>{M&&b.panelView.focus()},{priority:"low"})}(_),m;var _,b}function M_(g,c,u={}){g.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),g.isOpen?tp(g,c,u):g.once("change:isOpen",()=>tp(g,c,u),{priority:"highest"}),u.enableActiveItemFocusOnDropdownOpen&&Zg(g,()=>g.toolbarView.items.find(h=>h.isOn))}function tp(g,c,u){const h=g.locale,m=h.t,_=g.toolbarView=new Tu(h),b="function"==typeof c?c():c;_.ariaLabel=u.ariaLabel||m("Dropdown toolbar"),u.maxWidth&&(_.maxWidth=u.maxWidth),u.class&&(_.class=u.class),u.isCompact&&(_.isCompact=u.isCompact),u.isVertical&&(_.isVertical=!0),b instanceof Dl?_.items.bindTo(b).using(w=>w):_.items.addMany(b),g.panelView.children.add(_),_.items.delegate("execute").to(g)}function h0(g,c,u={}){g.isOpen?p0(g,c,u):g.once("change:isOpen",()=>p0(g,c,u),{priority:"highest"}),Zg(g,()=>g.listView.items.find(h=>h instanceof T_&&h.children.first.isOn))}function p0(g,c,u){const h=g.locale,m=g.listView=new GB(h),_="function"==typeof c?c():c;m.ariaLabel=u.ariaLabel,m.role=u.role,R_(g,m.items,_,h),g.panelView.children.add(m),m.items.delegate("execute").to(g)}function Zg(g,c){g.on("change:isOpen",()=>{if(!g.isOpen)return;const u=c();u&&("function"==typeof u.focus?u.focus():St("ui-dropdown-focus-child-on-open-child-missing-focus",{view:u}))},{priority:ui.low-10})}function R_(g,c,u,h){c.bindTo(u).using(m=>{if("separator"===m.type)return new Xg(h);if("group"===m.type){const _=new d0(h);return _.set({label:m.label}),R_(g,_.items,m.items,h),_.items.delegate("execute").to(g),_}if("button"===m.type||"switchbutton"===m.type){const _=new T_(h);let b;return"button"===m.type?(b=new Hn(h),b.extendTemplate({attributes:{"aria-checked":b.bindTemplate.to("isOn")}})):b=new Dg(h),b.bind(...Object.keys(m.model)).to(m.model),b.delegate("execute").to(_),_.children.add(b),_}return null})}At()(E_.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Bd=(g,c,u)=>{const h=new wW(g.locale);return h.set({id:c,ariaDescribedById:u}),h.bind("isReadOnly").to(g,"isEnabled",m=>!m),h.bind("hasError").to(g,"errorText",m=>!!m),h.on("input",()=>{g.errorText=null}),g.bind("isEmpty","isFocused","placeholder").to(h),h},ip=(g,c=0,u=1)=>g>u?u:gMath.round(u*g)/u,Jg=g=>("#"===g[0]&&(g=g.substring(1)),g.length<6?{r:parseInt(g[0]+g[0],16),g:parseInt(g[1]+g[1],16),b:parseInt(g[2]+g[2],16),a:4===g.length?Wr(parseInt(g[3]+g[3],16)/255,2):1}:{r:parseInt(g.substring(0,2),16),g:parseInt(g.substring(2,4),16),b:parseInt(g.substring(4,6),16),a:8===g.length?Wr(parseInt(g.substring(6,8),16)/255,2):1}),P_=g=>{const{h:c,s:u,l:h}=(({h:g,s:c,v:u,a:h})=>{const m=(200-c)*u/100;return{h:Wr(g),s:Wr(m>0&&m<200?c*u/100/(m<=100?m:200-m)*100:0),l:Wr(m/2),a:Wr(h,2)}})(g);return`hsl(${c}, ${u}%, ${h}%)`},g0=g=>{const c=g.toString(16);return c.length<2?"0"+c:c},b2=(g,c)=>{if(g===c)return!0;for(const u in g)if(g[u]!==c[u])return!1;return!0},m0={},uk=g=>{let c=m0[g];return c||(c=document.createElement("template"),c.innerHTML=g,m0[g]=c),c},hk=(g,c,u)=>{g.dispatchEvent(new CustomEvent(c,{bubbles:!0,detail:u}))};let em=!1;const y2=g=>"touches"in g,C2=(g,c)=>{const u=y2(c)?c.touches[0]:c,h=g.el.getBoundingClientRect();hk(g.el,"move",g.getMove({x:ip((u.pageX-(h.left+window.pageXOffset))/h.width),y:ip((u.pageY-(h.top+window.pageYOffset))/h.height)}))};class F_{constructor(c,u,h,m){const _=uk(`
`);c.appendChild(_.content.cloneNode(!0));const b=c.querySelector(`[part=${u}]`);b.addEventListener("mousedown",this),b.addEventListener("touchstart",this),b.addEventListener("keydown",this),this.el=b,this.xy=m,this.nodes=[b.firstChild,b]}set dragging(c){const u=c?document.addEventListener:document.removeEventListener;u(em?"touchmove":"mousemove",this),u(em?"touchend":"mouseup",this)}handleEvent(c){switch(c.type){case"mousedown":case"touchstart":if(c.preventDefault(),u=c,em&&!y2(u)||(em||(em=y2(u)),0)||!em&&0!=c.button)return;this.el.focus(),C2(this,c),this.dragging=!0;break;case"mousemove":case"touchmove":c.preventDefault(),C2(this,c);break;case"mouseup":case"touchend":this.dragging=!1;break;case"keydown":((u,h)=>{const m=h.keyCode;m>40||u.xy&&m<37||m<33||(h.preventDefault(),hk(u.el,"move",u.getMove({x:39===m?.01:37===m?-.01:34===m?.05:33===m?-.05:35===m?1:36===m?-1:0,y:40===m?.01:38===m?-.01:0},!0)))})(this,c)}var u}style(c){c.forEach((u,h)=>{for(const m in u)this.nodes[h].style.setProperty(m,u[m])})}}class pk extends F_{constructor(c){super(c,"hue",'aria-label="Hue" aria-valuemin="0" aria-valuemax="360"',!1)}update({h:c}){this.h=c,this.style([{left:c/360*100+"%",color:P_({h:c,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuenow",`${Wr(c)}`)}getMove(c,u){return{h:u?ip(this.h+360*c.x,0,360):360*c.x}}}class WB extends F_{constructor(c){super(c,"saturation",'aria-label="Color"',!0)}update(c){this.hsva=c,this.style([{top:100-c.v+"%",left:`${c.s}%`,color:P_(c)},{"background-color":P_({h:c.h,s:100,v:100,a:1})}]),this.el.setAttribute("aria-valuetext",`Saturation ${Wr(c.s)}%, Brightness ${Wr(c.v)}%`)}getMove(c,u){return{s:u?ip(this.hsva.s+100*c.x,0,100):100*c.x,v:u?ip(this.hsva.v-100*c.y,0,100):Math.round(100-100*c.y)}}}const N_=Symbol("same"),L_=Symbol("color"),B_=Symbol("hsva"),gk=Symbol("update"),mk=Symbol("parts"),w2=Symbol("css"),fk=Symbol("sliders");class YW extends HTMLElement{static get observedAttributes(){return["color"]}get[w2](){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[fk](){return[WB,pk]}get color(){return this[L_]}set color(c){if(!this[N_](c)){const u=this.colorModel.toHsva(c);this[gk](u),this[L_]=c}}constructor(){super();const c=uk(``),u=this.attachShadow({mode:"open"});u.appendChild(c.content.cloneNode(!0)),u.addEventListener("move",this),this[mk]=this[fk].map(h=>new h(u))}connectedCallback(){if(this.hasOwnProperty("color")){const c=this.color;delete this.color,this.color=c}else this.color||(this.color=this.colorModel.defaultColor)}attributeChangedCallback(c,u,h){const m=this.colorModel.fromAttr(h);this[N_](m)||(this.color=m)}handleEvent(c){const u=this[B_],h={...u,...c.detail};let m;this[gk](h),b2(h,u)||this[N_](m=this.colorModel.fromHsva(h))||(this[L_]=m,hk(this,"color-changed",{value:m}))}[N_](c){return this.color&&this.colorModel.equal(c,this.color)}[gk](c){this[B_]=c,this[mk].forEach(u=>u.update(c))}}const qB={defaultColor:"#000",toHsva:g=>(({r:g,g:c,b:u,a:h})=>{const m=Math.max(g,c,u),_=m-Math.min(g,c,u),b=_?m===g?(c-u)/_:m===c?2+(u-g)/_:4+(g-c)/_:0;return{h:Wr(60*(b<0?b+6:b)),s:Wr(m?_/m*100:0),v:Wr(m/255*100),a:h}})(Jg(g)),fromHsva:({h:g,s:c,v:u})=>(({r:g,g:c,b:u,a:h})=>{const m=h<1?g0(Wr(255*h)):"";return"#"+g0(g)+g0(c)+g0(u)+m})((({h:g,s:c,v:u,a:h})=>{g=g/360*6,c/=100,u/=100;const m=Math.floor(g),_=u*(1-c),b=u*(1-(g-m)*c),w=u*(1-(1-g+m)*c),A=m%6;return{r:Wr(255*[u,b,_,_,w,u][A]),g:Wr(255*[w,u,u,b,_,_][A]),b:Wr(255*[_,_,w,u,u,b][A]),a:Wr(h,2)}})({h:g,s:c,v:u,a:1})),equal:(g,c)=>g.toLowerCase()===c.toLowerCase()||b2(Jg(g),Jg(c)),fromAttr:g=>g};class Eu extends YW{get colorModel(){return qB}}customElements.define("hex-color-picker",class extends Eu{});var x2=ft(3398);At()(x2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),_t(Oa);var ke=ft(4157);At()(ke.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class im{constructor(c){this._components=new Map,this.editor=c}*names(){for(const c of this._components.values())yield c.originalName}add(c,u){this._components.set(Ui(c),{callback:u,originalName:c})}create(c){if(!this.has(c))throw new fe("componentfactory-item-missing",this,{name:c});return this._components.get(Ui(c)).callback(this.editor.locale)}has(c){return this._components.has(Ui(c))}}function Ui(g){return String(g).toLowerCase()}var k2=ft(8793);At()(k2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var np=Object.defineProperty,D2=Object.getOwnPropertySymbols,_k=Object.prototype.hasOwnProperty,QW=Object.prototype.propertyIsEnumerable,f0=(g,c,u)=>c in g?np(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,pn=(g,c)=>{for(var u in c||(c={}))_k.call(c,u)&&f0(g,u,c[u]);if(D2)for(var u of D2(c))QW.call(c,u)&&f0(g,u,c[u]);return g};const A2=wd("px"),I2=de.document.body,S2={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}},vk=class extends gi{constructor(g){super(g);const c=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",c.to("position",u=>`ck-balloon-panel_${u}`),c.if("isVisible","ck-balloon-panel_visible"),c.if("withArrow","ck-balloon-panel_with-arrow"),c.to("class")],style:{top:c.to("top",A2),left:c.to("left",A2)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(g){this.show();const c=vk.defaultPositions,u=Object.assign({},{element:this.element,positions:[c.southArrowNorth,c.southArrowNorthMiddleWest,c.southArrowNorthMiddleEast,c.southArrowNorthWest,c.southArrowNorthEast,c.northArrowSouth,c.northArrowSouthMiddleWest,c.northArrowSouthMiddleEast,c.northArrowSouthWest,c.northArrowSouthEast,c.viewportStickyNorth],limiter:I2,fitInViewport:!0},g),h=vk._getOptimalPosition(u)||S2,m=parseInt(h.left),_=parseInt(h.top),b=h.name,w=h.config||{},{withArrow:A=!0}=w;this.top=_,this.left=m,this.position=b,this.withArrow=A}pin(g){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(g):this._stopPinning()},this._startPinning(g),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(g){this.attachTo(g);const c=bk(g.target),u=g.limiter?bk(g.limiter):I2;this.listenTo(de.document,"scroll",(h,m)=>{const _=m.target,b=c&&_.contains(c),w=u&&_.contains(u);!b&&!w&&c&&u||this.attachTo(g)},{useCapture:!0}),this.listenTo(de.window,"resize",()=>{this.attachTo(g)})}_stopPinning(){this.stopListening(de.document,"scroll"),this.stopListening(de.window,"resize")}};let ua=vk;function bk(g){return vs(g)?g:by(g)?g.commonAncestorContainer:"function"==typeof g?bk(g()):null}function T2(g={}){const{sideOffset:c=ua.arrowSideOffset,heightOffset:u=ua.arrowHeightOffset,stickyVerticalOffset:h=ua.stickyVerticalOffset,config:m}=g;return{northWestArrowSouthWest:(w,A)=>pn({top:_(w,A),left:w.left-c,name:"arrow_sw"},m&&{config:m}),northWestArrowSouthMiddleWest:(w,A)=>pn({top:_(w,A),left:w.left-.25*A.width-c,name:"arrow_smw"},m&&{config:m}),northWestArrowSouth:(w,A)=>pn({top:_(w,A),left:w.left-A.width/2,name:"arrow_s"},m&&{config:m}),northWestArrowSouthMiddleEast:(w,A)=>pn({top:_(w,A),left:w.left-.75*A.width+c,name:"arrow_sme"},m&&{config:m}),northWestArrowSouthEast:(w,A)=>pn({top:_(w,A),left:w.left-A.width+c,name:"arrow_se"},m&&{config:m}),northArrowSouthWest:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-c,name:"arrow_sw"},m&&{config:m}),northArrowSouthMiddleWest:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-.25*A.width-c,name:"arrow_smw"},m&&{config:m}),northArrowSouth:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-A.width/2,name:"arrow_s"},m&&{config:m}),northArrowSouthMiddleEast:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-.75*A.width+c,name:"arrow_sme"},m&&{config:m}),northArrowSouthEast:(w,A)=>pn({top:_(w,A),left:w.left+w.width/2-A.width+c,name:"arrow_se"},m&&{config:m}),northEastArrowSouthWest:(w,A)=>pn({top:_(w,A),left:w.right-c,name:"arrow_sw"},m&&{config:m}),northEastArrowSouthMiddleWest:(w,A)=>pn({top:_(w,A),left:w.right-.25*A.width-c,name:"arrow_smw"},m&&{config:m}),northEastArrowSouth:(w,A)=>pn({top:_(w,A),left:w.right-A.width/2,name:"arrow_s"},m&&{config:m}),northEastArrowSouthMiddleEast:(w,A)=>pn({top:_(w,A),left:w.right-.75*A.width+c,name:"arrow_sme"},m&&{config:m}),northEastArrowSouthEast:(w,A)=>pn({top:_(w,A),left:w.right-A.width+c,name:"arrow_se"},m&&{config:m}),southWestArrowNorthWest:w=>pn({top:b(w),left:w.left-c,name:"arrow_nw"},m&&{config:m}),southWestArrowNorthMiddleWest:(w,A)=>pn({top:b(w),left:w.left-.25*A.width-c,name:"arrow_nmw"},m&&{config:m}),southWestArrowNorth:(w,A)=>pn({top:b(w),left:w.left-A.width/2,name:"arrow_n"},m&&{config:m}),southWestArrowNorthMiddleEast:(w,A)=>pn({top:b(w),left:w.left-.75*A.width+c,name:"arrow_nme"},m&&{config:m}),southWestArrowNorthEast:(w,A)=>pn({top:b(w),left:w.left-A.width+c,name:"arrow_ne"},m&&{config:m}),southArrowNorthWest:w=>pn({top:b(w),left:w.left+w.width/2-c,name:"arrow_nw"},m&&{config:m}),southArrowNorthMiddleWest:(w,A)=>pn({top:b(w),left:w.left+w.width/2-.25*A.width-c,name:"arrow_nmw"},m&&{config:m}),southArrowNorth:(w,A)=>pn({top:b(w),left:w.left+w.width/2-A.width/2,name:"arrow_n"},m&&{config:m}),southArrowNorthMiddleEast:(w,A)=>pn({top:b(w),left:w.left+w.width/2-.75*A.width+c,name:"arrow_nme"},m&&{config:m}),southArrowNorthEast:(w,A)=>pn({top:b(w),left:w.left+w.width/2-A.width+c,name:"arrow_ne"},m&&{config:m}),southEastArrowNorthWest:w=>pn({top:b(w),left:w.right-c,name:"arrow_nw"},m&&{config:m}),southEastArrowNorthMiddleWest:(w,A)=>pn({top:b(w),left:w.right-.25*A.width-c,name:"arrow_nmw"},m&&{config:m}),southEastArrowNorth:(w,A)=>pn({top:b(w),left:w.right-A.width/2,name:"arrow_n"},m&&{config:m}),southEastArrowNorthMiddleEast:(w,A)=>pn({top:b(w),left:w.right-.75*A.width+c,name:"arrow_nme"},m&&{config:m}),southEastArrowNorthEast:(w,A)=>pn({top:b(w),left:w.right-A.width+c,name:"arrow_ne"},m&&{config:m}),westArrowEast:(w,A)=>pn({top:w.top+w.height/2-A.height/2,left:w.left-A.width-u,name:"arrow_e"},m&&{config:m}),eastArrowWest:(w,A)=>pn({top:w.top+w.height/2-A.height/2,left:w.right+u,name:"arrow_w"},m&&{config:m}),viewportStickyNorth:(w,A,M,R)=>{const O=R||M;return w.getIntersection(O)?O.height-w.height>h?null:{top:O.top+h,left:w.left+w.width/2-A.width/2,name:"arrowless",config:pn({withArrow:!1},m)}:null}};function _(w,A){return w.top-A.height-u}function b(w){return w.bottom+u}}ua.arrowSideOffset=25,ua.arrowHeightOffset=10,ua.stickyVerticalOffset=20,ua._getOptimalPosition=Ot,ua.defaultPositions=T2();var QB=ft(3332);At()(QB.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const yk="ck-tooltip",Jt=class extends(Za()){constructor(g){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,Jt._editors.add(g),Jt._instance)return Jt._instance;Jt._instance=this,this.tooltipTextView=new gi(g.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 ua(g.locale),this.balloonPanelView.class=yk,this.balloonPanelView.content.add(this.tooltipTextView),this._pinTooltipDebounced=u_(this._pinTooltip,600),this.listenTo(de.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(de.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(de.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(de.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(de.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(g){const c=g.ui.view&&g.ui.view.body;Jt._editors.delete(g),this.stopListening(g.ui),c&&c.has(this.balloonPanelView)&&c.remove(this.balloonPanelView),Jt._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),Jt._instance=null)}static getPositioningFunctions(g){const c=Jt.defaultBalloonPositions;return{s:[c.southArrowNorth,c.southArrowNorthEast,c.southArrowNorthWest],n:[c.northArrowSouth],e:[c.eastArrowWest],w:[c.westArrowEast],sw:[c.southArrowNorthEast],se:[c.southArrowNorthWest]}[g]}_onEnterOrFocus(g,{target:c}){const u=M2(c);var h;u&&u!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(u,{text:(h=u).dataset.ckeTooltipText,position:h.dataset.ckeTooltipPosition||"s",cssClass:h.dataset.ckeTooltipClass||""}))}_onLeaveOrBlur(g,{target:c,relatedTarget:u}){if("mouseleave"===g.name){if(!vs(c)||this._currentElementWithTooltip&&c!==this._currentElementWithTooltip)return;const h=M2(c),m=M2(u);h&&h!==m&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&c!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(g,{target:c}){this._currentElementWithTooltip&&(c.contains(this.balloonPanelView.element)&&c.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(g,{text:c,position:u,cssClass:h}){const m=gr(Jt._editors.values()).ui.view.body;m.has(this.balloonPanelView)||m.add(this.balloonPanelView),this.tooltipTextView.text=c,this.balloonPanelView.pin({target:g,positions:Jt.getPositioningFunctions(u)}),this._resizeObserver=new Nc(g,()=>{Th(g)||this._unpinTooltip()}),this.balloonPanelView.class=[yk,h].filter(_=>_).join(" ");for(const _ of Jt._editors)this.listenTo(_.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=g,this._currentTooltipPosition=u}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const g of Jt._editors)this.stopListening(g.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy()}_updateTooltipPosition(){Th(this._currentElementWithTooltip)?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:Jt.getPositioningFunctions(this._currentTooltipPosition)}):this._unpinTooltip()}};let V_=Jt;function M2(g){return vs(g)?g.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}V_.defaultBalloonPositions=T2({heightOffset:5,sideOffset:13}),V_._editors=new Set,V_._instance=null;const nm=function(g,c,u){var h=!0,m=!0;if("function"!=typeof g)throw new TypeError("Expected a function");return qt(u)&&(h="leading"in u?!!u.leading:h,m="trailing"in u?!!u.trailing:m),u_(g,c,{leading:h,maxWait:c,trailing:m})};var Nl=Object.defineProperty,_0=Object.getOwnPropertySymbols,XB=Object.prototype.hasOwnProperty,XW=Object.prototype.propertyIsEnumerable,R2=(g,c,u)=>c in g?Nl(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class ZW extends(Za()){constructor(c){super(),this.editor=c,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=nm(this._showBalloon.bind(this),50,{leading:!0}),c.on("ready",this._handleEditorReady.bind(this))}destroy(){const c=this._balloonView;c&&(c.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const c=this.editor;(c.config.get("ui.poweredBy.forceVisible")||"VALID"!==function(u){function h(V){return V.length>=40&&V.length<=255?"VALID":"INVALID"}if(!u)return"INVALID";let m="";try{m=atob(u)}catch{return"INVALID"}const _=m.split("-"),b=_[0],w=_[1];if(!w)return h(u);try{atob(w)}catch{try{if(atob(b),!atob(b).length)return h(u)}catch{return h(u)}}if(b.length<40||b.length>255)return"INVALID";let A="";try{atob(b),A=atob(w)}catch{return"INVALID"}if(8!==A.length)return"INVALID";const M=Number(A.substring(0,4)),R=Number(A.substring(4,6))-1,O=Number(A.substring(6,8)),N=new Date(M,R,O);return N{this._updateLastFocusedEditableElement(),m?this._showBalloon():this._hideBalloon()}),c.ui.focusTracker.on("change:focusedElement",(u,h,m)=>{this._updateLastFocusedEditableElement(),m&&this._showBalloon()}),c.ui.on("update",()=>{this._showBalloonThrottled()}))}_createBalloonView(){const c=this.editor,u=this._balloonView=new ua,h=v0(c),m=new et(c.locale,h.label);u.content.add(m),u.set({class:"ck-powered-by-balloon"}),c.ui.view.body.add(u),c.ui.focusTracker.add(u.element),this._balloonView=u}_showBalloon(){if(!this._lastFocusedEditableElement)return;const c=function(u,h){const m=v0(u);var w;return{target:h,positions:["right"===m.side?O2(h,w=m,(A,M)=>A.left+A.width-M.width-w.horizontalOffset):function(b,w){return O2(b,w,A=>A.left+w.horizontalOffset)}(h,m)]}}(this.editor,this._lastFocusedEditableElement);c&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(c))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const c=this.editor,h=c.ui.focusTracker.focusedElement;if(!c.ui.focusTracker.isFocused||!h)return void(this._lastFocusedEditableElement=null);const m=Array.from(c.ui.getEditableElementsNames()).map(_=>c.ui.getEditableElement(_));this._lastFocusedEditableElement=m.includes(h)?h:m[0]}}class et extends gi{constructor(c,u){super(c);const h=new Qo,m=this.bindTemplate;h.set({content:'\n',isColorInherited:!1}),h.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:[...u?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[u]}]:[],h],on:{dragstart:m.to(_=>_.preventDefault())}}]})}}function O2(g,c,u){return(h,m)=>{const _=new un(g);if(_.width<350||_.height<50)return null;let b;b="inside"===c.position?_.bottom-m.height:_.bottom-m.height/2,b-=c.verticalOffset;const w=u(_,m),A=h.clone().moveTo(w,b).getIntersection(m.clone().moveTo(w,b)).getVisible();return!A||A.getArea(){for(var u in c||(c={}))XB.call(c,u)&&R2(g,u,c[u]);if(_0)for(var u of _0(c))XW.call(c,u)&&R2(g,u,c[u]);return g})({position:u,label:"Powered by",verticalOffset:"inside"===u?5:0,horizontalOffset:5,side:"ltr"===g.locale.contentLanguageDirection?"right":"left"},c)}var F2=ft(3210);At()(F2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class wk{constructor(c){this.editor=c}announce(c,u,h="polite"){const m=this.editor;this.view||(this.view=new N2(m.locale),m.ui.view.body.add(this.view));let _=this.view.regionViews.find(b=>b.regionName===c);_||(_=new L2(this.view.locale),this.view.regionViews.add(_)),_.set({regionName:c,text:u,politeness:h})}}class N2 extends gi{constructor(c){super(c),this.regionViews=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-aria-live-announcer"]},children:this.regionViews})}}class L2 extends gi{constructor(c){super(c);const u=this.bindTemplate;this.set("regionName",""),this.set("text",""),this.set("politeness","polite"),this.setTemplate({tag:"div",attributes:{role:"region","data-region":u.to("regionName"),"aria-live":u.to("politeness")},children:[{text:u.to("text")}]})}}var eV=Object.defineProperty,xk=Object.getOwnPropertySymbols,B2=Object.prototype.hasOwnProperty,tV=Object.prototype.propertyIsEnumerable,kk=(g,c,u)=>c in g?eV(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class Dk extends(_t()){constructor(c){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[];const u=c.editing.view;this.editor=c,this.componentFactory=new im(c),this.focusTracker=new Bo,this.tooltipManager=new V_(c),this.poweredBy=new ZW(c),this.ariaLiveAnnouncer=new wk(c),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",()=>{this.isReady=!0}),this.listenTo(u.document,"layoutChanged",this.update.bind(this)),this.listenTo(u,"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 c of this._editableElementsMap.values())c.ckeditorInstance=null,this.editor.keystrokes.stopListening(c);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(c,u){this._editableElementsMap.set(c,u),u.ckeditorInstance||(u.ckeditorInstance=this.editor),this.focusTracker.add(u);const h=()=>{this.editor.editing.view.getDomRoot(c)||this.editor.keystrokes.listenTo(u)};this.isReady?h():this.once("ready",h)}removeEditableElement(c){const u=this._editableElementsMap.get(c);u&&(this._editableElementsMap.delete(c),this.editor.keystrokes.stopListening(u),this.focusTracker.remove(u),u.ckeditorInstance=null)}getEditableElement(c="main"){return this._editableElementsMap.get(c)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(c,u={}){c.isRendered?(this.focusTracker.add(c.element),this.editor.keystrokes.listenTo(c.element)):c.once("render",()=>{this.focusTracker.add(c.element),this.editor.keystrokes.listenTo(c.element)}),this._focusableToolbarDefinitions.push({toolbarView:c,options:u})}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 c=this.editor,u=c.config.get("ui.viewportOffset");if(u)return u;const h=c.config.get("toolbar.viewportTopOffset");return h?(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:h}):{top:0}}_initFocusTracking(){const c=this.editor,u=c.editing.view;let h,m;c.keystrokes.set("Alt+F10",(_,b)=>{const w=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(w)&&!Array.from(u.domRoots.values()).includes(w)&&(h=w);const A=this._getCurrentFocusedToolbarDefinition();A&&m||(m=this._getFocusableCandidateToolbarDefinitions());for(let M=0;M{const w=this._getCurrentFocusedToolbarDefinition();w&&(h?(h.focus(),h=null):c.editing.view.focus(),w.options.afterBlur&&w.options.afterBlur(),b())})}_getFocusableCandidateToolbarDefinitions(){const c=[];for(const u of this._focusableToolbarDefinitions){const{toolbarView:h,options:m}=u;(Th(h.element)||m.beforeFocus)&&c.push(u)}return c.sort((u,h)=>Ak(u)-Ak(h)),c}_getCurrentFocusedToolbarDefinition(){for(const c of this._focusableToolbarDefinitions)if(c.toolbarView.element&&c.toolbarView.element.contains(this.focusTracker.focusedElement))return c;return null}_focusFocusableCandidateToolbar(c){const{toolbarView:u,options:{beforeFocus:h}}=c;return h&&h(),!!Th(u.element)&&(u.focus(),!0)}_handleScrollToTheSelection(c,u){const h=((m,_)=>{for(var b in _||(_={}))B2.call(_,b)&&kk(m,b,_[b]);if(xk)for(var b of xk(_))tV.call(_,b)&&kk(m,b,_[b]);return m})({top:0,bottom:0,left:0,right:0},this.viewportOffset);u.viewportOffset.top+=h.top,u.viewportOffset.bottom+=h.bottom,u.viewportOffset.left+=h.left,u.viewportOffset.right+=h.right}}function Ak(g){const{toolbarView:c,options:u}=g;let h=10;return Th(c.element)&&h--,u.isContextual&&h--,h}var op=ft(9688);At()(op.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class om extends gi{constructor(c){super(c),this.body=new Oh(c)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class iV extends om{constructor(c){super(c),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:c.uiLanguageDirection,lang:c.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 c=this.t,u=new ky;return u.text=c("Rich Text Editor"),u.extendTemplate({attributes:{class:"ck-voice-label"}}),u}}class nV extends gi{constructor(c,u,h){super(c),this.name=null,this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:c.contentLanguage,dir:c.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=h,this._hasExternalElement=!!this._editableElement,this._editingView=u}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 c=this._editingView;function u(h){c.change(m=>{const _=c.document.getRoot(h.name);m.addClass(h.isFocused?"ck-focused":"ck-blurred",_),m.removeClass(h.isFocused?"ck-blurred":"ck-focused",_)})}c.isRenderingInProgress?function h(m){c.once("change:isRenderingInProgress",(_,b,w)=>{w?h(m):u(m)})}(this):u(this)}}class V2 extends nV{constructor(c,u,h,m={}){super(c,u,h);const _=c.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=m.label||(()=>_("Editor editing area: %0",this.name))}render(){super.render();const c=this._editingView;c.change(u=>{const h=c.document.getRoot(this.name);u.setAttribute("aria-label",this._generateLabel(this),h)})}}var Ik=ft(8847);At()(Ik.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class rp extends Iy{static get pluginName(){return"Notification"}init(){this.on("show:warning",(c,u)=>{window.alert(u.message)},{priority:"lowest"})}showSuccess(c,u={}){this._showNotification({message:c,type:"success",namespace:u.namespace,title:u.title})}showInfo(c,u={}){this._showNotification({message:c,type:"info",namespace:u.namespace,title:u.title})}showWarning(c,u={}){this._showNotification({message:c,type:"warning",namespace:u.namespace,title:u.title})}_showNotification(c){this.fire(c.namespace?`show:${c.type}:${c.namespace}`:`show:${c.type}`,{message:c.message,type:c.type,title:c.title||""})}}class z_ extends(_t()){constructor(c,u){super(),u&&$h(this,u),c&&this.set(c)}}var Tk=ft(4650);At()(Tk.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var H2=ft(7676);At()(H2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const b0=wd("px");class y0 extends ht{constructor(c){super(c),this._viewToStack=new Map,this._idToStack=new Map,this._view=null,this._rotatorView=null,this._fakePanelsView=null,this.positionLimiter=()=>{const u=this.editor.editing.view,h=u.document.selection.editableElement;return h?u.domConverter.mapViewToDom(h.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(c){return Array.from(this._viewToStack.keys()).includes(c)}add(c){if(this._view||this._createPanelView(),this.hasView(c.view))throw new fe("contextualballoon-add-view-exist",[this,c]);const u=c.stackId||"main";if(!this._idToStack.has(u))return this._idToStack.set(u,new Map([[c.view,c]])),this._viewToStack.set(c.view,this._idToStack.get(u)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!c.singleViewMode||this.showStack(u));const h=this._idToStack.get(u);c.singleViewMode&&this.showStack(u),h.set(c.view,c),this._viewToStack.set(c.view,h),h===this._visibleStack&&this._showView(c)}remove(c){if(!this.hasView(c))throw new fe("contextualballoon-remove-view-not-exist",[this,c]);const u=this._viewToStack.get(c);this._singleViewMode&&this.visibleView===c&&(this._singleViewMode=!1),this.visibleView===c&&(1===u.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(u.values())[u.size-2])),1===u.size?(this._idToStack.delete(this._getStackId(u)),this._numberOfStacks=this._idToStack.size):u.delete(c),this._viewToStack.delete(c)}updatePosition(c){c&&(this._visibleStack.get(this.visibleView).position=c),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(c){this.visibleStack=c;const u=this._idToStack.get(c);if(!u)throw new fe("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==u&&this._showView(Array.from(u.values()).pop())}_createPanelView(){this._view=new ua(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(c){return Array.from(this._idToStack.entries()).find(u=>u[1]===c)[0]}_showNextStack(){const c=Array.from(this._idToStack.values());let u=c.indexOf(this._visibleStack)+1;c[u]||(u=0),this.showStack(this._getStackId(c[u]))}_showPrevStack(){const c=Array.from(this._idToStack.values());let u=c.indexOf(this._visibleStack)-1;c[u]||(u=c.length-1),this.showStack(this._getStackId(c[u]))}_createRotatorView(){const c=new G2(this.editor.locale),u=this.editor.locale.t;return this.view.content.add(c),c.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(h,m)=>!m&&h>1),c.on("change:isNavigationVisible",()=>this.updatePosition(),{priority:"low"}),c.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(h,m)=>{if(m<2)return"";const _=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return u("%0 of %1",[_,m])}),c.buttonNextView.on("execute",()=>{c.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()}),c.buttonPrevView.on("execute",()=>{c.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()}),c}_createFakePanelsView(){const c=new JW(this.editor.locale,this.view);return c.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(u,h)=>!h&&u>=2?Math.min(u-1,2):0),c.listenTo(this.view,"change:top",()=>c.updatePosition()),c.listenTo(this.view,"change:left",()=>c.updatePosition()),this.editor.ui.view.body.add(c),c}_showView({view:c,balloonClassName:u="",withArrow:h=!0,singleViewMode:m=!1}){this.view.class=u,this.view.withArrow=h,this._rotatorView.showView(c),this.visibleView=c,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),m&&(this._singleViewMode=!0)}_getBalloonPosition(){let c=Array.from(this._visibleStack.values()).pop().position;return c&&(c.limiter||(c=Object.assign({},c,{limiter:this.positionLimiter})),c=Object.assign({},c,{viewportOffsetConfig:this.editor.ui.viewportOffset})),c}}class G2 extends gi{constructor(c){super(c);const u=c.t,h=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new Bo,this.buttonPrevView=this._createButtonView(u("Previous"),''),this.buttonNextView=this._createButtonView(u("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",h.to("isNavigationVisible",m=>m?"":"ck-hidden")]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:h.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(c){this.hideView(),this.content.add(c)}hideView(){this.content.clear()}_createButtonView(c,u){const h=new Hn(this.locale);return h.set({label:c,icon:u,tooltip:!0}),h}}class JW extends gi{constructor(c,u){super(c);const h=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=u,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",h.to("numberOfPanels",m=>m?"":"ck-hidden")],style:{top:h.to("top",b0),left:h.to("left",b0),width:h.to("width",b0),height:h.to("height",b0)}},children:this.content}),this.on("change:numberOfPanels",(m,_,b,w)=>{b>w?this._addPanels(b-w):this._removePanels(w-b),this.updatePosition()})}_addPanels(c){for(;c--;){const u=new gi;u.setTemplate({tag:"div"}),this.content.add(u),this.registerChild(u)}}_removePanels(c){for(;c--;){const u=this.content.last;this.content.remove(u),this.deregisterChild(u),u.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:c,left:u}=this._balloonPanelView,{width:h,height:m}=new un(this._balloonPanelView.element);Object.assign(this,{top:c,left:u,width:h,height:m})}}}var j2=ft(5868);At()(j2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const H_=wd("px");class $2 extends gi{constructor(c){super(c);const u=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 rc({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:u.to("isSticky",h=>h?"block":"none"),height:u.to("isSticky",h=>h?H_(this._contentPanelRect.height):null)}}}).render(),this._contentPanel=new rc({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",u.if("isSticky","ck-sticky-panel__content_sticky"),u.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:u.to("isSticky",h=>h?H_(this._contentPanelPlaceholder.getBoundingClientRect().width):null),top:u.to("_stickyTopOffset",h=>h&&H_(h)),bottom:u.to("_stickyBottomOffset",h=>h&&H_(h)),marginLeft:u.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(de.document,"scroll",()=>{this.checkIfShouldBeSticky()},{useCapture:!0}),this.listenTo(this,"change:isActive",()=>{this.checkIfShouldBeSticky()})}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();const c=new un(this.limiterElement);let u=c.getVisible();if(u){const h=new un(de.window);h.top+=this.viewportTopOffset,h.height-=this.viewportTopOffset,u=u.getIntersection(h)}if(u&&c.topu.bottom){const m=Math.max(c.bottom-u.bottom,0)+this.limiterBottomOffset;c.bottom-m>c.top+this._contentPanelRect.height?this._stickToBottomOfLimiter(m):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset{this.reset(),this.focus(),this.fire("reset")}),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",_=>!_),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 tq extends gi{constructor(){super();const c=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",c.if("isVisible","ck-hidden",u=>!u)],tabindex:-1},children:[{tag:"span",children:[{text:[c.to("primaryText")]}]},{tag:"span",children:[{text:[c.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class C0 extends gi{constructor(c){super(c),this.children=this.createCollection(),this.focusTracker=new Bo,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new Ad({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const c of this.children)this.focusTracker.add(c.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}var Ek=/[\\^$.*+?()[\]{}|]/g,W2=RegExp(Ek.source);const q2=function(g){return(g=p1(g))&&W2.test(g)?g.replace(Ek,"\\$&"):g};var Mk=ft(6770);At()(Mk.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var wi=Object.defineProperty,y=Object.getOwnPropertySymbols,Y2=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,uc=(g,c,u)=>c in g?wi(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class rV extends gi{constructor(c,u){super(c),this._config=u,this.filteredView=u.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new Bo,this.keystrokes=new ea,this.resultsView=new C0(c),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),u.infoView&&u.infoView.instance?this.infoView=u.infoView.instance:(this.infoView=new tq,this._enableDefaultInfoViewBehavior(),this.on("render",()=>{this.search("")})),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new Ad({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",(h,{resultsCount:m,totalItemsCount:_})=>{this.resultsCount=m,this.totalItemsCount=_}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",u.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const c=u=>u.stopPropagation();for(const u of this.focusableChildren)this.focusTracker.add(u.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",c),this.keystrokes.set("arrowleft",c),this.keystrokes.set("arrowup",c),this.keystrokes.set("arrowdown",c)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search("")}search(c){const u=c?new RegExp(q2(c),"ig"):null,h=this.filteredView.filter(u);this.fire("search",((m,_)=>{for(var b in _||(_={}))Y2.call(_,b)&&uc(m,b,_[b]);if(y)for(var b of y(_))T.call(_,b)&&uc(m,b,_[b]);return m})({query:c},h))}_createSearchTextQueryView(){const c=new U2(this.locale,this._config.queryView);return this.listenTo(c.fieldView,"input",()=>{this.search(c.fieldView.element.value)}),c.on("reset",()=>this.reset()),c.bind("isEnabled").to(this),c}_enableDefaultInfoViewBehavior(){const c=this.locale.t,u=this.infoView;function h(m,{query:_,resultsCount:b,totalItemsCount:w}){return"function"==typeof m?m(_,b,w):m}this.on("search",(m,_)=>{if(_.resultsCount)u.set({isVisible:!1});else{const b=this._config.infoView&&this._config.infoView.text;let w,A;_.totalItemsCount?b&&b.notFound?(w=b.notFound.primary,A=b.notFound.secondary):(w=c("No results found"),A=""):b&&b.noSearchableItems?(w=b.noSearchableItems.primary,A=b.noSearchableItems.secondary):(w=c("No searchable items"),A=""),u.set({primaryText:h(w,_),secondaryText:h(A,_),isVisible:!0})}})}}var G_=ft(8157);At()(G_.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const j_=class extends rV{constructor(g,c){super(g,c),this._config=c;const u=wd("px");this.extendTemplate({attributes:{class:["ck-autocomplete"]}});const h=this.resultsView.bindTemplate;this.resultsView.set("isVisible",!1),this.resultsView.set("_position","s"),this.resultsView.set("_width",0),this.resultsView.extendTemplate({attributes:{class:[h.if("isVisible","ck-hidden",m=>!m),h.to("_position",m=>`ck-search__results_${m}`)],style:{width:h.to("_width",u)}}}),this.focusTracker.on("change:isFocused",(m,_,b)=>{this._updateResultsVisibility(),b?this.resultsView.element.scrollTop=0:c.resetOnBlur&&this.queryView.reset()}),this.on("search",()=>{this._updateResultsVisibility(),this._updateResultsViewWidthAndPosition()}),this.keystrokes.set("esc",(m,_)=>{this.resultsView.isVisible&&(this.queryView.focus(),this.resultsView.isVisible=!1,_())}),this.listenTo(de.document,"scroll",()=>{this._updateResultsViewWidthAndPosition()}),this.on("change:isEnabled",()=>{this._updateResultsVisibility()}),this.filteredView.on("execute",(m,{value:_})=>{this.focus(),this.reset(),this.queryView.fieldView.value=this.queryView.fieldView.element.value=_,this.resultsView.isVisible=!1}),this.resultsView.on("change:isVisible",()=>{this._updateResultsViewWidthAndPosition()})}_updateResultsViewWidthAndPosition(){if(!this.resultsView.isVisible)return;this.resultsView._width=new un(this.queryView.fieldView.element).width;const g=j_._getOptimalPosition({element:this.resultsView.element,target:this.queryView.element,fitInViewport:!0,positions:j_.defaultResultsPositions});this.resultsView._position=g?g.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 sm=j_;sm.defaultResultsPositions=[g=>({top:g.bottom,left:g.left,name:"s"}),(g,c)=>({top:g.top-c.height,left:g.left,name:"n"})],sm._getOptimalPosition=Ot;var Rk=ft(8960);At()(Rk.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var w0=ft(8010);At()(w0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Q2 extends gi{constructor(c,u){super(c);const h=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid",void 0),u&&this.children.addMany(u),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",h.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:h.if("isCollapsed","hidden"),"aria-labelledby":h.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}focus(){this.buttonView.focus()}_createButtonView(){const c=new Hn(this.locale),u=c.bindTemplate;return c.set({withText:!0,icon:BT}),c.extendTemplate({attributes:{"aria-expanded":u.to("isOn",h=>String(h))}}),c.bind("label").to(this),c.bind("isOn").to(this,"isCollapsed",h=>!h),c.on("execute",()=>{this.isCollapsed=!this.isCollapsed}),c}}var x0=ft(498);At()(x0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),wd("px");var X2=ft(9695);At()(X2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),wd("px"),wd("px");class Z2 extends Dk{constructor(c,u){super(c),this.view=u,this._toolbarConfig=RL(c.config.get("toolbar")),this._elementReplacer=new Ub,this.listenTo(c.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(c){const h=this.view,m=this.editor.editing.view,_=h.editable,b=m.document.getRoot();_.name=b.rootName,h.render();const w=_.element;this.setEditableElement(_.name,w),h.editable.bind("isFocused").to(this.focusTracker),m.attachDomRoot(w),c&&this._elementReplacer.replace(c,this.element),this._initPlaceholder(),this._initToolbar(),this.fire("ready")}destroy(){super.destroy();const c=this.view,u=this.editor.editing.view;this._elementReplacer.restore(),u.detachDomRoot(c.editable.name),c.destroy()}_initToolbar(){const c=this.view;c.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),c.stickyPanel.limiterElement=c.element,c.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",({top:u})=>u||0),c.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(c.toolbar)}_initPlaceholder(){const c=this.editor,u=c.editing.view,h=u.document.getRoot(),m=c.sourceElement;let _;const b=c.config.get("placeholder");b&&(_="string"==typeof b?b:b[this.view.editable.name]),!_&&m&&"textarea"===m.tagName.toLowerCase()&&(_=m.getAttribute("placeholder")),_&&(h.placeholder=_),po({view:u,element:h,isDirectHost:!1,keepOnFocus:!0})}_handleScrollToTheSelectionWithStickyPanel(c,u,h){const m=this.view.stickyPanel;if(m.isSticky){const _=new un(m.element).height;u.viewportOffset.top+=_}else{const _=()=>{this.editor.editing.view.scrollToTheSelection(h)};this.listenTo(m,"change:isSticky",_),setTimeout(()=>{this.stopListening(m,"change:isSticky",_)},20)}}}var J2=ft(3143);At()(J2.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class cV extends iV{constructor(c,u,h={}){super(c),this.stickyPanel=new $2(c),this.toolbar=new Tu(c,{shouldGroupWhenFull:h.shouldToolbarGroupWhenFull}),this.editable=new V2(c,u)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}class eM{constructor(c){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof c.crashNumberLimit?c.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof c.minimumNonErrorTimePeriod?c.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=u=>{const h="error"in u?u.error:u.reason;h instanceof Error&&this._handleError(h,u)},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(c,u){this._listeners[c]||(this._listeners[c]=[]),this._listeners[c].push(u)}off(c,u){this._listeners[c]=this._listeners[c].filter(h=>h!==u)}_fire(c,...u){const h=this._listeners[c]||[];for(const m of h)m.apply(this,[null,...u])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(c,u){if(this._shouldReactToError(c)){this.crashes.push({message:c.message,stack:c.stack,filename:u instanceof ErrorEvent?u.filename:void 0,lineno:u instanceof ErrorEvent?u.lineno:void 0,colno:u instanceof ErrorEvent?u.colno:void 0,date:this._now()});const h=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:c,causesRestart:h}),h?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(c){return c.is&&c.is("CKEditorError")&&null!=c.context&&"ready"===this.state&&this._isErrorComingFromThisItem(c)}_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 k0(g,c=new Set){const u=[g],h=new Set;let m=0;for(;u.length>m;){const _=u[m++];if(!h.has(_)&&tM(_)&&!c.has(_))if(h.add(_),Symbol.iterator in _)try{for(const b of _)u.push(b)}catch{}else for(const b in _)"defaultValue"!==b&&u.push(_[b])}return h}function tM(g){const c=Object.prototype.toString.call(g),u=typeof g;return!("number"===u||"boolean"===u||"string"===u||"symbol"===u||"function"===u||"[object Date]"===c||"[object RegExp]"===c||"[object Module]"===c||null==g||g._watchdogExcluded||g instanceof EventTarget||g instanceof Event)}function iM(g,c,u=new Set){if(g===c&&"object"==typeof(h=g)&&null!==h)return!0;var h;const m=k0(g,u),_=k0(c,u);for(const b of m)if(_.has(b))return!0;return!1}var dV=Object.defineProperty,ol=Object.defineProperties,uV=Object.getOwnPropertyDescriptors,D0=Object.getOwnPropertySymbols,hV=Object.prototype.hasOwnProperty,A0=Object.prototype.propertyIsEnumerable,Fk=(g,c,u)=>c in g?dV(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Nk=(g,c)=>{for(var u in c||(c={}))hV.call(c,u)&&Fk(g,u,c[u]);if(D0)for(var u of D0(c))A0.call(c,u)&&Fk(g,u,c[u]);return g};class nM extends eM{constructor(c,u={}){super(u),this._editor=null,this._initUsingData=!0,this._editables={},this._throttledSave=nm(this._save.bind(this),"number"==typeof u.saveInterval?u.saveInterval:5e3),c&&(this._creator=(h,m)=>c.create(h,m)),this._destructor=h=>h.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(c){this._creator=c}setDestructor(c){this._destructor=c}_restart(){return Promise.resolve().then(()=>(this.state="initializing",this._fire("stateChange"),this._destroy())).catch(c=>{console.error("An error happened during the editor destroying.",c)}).then(()=>{const c={},u=[],h=this._config.rootsAttributes||{},m={};for(const[A,M]of Object.entries(this._data.roots))M.isLoaded?(c[A]="",m[A]=h[A]||{}):u.push(A);const _=(b=Nk({},this._config),ol(b,uV({extraPlugins:this._config.extraPlugins||[],lazyRoots:u,rootsAttributes:m,_watchdogInitialData:this._data})));var b;return delete _.initialData,_.extraPlugins.push(pV),this._initUsingData?this.create(c,_,_.context):vs(this._elementOrData)?this.create(this._elementOrData,_,_.context):this.create(this._editables,_,_.context)}).then(()=>{this._fire("restart")})}create(c=this._elementOrData,u=this._config,h){return Promise.resolve().then(()=>(super._startErrorHandling(),this._elementOrData=c,this._initUsingData="string"==typeof c||Object.keys(c).length>0&&"string"==typeof Object.values(c)[0],this._config=this._cloneEditorConfiguration(u)||{},this._config.context=h,this._creator(c,this._config))).then(m=>{this._editor=m,m.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=m.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 c=this._editor;return this._editor=null,c.model.document.off("change:data",this._throttledSave),this._destructor(c)})}_save(){const c=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=c}catch(u){console.error(u,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(c){this._excludedProps=c}_getData(){const c=this._editor,u=c.model.document.roots.filter(w=>w.isAttached()&&"$graveyard"!=w.rootName),{plugins:h}=c,m=h.has("CommentsRepository")&&h.get("CommentsRepository"),_=h.has("TrackChanges")&&h.get("TrackChanges"),b={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};u.forEach(w=>{b.roots[w.rootName]={content:JSON.stringify(Array.from(w.getChildren())),attributes:JSON.stringify(Array.from(w.getAttributes())),isLoaded:w._isLoaded}});for(const w of c.model.markers)w._affectsData&&(b.markers[w.name]={rangeJSON:w.getRange().toJSON(),usingOperation:w._managedUsingOperations,affectsData:w._affectsData});return m&&(b.commentThreads=JSON.stringify(m.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),_&&(b.suggestions=JSON.stringify(_.getSuggestions({toJSON:!0,skipNotAttached:!0}))),b}_getEditables(){const c={};for(const u of this.editor.model.document.getRootNames()){const h=this.editor.ui.getEditableElement(u);h&&(c[u]=h)}return c}_isErrorComingFromThisItem(c){return iM(this._editor,c.context,this._excludedProps)}_cloneEditorConfiguration(c){return jx(c,(u,h)=>vs(u)||"context"===h?u:void 0)}}class pV{constructor(c){this.editor=c,this._data=c.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",c=>{c.stop(),this.editor.model.enqueueChange({isUndoable:!1},u=>{this._restoreCollaborationData(),this._restoreEditorData(u)}),this.editor.data.fire("ready")},{priority:999})}_createNode(c,u){if("name"in u){const h=c.createElement(u.name,u.attributes);if(u.children)for(const m of u.children)h._appendChild(this._createNode(c,m));return h}return c.createText(u.data,u.attributes)}_restoreEditorData(c){const u=this.editor;Object.entries(this._data.roots).forEach(([h,{content:m,attributes:_}])=>{const b=JSON.parse(m),w=JSON.parse(_),A=u.model.document.getRoot(h);for(const[M,R]of w)c.setAttribute(M,R,A);for(const M of b){const R=this._createNode(c,M);c.insert(R,A,"end")}}),Object.entries(this._data.markers).forEach(([h,m])=>{const{document:_}=u.model,b=m,{rangeJSON:{start:w,end:A}}=b,M=((W,Y)=>{var ne={};for(var he in W)hV.call(W,he)&&Y.indexOf(he)<0&&(ne[he]=W[he]);if(null!=W&&D0)for(var he of D0(W))Y.indexOf(he)<0&&A0.call(W,he)&&(ne[he]=W[he]);return ne})(b,["rangeJSON"]),R=_.getRoot(w.root),O=c.createPositionFromPath(R,w.path,w.stickiness),N=c.createPositionFromPath(R,A.path,A.stickiness),V=c.createRange(O,N);c.addMarker(h,Nk({range:V},M))})}_restoreCollaborationData(){const c=JSON.parse(this._data.commentThreads),u=JSON.parse(this._data.suggestions);c.forEach(h=>{const m=this.editor.config.get("collaboration.channelId"),_=this.editor.plugins.get("CommentsRepository");_.hasCommentThread(h.threadId)&&_.getCommentThread(h.threadId).remove(),_.addCommentThread(Nk({channelId:m},h))}),u.forEach(h=>{const m=this.editor.plugins.get("TrackChangesEditing");m.hasSuggestion(h.id)?m.getSuggestion(h.id).attributes=h.attributes:m.addSuggestionData(h)})}}const am=Symbol("MainQueueId");class gV{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(c){this._onEmptyCallbacks.push(c)}enqueue(c,u){const h=c===am;this._activeActions++,this._queues.get(c)||this._queues.set(c,Promise.resolve());const m=Promise.all(h?this._queues.values():[this._queues.get(am),this._queues.get(c)]).then(u),_=m.catch(()=>{});return this._queues.set(c,_),m.finally(()=>{this._activeActions--,this._queues.get(c)===_&&0===this._activeActions&&this._onEmptyCallbacks.forEach(b=>b())})}}function oM(g){return Array.isArray(g)?g:[g]}class lm extends(Yg(Qg(LB))){constructor(c,u={}){if(!I0(c)&&void 0!==u.initialData)throw new fe("editor-create-initial-data",null);var _,b;super(u),void 0===this.config.get("initialData")&&this.config.set("initialData",I0(_=c)?(b=_)instanceof HTMLTextAreaElement?b.value:b.innerHTML:_),I0(c)&&(this.sourceElement=c),this.model.document.createRoot();const h=!this.config.get("toolbar.shouldNotGroupWhenFull"),m=new cV(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:h});this.ui=new Z2(this,m),function(_){if(!Zr(_.updateSourceElement))throw new fe("attachtoform-missing-elementapi-interface",_);const b=_.sourceElement;if((w=b)&&"textarea"===w.tagName.toLowerCase()&&b.form){let w;const A=b.form,M=()=>_.updateSourceElement();Zr(A.submit)&&(w=A.submit,A.submit=()=>{M(),w.apply(A)}),A.addEventListener("submit",M),_.on("destroy",()=>{A.removeEventListener("submit",M),w&&(A.submit=w)})}var w}(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(c,u={}){return new Promise(h=>{const m=new this(c,u);h(m.initPlugins().then(()=>m.ui.init(I0(c)?c:null)).then(()=>m.data.init(m.config.get("initialData"))).then(()=>m.fire("ready")).then(()=>m))})}}function I0(g){return vs(g)}lm.Context=l1,lm.EditorWatchdog=nM,lm.ContextWatchdog=class extends eM{constructor(g,c={}){super(c),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new gV,this._watchdogConfig=c,this._creator=u=>g.create(u),this._destructor=u=>u.destroy(),this._actionQueues.onEmpty(()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))})}setCreator(g){this._creator=g}setDestructor(g){this._destructor=g}get context(){return this._context}create(g={}){return this._actionQueues.enqueue(am,()=>(this._contextConfig=g,this._create()))}getItem(g){return this._getWatchdog(g)._item}getItemState(g){return this._getWatchdog(g).state}add(g){const c=oM(g);return Promise.all(c.map(u=>this._actionQueues.enqueue(u.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 h;if(this._watchdogs.has(u.id))throw new Error(`Item with the given id is already added: '${u.id}'.`);if("editor"===u.type)return h=new nM(null,this._watchdogConfig),h.setCreator(u.creator),h._setExcludedProperties(this._contextProps),u.destructor&&h.setDestructor(u.destructor),this._watchdogs.set(u.id,h),h.on("error",(m,{error:_,causesRestart:b})=>{this._fire("itemError",{itemId:u.id,error:_}),b&&this._actionQueues.enqueue(u.id,()=>new Promise(w=>{const A=()=>{h.off("restart",A),this._fire("itemRestart",{itemId:u.id}),w()};h.on("restart",A)}))}),h.create(u.sourceElementOrData,u.config,this._context);throw new Error(`Not supported item type: '${u.type}'.`)})))}remove(g){const c=oM(g);return Promise.all(c.map(u=>this._actionQueues.enqueue(u,()=>{const h=this._getWatchdog(u);return this._watchdogs.delete(u),h.destroy()})))}destroy(){return this._actionQueues.enqueue(am,()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_restart(){return this._actionQueues.enqueue(am,()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch(g=>{console.error("An error happened during destroying the context or items.",g)}).then(()=>this._create()).then(()=>this._fire("restart"))))}_create(){return Promise.resolve().then(()=>(this._startErrorHandling(),this._creator(this._contextConfig))).then(g=>(this._context=g,this._contextProps=k0(this._context),Promise.all(Array.from(this._watchdogs.values()).map(c=>(c._setExcludedProperties(this._contextProps),c.create(void 0,void 0,this._context))))))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling();const g=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map(c=>c.destroy())).then(()=>this._destructor(g))})}_getWatchdog(g){const c=this._watchdogs.get(g);if(!c)throw new Error(`Item with the given id was not registered: ${g}.`);return c}_isErrorComingFromThisItem(g){for(const c of this._watchdogs.values())if(c._isErrorComingFromThisItem(g))return!1;return iM(this._context,g.context)}};class $_ extends Hc{constructor(c){super(c),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const u=this.document;function h(m){return(_,b)=>{b.preventDefault();const w=b.dropRange?[b.dropRange]:null,A=new dt(u,m);u.fire(A,{dataTransfer:b.dataTransfer,method:_.name,targetRanges:w,target:b.target,domEvent:b.domEvent}),A.stop.called&&b.stopPropagation()}}this.listenTo(u,"paste",h("clipboardInput"),{priority:"low"}),this.listenTo(u,"drop",h("clipboardInput"),{priority:"low"}),this.listenTo(u,"dragover",h("dragging"),{priority:"low"})}onDomEvent(c){const m={dataTransfer:new Ml("clipboardData"in c?c.clipboardData:c.dataTransfer,{cacheFiles:"drop"==c.type||"paste"==c.type})};"drop"!=c.type&&"dragover"!=c.type||(m.dropRange=function(_,b){const w=b.target.ownerDocument,A=b.clientX,M=b.clientY;let R;return w.caretRangeFromPoint&&w.caretRangeFromPoint(A,M)?R=w.caretRangeFromPoint(A,M):b.rangeParent&&(R=w.createRange(),R.setStart(b.rangeParent,b.rangeOffset),R.collapse(!0)),R?_.domConverter.domRangeToView(R):null}(this.view,c)),this.fire(c.type,c,m)}}const rM=["figcaption","li"],sM=["ol","ul"];function aM(g){if(g.is("$text")||g.is("$textProxy"))return g.data;if(g.is("element","img")&&g.hasAttribute("alt"))return g.getAttribute("alt");if(g.is("element","br"))return"\n";let c="",u=null;for(const h of g.getChildren())c+=Uc(h,u)+aM(h),u=h;return c}function Uc(g,c){return c?g.is("element","li")&&!g.isEmpty&&g.getChild(0).is("containerElement")||sM.includes(g.name)&&sM.includes(c.name)?"\n\n":g.is("containerElement")||c.is("containerElement")?rM.includes(g.name)||rM.includes(c.name)?"\n":"\n\n":"":""}class Ll extends ht{static get pluginName(){return"ClipboardPipeline"}init(){this.editor.editing.view.addObserver($_),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(c,u,h){const m=this.editor.model.getSelectedContent(u);this.fire("outputTransformation",{dataTransfer:c,content:m,method:h})}_setupPasteDrop(){const c=this.editor,u=c.model,h=c.editing.view,m=h.document;this.listenTo(m,"clipboardInput",(_,b)=>{"paste"!=b.method||c.model.canEditAt(c.model.document.selection)||_.stop()},{priority:"highest"}),this.listenTo(m,"clipboardInput",(_,b)=>{const w=b.dataTransfer;let A;if(b.content)A=b.content;else{let O="";w.getData("text/html")?O=w.getData("text/html").replace(/(\s+)<\/span>/g,(V,W)=>1==W.length?" ":W).replace(//g,""):w.getData("text/plain")&&(((M=(M=w.getData("text/plain")).replace(/&/g,"&").replace(//g,">").replace(/\r?\n\r?\n/g,"

").replace(/\r?\n/g,"
").replace(/\t/g,"    ").replace(/^\s/," ").replace(/\s$/," ").replace(/\s\s/g,"  ")).includes("

")||M.includes("
"))&&(M=`

${M}

`),O=M),A=this.editor.data.htmlProcessor.toView(O)}var M;const R=new dt(this,"inputTransformation");this.fire(R,{content:A,dataTransfer:w,targetRanges:b.targetRanges,method:b.method}),R.stop.called&&_.stop(),h.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(_,b)=>{if(b.content.isEmpty)return;const w=this.editor.data.toModel(b.content,"$clipboardHolder");0!=w.childCount&&(_.stop(),u.change(()=>{this.fire("contentInsertion",{content:w,method:b.method,dataTransfer:b.dataTransfer,targetRanges:b.targetRanges})}))},{priority:"low"}),this.listenTo(this,"contentInsertion",(_,b)=>{b.resultRange=u.insertContent(b.content)},{priority:"low"})}_setupCopyCut(){const c=this.editor,u=c.model.document,h=c.editing.view.document,m=(_,b)=>{const w=b.dataTransfer;b.preventDefault(),this._fireOutputTransformationEvent(w,u.selection,_.name)};this.listenTo(h,"copy",m,{priority:"low"}),this.listenTo(h,"cut",(_,b)=>{c.model.canEditAt(c.model.document.selection)?m(_,b):b.preventDefault()},{priority:"low"}),this.listenTo(this,"outputTransformation",(_,b)=>{const w=c.data.toView(b.content);h.fire("clipboardOutput",{dataTransfer:b.dataTransfer,content:w,method:b.method})},{priority:"low"}),this.listenTo(h,"clipboardOutput",(_,b)=>{b.content.isEmpty||(b.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(b.content)),b.dataTransfer.setData("text/plain",aM(b.content))),"cut"==b.method&&c.model.deleteContent(u.selection)},{priority:"low"})}}class lM{constructor(c,u=20){this._batch=null,this.model=c,this._size=0,this.limit=u,this._isLocked=!1,this._changeCallback=(h,m)=>{m.isLocal&&m.isUndoable&&m!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(c){this._size+=c,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(c=!1){this.isLocked&&!c||(this._batch=null,this._size=0)}}class cM extends Bi{constructor(c,u){super(c),this._buffer=new lM(c.model,u),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(c={}){const u=this.editor.model,h=u.document,m=c.text||"",_=m.length;let b=h.selection;if(c.selection?b=c.selection:c.range&&(b=u.createSelection(c.range)),!u.canEditAt(b))return;const w=c.resultRange;u.enqueueChange(this._buffer.batch,A=>{this._buffer.lock();const M=Array.from(h.selection.getAttributes());u.deleteContent(b),m&&u.insertContent(A.createText(m,M),b),w?A.setSelection(w):b.is("documentSelection")||A.setSelection(b),this._buffer.unlock(),this._buffer.input(_)})}}const dM=["insertText","insertReplacementText"];class uM extends la{constructor(c){super(c),this.focusObserver=c.getObserver(g_),ae.isAndroid&&dM.push("insertCompositionText");const u=c.document;u.on("beforeinput",(h,m)=>{if(!this.isEnabled)return;const{data:_,targetRanges:b,inputType:w,domEvent:A}=m;if(!dM.includes(w))return;this.focusObserver.flush();const M=new dt(u,"insertText");u.fire(M,new Uh(c,A,{text:_,selection:c.createSelection(b)})),M.stop.called&&h.stop()}),u.on("compositionend",(h,{data:m,domEvent:_})=>{this.isEnabled&&!ae.isAndroid&&m&&u.fire("insertText",new Uh(c,_,{text:m,selection:u.selection}))},{priority:"lowest"})}observe(){}stopObserving(){}}class Lk extends ht{static get pluginName(){return"Input"}init(){const c=this.editor,u=c.model,h=c.editing.view,m=u.document.selection;h.addObserver(uM);const _=new cM(c,c.config.get("typing.undoStep")||20);c.commands.add("insertText",_),c.commands.add("input",_),this.listenTo(h.document,"insertText",(b,w)=>{h.document.isComposing||w.preventDefault();const{text:A,selection:M,resultRange:R}=w,O=Array.from(M.getRanges()).map(W=>c.editing.mapper.toModelRange(W));let N=A;if(ae.isAndroid){const W=Array.from(O[0].getItems()).reduce((Y,ne)=>Y+(ne.is("$textProxy")?ne.data:""),"");W&&(W.length<=N.length?N.startsWith(W)&&(N=N.substring(W.length),O[0].start=O[0].start.getShiftedBy(W.length)):W.startsWith(N)&&(O[0].start=O[0].start.getShiftedBy(N.length),N=""))}const V={text:N,selection:u.createSelection(O)};R&&(V.resultRange=c.editing.mapper.toModelRange(R)),c.execute("insertText",V),h.scrollToTheSelection()}),ae.isAndroid?this.listenTo(h.document,"keydown",(b,w)=>{!m.isCollapsed&&229==w.keyCode&&h.document.isComposing&&U_(u,_)}):this.listenTo(h.document,"compositionstart",()=>{m.isCollapsed||U_(u,_)})}}function U_(g,c){if(!c.isEnabled)return;const u=c.buffer;u.lock(),g.enqueueChange(u.batch,()=>{g.deleteContent(g.document.selection)}),u.unlock()}class S0 extends Bi{constructor(c,u){super(c),this.direction=u,this._buffer=new lM(c.model,c.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(c={}){const u=this.editor.model,h=u.document;u.enqueueChange(this._buffer.batch,m=>{this._buffer.lock();const _=m.createSelection(c.selection||h.selection);if(!u.canEditAt(_))return;const b=c.sequence||1,w=_.isCollapsed;if(_.isCollapsed&&u.modifySelection(_,{direction:this.direction,unit:c.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(b))return void this._replaceEntireContentWithParagraph(m);if(this._shouldReplaceFirstBlockWithParagraph(_,b))return void this.editor.execute("paragraph",{selection:_});if(_.isCollapsed)return;let A=0;_.getFirstRange().getMinimalFlatRanges().forEach(M=>{A+=bh(M.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))}),u.deleteContent(_,{doNotResetEntireContent:w,direction:this.direction}),this._buffer.input(A),m.setSelection(_),this._buffer.unlock()})}_shouldEntireContentBeReplacedWithParagraph(c){if(c>1)return!1;const u=this.editor.model,h=u.document.selection,m=u.schema.getLimitElement(h);if(!h.isCollapsed||!h.containsEntireContent(m)||!u.schema.checkChild(m,"paragraph"))return!1;const _=m.getChild(0);return!_||!_.is("element","paragraph")}_replaceEntireContentWithParagraph(c){const u=this.editor.model,m=u.schema.getLimitElement(u.document.selection),_=c.createElement("paragraph");c.remove(c.createRangeIn(m)),c.insert(_,m),c.setSelection(_,0)}_shouldReplaceFirstBlockWithParagraph(c,u){const h=this.editor.model;if(u>1||"backward"!=this.direction||!c.isCollapsed)return!1;const m=c.getFirstPosition(),_=h.schema.getLimitElement(m),b=_.getChild(0);return m.parent==b&&!!c.containsEntireContent(b)&&!!h.schema.checkChild(_,"paragraph")&&"paragraph"!=b.name}}const zd="selection",sp="backward",cm="forward",Bk={deleteContent:{unit:zd,direction:sp},deleteContentBackward:{unit:"codePoint",direction:sp},deleteWordBackward:{unit:"word",direction:sp},deleteHardLineBackward:{unit:zd,direction:sp},deleteSoftLineBackward:{unit:zd,direction:sp},deleteContentForward:{unit:"character",direction:cm},deleteWordForward:{unit:"word",direction:cm},deleteHardLineForward:{unit:zd,direction:cm},deleteSoftLineForward:{unit:zd,direction:cm}};class Vk extends la{constructor(c){super(c);const u=c.document;let h=0;u.on("keydown",()=>{h++}),u.on("keyup",()=>{h=0}),u.on("beforeinput",(m,_)=>{if(!this.isEnabled)return;const{targetRanges:b,domEvent:w,inputType:A}=_,M=Bk[A];if(!M)return;const R={direction:M.direction,unit:M.unit,sequence:h};R.unit==zd&&(R.selectionToRemove=c.createSelection(b[0])),"deleteContentBackward"===A&&(ae.isAndroid&&(R.sequence=1),function(N){if(1!=N.length||N[0].isCollapsed)return!1;const V=N[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let W=0;for(const{nextPosition:Y}of V){if(Y.parent.is("$text")){const ne=Y.parent.data,he=Y.offset;if(Gr(ne,he)||MT(ne,he)||Os(ne,he))continue;W++}else W++;if(W>1)return!0}return!1}(b)&&(R.unit=zd,R.selectionToRemove=c.createSelection(b)));const O=new el(u,"delete",b[0]);u.fire(O,new Uh(c,w,R)),O.stop.called&&m.stop()}),ae.isBlink&&function(m){const _=m.view,b=_.document;let w=null,A=!1;function M(O){return O==zi.backspace||O==zi.delete}function R(O){return O==zi.backspace?sp:cm}b.on("keydown",(O,{keyCode:N})=>{w=N,A=!1}),b.on("keyup",(O,{keyCode:N,domEvent:V})=>{const W=b.selection,Y=m.isEnabled&&N==w&&M(N)&&!W.isCollapsed&&!A;if(w=null,Y){const ne=W.getFirstRange(),he=new el(b,"delete",ne),Me={unit:zd,direction:R(N),selectionToRemove:W};b.fire(he,new Uh(_,V,Me))}}),b.on("beforeinput",(O,{inputType:N})=>{const V=Bk[N];M(w)&&V&&V.direction==R(w)&&(A=!0)},{priority:"high"}),b.on("beforeinput",(O,{inputType:N,data:V})=>{w==zi.delete&&"insertText"==N&&"\x7f"==V&&O.stop()},{priority:"high"})}(this)}observe(){}stopObserving(){}}class ys extends ht{static get pluginName(){return"Delete"}init(){const c=this.editor,u=c.editing.view,h=u.document,m=c.model.document;u.addObserver(Vk),this._undoOnBackspace=!1;const _=new S0(c,"forward");c.commands.add("deleteForward",_),c.commands.add("forwardDelete",_),c.commands.add("delete",new S0(c,"backward")),this.listenTo(h,"delete",(b,w)=>{h.isComposing||w.preventDefault();const{direction:A,sequence:M,selectionToRemove:R,unit:O}=w,N="forward"===A?"deleteForward":"delete",V={sequence:M};if("selection"==O){const W=Array.from(R.getRanges()).map(Y=>c.editing.mapper.toModelRange(Y));V.selection=c.model.createSelection(W)}else V.unit=O;c.execute(N,V),u.scrollToTheSelection()},{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(h,"delete",(b,w)=>{this._undoOnBackspace&&"backward"==w.direction&&1==w.sequence&&"codePoint"==w.unit&&(this._undoOnBackspace=!1,c.execute("undo"),w.preventDefault(),b.stop())},{context:"$capture"}),this.listenTo(m,"change",()=>{this._undoOnBackspace=!1}))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class fV extends ht{static get requires(){return[Lk,ys]}static get pluginName(){return"Typing"}}function hM(g,c){let u=g.start;return{text:Array.from(g.getWalker({ignoreElementEnd:!1})).reduce((h,{item:m})=>m.is("$text")||m.is("$textProxy")?h+m.data:(u=c.createPositionAfter(m),""),""),range:c.createRange(u,g.end)}}class T0 extends(_t()){constructor(c,u){super(),this.model=c,this.testCallback=u,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",()=>{this.isEnabled?this._startListening():(this.stopListening(c.document.selection),this.stopListening(c.document))}),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const c=this.model.document;this.listenTo(c.selection,"change:range",(u,{directChange:h})=>{h&&(c.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1))}),this.listenTo(c,"change:data",(u,h)=>{!h.isUndo&&h.isLocal&&this._evaluateTextBeforeSelection("data",{batch:h})})}_evaluateTextBeforeSelection(c,u={}){const h=this.model,m=h.document.selection,_=h.createRange(h.createPositionAt(m.focus.parent,0),m.focus),{text:b,range:w}=hM(_,h),A=this.testCallback(b);if(!A&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!A,A){const M=Object.assign(u,{text:b,range:w});"object"==typeof A&&Object.assign(M,A),this.fire(`matched:${c}`,M)}}}class pM extends ht{constructor(c){super(c),this._isNextGravityRestorationSkipped=!1,this.attributes=new Set,this._overrideUid=null}static get pluginName(){return"TwoStepCaretMovement"}init(){const c=this.editor,m=c.locale,_=c.model.document.selection;this.listenTo(c.editing.view.document,"arrowKey",(b,w)=>{if(!_.isCollapsed||w.shiftKey||w.altKey||w.ctrlKey)return;const A=w.keyCode==zi.arrowright,M=w.keyCode==zi.arrowleft;if(!A&&!M)return;const R=m.contentLanguageDirection;let O=!1;O="ltr"===R&&A||"rtl"===R&&M?this._handleForwardMovement(w):this._handleBackwardMovement(w),!0===O&&b.stop()},{context:"$text",priority:"highest"}),this.listenTo(_,"change:range",(b,w)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!w.directChange&&ha(_.getFirstPosition(),this.attributes)||this._restoreGravity())}),this._enableClickingAfterNode(),this._enableInsertContentSelectionAttributesFixer(),this._handleDeleteContentAfterNode()}registerAttribute(c){this.attributes.add(c)}_handleForwardMovement(c){const u=this.attributes,h=this.editor.model,m=h.document.selection,_=m.getFirstPosition();return!(this._isGravityOverridden||_.isAtStart&&Wc(m,u)||!ha(_,u)||(Hd(c),Wc(m,u)&&ha(_,u,!0)?Mu(h,u):this._overrideGravity(),0))}_handleBackwardMovement(c){const u=this.attributes,h=this.editor.model,m=h.document.selection,_=m.getFirstPosition();return this._isGravityOverridden?(Hd(c),this._restoreGravity(),ha(_,u,!0)?Mu(h,u):E0(h,u,_),!0):_.isAtStart?!!Wc(m,u)&&(Hd(c),E0(h,u,_),!0):!Wc(m,u)&&ha(_,u,!0)?(Hd(c),E0(h,u,_),!0):!!zk(_,u)&&(_.isAtEnd&&!Wc(m,u)&&ha(_,u)?(Hd(c),E0(h,u,_),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}_enableClickingAfterNode(){const c=this.editor,u=c.model,h=u.document.selection,m=c.editing.view.document;c.editing.view.addObserver(lk);let _=!1;this.listenTo(m,"mousedown",()=>{_=!0}),this.listenTo(m,"selectionChange",()=>{const b=this.attributes;if(!_||(_=!1,!h.isCollapsed)||!Wc(h,b))return;const w=h.getFirstPosition();ha(w,b)&&(w.isAtStart||ha(w,b,!0)?Mu(u,b):this._isGravityOverridden||this._overrideGravity())})}_enableInsertContentSelectionAttributesFixer(){const c=this.editor.model,u=c.document.selection,h=this.attributes;this.listenTo(c,"insertContent",()=>{const m=u.getFirstPosition();Wc(u,h)&&ha(m,h)&&Mu(c,h)},{priority:"low"})}_handleDeleteContentAfterNode(){const c=this.editor,u=c.model,h=u.document.selection;let _=!1,b=!1;this.listenTo(c.editing.view.document,"delete",(w,A)=>{_="backward"===A.direction},{priority:"high"}),this.listenTo(u,"deleteContent",()=>{if(!_)return;const w=h.getFirstPosition();b=Wc(h,this.attributes)&&!zk(w,this.attributes)},{priority:"high"}),this.listenTo(u,"deleteContent",()=>{_&&(_=!1,b||c.model.enqueueChange(()=>{const w=h.getFirstPosition();Wc(h,this.attributes)&&ha(w,this.attributes)&&(w.isAtStart||ha(w,this.attributes,!0)?Mu(u,this.attributes):this._isGravityOverridden||this._overrideGravity())}))},{priority:"low"})}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change(c=>c.overrideSelectionGravity())}_restoreGravity(){this.editor.model.change(c=>{c.restoreSelectionGravity(this._overrideUid),this._overrideUid=null})}}function Wc(g,c){for(const u of c)if(g.hasAttribute(u))return!0;return!1}function E0(g,c,u){const h=u.nodeBefore;g.change(m=>{if(h){const _=[],b=g.schema.isObject(h)&&g.schema.isInline(h);for(const[w,A]of h.getAttributes())!g.schema.checkAttribute("$text",w)||b&&!1===g.schema.getAttributeProperties(w).copyFromObject||_.push([w,A]);m.setSelectionAttribute(_)}else m.removeSelectionAttribute(c)})}function Mu(g,c){g.change(u=>{u.removeSelectionAttribute(c)})}function Hd(g){g.preventDefault()}function zk(g,c){return ha(g.getShiftedBy(-1),c)}function ha(g,c,u=!1){const{nodeBefore:h,nodeAfter:m}=g;for(const _ of c){const b=h?h.getAttribute(_):void 0,w=m?m.getAttribute(_):void 0;if((!u||void 0!==b&&void 0!==w)&&w!==b)return!0}return!1}const _V={copyright:{from:"(c)",to:"\xa9"},registeredTrademark:{from:"(r)",to:"\xae"},trademark:{from:"(tm)",to:"\u2122"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"\xbd",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"\u2153",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"\u2154",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"\xbc",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"\xbe",null]},lessThanOrEqual:{from:"<=",to:"\u2264"},greaterThanOrEqual:{from:">=",to:"\u2265"},notEqual:{from:"!=",to:"\u2260"},arrowLeft:{from:"<-",to:"\u2190"},arrowRight:{from:"->",to:"\u2192"},horizontalEllipsis:{from:"...",to:"\u2026"},enDash:{from:/(^| )(--)( )$/,to:[null,"\u2013",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"\u2014",null]},quotesPrimary:{from:ap('"'),to:[null,"\u201c",null,"\u201d"]},quotesSecondary:{from:ap("'"),to:[null,"\u2018",null,"\u2019"]},quotesPrimaryEnGb:{from:ap("'"),to:[null,"\u2018",null,"\u2019"]},quotesSecondaryEnGb:{from:ap('"'),to:[null,"\u201c",null,"\u201d"]},quotesPrimaryPl:{from:ap('"'),to:[null,"\u201e",null,"\u201d"]},quotesSecondaryPl:{from:ap("'"),to:[null,"\u201a",null,"\u2019"]}},gM={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},mM=["symbols","mathematical","typography","quotes"];function fM(g){return"string"==typeof g?new RegExp(`(${q2(g)})$`):g}function vV(g){return"string"==typeof g?()=>[g]:g instanceof Array?()=>g:g}function bV(g){return(g.textNode?g.textNode:g.nodeAfter).getAttributes()}function ap(g){return new RegExp(`(^|\\s)(${g})([^${g}]*)(${g})$`)}function W_(g,c,u,h){return h.createRange(dm(g,c,u,!0,h),dm(g,c,u,!1,h))}function dm(g,c,u,h,m){let _=g.textNode||(h?g.nodeBefore:g.nodeAfter),b=null;for(;_&&_.getAttribute(c)==u;)b=_,_=h?_.previousSibling:_.nextSibling;return b?m.createPositionAt(b,h?"before":"after"):g}function*_M(g,c){for(const u of c)u&&g.getAttributeProperties(u[0]).copyOnEnter&&(yield u)}class vM extends Bi{execute(){this.editor.model.change(c=>{this.enterBlock(c),this.fire("afterExecute",{writer:c})})}enterBlock(c){const u=this.editor.model,h=u.document.selection,m=u.schema,_=h.isCollapsed,b=h.getFirstRange(),w=b.start.parent,A=b.end.parent;if(m.isLimit(w)||m.isLimit(A))return _||w!=A||u.deleteContent(h),!1;if(_){const M=_M(c.model.schema,h.getAttributes());return Hk(c,b.start),c.setSelectionAttribute(M),!0}{const M=!(b.start.isAtStart&&b.end.isAtEnd),R=w==A;if(u.deleteContent(h,{leaveUnmerged:M}),M){if(R)return Hk(c,h.focus),!0;c.setSelection(A,0)}}return!1}}function Hk(g,c){g.split(c),g.setSelection(c.parent.nextSibling,0)}const yV={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class bM extends la{constructor(c){super(c);const u=this.document;let h=!1;u.on("keydown",(m,_)=>{h=_.shiftKey}),u.on("beforeinput",(m,_)=>{if(!this.isEnabled)return;let b=_.inputType;ae.isSafari&&h&&"insertParagraph"==b&&(b="insertLineBreak");const w=_.domEvent,A=yV[b];if(!A)return;const M=new el(u,"enter",_.targetRanges[0]);u.fire(M,new Uh(c,w,{isSoft:A.isSoft})),M.stop.called&&m.stop()})}observe(){}stopObserving(){}}class Ru extends ht{static get pluginName(){return"Enter"}init(){const c=this.editor,u=c.editing.view,h=u.document;u.addObserver(bM),c.commands.add("enter",new vM(c)),this.listenTo(h,"enter",(m,_)=>{h.isComposing||_.preventDefault(),_.isSoft||(c.execute("enter"),u.scrollToTheSelection())},{priority:"low"})}}class CV extends Bi{execute(){const c=this.editor.model,u=c.document;c.change(h=>{(function(m,_,b){const w=b.isCollapsed,A=b.getFirstRange(),R=A.end.parent,O=A.start.parent==R;if(w){const N=_M(m.schema,b.getAttributes());yM(m,_,A.end),_.removeSelectionAttribute(b.getAttributeKeys()),_.setSelectionAttribute(N)}else{const N=!(A.start.isAtStart&&A.end.isAtEnd);m.deleteContent(b,{leaveUnmerged:N}),O?yM(m,_,b.focus):N&&_.setSelection(R,0)}})(c,h,u.selection),this.fire("afterExecute",{writer:h})})}refresh(){const c=this.editor.model;this.isEnabled=function(h,m){if(m.rangeCount>1)return!1;const _=m.anchor;if(!_||!h.checkChild(_,"softBreak"))return!1;const b=m.getFirstRange(),w=b.start.parent,A=b.end.parent;return!((Gk(w,h)||Gk(A,h))&&w!==A)}(c.schema,c.document.selection)}}function yM(g,c,u){const h=c.createElement("softBreak");g.insertContent(h,u),c.setSelection(h,"after")}function Gk(g,c){return!g.is("rootElement")&&(c.isLimit(g)||Gk(g.parent,c))}class wV extends ht{static get pluginName(){return"ShiftEnter"}init(){const c=this.editor,h=c.conversion,m=c.editing.view,_=m.document;c.model.schema.register("softBreak",{allowWhere:"$text",isInline:!0}),h.for("upcast").elementToElement({model:"softBreak",view:"br"}),h.for("downcast").elementToElement({model:"softBreak",view:(b,{writer:w})=>w.createEmptyElement("br")}),m.addObserver(bM),c.commands.add("shiftEnter",new CV(c)),this.listenTo(_,"enter",(b,w)=>{_.isComposing||w.preventDefault(),w.isSoft&&(c.execute("shiftEnter"),m.scrollToTheSelection())},{priority:"low"})}}class xV extends(vn()){constructor(){super(...arguments),this._stack=[]}add(c,u){const h=this._stack,m=h[0];this._insertDescriptor(c);const _=h[0];m===_||jk(m,_)||this.fire("change:top",{oldDescriptor:m,newDescriptor:_,writer:u})}remove(c,u){const h=this._stack,m=h[0];this._removeDescriptor(c);const _=h[0];m===_||jk(m,_)||this.fire("change:top",{oldDescriptor:m,newDescriptor:_,writer:u})}_insertDescriptor(c){const u=this._stack,h=u.findIndex(_=>_.id===c.id);if(jk(c,u[h]))return;h>-1&&u.splice(h,1);let m=0;for(;u[m]&&kV(u[m],c);)m++;u.splice(m,0,c)}_removeDescriptor(c){const u=this._stack,h=u.findIndex(m=>m.id===c);h>-1&&u.splice(h,1)}}function jk(g,c){return g&&c&&g.priority==c.priority&&M0(g.classes)==M0(c.classes)}function kV(g,c){return g.priority>c.priority||!(g.priorityM0(c.classes)}function M0(g){return Array.isArray(g)?g.sort().join(","):g}const CM='',Ae="ck-widget",wM="ck-widget_selected";function dr(g){return!!g.is("element")&&!!g.getCustomProperty("widget")}function $k(g,c,u={}){if(!g.is("containerElement"))throw new fe("widget-to-widget-wrong-element-type",null,{element:g});return c.setAttribute("contenteditable","false",g),c.addClass(Ae,g),c.setCustomProperty("widget",!0,g),g.getFillerOffset=IV,c.setCustomProperty("widgetLabel",[],g),u.label&&(m=u.label,g.getCustomProperty("widgetLabel").push(m)),u.hasSelectionHandle&&function(h,m){const _=m.createUIElement("div",{class:"ck ck-widget__selection-handle"},function(b){const w=this.toDomElement(b),A=new Qo;return A.set("content",CM),A.render(),w.appendChild(A.element),w});m.insert(m.createPositionAt(h,0),_),m.addClass(["ck-widget_with-selection-handle"],h)}(g,c),xM(g,c),g;var m}function DV(g,c,u){if(c.classes&&u.addClass(ho(c.classes),g),c.attributes)for(const h in c.attributes)u.setAttribute(h,c.attributes[h],g)}function AV(g,c,u){if(c.classes&&u.removeClass(ho(c.classes),g),c.attributes)for(const h in c.attributes)u.removeAttribute(h,g)}function xM(g,c,u=DV,h=AV){const m=new xV;m.on("change:top",(_,b)=>{b.oldDescriptor&&h(g,b.oldDescriptor,b.writer),b.newDescriptor&&u(g,b.newDescriptor,b.writer)}),c.setCustomProperty("addHighlight",(_,b,w)=>m.add(b,w),g),c.setCustomProperty("removeHighlight",(_,b,w)=>m.remove(b,w),g)}function kM(g,c,u={}){return c.addClass(["ck-editor__editable","ck-editor__nested-editable"],g),c.setAttribute("role","textbox",g),u.label&&c.setAttribute("aria-label",u.label,g),c.setAttribute("contenteditable",g.isReadOnly?"false":"true",g),g.on("change:isReadOnly",(h,m,_)=>{c.setAttribute("contenteditable",_?"false":"true",g)}),g.on("change:isFocused",(h,m,_)=>{_?c.addClass("ck-editor__nested-editable_focused",g):c.removeClass("ck-editor__nested-editable_focused",g)}),xM(g,c),g}function DM(g,c){const u=g.getSelectedElement();if(u){const h=Ou(g);if(h)return c.createRange(c.createPositionAt(u,h))}return rk(g,c)}function IV(){return null}const qc="widget-type-around";function Pu(g,c,u){return!!g&&dr(g)&&!u.isInline(c)}function Ou(g){return g.getAttribute(qc)}var SV=ft(4921);At()(SV.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Uk=["before","after"],iq=(new DOMParser).parseFromString('',"image/svg+xml").firstChild,q_="ck-widget__type-around_disabled";class TV extends ht{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get requires(){return[Ru,ys]}init(){const c=this.editor,u=c.editing.view;this.on("change:isEnabled",(h,m,_)=>{u.change(b=>{for(const w of u.document.roots)_?b.removeClass(q_,w):b.addClass(q_,w)}),_||c.model.change(b=>{b.removeSelectionAttribute(qc)})}),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(c,u){const h=this.editor,m=h.editing.view,_=h.model.schema.getAttributesWithProperty(c,"copyOnReplace",!0);h.execute("insertParagraph",{position:h.model.createPositionAt(c,u),attributes:_}),m.focus(),m.scrollToTheSelection()}_listenToIfEnabled(c,u,h,m){this.listenTo(c,u,(..._)=>{this.isEnabled&&h(..._)},m)}_insertParagraphAccordingToFakeCaretPosition(){const c=this.editor.model.document.selection,u=Ou(c);if(!u)return!1;const h=c.getSelectedElement();return this._insertParagraph(h,u),!0}_enableTypeAroundUIInjection(){const c=this.editor,u=c.model.schema,h=c.locale.t,m={before:h("Insert paragraph before block"),after:h("Insert paragraph after block")};c.editing.downcastDispatcher.on("insert",(_,b,w)=>{const A=w.mapper.toViewElement(b.item);A&&Pu(A,b.item,u)&&(function(M,R,O){const N=M.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},function(V){const W=this.toDomElement(V);return function(Y,ne){for(const he of Uk){const Me=new rc({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${he}`],title:ne[he],"aria-hidden":"true"},children:[Y.ownerDocument.importNode(iq,!0)]});Y.appendChild(Me.render())}}(W,R),function(Y){const ne=new rc({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});Y.appendChild(ne.render())}(W),W});M.insert(M.createPositionAt(O,"end"),N)}(w.writer,m,A),A.getCustomProperty("widgetLabel").push(()=>this.isEnabled?h("Press Enter to type after or press Shift + Enter to type before the widget"):""))},{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const c=this.editor,u=c.model,h=u.document.selection,m=u.schema;function b(w){return`ck-widget_type-around_show-fake-caret_${w}`}this._listenToIfEnabled(c.editing.view.document,"arrowKey",(w,A)=>{this._handleArrowKeyPress(w,A)},{context:[dr,"$text"],priority:"high"}),this._listenToIfEnabled(h,"change:range",(w,A)=>{A.directChange&&c.model.change(M=>{M.removeSelectionAttribute(qc)})}),this._listenToIfEnabled(u.document,"change:data",()=>{const w=h.getSelectedElement();w&&Pu(c.editing.mapper.toViewElement(w),w,m)||c.model.change(A=>{A.removeSelectionAttribute(qc)})}),this._listenToIfEnabled(c.editing.downcastDispatcher,"selection",(w,A,M)=>{const R=M.writer;if(this._currentFakeCaretModelElement){const W=M.mapper.toViewElement(this._currentFakeCaretModelElement);W&&(R.removeClass(Uk.map(b),W),this._currentFakeCaretModelElement=null)}const O=A.selection.getSelectedElement();if(!O)return;const N=M.mapper.toViewElement(O);if(!Pu(N,O,m))return;const V=Ou(A.selection);V&&(R.addClass(b(V),N),this._currentFakeCaretModelElement=O)}),this._listenToIfEnabled(c.ui.focusTracker,"change:isFocused",(w,A,M)=>{M||c.model.change(R=>{R.removeSelectionAttribute(qc)})})}_handleArrowKeyPress(c,u){const h=this.editor,m=h.model,_=m.document.selection,b=m.schema,w=h.editing.view,A=function(O,N){const V=Lc(O,N);return"down"===V||"right"===V}(u.keyCode,h.locale.contentLanguageDirection),M=w.document.selection.getSelectedElement();let R;Pu(M,h.editing.mapper.toModelElement(M),b)?R=this._handleArrowKeyPressOnSelectedWidget(A):_.isCollapsed?R=this._handleArrowKeyPressWhenSelectionNextToAWidget(A):u.shiftKey||(R=this._handleArrowKeyPressWhenNonCollapsedSelection(A)),R&&(u.preventDefault(),c.stop())}_handleArrowKeyPressOnSelectedWidget(c){const u=this.editor.model,h=Ou(u.document.selection);return u.change(m=>h?h!==(c?"after":"before")&&(m.removeSelectionAttribute(qc),!0):(m.setSelectionAttribute(qc,c?"after":"before"),!0))}_handleArrowKeyPressWhenSelectionNextToAWidget(c){const u=this.editor,h=u.model,m=h.schema,_=u.plugins.get("Widget"),b=_._getObjectElementNextToSelection(c);return!!Pu(u.editing.mapper.toViewElement(b),b,m)&&(h.change(w=>{_._setSelectionOverElement(b),w.setSelectionAttribute(qc,c?"before":"after")}),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(c){const u=this.editor,h=u.model,m=h.schema,_=u.editing.mapper,b=h.document.selection,w=c?b.getLastPosition().nodeBefore:b.getFirstPosition().nodeAfter;return!!Pu(_.toViewElement(w),w,m)&&(h.change(A=>{A.setSelection(w,"on"),A.setSelectionAttribute(qc,c?"after":"before")}),!0)}_enableInsertingParagraphsOnButtonClick(){const c=this.editor,u=c.editing.view;this._listenToIfEnabled(u.document,"mousedown",(h,m)=>{const _=m.domTarget.closest(".ck-widget__type-around__button");if(!_)return;const b=_.classList.contains("ck-widget__type-around__button_before")?"before":"after",w=function(M,R){const O=M.closest(".ck-widget");return R.mapDomToView(O)}(_,u.domConverter),A=c.editing.mapper.toModelElement(w);this._insertParagraph(A,b),m.preventDefault(),h.stop()})}_enableInsertingParagraphsOnEnterKeypress(){const c=this.editor,u=c.model.document.selection;this._listenToIfEnabled(c.editing.view.document,"enter",(m,_)=>{if("atTarget"!=m.eventPhase)return;const b=u.getSelectedElement(),w=c.editing.mapper.toViewElement(b),A=c.model.schema;let M;this._insertParagraphAccordingToFakeCaretPosition()?M=!0:Pu(w,b,A)&&(this._insertParagraph(b,_.isSoft?"before":"after"),M=!0),M&&(_.preventDefault(),m.stop())},{context:dr})}_enableInsertingParagraphsOnTypingKeystroke(){const c=this.editor.editing.view.document;this._listenToIfEnabled(c,"insertText",(u,h)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(h.selection=c.selection)},{priority:"high"}),ae.isAndroid?this._listenToIfEnabled(c,"keydown",(u,h)=>{229==h.keyCode&&this._insertParagraphAccordingToFakeCaretPosition()}):this._listenToIfEnabled(c,"compositionstart",()=>{this._insertParagraphAccordingToFakeCaretPosition()},{priority:"high"})}_enableDeleteIntegration(){const c=this.editor,h=c.model,m=h.schema;this._listenToIfEnabled(c.editing.view.document,"delete",(_,b)=>{if("atTarget"!=_.eventPhase)return;const w=Ou(h.document.selection);if(!w)return;const A=b.direction,M=h.document.selection.getSelectedElement(),R="forward"==A;if("before"===w===R)c.execute("delete",{selection:h.createSelection(M,"on")});else{const O=m.getNearestSelectionRange(h.createPositionAt(M,w),A);if(O)if(O.isCollapsed){const N=h.createSelection(O.start);if(h.modifySelection(N,{direction:A}),N.focus.isEqual(O.start)){const V=function(W,Y){let ne=Y;for(const he of Y.getAncestors({parentFirst:!0})){if(he.childCount>1||W.isLimit(he))break;ne=he}return ne}(m,O.start.parent);h.deleteContent(h.createSelection(V,"on"),{doNotAutoparagraph:!0})}else h.change(V=>{V.setSelection(O),c.execute(R?"deleteForward":"delete")})}else h.change(N=>{N.setSelection(O),c.execute(R?"deleteForward":"delete")})}b.preventDefault(),_.stop()},{context:dr})}_enableInsertContentIntegration(){const u=this.editor.model,h=u.document.selection;this._listenToIfEnabled(this.editor.model,"insertContent",(m,[_,b])=>{if(b&&!b.is("documentSelection"))return;const w=Ou(h);return w?(m.stop(),u.change(A=>{const M=h.getSelectedElement(),R=u.createPositionAt(M,w),O=A.createSelection(R),N=u.insertContent(_,O);return A.setSelection(O),N})):void 0},{priority:"high"})}_enableInsertObjectIntegration(){const u=this.editor.model.document.selection;this._listenToIfEnabled(this.editor.model,"insertObject",(h,m)=>{const[,_,b={}]=m;if(_&&!_.is("documentSelection"))return;const w=Ou(u);w&&(b.findOptimalPosition=w,m[3]=b)},{priority:"high"})}_enableDeleteContentIntegration(){const u=this.editor.model.document.selection;this._listenToIfEnabled(this.editor.model,"deleteContent",(h,[m])=>{m&&!m.is("documentSelection")||Ou(u)&&h.stop()},{priority:"high"})}}function R0(g,c,u){const h=g.schema,m=g.createRangeIn(c.root),_="forward"==u?"elementStart":"elementEnd";for(const{previousPosition:b,item:w,type:A}of m.getWalker({startPosition:c,direction:u})){if(h.isLimit(w)&&!h.isInline(w))return b;if(A==_&&h.isBlock(w))return null}return null}function IM(g,c,u){const h="backward"==u?c.end:c.start;if(g.checkChild(h,"$text"))return h;for(const{nextPosition:m}of c.getWalker({direction:u}))if(g.checkChild(m,"$text"))return m;return null}var hc=ft(3488);At()(hc.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Er extends ht{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get requires(){return[TV,ys]}init(){const c=this.editor,u=c.editing.view,h=u.document;this.editor.editing.downcastDispatcher.on("selection",(m,_,b)=>{const w=b.writer,A=_.selection;if(A.isCollapsed)return;const M=A.getSelectedElement();if(!M)return;const R=c.editing.mapper.toViewElement(M);var O;dr(R)&&b.consumable.consume(A,"selection")&&w.setSelection(w.createRangeOn(R),{fake:!0,label:(O=R,O.getCustomProperty("widgetLabel").reduce((N,V)=>"function"==typeof V?N?N+". "+V():V():N?N+". "+V:V,""))})}),this.editor.editing.downcastDispatcher.on("selection",(m,_,b)=>{this._clearPreviouslySelectedWidgets(b.writer);const w=b.writer,A=w.document.selection;let M=null;for(const R of A.getRanges())for(const O of R){const N=O.item;dr(N)&&!lp(N,M)&&(w.addClass(wM,N),this._previouslySelected.add(N),M=N)}},{priority:"low"}),u.addObserver(lk),this.listenTo(h,"mousedown",(...m)=>this._onMousedown(...m)),this.listenTo(h,"arrowKey",(...m)=>{this._handleSelectionChangeOnArrowKeyPress(...m)},{context:[dr,"$text"]}),this.listenTo(h,"arrowKey",(...m)=>{this._preventDefaultOnArrowKeyPress(...m)},{context:"$root"}),this.listenTo(h,"arrowKey",function EV(g){const c=g.model;return(u,h)=>{const _=h.keyCode==zi.arrowdown,b=h.shiftKey,w=c.document.selection;if(h.keyCode!=zi.arrowup&&!_)return;const A=_;if(b&&!(R=w).isCollapsed&&R.isBackward==A)return;var R;const M=function(R,O,N){const V=R.model;if(N){const W=O.isCollapsed?O.focus:O.getLastPosition(),Y=R0(V,W,"forward");if(!Y)return null;const ne=V.createRange(W,Y),he=IM(V.schema,ne,"backward");return he?V.createRange(W,he):null}{const W=O.isCollapsed?O.focus:O.getFirstPosition(),Y=R0(V,W,"backward");if(!Y)return null;const ne=V.createRange(Y,W),he=IM(V.schema,ne,"forward");return he?V.createRange(he,W):null}}(g,w,A);if(M){if(M.isCollapsed&&(w.isCollapsed||b))return;(M.isCollapsed||function(R,O,N){const V=R.model,W=R.view.domConverter;if(N){const qe=V.createSelection(O.start);V.modifySelection(qe),qe.focus.isAtEnd||O.start.isEqual(qe.focus)||(O=V.createRange(qe.focus,O.end))}const Y=R.mapper.toViewRange(O),ne=W.viewRangeToDom(Y),he=un.getDomRangeRects(ne);let Me;for(const qe of he)if(void 0!==Me){if(Math.round(qe.top)>=Me)return!1;Me=Math.max(Me,Math.round(qe.bottom))}else Me=Math.round(qe.bottom);return!0}(g,M,A))&&(c.change(R=>{const O=A?M.end:M.start;if(b){const N=c.createSelection(w.anchor);N.setFocus(O),R.setSelection(N)}else R.setSelection(O)}),u.stop(),h.preventDefault(),h.stopPropagation())}}}(this.editor.editing),{context:"$text"}),this.listenTo(h,"delete",(m,_)=>{this._handleDelete("forward"==_.direction)&&(_.preventDefault(),m.stop())},{context:"$root"})}_onMousedown(c,u){const h=this.editor,m=h.editing.view,_=m.document;let b=u.target;if(u.domEvent.detail>=3)return void(this._selectBlockContent(b)&&u.preventDefault());if(function(A){let M=A;for(;M;){if(M.is("editableElement")&&!M.is("rootElement"))return!0;if(dr(M))return!1;M=M.parent}return!1}(b)||!dr(b)&&(b=b.findAncestor(dr),!b))return;ae.isAndroid&&u.preventDefault(),_.isFocused||m.focus();const w=h.editing.mapper.toModelElement(b);this._setSelectionOverElement(w)}_selectBlockContent(c){const u=this.editor,h=u.model,m=u.editing.mapper,_=h.schema,b=m.findMappedViewAncestor(this.editor.editing.view.createPositionAt(c,0)),w=function(A,M){for(const R of A.getAncestors({includeSelf:!0,parentFirst:!0})){if(M.checkChild(R,"$text"))return R;if(M.isLimit(R)&&!M.isObject(R))break}return null}(m.toModelElement(b),h.schema);return!!w&&(h.change(A=>{const M=_.isLimit(w)?null:function(N,V){const W=new lc({startPosition:N});for(const{item:Y}of W){if(V.isLimit(Y)||!Y.is("element"))return null;if(V.checkChild(Y,"$text"))return Y}return null}(A.createPositionAfter(w),_),R=A.createPositionAt(w,0),O=M?A.createPositionAt(M,0):A.createPositionAt(w,"end");A.setSelection(A.createRange(R,O))}),!0)}_handleSelectionChangeOnArrowKeyPress(c,u){const h=u.keyCode,m=this.editor.model,_=m.schema,b=m.document.selection,w=b.getSelectedElement(),A=Lc(h,this.editor.locale.contentLanguageDirection),M="down"==A||"right"==A,R="up"==A||"down"==A;if(w&&_.isObject(w)){const N=M?b.getLastPosition():b.getFirstPosition(),V=_.getNearestSelectionRange(N,M?"forward":"backward");return void(V&&(m.change(W=>{W.setSelection(V)}),u.preventDefault(),c.stop()))}if(!b.isCollapsed&&!u.shiftKey){const N=b.getFirstPosition(),V=b.getLastPosition(),W=N.nodeAfter,Y=V.nodeBefore;return void((W&&_.isObject(W)||Y&&_.isObject(Y))&&(m.change(ne=>{ne.setSelection(M?V:N)}),u.preventDefault(),c.stop()))}if(!b.isCollapsed)return;const O=this._getObjectElementNextToSelection(M);if(O&&_.isObject(O)){if(_.isInline(O)&&R)return;this._setSelectionOverElement(O),u.preventDefault(),c.stop()}}_preventDefaultOnArrowKeyPress(c,u){const h=this.editor.model,m=h.schema,_=h.document.selection.getSelectedElement();_&&m.isObject(_)&&(u.preventDefault(),c.stop())}_handleDelete(c){const u=this.editor.model.document.selection;if(!this.editor.model.canEditAt(u)||!u.isCollapsed)return;const h=this._getObjectElementNextToSelection(c);return h?(this.editor.model.change(m=>{let _=u.anchor.parent;for(;_.isEmpty;){const b=_;_=b.parent,m.remove(b)}this._setSelectionOverElement(h)}),!0):void 0}_setSelectionOverElement(c){this.editor.model.change(u=>{u.setSelection(u.createRangeOn(c))})}_getObjectElementNextToSelection(c){const u=this.editor.model,h=u.schema,m=u.document.selection,_=u.createSelection(m);if(u.modifySelection(_,{direction:c?"forward":"backward"}),_.isEqual(m))return null;const b=c?_.focus.nodeBefore:_.focus.nodeAfter;return b&&h.isObject(b)?b:null}_clearPreviouslySelectedWidgets(c){for(const u of this._previouslySelected)c.removeClass(wM,u);this._previouslySelected.clear()}}function lp(g,c){return!!c&&Array.from(g.getAncestors()).includes(c)}class cp extends ht{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[y0]}static get pluginName(){return"WidgetToolbarRepository"}init(){const c=this.editor;if(c.plugins.has("BalloonToolbar")){const u=c.plugins.get("BalloonToolbar");this.listenTo(u,"show",h=>{(function(m){const _=m.getSelectedElement();return!(!_||!dr(_))})(c.editing.view.document.selection)&&h.stop()},{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",()=>{this._updateToolbarsVisibility()}),this.listenTo(c.ui,"update",()=>{this._updateToolbarsVisibility()}),this.listenTo(c.ui.focusTracker,"change:isFocused",()=>{this._updateToolbarsVisibility()},{priority:"low"})}destroy(){super.destroy();for(const c of this._toolbarDefinitions.values())c.view.destroy()}register(c,{ariaLabel:u,items:h,getRelatedElement:m,balloonClassName:_="ck-toolbar-container"}){if(!h.length)return void St("widget-toolbar-no-items",{toolbarId:c});const b=this.editor,w=b.t,A=new Tu(b.locale);if(A.ariaLabel=u||w("Widget toolbar"),this._toolbarDefinitions.has(c))throw new fe("widget-toolbar-duplicated",this,{toolbarId:c});const M={view:A,getRelatedElement:m,balloonClassName:_,itemsConfig:h,initialized:!1};b.ui.addToolbar(A,{isContextual:!0,beforeFocus:()=>{const R=m(b.editing.view.document.selection);R&&this._showToolbar(M,R)},afterBlur:()=>{this._hideToolbar(M)}}),this._toolbarDefinitions.set(c,M)}_updateToolbarsVisibility(){let c=0,u=null,h=null;for(const m of this._toolbarDefinitions.values()){const _=m.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&_)if(this.editor.ui.focusTracker.isFocused){const b=_.getAncestors().length;b>c&&(c=b,u=_,h=m)}else this._isToolbarVisible(m)&&this._hideToolbar(m);else this._isToolbarInBalloon(m)&&this._hideToolbar(m)}h&&this._showToolbar(h,u)}_hideToolbar(c){this._balloon.remove(c.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(c,u){this._isToolbarVisible(c)?rl(this.editor,u):this._isToolbarInBalloon(c)||(c.initialized||(c.initialized=!0,c.view.fillFromConfig(c.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:c.view,position:ge(this.editor,u),balloonClassName:c.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",()=>{for(const h of this._toolbarDefinitions.values())if(this._isToolbarVisible(h)){const m=h.getRelatedElement(this.editor.editing.view.document.selection);rl(this.editor,m)}}))}_isToolbarVisible(c){return this._balloon.visibleView===c.view}_isToolbarInBalloon(c){return this._balloon.hasView(c.view)}}function rl(g,c){const u=g.plugins.get("ContextualBalloon"),h=ge(g,c);u.updatePosition(h)}function ge(g,c){const h=ua.defaultPositions;return{target:g.editing.view.domConverter.mapViewToDom(c),positions:[h.northArrowSouth,h.northArrowSouthWest,h.northArrowSouthEast,h.southArrowNorth,h.southArrowNorthWest,h.southArrowNorthEast,h.viewportStickyNorth]}}_t(),_t();var dp=ft(8506);At()(dp.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Fu=wd("px");class hm extends gi{constructor(){super();const c=this.bindTemplate;this.set({isVisible:!1,left:null,top:null,width:null}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-clipboard-drop-target-line",c.if("isVisible","ck-hidden",u=>!u)],style:{left:c.to("left",u=>Fu(u)),top:c.to("top",u=>Fu(u)),width:c.to("width",u=>Fu(u))}}})}}class Gd extends ht{constructor(){super(...arguments),this.removeDropMarkerDelayed=Rh(()=>this.removeDropMarker(),40),this._updateDropMarkerThrottled=nm(c=>this._updateDropMarker(c),40),this._reconvertMarkerThrottled=nm(()=>{this.editor.model.markers.has("drop-target")&&this.editor.editing.reconvertMarker("drop-target")},0),this._dropTargetLineView=new hm,this._domEmitter=new(Za()),this._scrollables=new Map}static get pluginName(){return"DragDropTarget"}init(){this._setupDropMarker()}destroy(){this._domEmitter.stopListening();for(const{resizeObserver:c}of this._scrollables.values())c.destroy();return this._updateDropMarkerThrottled.cancel(),this.removeDropMarkerDelayed.cancel(),this._reconvertMarkerThrottled.cancel(),super.destroy()}updateDropMarker(c,u,h,m,_,b){this.removeDropMarkerDelayed.cancel();const w=up(this.editor,c,u,h,m,_,b);if(w)return b&&b.containsRange(w)?this.removeDropMarker():void this._updateDropMarkerThrottled(w)}getFinalDropRange(c,u,h,m,_,b){const w=up(this.editor,c,u,h,m,_,b);return this.removeDropMarker(),w}removeDropMarker(){const c=this.editor.model;this.removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),this._dropTargetLineView.isVisible=!1,c.markers.has("drop-target")&&c.change(u=>{u.removeMarker("drop-target")})}_setupDropMarker(){const c=this.editor;c.ui.view.body.add(this._dropTargetLineView),c.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),c.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(u,{writer:h})=>{if(c.model.schema.checkChild(u.markerRange.start,"$text"))return this._dropTargetLineView.isVisible=!1,this._createDropTargetPosition(h);u.markerRange.isCollapsed?this._updateDropTargetLine(u.markerRange):this._dropTargetLineView.isVisible=!1}})}_updateDropMarker(c){const u=this.editor,h=u.model.markers;u.model.change(m=>{h.has("drop-target")?h.get("drop-target").getRange().isEqual(c)||m.updateMarker("drop-target",{range:c}):m.addMarker("drop-target",{range:c,usingOperation:!1,affectsData:!1})})}_createDropTargetPosition(c){return c.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},function(u){const h=this.toDomElement(u);return h.append("\u2060",u.createElement("span"),"\u2060"),h})}_updateDropTargetLine(c){const u=this.editor.editing,h=c.start.nodeBefore,m=c.start.nodeAfter,_=c.start.parent,b=h?u.mapper.toViewElement(h):null,w=b?u.view.domConverter.mapViewToDom(b):null,A=m?u.mapper.toViewElement(m):null,M=A?u.view.domConverter.mapViewToDom(A):null,R=u.mapper.toViewElement(_),O=u.view.domConverter.mapViewToDom(R),N=this._getScrollableRect(R),{scrollX:V,scrollY:W}=de.window,Y=w?new un(w):null,ne=M?new un(M):null,he=new un(O).excludeScrollbarsAndBorders(),Me=Y?Y.bottom:he.top,qe=ne?ne.top:he.bottom,kt=de.window.getComputedStyle(O),$t=Me<=qe?(Me+qe)/2:qe;if(N.top<$t&&$tw.schema.checkChild(O,N))){if(w.schema.checkChild(O,"$text"))return w.createRange(O);if(R)return jd(g,Wk(g,R.parent),h,m)}}}else if(w.schema.isInline(M))return jd(g,M,h,m);if(w.schema.isBlock(M))return jd(g,M,h,m);if(w.schema.checkChild(M,"$block")){const R=Array.from(M.getChildren()).filter(V=>V.is("element")&&!pm(g,V));let O=0,N=R.length;if(0==N)return w.createRange(w.createPositionAt(M,"end"));for(;Oc in g?SM(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class PM extends ht{constructor(){super(...arguments),this._isBlockDragging=!1,this._domEmitter=new(Za())}static get pluginName(){return"DragDropBlockToolbar"}init(){const c=this.editor;if(this.listenTo(c,"change:isReadOnly",(u,h,m)=>{m?(this.forceDisabled("readOnlyMode"),this._isBlockDragging=!1):this.clearForceDisabled("readOnlyMode")}),ae.isAndroid&&this.forceDisabled("noAndroidSupport"),c.plugins.has("BlockToolbar")){const u=c.plugins.get("BlockToolbar").buttonView.element;this._domEmitter.listenTo(u,"dragstart",(h,m)=>this._handleBlockDragStart(m)),this._domEmitter.listenTo(de.document,"dragover",(h,m)=>this._handleBlockDragging(m)),this._domEmitter.listenTo(de.document,"drop",(h,m)=>this._handleBlockDragging(m)),this._domEmitter.listenTo(de.document,"dragend",()=>this._handleBlockDragEnd(),{useCapture:!0}),this.isEnabled&&u.setAttribute("draggable","true"),this.on("change:isEnabled",(h,m,_)=>{u.setAttribute("draggable",_?"true":"false")})}}destroy(){return this._domEmitter.stopListening(),super.destroy()}_handleBlockDragStart(c){if(!this.isEnabled)return;const u=this.editor.model,m=this.editor.editing.view,_=Array.from(u.document.selection.getSelectedBlocks()),b=u.createRange(u.createPositionBefore(_[0]),u.createPositionAfter(_[_.length-1]));u.change(w=>w.setSelection(b)),this._isBlockDragging=!0,m.focus(),m.getObserver($_).onDomEvent(c)}_handleBlockDragging(c){if(!this.isEnabled||!this._isBlockDragging)return;const u=c.clientX+("ltr"==this.editor.locale.contentLanguageDirection?100:-100),h=c.clientY,m=document.elementFromPoint(u,h),_=this.editor.editing.view;var b;m&&m.closest(".ck-editor__editable")&&_.getObserver($_).onDomEvent((b=((A,M)=>{for(var R in M||(M={}))MM.call(M,R)&&Kk(A,R,M[R]);if(qk)for(var R of qk(M))RM.call(M,R)&&Kk(A,R,M[R]);return A})({},c),TM(b,EM({type:c.type,dataTransfer:c.dataTransfer,target:m,clientX:u,clientY:h,preventDefault:()=>c.preventDefault(),stopPropagation:()=>c.stopPropagation()}))))}_handleBlockDragEnd(){this._isBlockDragging=!1}}var P0=ft(903);At()(P0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class nq extends ht{constructor(){super(...arguments),this._clearDraggableAttributesDelayed=Rh(()=>this._clearDraggableAttributes(),40),this._blockMode=!1,this._domEmitter=new(Za())}static get pluginName(){return"DragDrop"}static get requires(){return[Ll,Er,Gd,PM]}init(){const c=this.editor,u=c.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,u.addObserver($_),u.addObserver(lk),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDraggableAttributeHandling(),this.listenTo(c,"change:isReadOnly",(h,m,_)=>{_?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")}),this.on("change:isEnabled",(h,m,_)=>{_||this._finalizeDragging(!1)}),ae.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._previewContainer&&this._previewContainer.remove(),this._domEmitter.stopListening(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const c=this.editor,u=c.model,h=c.editing.view,m=h.document,_=c.plugins.get(Gd);this.listenTo(m,"dragstart",(b,w)=>{if(w.target&&w.target.is("editableElement")||(this._prepareDraggedRange(w.target),!this._draggedRange))return void w.preventDefault();this._draggingUid=Lt(),w.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",w.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const A=u.createSelection(this._draggedRange.toRange());this.editor.plugins.get("ClipboardPipeline")._fireOutputTransformationEvent(w.dataTransfer,A,"dragstart");const{dataTransfer:M,domTarget:R,domEvent:O}=w,{clientX:N}=O;this._updatePreview({dataTransfer:M,domTarget:R,clientX:N}),w.stopPropagation(),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")},{priority:"low"}),this.listenTo(m,"dragend",(b,w)=>{this._finalizeDragging(!w.dataTransfer.isCanceled&&"move"==w.dataTransfer.dropEffect)},{priority:"low"}),this._domEmitter.listenTo(de.document,"dragend",()=>{this._blockMode=!1},{useCapture:!0}),this.listenTo(m,"dragenter",()=>{this.isEnabled&&h.focus()}),this.listenTo(m,"dragleave",()=>{_.removeDropMarkerDelayed()}),this.listenTo(m,"dragging",(b,w)=>{if(!this.isEnabled)return void(w.dataTransfer.dropEffect="none");const{clientX:A,clientY:M}=w.domEvent;_.updateDropMarker(w.target,w.targetRanges,A,M,this._blockMode,this._draggedRange),this._draggedRange||(w.dataTransfer.dropEffect="copy"),ae.isGecko||("copy"==w.dataTransfer.effectAllowed?w.dataTransfer.dropEffect="copy":["all","copyMove"].includes(w.dataTransfer.effectAllowed)&&(w.dataTransfer.dropEffect="move")),b.stop()},{priority:"low"})}_setupClipboardInputIntegration(){const c=this.editor,u=c.editing.view.document,h=c.plugins.get(Gd);this.listenTo(u,"clipboardInput",(m,_)=>{if("drop"!=_.method)return;const{clientX:b,clientY:w}=_.domEvent,A=h.getFinalDropRange(_.target,_.targetRanges,b,w,this._blockMode,this._draggedRange);return A?(this._draggedRange&&this._draggingUid!=_.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid=""),"move"==RV(_.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(A,!0)?(this._finalizeDragging(!1),void m.stop()):void(_.targetRanges=[c.editing.mapper.toViewRange(A)])):(this._finalizeDragging(!1),void m.stop())},{priority:"high"})}_setupContentInsertionIntegration(){const c=this.editor.plugins.get(Ll);c.on("contentInsertion",(u,h)=>{if(!this.isEnabled||"drop"!==h.method)return;const m=h.targetRanges.map(_=>this.editor.editing.mapper.toModelRange(_));this.editor.model.change(_=>_.setSelection(m))},{priority:"high"}),c.on("contentInsertion",(u,h)=>{if(!this.isEnabled||"drop"!==h.method)return;const m="move"==RV(h.dataTransfer);this._finalizeDragging((!h.resultRange||!h.resultRange.isCollapsed)&&m)},{priority:"lowest"})}_setupDraggableAttributeHandling(){const c=this.editor,u=c.editing.view,h=u.document;this.listenTo(h,"mousedown",(m,_)=>{if(ae.isAndroid||!_)return;this._clearDraggableAttributesDelayed.cancel();let b=OM(_.target);if(ae.isBlink&&!c.isReadOnly&&!b&&!h.selection.isCollapsed){const w=h.selection.getSelectedElement();w&&dr(w)||(b=h.selection.editableElement)}b&&(u.change(w=>{w.setAttribute("draggable","true",b)}),this._draggableElement=c.editing.mapper.toModelElement(b))}),this.listenTo(h,"mouseup",()=>{ae.isAndroid||this._clearDraggableAttributesDelayed()})}_clearDraggableAttributes(){const c=this.editor.editing;c.view.change(u=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&u.removeAttribute("draggable",c.mapper.toViewElement(this._draggableElement)),this._draggableElement=null})}_finalizeDragging(c){const u=this.editor,h=u.model;u.plugins.get(Gd).removeDropMarker(),this._clearDraggableAttributes(),u.plugins.has("WidgetToolbarRepository")&&u.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop"),this._draggingUid="",this._previewContainer&&(this._previewContainer.remove(),this._previewContainer=void 0),this._draggedRange&&(c&&this.isEnabled&&h.change(m=>{const _=h.createSelection(this._draggedRange);h.deleteContent(_,{doNotAutoparagraph:!0});const b=_.getFirstPosition().parent;b.isEmpty&&!h.schema.checkChild(b,"$text")&&h.schema.checkChild(b,"paragraph")&&m.insertElement("paragraph",b,0)}),this._draggedRange.detach(),this._draggedRange=null)}_prepareDraggedRange(c){const u=this.editor,h=u.model,m=h.document.selection,_=c?OM(c):null;if(_){const M=u.editing.mapper.toModelElement(_);return this._draggedRange=Na.fromRange(h.createRangeOn(M)),this._blockMode=h.schema.isBlock(M),void(u.plugins.has("WidgetToolbarRepository")&&u.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop"))}if(m.isCollapsed&&!m.getFirstPosition().parent.isEmpty)return;const b=Array.from(m.getSelectedBlocks()),w=m.getFirstRange();if(0==b.length)return void(this._draggedRange=Na.fromRange(w));const A=FM(h,b);if(b.length>1)this._draggedRange=Na.fromRange(A),this._blockMode=!0;else if(1==b.length){const M=w.start.isTouching(A.start)&&w.end.isTouching(A.end);this._draggedRange=Na.fromRange(M?A:w),this._blockMode=M}h.change(M=>M.setSelection(this._draggedRange.toRange()))}_updatePreview({dataTransfer:c,domTarget:u,clientX:h}){const m=this.editor.editing.view,b=m.domConverter.mapViewToDom(m.document.selection.editableElement),w=de.window.getComputedStyle(b);this._previewContainer?this._previewContainer.firstElementChild&&this._previewContainer.removeChild(this._previewContainer.firstElementChild):(this._previewContainer=_d(de.document,"div",{style:"position: fixed; left: -999999px;"}),de.document.body.appendChild(this._previewContainer));const A=new un(b);if(b.contains(u))return;const M=parseFloat(w.paddingLeft),R=_d(de.document,"div");R.className="ck ck-content",R.style.width=w.width,R.style.paddingLeft=`${A.left-h+M}px`,ae.isiOS&&(R.style.backgroundColor="white"),R.innerHTML=c.getData("text/html"),c.setDragImage(R,0,0),this._previewContainer.appendChild(R)}}function RV(g){return ae.isGecko?g.dropEffect:["all","copyMove"].includes(g.effectAllowed)?"move":"copy"}function OM(g){if(g.is("editableElement"))return null;if(g.hasClass("ck-widget__selection-handle"))return g.findAncestor(dr);if(dr(g))return g;const c=g.findAncestor(u=>dr(u)||u.is("editableElement"));return dr(c)?c:null}function FM(g,c){const u=c[0],h=c[c.length-1],m=u.getCommonAncestor(h),_=g.createPositionBefore(u),b=g.createPositionAfter(h);if(m&&m.is("element")&&!g.schema.isLimit(m)){const w=g.createRangeOn(m),A=_.isTouching(w.start),M=b.isTouching(w.end);if(A&&M)return FM(g,[m])}return g.createRange(_,b)}class oq extends ht{static get pluginName(){return"PastePlainText"}static get requires(){return[Ll]}init(){const c=this.editor,u=c.model,h=c.editing.view,m=h.document,_=u.document.selection;let b=!1;h.addObserver($_),this.listenTo(m,"keydown",(w,A)=>{b=A.shiftKey}),c.plugins.get(Ll).on("contentInsertion",(w,A)=>{(b||function(M,R){if(M.childCount>1)return!1;const O=M.getChild(0);return!R.isObject(O)&&0==Array.from(O.getAttributeKeys()).length}(A.content,u.schema))&&u.change(M=>{const R=Array.from(_.getAttributes()).filter(([N])=>u.schema.getAttributeProperties(N).isFormatting);_.isCollapsed||u.deleteContent(_,{doNotAutoparagraph:!0}),R.push(..._.getAttributes());const O=M.createRangeIn(A.content);for(const N of O.getItems())N.is("$textProxy")&&M.setAttributes(R,N)})})}}class NM extends ht{static get pluginName(){return"Clipboard"}static get requires(){return[Ll,nq,oq]}}class rq extends Bi{constructor(c){super(c),this.affectsData=!1}execute(){const c=this.editor.model,u=c.document.selection;let h=c.schema.getLimitElement(u);if(u.containsEntireContent(h)||!LM(c.schema,h))do{if(h=h.parent,!h)return}while(!LM(c.schema,h));c.change(m=>{m.setSelection(h,"in")})}}function LM(g,c){return g.isLimit(c)&&(g.checkChild(c,"$text")||g.checkChild(c,"paragraph"))}const PV=kd("Ctrl+A");class OV extends ht{static get pluginName(){return"SelectAllEditing"}init(){const c=this.editor,u=c.editing.view.document;c.commands.add("selectAll",new rq(c)),this.listenTo(u,"keydown",(h,m)=>{Js(m)===PV&&(c.execute("selectAll"),m.preventDefault())})}}class Yk extends ht{static get pluginName(){return"SelectAllUI"}init(){const c=this.editor;c.ui.componentFactory.add("selectAll",u=>{const h=c.commands.get("selectAll"),m=new Hn(u);return m.set({label:(0,u.t)("Select all"),icon:'',keystroke:"Ctrl+A",tooltip:!0}),m.bind("isEnabled").to(h,"isEnabled"),this.listenTo(m,"execute",()=>{c.execute("selectAll"),c.editing.view.focus()}),m})}}class Y_ extends ht{static get requires(){return[OV,Yk]}static get pluginName(){return"SelectAll"}}var Qk=Object.defineProperty,Q_=Object.getOwnPropertySymbols,BM=Object.prototype.hasOwnProperty,X_=Object.prototype.propertyIsEnumerable,Xk=(g,c,u)=>c in g?Qk(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class VM extends Bi{constructor(c){super(c),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(c.data,"set",(u,h)=>{h[1]=((_,b)=>{for(var w in b||(b={}))BM.call(b,w)&&Xk(_,w,b[w]);if(Q_)for(var w of Q_(b))X_.call(b,w)&&Xk(_,w,b[w]);return _})({},h[1]);const m=h[1];m.batchType||(m.batchType={isUndoable:!1})},{priority:"high"}),this.listenTo(c.data,"set",(u,h)=>{h[1].batchType.isUndoable||this.clearStack()})}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(c){const u=this.editor.model.document.selection,h={ranges:u.hasOwnRange?Array.from(u.getRanges()):[],isBackward:u.isBackward};this._stack.push({batch:c,selection:h}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(c,u,h){const m=this.editor.model,_=m.document,b=[],w=c.map(M=>M.getTransformedByOperations(h)),A=w.flat();for(const M of w){const R=M.filter(O=>O.root!=_.graveyard).filter(O=>!FV(O,A));R.length&&(Z_(R),b.push(R[0]))}b.length&&m.change(M=>{M.setSelection(b,{backward:u})})}_undo(c,u){const h=this.editor.model,m=h.document;this._createdBatches.add(u);const _=c.operations.slice().filter(b=>b.isDocumentOperation);_.reverse();for(const b of _){const A=Array.from(m.history.getOperations(b.baseVersion+1)),M=QE([b.getReversed()],A,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let R of M){const O=R.affectedSelectable;O&&!h.canEditAt(O)&&(R=new Sr(R.baseVersion)),u.addOperation(R),h.applyOperation(R),m.history.setOperationAsUndone(b,R)}}}}function Z_(g){g.sort((c,u)=>c.start.isBefore(u.start)?-1:1);for(let c=1;cu!==g&&u.containsRange(g,!0))}class NV extends VM{execute(c=null){const u=c?this._stack.findIndex(_=>_.batch==c):this._stack.length-1,h=this._stack.splice(u,1)[0],m=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(m,()=>{this._undo(h.batch,m);const _=this.editor.model.document.history.getOperations(h.batch.baseVersion);this._restoreSelection(h.selection.ranges,h.selection.isBackward,_)}),this.fire("revert",h.batch,m),this.refresh()}}class LV extends VM{execute(){const c=this._stack.pop(),u=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(u,()=>{const m=this.editor.model.document.history.getOperations(c.batch.operations[c.batch.operations.length-1].baseVersion+1);this._restoreSelection(c.selection.ranges,c.selection.isBackward,m),this._undo(c.batch,u)}),this.refresh()}}class BV extends ht{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}init(){const c=this.editor;this._undoCommand=new NV(c),this._redoCommand=new LV(c),c.commands.add("undo",this._undoCommand),c.commands.add("redo",this._redoCommand),this.listenTo(c.model,"applyOperation",(u,h)=>{const m=h[0];if(!m.isDocumentOperation)return;const _=m.batch,b=this._redoCommand.createdBatches.has(_),w=this._undoCommand.createdBatches.has(_);this._batchRegistry.has(_)||(this._batchRegistry.add(_),_.isUndoable&&(b?this._undoCommand.addBatch(_):w||(this._undoCommand.addBatch(_),this._redoCommand.clearStack())))},{priority:"highest"}),this.listenTo(this._undoCommand,"revert",(u,h,m)=>{this._redoCommand.addBatch(m)}),c.keystrokes.set("CTRL+Z","undo"),c.keystrokes.set("CTRL+Y","redo"),c.keystrokes.set("CTRL+SHIFT+Z","redo")}}const O0='',J_='';class F0 extends ht{static get pluginName(){return"UndoUI"}init(){const c=this.editor,u=c.locale,h=c.t,m="ltr"==u.uiLanguageDirection?O0:J_,_="ltr"==u.uiLanguageDirection?J_:O0;this._addButton("undo",h("Undo"),"CTRL+Z",m),this._addButton("redo",h("Redo"),"CTRL+Y",_)}_addButton(c,u,h,m){const _=this.editor;_.ui.componentFactory.add(c,b=>{const w=_.commands.get(c),A=new Hn(b);return A.set({label:u,icon:m,keystroke:h,tooltip:!0}),A.bind("isEnabled").to(w,"isEnabled"),this.listenTo(A,"execute",()=>{_.execute(c),_.editing.view.focus()}),A})}}class VV extends ht{static get requires(){return[BV,F0]}static get pluginName(){return"Undo"}}class zV extends(_t()){constructor(){super();const c=new window.FileReader;this._reader=c,this._data=void 0,this.set("loaded",0),c.onprogress=u=>{this.loaded=u.loaded}}get error(){return this._reader.error}get data(){return this._data}read(c){const u=this._reader;return this.total=c.size,new Promise((h,m)=>{u.onload=()=>{const _=u.result;this._data=_,h(_)},u.onerror=()=>{m("error")},u.onabort=()=>{m("aborted")},this._reader.readAsDataURL(c)})}abort(){this._reader.abort()}}class pc extends ht{constructor(){super(...arguments),this.loaders=new Oa,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get requires(){return[_r]}init(){this.loaders.on("change",()=>this._updatePendingAction()),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(c,u)=>u?c/u*100:0)}getLoader(c){return this._loadersMap.get(c)||null}createLoader(c){if(!this.createUploadAdapter)return St("filerepository-no-upload-adapter"),null;const u=new N0(Promise.resolve(c),this.createUploadAdapter);return this.loaders.add(u),this._loadersMap.set(c,u),c instanceof Promise&&u.file.then(h=>{this._loadersMap.set(h,u)}).catch(()=>{}),u.on("change:uploaded",()=>{let h=0;for(const m of this.loaders)h+=m.uploaded;this.uploaded=h}),u.on("change:uploadTotal",()=>{let h=0;for(const m of this.loaders)m.uploadTotal&&(h+=m.uploadTotal);this.uploadTotal=h}),u}destroyLoader(c){const u=c instanceof N0?c:this.getLoader(c);u._destroy(),this.loaders.remove(u),this._loadersMap.forEach((h,m)=>{h===u&&this._loadersMap.delete(m)})}_updatePendingAction(){const c=this.editor.plugins.get(_r);if(this.loaders.length){if(!this._pendingAction){const u=this.editor.t,h=m=>`${u("Upload in progress")} ${parseInt(m)}%.`;this._pendingAction=c.add(h(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",h)}}else c.remove(this._pendingAction),this._pendingAction=null}}class N0 extends(_t()){constructor(c,u){super(),this.id=Lt(),this._filePromiseWrapper=this._createFilePromiseWrapper(c),this._adapter=u(this),this._reader=new zV,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(h,m)=>m?h/m*100:0),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then(c=>this._filePromiseWrapper?c:null):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new fe("filerepository-read-wrong-status",this);return this.status="reading",this.file.then(c=>this._reader.read(c)).then(c=>{if("reading"!==this.status)throw this.status;return this.status="idle",c}).catch(c=>{throw"aborted"===c?(this.status="aborted","aborted"):(this.status="error",this._reader.error?this._reader.error:c)})}upload(){if("idle"!=this.status)throw new fe("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then(()=>this._adapter.upload()).then(c=>(this.uploadResponse=c,this.status="idle",c)).catch(c=>{throw"aborted"===this.status?"aborted":(this.status="error",c)})}abort(){const c=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==c?this._reader.abort():"uploading"==c&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch(()=>{}),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(c){const u={};return u.promise=new Promise((h,m)=>{u.rejecter=m,u.isFulfilled=!1,c.then(_=>{u.isFulfilled=!0,h(_)}).catch(_=>{u.isFulfilled=!0,m(_)})}),u}}class HV extends Hn{constructor(c){super(c),this.buttonView=this,this._fileInputView=new zM(c),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.on("execute",()=>{this._fileInputView.open()}),this.extendTemplate({attributes:{class:"ck-file-dialog-button"}})}render(){super.render(),this.children.add(this._fileInputView)}}class zM extends gi{constructor(c){super(c),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const u=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:u.to("acceptedType"),multiple:u.to("allowMultipleFiles")},on:{change:u.to(()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""})}})}open(){this.element.click()}}const HM="ckCsrfToken";class jM{constructor(c,u,h){this.loader=c,this.url=u,this.t=h}upload(){return this.loader.file.then(c=>new Promise((u,h)=>{this._initRequest(),this._initListeners(u,h,c),this._sendRequest(c)}))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const c=this.xhr=new XMLHttpRequest;c.open("POST",this.url,!0),c.responseType="json"}_initListeners(c,u,h){const m=this.xhr,_=this.loader,b=(0,this.t)("Cannot upload file:")+` ${h.name}.`;m.addEventListener("error",()=>u(b)),m.addEventListener("abort",()=>u()),m.addEventListener("load",()=>{const w=m.response;if(!w||!w.uploaded)return u(w&&w.error&&w.error.message?w.error.message:b);c({default:w.url})}),m.upload&&m.upload.addEventListener("progress",w=>{w.lengthComputable&&(_.uploadTotal=w.total,_.uploaded=w.loaded)})}_sendRequest(c){const u=new FormData;u.append("upload",c),u.append("ckCsrfToken",function I(){let g=function(h){h=h.toLowerCase();const m=document.cookie.split(";");for(const _ of m){const b=_.split("=");if(decodeURIComponent(b[0].trim().toLowerCase())===h)return decodeURIComponent(b[1])}return null}(HM);var u;return g&&40==g.length||(g=function(h){let m="";const _=new Uint8Array(40);window.crypto.getRandomValues(_);for(let b=0;b<_.length;b++){const w="abcdefghijklmnopqrstuvwxyz0123456789".charAt(_[b]%36);m+=Math.random()>.5?w.toUpperCase():w}return m}(),u=g,document.cookie=encodeURIComponent(HM)+"="+encodeURIComponent(u)+";path=/"),g}()),this.xhr.send(u)}}function $d(g,c,u,h){let m,_=null;"function"==typeof h?m=h:(_=g.commands.get(h),m=()=>{g.execute(h)}),g.model.document.on("change:data",(b,w)=>{if(_&&!_.isEnabled||!c.isEnabled)return;const A=gr(g.model.document.selection.getRanges());if(!A.isCollapsed||w.isUndo||!w.isLocal)return;const M=Array.from(g.model.document.differ.getChanges()),R=M[0];if(1!=M.length||"insert"!==R.type||"$text"!=R.name||1!=R.length)return;const O=R.position.parent;if(O.is("element","codeBlock")||O.is("element","listItem")&&"function"!=typeof h&&!["numberedList","bulletedList","todoList"].includes(h)||_&&!0===_.value)return;const N=O.getChild(0),V=g.model.createRangeOn(N);if(!V.containsRange(A)&&!A.end.isEqual(V.end))return;const W=u.exec(N.data.substr(0,A.end.offset));W&&g.model.enqueueChange(Y=>{const ne=Y.createPositionAt(O,0),he=Y.createPositionAt(O,W[0].length),Me=new Na(ne,he);if(!1!==m({match:W})){Y.remove(Me);const qe=g.model.document.selection.getFirstRange(),kt=Y.createRangeIn(O);!O.isEmpty||kt.isEqual(qe)||kt.containsRange(qe,!0)||Y.remove(O)}Me.detach(),g.model.enqueueChange(()=>{g.plugins.get("Delete").requestUndoOnBackspace()})})})}function gm(g,c,u,h){let m,_;u instanceof RegExp?m=u:_=u,_=_||(b=>{let w;const A=[],M=[];for(;null!==(w=m.exec(b))&&!(w&&w.length<4);){let{index:R,1:O,2:N,3:V}=w;R+=w[0].length-(O+N+V).length;const ne=[R+O.length+N.length,R+O.length+N.length+V.length];A.push([R,R+O.length]),A.push(ne),M.push([R+O.length,R+O.length+N.length])}return{remove:A,format:M}}),g.model.document.on("change:data",(b,w)=>{if(w.isUndo||!w.isLocal||!c.isEnabled)return;const A=g.model,M=A.document.selection;if(!M.isCollapsed)return;const R=Array.from(A.document.differ.getChanges()),O=R[0];if(1!=R.length||"insert"!==O.type||"$text"!=O.name||1!=O.length)return;const N=M.focus,V=N.parent,{text:W,range:Y}=function(qe,kt){let $t=qe.start;return{text:Array.from(qe.getItems()).reduce((Wi,Wn)=>!Wn.is("$text")&&!Wn.is("$textProxy")||Wn.getAttribute("code")?($t=kt.createPositionAfter(Wn),""):Wi+Wn.data,""),range:kt.createRange($t,qe.end)}}(A.createRange(A.createPositionAt(V,0),N),A),ne=_(W),he=$M(Y.start,ne.format,A),Me=$M(Y.start,ne.remove,A);he.length&&Me.length&&A.enqueueChange(qe=>{if(!1!==h(qe,he)){for(const kt of Me.reverse())qe.remove(kt);A.enqueueChange(()=>{g.plugins.get("Delete").requestUndoOnBackspace()})}})})}function $M(g,c,u){return c.filter(h=>void 0!==h[0]&&void 0!==h[1]).map(h=>u.createRange(g.getShiftedBy(h[0]),g.getShiftedBy(h[1])))}function L0(g,c){return(u,h)=>{if(!g.commands.get(c).isEnabled)return!1;const m=g.model.schema.getValidRanges(h,c);for(const _ of m)u.setAttribute(c,!0,_);u.removeSelectionAttribute(c)}}class ee extends Bi{constructor(c,u){super(c),this.attributeKey=u}refresh(){const c=this.editor.model,u=c.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=c.schema.checkAttributeInSelection(u.selection,this.attributeKey)}execute(c={}){const u=this.editor.model,h=u.document.selection,m=void 0===c.forceValue?!this.value:c.forceValue;u.change(_=>{if(h.isCollapsed)m?_.setSelectionAttribute(this.attributeKey,!0):_.removeSelectionAttribute(this.attributeKey);else{const b=u.schema.getValidRanges(h.getRanges(),this.attributeKey);for(const w of b)m?_.setAttribute(this.attributeKey,m,w):_.removeAttribute(this.attributeKey,w)}})}_getValueFromFirstAllowedNode(){const c=this.editor.model,u=c.schema,h=c.document.selection;if(h.isCollapsed)return h.hasAttribute(this.attributeKey);for(const m of h.getRanges())for(const _ of m.getItems())if(u.checkAttribute(_,this.attributeKey))return _.hasAttribute(this.attributeKey);return!1}}const x="bold";class Zk extends ht{static get pluginName(){return"BoldEditing"}init(){const c=this.editor;c.model.schema.extend("$text",{allowAttributes:x}),c.model.schema.setAttributeProperties(x,{isFormatting:!0,copyOnEnter:!0}),c.conversion.attributeToElement({model:x,view:"strong",upcastAlso:["b",u=>{const h=u.getStyle("font-weight");return h&&("bold"==h||Number(h)>=600)?{name:!0,styles:["font-weight"]}:null}]}),c.commands.add(x,new ee(c,x)),c.keystrokes.set("CTRL+B",x)}}const Jk="bold";class C extends ht{static get pluginName(){return"BoldUI"}init(){const c=this.editor,u=c.t;c.ui.componentFactory.add(Jk,h=>{const m=c.commands.get(Jk),_=new Hn(h);return _.set({label:u("Bold"),icon:hn.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),_.bind("isOn","isEnabled").to(m,"value","isEnabled"),this.listenTo(_,"execute",()=>{c.execute(Jk),c.editing.view.focus()}),_})}}var k=ft(8603);At()(k.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const pp="italic";class GV extends ht{static get pluginName(){return"ItalicEditing"}init(){const c=this.editor;c.model.schema.extend("$text",{allowAttributes:pp}),c.model.schema.setAttributeProperties(pp,{isFormatting:!0,copyOnEnter:!0}),c.conversion.attributeToElement({model:pp,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),c.commands.add(pp,new ee(c,pp)),c.keystrokes.set("CTRL+I",pp)}}const eD="italic";class jV extends ht{static get pluginName(){return"ItalicUI"}init(){const c=this.editor,u=c.t;c.ui.componentFactory.add(eD,h=>{const m=c.commands.get(eD),_=new Hn(h);return _.set({label:u("Italic"),icon:'',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),_.bind("isOn","isEnabled").to(m,"value","isEnabled"),this.listenTo(_,"execute",()=>{c.execute(eD),c.editing.view.focus()}),_})}}class be extends Bi{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(c={}){const u=this.editor.model,h=u.schema,_=Array.from(u.document.selection.getSelectedBlocks()),b=void 0===c.forceValue?!this.value:c.forceValue;u.change(w=>{if(b){const A=_.filter(M=>ve(M)||tD(h,M));this._applyQuote(w,A)}else this._removeQuote(w,_.filter(ve))})}_getValue(){const c=gr(this.editor.model.document.selection.getSelectedBlocks());return!(!c||!ve(c))}_checkEnabled(){if(this.value)return!0;const u=this.editor.model.schema,h=gr(this.editor.model.document.selection.getSelectedBlocks());return!!h&&tD(u,h)}_removeQuote(c,u){ye(c,u).reverse().forEach(h=>{if(h.start.isAtStart&&h.end.isAtEnd)return void c.unwrap(h.start.parent);if(h.start.isAtStart){const _=c.createPositionBefore(h.start.parent);return void c.move(h,_)}h.end.isAtEnd||c.split(h.end);const m=c.createPositionAfter(h.end.parent);c.move(h,m)})}_applyQuote(c,u){const h=[];ye(c,u).reverse().forEach(m=>{let _=ve(m.start);_||(_=c.createElement("blockQuote"),c.wrap(m,_)),h.push(_)}),h.reverse().reduce((m,_)=>m.nextSibling==_?(c.merge(c.createPositionAfter(m)),m):_)}}function ve(g){return"blockQuote"==g.parent.name?g.parent:null}function ye(g,c){let u,h=0;const m=[];for(;h{const w=c.model.document.differ.getChanges();for(const A of w)if("insert"==A.type){const M=A.position.nodeAfter;if(!M)continue;if(M.is("element","blockQuote")&&M.isEmpty)return b.remove(M),!0;if(M.is("element","blockQuote")&&!u.checkChild(A.position,M))return b.unwrap(M),!0;if(M.is("element")){const R=b.createRangeIn(M);for(const O of R.getItems())if(O.is("element","blockQuote")&&!u.checkChild(b.createPositionBefore(O),O))return b.unwrap(O),!0}}else if("remove"==A.type){const M=A.position.parent;if(M.is("element","blockQuote")&&M.isEmpty)return b.remove(M),!0}return!1});const h=this.editor.editing.view.document,m=c.model.document.selection,_=c.commands.get("blockQuote");this.listenTo(h,"enter",(b,w)=>{!m.isCollapsed||!_.value||m.getLastPosition().parent.isEmpty&&(c.execute("blockQuote"),c.editing.view.scrollToTheSelection(),w.preventDefault(),b.stop())},{context:"blockquote"}),this.listenTo(h,"delete",(b,w)=>{if("backward"!=w.direction||!m.isCollapsed||!_.value)return;const A=m.getLastPosition().parent;A.isEmpty&&!A.previousSibling&&(c.execute("blockQuote"),c.editing.view.scrollToTheSelection(),w.preventDefault(),b.stop())},{context:"blockquote"})}}var UM=ft(3062);At()(UM.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ev extends ht{static get pluginName(){return"BlockQuoteUI"}init(){const c=this.editor,u=c.t;c.ui.componentFactory.add("blockQuote",h=>{const m=c.commands.get("blockQuote"),_=new Hn(h);return _.set({label:u("Block quote"),icon:hn.quote,tooltip:!0,isToggleable:!0}),_.bind("isOn","isEnabled").to(m,"value","isEnabled"),this.listenTo(_,"execute",()=>{c.execute("blockQuote"),c.editing.view.focus()}),_})}}class WM extends ht{static get pluginName(){return"CKBoxUI"}afterInit(){const c=this.editor,u=c.commands.get("ckbox");if(!u)return;const h=c.t;if(c.ui.componentFactory.add("ckbox",m=>{const _=new Hn(m);return _.set({label:h("Open file manager"),icon:'',tooltip:!0}),_.bind("isOn","isEnabled").to(u,"value","isEnabled"),_.on("execute",()=>{c.execute("ckbox")}),_}),c.plugins.has("ImageInsertUI")){const m=c.plugins.get("ImageInsertUI");m.registerIntegration({name:"assetManager",observable:u,buttonViewCreator:()=>{const _=this.editor.ui.componentFactory.create("ckbox");return _.icon=hn.imageAssetManager,_.bind("label").to(m,"isImageSelected",b=>h(b?"Replace image with file manager":"Insert image with file manager")),_},formViewCreator:()=>{const _=this.editor.ui.componentFactory.create("ckbox");return _.icon=hn.imageAssetManager,_.withText=!0,_.bind("label").to(m,"isImageSelected",b=>h(b?"Replace with file manager":"Insert with file manager")),_.on("execute",()=>{m.dropdownView.isOpen=!1}),_}})}}}var B=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],gp=g=>{let c=0;for(let u=0;u{let c=g/255;return c<=.04045?c/12.92:Math.pow((c+.055)/1.055,2.4)},B0=g=>{let c=Math.max(0,Math.min(1,g));return c<=.0031308?Math.trunc(12.92*c*255+.5):Math.trunc(255*(1.055*Math.pow(c,.4166666666666667)-.055)+.5)},V0=(g,c)=>(g<0?-1:1)*Math.pow(Math.abs(g),c),nD=class extends Error{constructor(g){super(g),this.name="ValidationError",this.message=g}},UV=g=>{let c=g>>8&255,u=255&g;return[iD(g>>16),iD(c),iD(u)]},pt=(g,c)=>{let u=Math.floor(g/361),h=Math.floor(g/19)%19,m=g%19;return[V0((u-9)/9,2)*c,V0((h-9)/9,2)*c,V0((m-9)/9,2)*c]},ri=Object.defineProperty,mp=Object.getOwnPropertySymbols,oD=Object.prototype.hasOwnProperty,qM=Object.prototype.propertyIsEnumerable,rD=(g,c,u)=>c in g?ri(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;function sD(g){const c=[];let u=0;for(const m in g){const _=parseInt(m,10);isNaN(_)||(_>u&&(u=_),c.push(`${g[m]} ${m}w`))}const h=[{srcset:c.join(","),sizes:`(max-width: ${u}px) 100vw, ${u}px`,type:"image/webp"}];return{imageFallbackUrl:g.default,imageSources:h}}function aD({url:g,method:c="GET",data:u,onUploadProgress:h,signal:m,authorization:_}){const b=new XMLHttpRequest;b.open(c,g.toString()),b.setRequestHeader("Authorization",_),b.setRequestHeader("CKBox-Version","CKEditor 5"),b.responseType="json";const w=()=>{b.abort()};return new Promise((A,M)=>{m.throwIfAborted(),m.addEventListener("abort",w),b.addEventListener("loadstart",()=>{m.addEventListener("abort",w)}),b.addEventListener("loadend",()=>{m.removeEventListener("abort",w)}),b.addEventListener("error",()=>{M()}),b.addEventListener("abort",()=>{M()}),b.addEventListener("load",()=>{const R=b.response;if(!R||R.statusCode>=400)return M(R&&R.message);A(R)}),h&&b.upload.addEventListener("progress",R=>{h(R)}),b.send(u)})}const KM={"image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"};var z0=Object.defineProperty,Ud=Object.getOwnPropertySymbols,WV=Object.prototype.hasOwnProperty,qV=Object.prototype.propertyIsEnumerable,H0=(g,c,u)=>c in g?z0(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Nu=(g,c)=>{for(var u in c||(c={}))WV.call(c,u)&&H0(g,u,c[u]);if(Ud)for(var u of Ud(c))qV.call(c,u)&&H0(g,u,c[u]);return g};class lD extends Bi{constructor(c){super(c),this._chosenAssets=new Set,this._wrapper=null,this._initListeners()}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){this.fire("ckbox:open")}_getValue(){return null!==this._wrapper}_checkEnabled(){const c=this.editor.commands.get("insertImage"),u=this.editor.commands.get("link");return!(!c.isEnabled&&!u.isEnabled)}_prepareOptions(){const c=this.editor.config.get("ckbox");return{theme:c.theme,language:c.language,tokenUrl:c.tokenUrl,serviceOrigin:c.serviceOrigin,forceDemoLabel:c.forceDemoLabel,dialog:{onClose:()=>this.fire("ckbox:close")},assets:{onChoose:u=>this.fire("ckbox:choose",u)}}}_initListeners(){const c=this.editor,u=c.model,h=!c.config.get("ckbox.ignoreDataId");this.on("ckbox",()=>{this.refresh()},{priority:"low"}),this.on("ckbox:open",()=>{this.isEnabled&&!this.value&&(this._wrapper=_d(document,"div",{class:"ck ckbox-wrapper"}),document.body.appendChild(this._wrapper),window.CKBox.mount(this._wrapper,this._prepareOptions()))}),this.on("ckbox:close",()=>{this.value&&(this._wrapper.remove(),this._wrapper=null,c.editing.view.focus())}),this.on("ckbox:choose",(m,_)=>{if(!this.isEnabled)return;const b=c.commands.get("insertImage"),w=c.commands.get("link"),A=function({assets:R,isImageAllowed:O,isLinkAllowed:N}){return R.map(V=>function(W){const Y=W.data.metadata;return!!Y&&Y.width&&Y.height}(V)?{id:V.data.id,type:"image",attributes:KV(V)}:{id:V.data.id,type:"link",attributes:cD(V)}).filter(V=>"image"===V.type?O:N)}({assets:_,isImageAllowed:b.isEnabled,isLinkAllowed:w.isEnabled}),M=A.length;0!==M&&(u.change(R=>{for(const O of A)this._insertAsset(O,O===A[M-1],R,1===M),h&&(setTimeout(()=>this._chosenAssets.delete(O),1e3),this._chosenAssets.add(O))}),c.editing.view.focus())}),this.listenTo(c,"destroy",()=>{this.fire("ckbox:close"),this._chosenAssets.clear()})}_insertAsset(c,u,h,m){const _=this.editor.model.document.selection;h.removeSelectionAttribute("linkHref"),"image"===c.type?this._insertImage(c):this._insertLink(c,h,m),u||h.setSelection(_.getLastPosition())}_insertImage(c){const u=this.editor,{imageFallbackUrl:h,imageSources:m,imageTextAlternative:_,imageWidth:b,imageHeight:w,imagePlaceholder:A}=c.attributes;u.execute("insertImage",{source:Nu({src:h,sources:m,alt:_,width:b,height:w},A?{placeholder:A}:null)})}_insertLink(c,u,h){const m=this.editor,_=m.model,b=_.document.selection,{linkName:w,linkHref:A}=c.attributes;if(b.isCollapsed){const M=ta(b.getAttributes()),R=u.createText(w,M);if(!h){const N=b.getLastPosition(),V=N.parent;"paragraph"===V.name&&V.isEmpty||m.execute("insertParagraph",{position:N});const W=_.insertContent(R);return u.setSelection(W),void m.execute("link",A)}const O=_.insertContent(R);u.setSelection(O)}m.execute("link",A)}}function KV(g){const{imageFallbackUrl:c,imageSources:u}=sD(g.data.imageUrls),{description:h,width:m,height:_,blurHash:b}=g.data.metadata,w=function(A){if(A)try{const M="32px",R=document.createElement("canvas");R.setAttribute("width",M),R.setAttribute("height",M);const O=R.getContext("2d");if(!O)return;const N=O.createImageData(32,32),V=((g,c,u,h)=>{(g=>{if(!g||g.length<6)throw new nD("The blurhash string must be at least 6 characters");let c=gp(g[0]),u=Math.floor(c/9)+1,h=c%9+1;if(g.length!==4+2*h*u)throw new nD(`blurhash length mismatch: length is ${g.length} but it should be ${4+2*h*u}`)})(g),h|=1;let m=gp(g[0]),_=Math.floor(m/9)+1,b=m%9+1,w=(gp(g[1])+1)/166,A=new Array(b*_);for(let O=0;Onew Promise((h,m)=>{var _=A=>{try{w(u.next(A))}catch(M){m(M)}},b=A=>{try{w(u.throw(A))}catch(M){m(M)}},w=A=>A.done?h(A.value):Promise.resolve(A.value).then(_,b);w((u=u.apply(g,c)).next())});class XM extends ht{static get pluginName(){return"CKBoxUtils"}static get requires(){return["CloudServices"]}init(){return QM(this,null,function*(){const c=this.editor,u=!!c.config.get("ckbox"),h=!!window.CKBox;if(!u&&!h)return;c.config.define("ckbox",{serviceOrigin:"https://api.ckbox.io",defaultUploadCategories:null,ignoreDataId:!1,language:c.locale.uiLanguage,theme:"lark",tokenUrl:c.config.get("cloudServices.tokenUrl")});const m=c.plugins.get("CloudServices"),_=c.config.get("cloudServices.tokenUrl"),b=c.config.get("ckbox.tokenUrl");if(!b)throw new fe("ckbox-plugin-missing-token-url",this);this._token=b==_?m.token:yield m.registerTokenUrl(b)})}getToken(){return this._token}getWorkspaceId(){const c=(0,this.editor.t)("Cannot access default workspace."),u=this.editor.config.get("ckbox.defaultUploadWorkspaceId"),h=function(m,_){const[,b]=m.value.split("."),w=JSON.parse(atob(b)),A=w.auth&&w.auth.ckbox&&w.auth.ckbox.workspaces||[w.aud];return _?"superadmin"==(w.auth&&w.auth.ckbox&&w.auth.ckbox.role)||A.includes(_)?_:null:A[0]}(this._token,u);if(null==h)throw on("ckbox-access-default-workspace-error"),c;return h}getCategoryIdForFile(c,u){return QM(this,null,function*(){const h=(0,this.editor.t)("Cannot determine a category for the uploaded file."),m=this.editor.config.get("ckbox.defaultUploadCategories"),_=this._getAvailableCategories(u),b="string"==typeof c?(w=yield function YM(g,c){return u=this,m=function*(){try{const _=yield fetch(g,((b,w)=>{for(var A in w||(w={}))oD.call(w,A)&&rD(b,A,w[A]);if(mp)for(var A of mp(w))qM.call(w,A)&&rD(b,A,w[A]);return b})({method:"HEAD",cache:"force-cache"},c));return _.ok&&_.headers.get("content-type")||""}catch{return""}},new Promise((_,b)=>{var w=R=>{try{M(m.next(R))}catch(O){b(O)}},A=R=>{try{M(m.throw(R))}catch(O){b(O)}},M=R=>R.done?_(R.value):Promise.resolve(R.value).then(w,A);M((m=m.apply(u,null)).next())});var u,m}(c,u),KM[w]):function(R){const O=R.name,N=new RegExp("\\.(?[^.]+)$");return O.match(N).groups.ext.toLowerCase()}(c);var w;const A=yield _;if(!A)throw h;if(m){const R=Object.keys(m).find(O=>m[O].find(N=>N.toLowerCase()==b));if(R){const O=A.find(N=>N.id===R||N.name===R);if(!O)throw h;return O.id}}const M=A.find(R=>R.extensions.find(O=>O.toLowerCase()==b));if(!M)throw h;return M.id})}_getAvailableCategories(c){return QM(this,null,function*(){const u=this.editor,h=this._token,{signal:m}=c,_=u.config.get("ckbox.serviceOrigin"),b=this.getWorkspaceId();try{const A=[];let M,R=0;do{const O=yield w(R);A.push(...O.items),M=O.totalCount-(R+50),R+=50}while(M>0);return A}catch{return m.throwIfAborted(),void on("ckbox-fetch-category-http-error")}function w(A){const M=new URL("categories",_);return M.searchParams.set("limit",50..toString()),M.searchParams.set("offset",A.toString()),M.searchParams.set("workspaceId",b),aD({url:M,signal:m,authorization:h.value})}})}}var dD=(g,c,u)=>new Promise((h,m)=>{var _=A=>{try{w(u.next(A))}catch(M){m(M)}},b=A=>{try{w(u.throw(A))}catch(M){m(M)}},w=A=>A.done?h(A.value):Promise.resolve(A.value).then(_,b);w((u=u.apply(g,c)).next())});class ZM extends ht{static get requires(){return["ImageUploadEditing","ImageUploadProgress",pc,Mr]}static get pluginName(){return"CKBoxUploadAdapter"}afterInit(){return dD(this,null,function*(){const c=this.editor,u=!!c.config.get("ckbox"),h=!!window.CKBox;if(!u&&!h)return;const m=c.plugins.get(pc),_=c.plugins.get(XM);m.createUploadAdapter=A=>new YV(A,c,_);const b=!c.config.get("ckbox.ignoreDataId"),w=c.plugins.get("ImageUploadEditing");b&&w.on("uploadComplete",(A,{imageElement:M,data:R})=>{c.model.change(O=>{O.setAttribute("ckboxImageId",R.ckboxImageId,M)})})})}}class YV{constructor(c,u,h){this.loader=c,this.token=h.getToken(),this.ckboxUtils=h,this.editor=u,this.controller=new AbortController,this.serviceOrigin=u.config.get("ckbox.serviceOrigin")}upload(){return dD(this,null,function*(){const c=this.ckboxUtils,u=this.editor.t,h=yield this.loader.file,m=yield c.getCategoryIdForFile(h,{signal:this.controller.signal}),_=new URL("assets",this.serviceOrigin),b=new FormData;return _.searchParams.set("workspaceId",c.getWorkspaceId()),b.append("categoryId",m),b.append("file",h),aD({method:"POST",url:_,data:b,onUploadProgress:w=>{w.lengthComputable&&(this.loader.uploadTotal=w.total,this.loader.uploaded=w.loaded)},signal:this.controller.signal,authorization:this.token.value}).then(w=>dD(this,null,function*(){const A=sD(w.imageUrls);return{ckboxImageId:w.id,default:A.imageFallbackUrl,sources:A.imageSources}})).catch(()=>{const w=u("Cannot upload file:")+` ${h.name}.`;return Promise.reject(w)})})}abort(){this.controller.abort()}}class Mr extends ht{static get pluginName(){return"CKBoxEditing"}static get requires(){return["LinkEditing","PictureEditing",ZM,XM]}init(){const c=this.editor,u=!!c.config.get("ckbox"),h=!!window.CKBox;(u||h)&&(this._checkImagePlugins(),c.config.get("ckbox.ignoreDataId")||(this._initSchema(),this._initConversion(),this._initFixers()),h&&c.commands.add("ckbox",new lD(c)))}_checkImagePlugins(){const c=this.editor;c.plugins.has("ImageBlockEditing")||c.plugins.has("ImageInlineEditing")||on("ckbox-plugin-image-feature-missing",c)}_initSchema(){const c=this.editor.model.schema;c.extend("$text",{allowAttributes:"ckboxLinkId"}),c.isRegistered("imageBlock")&&c.extend("imageBlock",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),c.isRegistered("imageInline")&&c.extend("imageInline",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),c.addAttributeCheck((u,h)=>{if(!u.last.getAttribute("linkHref")&&"ckboxLinkId"===h)return!1})}_initConversion(){const c=this.editor;c.conversion.for("downcast").add(h=>{h.on("attribute:ckboxLinkId:imageBlock",(m,_,b)=>{const{writer:w,mapper:A,consumable:M}=b;if(!M.consume(_.item,m.name))return;const R=[...A.toViewElement(_.item).getChildren()].find(O=>"a"===O.name);R&&(_.item.hasAttribute("ckboxLinkId")?w.setAttribute("data-ckbox-resource-id",_.item.getAttribute("ckboxLinkId"),R):w.removeAttribute("data-ckbox-resource-id",R))},{priority:"low"}),h.on("attribute:ckboxLinkId",(m,_,b)=>{const{writer:w,mapper:A,consumable:M}=b;if(M.consume(_.item,m.name)){if(_.attributeOldValue){const R=eR(w,_.attributeOldValue);w.unwrap(A.toViewRange(_.range),R)}if(_.attributeNewValue){const R=eR(w,_.attributeNewValue);_.item.is("selection")?w.wrap(w.document.selection.getFirstRange(),R):w.wrap(A.toViewRange(_.range),R)}}},{priority:"low"})}),c.conversion.for("upcast").add(h=>{h.on("element:a",(m,_,b)=>{const{writer:w,consumable:A}=b;if(!_.viewItem.getAttribute("href")||!A.consume(_.viewItem,{attributes:["data-ckbox-resource-id"]}))return;const M=_.viewItem.getAttribute("data-ckbox-resource-id");if(M)if(_.modelRange)for(let R of _.modelRange.getItems())R.is("$textProxy")&&(R=R.textNode),QV(R)&&w.setAttribute("ckboxLinkId",M,R);else w.setAttribute("ckboxLinkId",M,_.modelCursor.nodeBefore||_.modelCursor.parent)},{priority:"low"})}),c.conversion.for("downcast").attributeToAttribute({model:"ckboxImageId",view:"data-ckbox-resource-id"}),c.conversion.for("upcast").elementToAttribute({model:{key:"ckboxImageId",value:h=>h.getAttribute("data-ckbox-resource-id")},view:{attributes:{"data-ckbox-resource-id":/[\s\S]+/}}});const u=c.commands.get("replaceImageSource");u&&this.listenTo(u,"cleanupImage",(h,[m,_])=>{m.removeAttribute("ckboxImageId",_)})}_initFixers(){const c=this.editor,u=c.model,h=u.document.selection;var m;u.document.registerPostFixer((m=c,_=>{let b=!1;const w=m.model,A=m.commands.get("ckbox");if(!A)return b;for(const M of w.document.differ.getChanges()){if("insert"!==M.type&&"attribute"!==M.type)continue;const R="insert"===M.type?new Ke(M.position,M.position.getShiftedBy(M.length)):M.range,O="attribute"===M.type&&"linkHref"===M.attributeKey&&null===M.attributeNewValue;for(const N of R.getItems()){if(O&&N.hasAttribute("ckboxLinkId")){_.removeAttribute("ckboxLinkId",N),b=!0;continue}const V=JM(N,A._chosenAssets);for(const W of V){const Y="image"===W.type?"ckboxImageId":"ckboxLinkId";W.id!==N.getAttribute(Y)&&(_.setAttribute(Y,W.id,N),b=!0)}}}return b})),u.document.registerPostFixer(function(m){return _=>!(m.hasAttribute("linkHref")||!m.hasAttribute("ckboxLinkId")||(_.removeSelectionAttribute("ckboxLinkId"),0))}(h))}}function JM(g,c){const u=g.is("element","imageInline")||g.is("element","imageBlock"),h=g.hasAttribute("linkHref");return[...c].filter(m=>"image"===m.type&&u?m.attributes.imageFallbackUrl===g.getAttribute("src"):"link"===m.type&&h?m.attributes.linkHref===g.getAttribute("linkHref"):void 0)}function eR(g,c){const u=g.createAttributeElement("a",{"data-ckbox-resource-id":c},{priority:5});return g.setCustomProperty("link",!0,u),u}function QV(g){return!!g.is("$text")||!(!g.is("element","imageInline")&&!g.is("element","imageBlock"))}var uD=ft(443);At()(uD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class tR extends ht{static get pluginName(){return"CKFinderUI"}init(){const c=this.editor,h=c.t;if(c.ui.componentFactory.add("ckfinder",m=>{const _=c.commands.get("ckfinder"),b=new Hn(m);return b.set({label:h("Insert image or file"),icon:'',tooltip:!0}),b.bind("isEnabled").to(_),b.on("execute",()=>{c.execute("ckfinder"),c.editing.view.focus()}),b}),c.plugins.has("ImageInsertUI")){const m=c.plugins.get("ImageInsertUI"),_=c.commands.get("ckfinder");m.registerIntegration({name:"assetManager",observable:_,buttonViewCreator:()=>{const b=this.editor.ui.componentFactory.create("ckfinder");return b.icon=hn.imageAssetManager,b.bind("label").to(m,"isImageSelected",w=>h(w?"Replace image with file manager":"Insert image with file manager")),b},formViewCreator:()=>{const b=this.editor.ui.componentFactory.create("ckfinder");return b.icon=hn.imageAssetManager,b.withText=!0,b.bind("label").to(m,"isImageSelected",w=>h(w?"Replace with file manager":"Insert with file manager")),b.on("execute",()=>{m.dropdownView.isOpen=!1}),b}})}}}class iR extends Bi{constructor(c){super(c),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",()=>this.refresh(),{priority:"low"})}refresh(){const c=this.editor.commands.get("insertImage"),u=this.editor.commands.get("link");this.isEnabled=c.isEnabled||u.isEnabled}execute(){const c=this.editor,u=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=u&&"modal"!=u)throw new fe("ckfinder-unknown-openermethod",c);const h=this.editor.config.get("ckfinder.options")||{};h.chooseFiles=!0;const m=h.onInit;h.language||(h.language=c.locale.uiLanguage),h.onInit=_=>{m&&m(_),_.on("files:choose",b=>{const w=b.data.files.toArray(),A=w.filter(O=>!O.isImage()),M=w.filter(O=>O.isImage());for(const O of A)c.execute("link",O.getUrl());const R=[];for(const O of M){const N=O.getUrl();R.push(N||_.request("file:getProxyUrl",{file:O}))}R.length&&fp(c,R)}),_.on("file:choose:resizedImage",b=>{const w=b.data.resizedUrl;if(w)fp(c,[w]);else{const A=c.plugins.get("Notification"),M=c.locale.t;A.showWarning(M("Could not obtain resized image URL."),{title:M("Selecting resized image failed"),namespace:"ckfinder"})}})},window.CKFinder[u](h)}}function fp(g,c){if(g.commands.get("insertImage").isEnabled)g.execute("insertImage",{source:c});else{const u=g.plugins.get("Notification"),h=g.locale.t;u.showWarning(h("Could not insert image at the current position."),{title:h("Inserting image failed"),namespace:"ckfinder"})}}class ZV extends ht{static get pluginName(){return"CKFinderEditing"}static get requires(){return[rp,"LinkEditing"]}init(){const c=this.editor;if(!c.plugins.has("ImageBlockEditing")&&!c.plugins.has("ImageInlineEditing"))throw new fe("ckfinder-missing-image-plugin",c);c.commands.add("ckfinder",new iR(c))}}class JV extends ht{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",pc]}init(){const c=this.editor,u=c.plugins.get("CloudServices"),h=u.token,m=u.uploadUrl;if(!h)return;const _=c.plugins.get("CloudServicesCore");this._uploadGateway=_.createUploadGateway(h,m),c.plugins.get(pc).createUploadAdapter=b=>new nR(this._uploadGateway,b)}}class nR{constructor(c,u){this.uploadGateway=c,this.loader=u}upload(){return this.loader.file.then(c=>(this.fileUploader=this.uploadGateway.upload(c),this.fileUploader.on("progress",(u,h)=>{this.loader.uploadTotal=h.total,this.loader.uploaded=h.uploaded}),this.fileUploader.send()))}abort(){this.fileUploader.abort()}}class ez extends Bi{constructor(c){super(c),this._isEnabledBasedOnSelection=!1}refresh(){const c=this.editor.model,u=gr(c.document.selection.getSelectedBlocks());this.value=!!u&&u.is("element","paragraph"),this.isEnabled=!!u&&hD(u,c.schema)}execute(c={}){const u=this.editor.model,m=c.selection||u.document.selection;u.canEditAt(m)&&u.change(_=>{const b=m.getSelectedBlocks();for(const w of b)!w.is("element","paragraph")&&hD(w,u.schema)&&_.rename(w,"paragraph")})}}function hD(g,c){return c.checkChild(g.parent,"paragraph")&&!c.isObject(g)}class aq extends Bi{constructor(c){super(c),this._isEnabledBasedOnSelection=!1}execute(c){const u=this.editor.model,h=c.attributes;let m=c.position;u.canEditAt(m)&&u.change(_=>{if(m=this._findPositionToInsertParagraph(m,_),!m)return;const b=_.createElement("paragraph");h&&u.schema.setAllowedAttributes(b,h,_),u.insertContent(b,m),_.setSelection(b,"in")})}_findPositionToInsertParagraph(c,u){const h=this.editor.model;if(h.schema.checkChild(c,"paragraph"))return c;const m=h.schema.findAllowedParent(c,"paragraph");if(!m)return null;const _=c.parent,b=h.schema.checkChild(_,"$text");return _.isEmpty||b&&c.isAtEnd?h.createPositionAfter(_):!_.isEmpty&&b&&c.isAtStart?h.createPositionBefore(_):u.split(c,m).position}}const Pe=class extends ht{static get pluginName(){return"Paragraph"}init(){const g=this.editor,c=g.model;g.commands.add("paragraph",new ez(g)),g.commands.add("insertParagraph",new aq(g)),c.schema.register("paragraph",{inheritAllFrom:"$block"}),g.conversion.elementToElement({model:"paragraph",view:"p"}),g.conversion.for("upcast").elementToElement({model:(u,{writer:h})=>Pe.paragraphLikeElements.has(u.name)?u.isEmpty?null:h.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}};let Se=Pe;Se.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);class Kc extends Bi{constructor(c,u){super(c),this.modelElements=u}refresh(){const c=gr(this.editor.model.document.selection.getSelectedBlocks());this.value=!!c&&this.modelElements.includes(c.name)&&c.name,this.isEnabled=!!c&&this.modelElements.some(u=>oR(c,u,this.editor.model.schema))}execute(c){const u=this.editor.model,h=u.document,m=c.value;u.change(_=>{const b=Array.from(h.selection.getSelectedBlocks()).filter(w=>oR(w,m,u.schema));for(const w of b)w.is("element",m)||_.rename(w,m)})}}function oR(g,c,u){return u.checkChild(g.parent,c)&&!u.isObject(g)}const Mo="paragraph";class Yc extends ht{static get pluginName(){return"HeadingEditing"}constructor(c){super(c),c.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[Se]}init(){const c=this.editor,u=c.config.get("heading.options"),h=[];for(const m of u)"paragraph"!==m.model&&(c.model.schema.register(m.model,{inheritAllFrom:"$block"}),c.conversion.elementToElement(m),h.push(m.model));this._addDefaultH1Conversion(c),c.commands.add("heading",new Kc(c,h))}afterInit(){const c=this.editor,u=c.commands.get("enter"),h=c.config.get("heading.options");u&&this.listenTo(u,"afterExecute",(m,_)=>{const b=c.model.document.selection.getFirstPosition().parent;h.some(w=>b.is("element",w.model))&&!b.is("element",Mo)&&0===b.childCount&&_.writer.rename(b,Mo)})}_addDefaultH1Conversion(c){c.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:ui.low+1})}}var Bl=ft(8733);At()(Bl.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class rR extends ht{static get pluginName(){return"HeadingUI"}init(){const c=this.editor,u=c.t,h=function(b){const w=b.t,A={Paragraph:w("Paragraph"),"Heading 1":w("Heading 1"),"Heading 2":w("Heading 2"),"Heading 3":w("Heading 3"),"Heading 4":w("Heading 4"),"Heading 5":w("Heading 5"),"Heading 6":w("Heading 6")};return b.config.get("heading.options").map(M=>{const R=A[M.title];return R&&R!=M.title&&(M.title=R),M})}(c),m=u("Choose heading"),_=u("Heading");c.ui.componentFactory.add("heading",b=>{const w={},A=new Oa,M=c.commands.get("heading"),R=c.commands.get("paragraph"),O=[M];for(const V of h){const W={type:"button",model:new z_({label:V.title,class:V.class,role:"menuitemradio",withText:!0})};"paragraph"===V.model?(W.model.bind("isOn").to(R,"value"),W.model.set("commandName","paragraph"),O.push(R)):(W.model.bind("isOn").to(M,"value",Y=>Y===V.model),W.model.set({commandName:"heading",commandValue:V.model})),A.add(W),w[V.model]=V.title}const N=dc(b);return h0(N,A,{ariaLabel:_,role:"menu"}),N.buttonView.set({ariaLabel:_,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:_}),N.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),N.bind("isEnabled").toMany(O,"isEnabled",(...V)=>V.some(W=>W)),N.buttonView.bind("label").to(M,"value",R,"value",(V,W)=>{const Y=V||W&&"paragraph";return"boolean"==typeof Y?m:w[Y]?w[Y]:m}),this.listenTo(N,"execute",V=>{const{commandName:W,commandValue:Y}=V.source;c.execute(W,Y?{value:Y}:void 0),c.editing.view.focus()}),N})}}function pD(g){return g.createContainerElement("figure",{class:"image"},[g.createEmptyElement("img"),g.createSlot("children")])}function sR(g,c){const u=g.plugins.get("ImageUtils"),h=g.plugins.has("ImageInlineEditing")&&g.plugins.has("ImageBlockEditing");return _=>u.isInlineImageView(_)?h&&("block"==_.getStyle("display")||_.findAncestor(u.isBlockImageView)?"imageBlock":"imageInline")!==c?null:function m(_){const b={name:!0};return _.hasAttribute("src")&&(b.attributes=["src"]),b}(_):null}function gD(g,c){const u=gr(c.getSelectedBlocks());return!u||g.isObject(u)||u.isEmpty&&"listItem"!=u.name?"imageBlock":"imageInline"}function G0(g){return g&&g.endsWith("px")?parseInt(g):null}function aR(g){const c=G0(g.getStyle("width")),u=G0(g.getStyle("height"));return!(!c||!u)}var mD=Object.defineProperty,fm=Object.getOwnPropertySymbols,tz=Object.prototype.hasOwnProperty,lR=Object.prototype.propertyIsEnumerable,cR=(g,c,u)=>c in g?mD(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,dR=(g,c)=>{for(var u in c||(c={}))tz.call(c,u)&&cR(g,u,c[u]);if(fm)for(var u of fm(c))lR.call(c,u)&&cR(g,u,c[u]);return g};const uR=/^(image|image-inline)$/;class pa extends ht{constructor(){super(...arguments),this._domEmitter=new(Za())}static get pluginName(){return"ImageUtils"}isImage(c){return this.isInlineImage(c)||this.isBlockImage(c)}isInlineImageView(c){return!!c&&c.is("element","img")}isBlockImageView(c){return!!c&&c.is("element","figure")&&c.hasClass("image")}insertImage(c={},u=null,h=null,m={}){const _=this.editor,b=_.model,w=b.document.selection,A=tv(_,u||w,h);c=dR(dR({},Object.fromEntries(w.getAttributes())),c);for(const M in c)b.schema.checkAttribute(A,M)||delete c[M];return b.change(M=>{const{setImageSizes:R=!0}=m,O=M.createElement(A,c);return b.insertObject(O,u,null,{setSelection:"on",findOptimalPosition:u||"imageInline"==A?void 0:"auto"}),O.parent?(R&&this.setImageNaturalSizeAttributes(O),O):null})}setImageNaturalSizeAttributes(c){const u=c.getAttribute("src");u&&(c.getAttribute("width")||c.getAttribute("height")||this.editor.model.change(h=>{const m=new de.window.Image;this._domEmitter.listenTo(m,"load",()=>{c.getAttribute("width")||c.getAttribute("height")||this.editor.model.enqueueChange(h.batch,_=>{_.setAttribute("width",m.naturalWidth,c),_.setAttribute("height",m.naturalHeight,c)}),this._domEmitter.stopListening(m,"load")}),m.src=u}))}getClosestSelectedImageWidget(c){const u=c.getFirstPosition();if(!u)return null;const h=c.getSelectedElement();if(h&&this.isImageWidget(h))return h;let m=u.parent;for(;m;){if(m.is("element")&&this.isImageWidget(m))return m;m=m.parent}return null}getClosestSelectedImageElement(c){const u=c.getSelectedElement();return this.isImage(u)?u:c.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(c){return c.findAncestor({classes:uR})}isImageAllowed(){const c=this.editor.model.document.selection;return function(u,h){if("imageBlock"==tv(u,h,null)){const _=function(b,w){const M=DM(b,w).start.parent;return M.isEmpty&&!M.is("element","$root")?M.parent:M}(h,u.model);if(u.model.schema.checkChild(_,"imageBlock"))return!0}else if(u.model.schema.checkChild(h.focus,"imageInline"))return!0;return!1}(this.editor,c)&&[...c.focus.getAncestors()].every(h=>!h.is("element","imageBlock"))}toImageWidget(c,u,h){return u.setCustomProperty("image",!0,c),$k(c,u,{label:()=>{const m=this.findViewImgElement(c).getAttribute("alt");return m?`${m} ${h}`:h}})}isImageWidget(c){return!!c.getCustomProperty("image")&&dr(c)}isBlockImage(c){return!!c&&c.is("element","imageBlock")}isInlineImage(c){return!!c&&c.is("element","imageInline")}findViewImgElement(c){if(this.isInlineImageView(c))return c;const u=this.editor.editing.view;for(const{item:h}of u.createRangeIn(c))if(this.isInlineImageView(h))return h}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function tv(g,c,u){const h=g.model.schema,m=g.config.get("image.insert.type");return g.plugins.has("ImageBlockEditing")?g.plugins.has("ImageInlineEditing")?u||("inline"===m?"imageInline":"auto"!==m?"imageBlock":c.is("selection")?gD(h,c):h.checkChild(c,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class iz extends Bi{refresh(){const c=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!c,this.value=!(!this.isEnabled||!c.hasAttribute("alt"))&&c.getAttribute("alt")}execute(c){const u=this.editor,h=u.plugins.get("ImageUtils"),m=u.model,_=h.getClosestSelectedImageElement(m.document.selection);m.change(b=>{b.setAttribute("alt",c.newValue,_)})}}class hR extends ht{static get requires(){return[pa]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new iz(this.editor))}}var P=ft(1905);At()(P.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var gR=ft(6764);At()(gR.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class _e extends gi{constructor(c){super(c);const u=this.locale.t;this.focusTracker=new Bo,this.keystrokes=new ea,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(u("Save"),hn.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(u("Cancel"),hn.cancel,"ck-button-cancel","cancel"),this._focusables=new Dl,this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),U({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach(c=>{this._focusables.add(c),this.focusTracker.add(c.element)})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(c,u,h,m){const _=new Hn(this.locale);return _.set({label:c,icon:u,tooltip:!0}),_.extendTemplate({attributes:{class:h}}),m&&_.delegate("execute").to(this,m),_}_createLabeledInputView(){const c=this.locale.t,u=new xu(this.locale,Bd);return u.label=c("Text alternative"),u}}function me(g){const c=g.editing.view,u=ua.defaultPositions,h=g.plugins.get("ImageUtils");return{target:c.domConverter.mapViewToDom(h.getClosestSelectedImageWidget(c.document.selection)),positions:[u.northArrowSouth,u.northArrowSouthWest,u.northArrowSouthEast,u.southArrowNorth,u.southArrowNorthWest,u.southArrowNorthEast,u.viewportStickyNorth]}}class Lu extends ht{static get requires(){return[y0]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const c=this.editor,u=c.t;c.ui.componentFactory.add("imageTextAlternative",h=>{const m=c.commands.get("imageTextAlternative"),_=new Hn(h);return _.set({label:u("Change image text alternative"),icon:hn.textAlternative,tooltip:!0}),_.bind("isEnabled").to(m,"isEnabled"),_.bind("isOn").to(m,"value",b=>!!b),this.listenTo(_,"execute",()=>{this._showForm()}),_})}_createForm(){const c=this.editor,u=c.editing.view.document,h=c.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(Ne(_e))(c.locale),this._form.render(),this.listenTo(this._form,"submit",()=>{c.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),this._form.keystrokes.set("Esc",(m,_)=>{this._hideForm(!0),_()}),this.listenTo(c.ui,"update",()=>{h.getClosestSelectedImageWidget(u.selection)?this._isVisible&&function(m){const _=m.plugins.get("ContextualBalloon");if(m.plugins.get("ImageUtils").getClosestSelectedImageWidget(m.editing.view.document.selection)){const b=me(m);_.updatePosition(b)}}(c):this._hideForm(!0)}),Ce({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const c=this.editor,u=c.commands.get("imageTextAlternative"),h=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:me(c)}),h.fieldView.value=h.fieldView.element.value=u.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(c=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),c&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class fD extends ht{static get requires(){return[hR,Lu]}static get pluginName(){return"ImageTextAlternative"}}function _D(g,c){const u=(h,m,_)=>{if(!_.consumable.consume(m.item,h.name))return;const b=_.writer,w=_.mapper.toViewElement(m.item),A=g.findViewImgElement(w);null===m.attributeNewValue?(b.removeAttribute("srcset",A),b.removeAttribute("sizes",A)):m.attributeNewValue&&(b.setAttribute("srcset",m.attributeNewValue,A),b.setAttribute("sizes","100vw",A))};return h=>{h.on(`attribute:srcset:${c}`,u)}}function iv(g,c,u){const h=(m,_,b)=>{if(!b.consumable.consume(_.item,m.name))return;const w=b.writer,A=b.mapper.toViewElement(_.item),M=g.findViewImgElement(A);w.setAttribute(_.attributeKey,_.attributeNewValue||"",M)};return m=>{m.on(`attribute:${u}:${c}`,h)}}class vD extends la{observe(c){this.listenTo(c,"load",(u,h)=>{const m=h.target;this.checkShouldIgnoreEventFromTarget(m)||"IMG"==m.tagName&&this._fireEvents(h)},{useCapture:!0})}stopObserving(c){this.stopListening(c)}_fireEvents(c){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",c))}}var mR=Object.defineProperty,bD=Object.getOwnPropertySymbols,fR=Object.prototype.hasOwnProperty,Wd=Object.prototype.propertyIsEnumerable,_R=(g,c,u)=>c in g?mR(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,j0=(g,c)=>{for(var u in c||(c={}))fR.call(c,u)&&_R(g,u,c[u]);if(bD)for(var u of bD(c))Wd.call(c,u)&&_R(g,u,c[u]);return g};class oz extends Bi{constructor(c){super(c);const u=c.config.get("image.insert.type");c.plugins.has("ImageBlockEditing")||"block"===u&&St("image-block-plugin-required"),c.plugins.has("ImageInlineEditing")||"inline"===u&&St("image-inline-plugin-required")}refresh(){const c=this.editor.plugins.get("ImageUtils");this.isEnabled=c.isImageAllowed()}execute(c){const u=ho(c.source),h=this.editor.model.document.selection,m=this.editor.plugins.get("ImageUtils"),_=Object.fromEntries(h.getAttributes());u.forEach((b,w)=>{const A=h.getSelectedElement();if("string"==typeof b&&(b={src:b}),w&&A&&m.isImage(A)){const M=this.editor.model.createPositionAfter(A);m.insertImage(j0(j0({},b),_),M)}else m.insertImage(j0(j0({},b),_))})}}class rz extends Bi{constructor(c){super(c),this.decorate("cleanupImage")}refresh(){const c=this.editor.plugins.get("ImageUtils"),u=this.editor.model.document.selection.getSelectedElement();this.isEnabled=c.isImage(u),this.value=this.isEnabled?u.getAttribute("src"):null}execute(c){const u=this.editor.model.document.selection.getSelectedElement(),h=this.editor.plugins.get("ImageUtils");this.editor.model.change(m=>{m.setAttribute("src",c.source,u),this.cleanupImage(m,u),h.setImageNaturalSizeAttributes(u)})}cleanupImage(c,u){c.removeAttribute("srcset",u),c.removeAttribute("sizes",u),c.removeAttribute("sources",u),c.removeAttribute("width",u),c.removeAttribute("height",u),c.removeAttribute("alt",u)}}class yD extends ht{static get requires(){return[pa]}static get pluginName(){return"ImageEditing"}init(){const c=this.editor,u=c.conversion;c.editing.view.addObserver(vD),u.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const h=new oz(c),m=new rz(c);c.commands.add("insertImage",h),c.commands.add("replaceImageSource",m),c.commands.add("imageInsert",h)}}class vR extends ht{static get requires(){return[pa]}static get pluginName(){return"ImageSizeAttributes"}afterInit(){this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline")}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["width","height"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["width","height"]})}_registerConverters(c){const u=this.editor,h=u.plugins.get("ImageUtils"),m="imageBlock"===c?"figure":"img";function _(b,w,A,M){b.on(`attribute:${w}:${c}`,(R,O,N)=>{if(!N.consumable.consume(O.item,R.name))return;const V=N.writer,W=N.mapper.toViewElement(O.item),Y=h.findViewImgElement(W);if(null!==O.attributeNewValue?V.setAttribute(A,O.attributeNewValue,Y):V.removeAttribute(A,Y),O.item.hasAttribute("sources"))return;const ne=O.item.hasAttribute("resizedWidth");if("imageInline"===c&&!ne&&!M)return;const he=O.item.getAttribute("width"),Me=O.item.getAttribute("height");he&&Me&&V.setStyle("aspect-ratio",`${he}/${Me}`,Y)})}u.conversion.for("upcast").attributeToAttribute({view:{name:m,styles:{width:/.+/}},model:{key:"width",value:b=>aR(b)?G0(b.getStyle("width")):null}}).attributeToAttribute({view:{name:m,key:"width"},model:"width"}).attributeToAttribute({view:{name:m,styles:{height:/.+/}},model:{key:"height",value:b=>aR(b)?G0(b.getStyle("height")):null}}).attributeToAttribute({view:{name:m,key:"height"},model:"height"}),u.conversion.for("editingDowncast").add(b=>{_(b,"width","width",!0),_(b,"height","height",!0)}),u.conversion.for("dataDowncast").add(b=>{_(b,"width","width",!1),_(b,"height","height",!1)})}}class bR extends Bi{constructor(c,u){super(c),this._modelElementName=u}refresh(){const c=this.editor.plugins.get("ImageUtils"),u=c.getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled="imageBlock"===this._modelElementName?c.isInlineImage(u):c.isBlockImage(u)}execute(c={}){const h=this.editor.model,m=this.editor.plugins.get("ImageUtils"),_=m.getClosestSelectedImageElement(h.document.selection),b=Object.fromEntries(_.getAttributes());return b.src||b.uploadId?h.change(w=>{const{setImageSizes:A=!0}=c,M=Array.from(h.markers).filter(N=>N.getRange().containsItem(_)),R=m.insertImage(b,h.createSelection(_,"on"),this._modelElementName,{setImageSizes:A});if(!R)return null;const O=w.createRangeOn(R);for(const N of M){const V=N.getRange(),W="$graveyard"!=V.root.rootName?V.getJoined(O,!0):O;w.updateMarker(N,{range:W})}return{oldElement:_,newElement:R}}):null}}var yR=ft(2873);At()(yR.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class CR extends ht{static get requires(){return[pa]}static get pluginName(){return"ImagePlaceholder"}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const c=this.editor.model.schema;c.isRegistered("imageBlock")&&c.extend("imageBlock",{allowAttributes:["placeholder"]}),c.isRegistered("imageInline")&&c.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const c=this.editor,u=c.conversion,h=c.plugins.get("ImageUtils");u.for("editingDowncast").add(m=>{m.on("attribute:placeholder",(_,b,w)=>{if(!w.consumable.test(b.item,_.name)||!b.item.is("element","imageBlock")&&!b.item.is("element","imageInline"))return;w.consumable.consume(b.item,_.name);const A=w.writer,M=w.mapper.toViewElement(b.item),R=h.findViewImgElement(M);b.attributeNewValue?(A.addClass("image_placeholder",R),A.setStyle("background-image",`url(${b.attributeNewValue})`,R),A.setCustomProperty("editingPipeline:doNotReuseOnce",!0,R)):(A.removeClass("image_placeholder",R),A.removeStyle("background-image",R))})})}_setupLoadListener(){const c=this.editor,u=c.model,h=c.editing,m=h.view,_=c.plugins.get("ImageUtils");m.addObserver(vD),this.listenTo(m.document,"imageLoaded",(b,w)=>{const A=m.domConverter.mapDomToView(w.target);if(!A)return;const M=_.getImageWidgetFromImageView(A);if(!M)return;const R=h.mapper.toModelElement(M);R&&R.hasAttribute("placeholder")&&u.enqueueChange({isUndoable:!1},O=>{O.removeAttribute("placeholder",R)})})}}class wR extends ht{static get requires(){return[yD,vR,pa,CR,Ll]}static get pluginName(){return"ImageBlockEditing"}init(){const c=this.editor;c.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),c.plugins.has("ImageInlineEditing")&&(c.commands.add("imageTypeBlock",new bR(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const c=this.editor,u=c.t,h=c.conversion,m=c.plugins.get("ImageUtils");h.for("dataDowncast").elementToStructure({model:"imageBlock",view:(_,{writer:b})=>pD(b)}),h.for("editingDowncast").elementToStructure({model:"imageBlock",view:(_,{writer:b})=>m.toImageWidget(pD(b),b,u("image widget"))}),h.for("downcast").add(iv(m,"imageBlock","src")).add(iv(m,"imageBlock","alt")).add(_D(m,"imageBlock")),h.for("upcast").elementToElement({view:sR(c,"imageBlock"),model:(_,{writer:b})=>b.createElement("imageBlock",_.hasAttribute("src")?{src:_.getAttribute("src")}:void 0)}).add(function(_){const b=(w,A,M)=>{if(!M.consumable.test(A.viewItem,{name:!0,classes:"image"}))return;const R=_.findViewImgElement(A.viewItem);if(!R||!M.consumable.test(R,{name:!0}))return;M.consumable.consume(A.viewItem,{name:!0,classes:"image"});const O=gr(M.convertItem(R,A.modelCursor).modelRange.getItems());O?(M.convertChildren(A.viewItem,O),M.updateConversionResult(O,A)):M.consumable.revert(A.viewItem,{name:!0,classes:"image"})};return w=>{w.on("element:figure",b)}}(m))}_setupClipboardIntegration(){const c=this.editor,u=c.model,h=c.editing.view,m=c.plugins.get("ImageUtils"),_=c.plugins.get("ClipboardPipeline");this.listenTo(_,"inputTransformation",(b,w)=>{const A=Array.from(w.content.getChildren());let M;if(!A.every(m.isInlineImageView))return;M=w.targetRanges?c.editing.mapper.toModelRange(w.targetRanges[0]):u.document.selection.getFirstRange();const R=u.createSelection(M);if("imageBlock"===gD(u.schema,R)){const O=new $c(h.document),N=A.map(V=>O.createElement("figure",{class:"image"},V));w.content=O.createDocumentFragment(N)}}),this.listenTo(_,"contentInsertion",(b,w)=>{"paste"===w.method&&u.change(A=>{const M=A.createRangeIn(w.content);for(const R of M.getItems())R.is("element","imageBlock")&&m.setImageNaturalSizeAttributes(R)})})}}var xR=ft(3535);At()(xR.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class lz extends gi{constructor(c,u=[]){super(c),this.focusTracker=new Bo,this.keystrokes=new ea,this._focusables=new Dl,this.children=this.createCollection(),this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const h of u)this.children.add(h),this._focusables.add(h),h instanceof Q2&&this._focusables.addMany(h.children);if(this._focusables.length>1)for(const h of this._focusables)cz(h)&&(h.focusCycler.on("forwardCycle",m=>{this._focusCycler.focusNext(),m.stop()}),h.focusCycler.on("backwardCycle",m=>{this._focusCycler.focusPrevious(),m.stop()}));this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),U({view:this});for(const u of this._focusables)this.focusTracker.add(u.element);this.keystrokes.listenTo(this.element);const c=u=>u.stopPropagation();this.keystrokes.set("arrowright",c),this.keystrokes.set("arrowleft",c),this.keystrokes.set("arrowup",c),this.keystrokes.set("arrowdown",c)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}function cz(g){return"focusCycler"in g}class kR extends ht{constructor(c){super(c),this._integrations=new Map,c.config.define("image.insert.integrations",["upload","assetManager","url"])}static get pluginName(){return"ImageInsertUI"}static get requires(){return[pa]}init(){const c=this.editor,u=c.model.document.selection,h=c.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(c.model.document,"change",()=>{this.isImageSelected=h.isImage(u.getSelectedElement())});const m=_=>this._createToolbarComponent(_);c.ui.componentFactory.add("insertImage",m),c.ui.componentFactory.add("imageInsert",m)}registerIntegration({name:c,observable:u,buttonViewCreator:h,formViewCreator:m,requiresForm:_}){this._integrations.has(c)&&St("image-insert-integration-exists",{name:c}),this._integrations.set(c,{observable:u,buttonViewCreator:h,formViewCreator:m,requiresForm:!!_})}_createToolbarComponent(c){const u=this.editor,h=c.t,m=this._prepareIntegrations();if(!m.length)return null;let _;const b=m[0];if(1==m.length){if(!b.requiresForm)return b.buttonViewCreator(!0);_=b.buttonViewCreator(!0)}else{const M=b.buttonViewCreator(!1);_=new u0(c,M),_.tooltip=!0,_.bind("label").to(this,"isImageSelected",R=>h(R?"Replace image":"Insert image"))}const w=this.dropdownView=dc(c,_),A=m.map(({observable:M})=>M);return w.bind("isEnabled").toMany(A,"isEnabled",(...M)=>M.some(R=>R)),w.once("change:isOpen",()=>{const M=m.map(({formViewCreator:O})=>O(1==m.length)),R=new lz(u.locale,M);w.panelView.children.add(R)}),w}_prepareIntegrations(){const c=this.editor.config.get("image.insert.integrations"),u=[];if(!c.length)return St("image-insert-integrations-not-specified"),u;for(const h of c)this._integrations.has(h)?u.push(this._integrations.get(h)):["upload","assetManager","url"].includes(h)||St("image-insert-unknown-integration",{item:h});return u.length||St("image-insert-integrations-not-registered"),u}}var DR=ft(3508);At()(DR.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class IR extends ht{static get requires(){return[wR,Er,fD,kR]}static get pluginName(){return"ImageBlock"}}class SR extends ht{static get requires(){return[yD,vR,pa,CR,Ll]}static get pluginName(){return"ImageInlineEditing"}init(){const c=this.editor,u=c.model.schema;u.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),u.addChildCheck((h,m)=>{if(h.endsWith("caption")&&"imageInline"===m.name)return!1}),this._setupConversion(),c.plugins.has("ImageBlockEditing")&&(c.commands.add("imageTypeInline",new bR(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const c=this.editor,u=c.t,h=c.conversion,m=c.plugins.get("ImageUtils");h.for("dataDowncast").elementToElement({model:"imageInline",view:(_,{writer:b})=>b.createEmptyElement("img")}),h.for("editingDowncast").elementToStructure({model:"imageInline",view:(_,{writer:b})=>{return m.toImageWidget((w=b).createContainerElement("span",{class:"image-inline"},w.createEmptyElement("img")),b,u("image widget"));var w}}),h.for("downcast").add(iv(m,"imageInline","src")).add(iv(m,"imageInline","alt")).add(_D(m,"imageInline")),h.for("upcast").elementToElement({view:sR(c,"imageInline"),model:(_,{writer:b})=>b.createElement("imageInline",_.hasAttribute("src")?{src:_.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const c=this.editor,u=c.model,h=c.editing.view,m=c.plugins.get("ImageUtils"),_=c.plugins.get("ClipboardPipeline");this.listenTo(_,"inputTransformation",(b,w)=>{const A=Array.from(w.content.getChildren());let M;if(!A.every(m.isBlockImageView))return;M=w.targetRanges?c.editing.mapper.toModelRange(w.targetRanges[0]):u.document.selection.getFirstRange();const R=u.createSelection(M);if("imageInline"===gD(u.schema,R)){const O=new $c(h.document),N=A.map(V=>1===V.childCount?(Array.from(V.getAttributes()).forEach(W=>O.setAttribute(...W,m.findViewImgElement(V))),V.getChild(0)):V);w.content=O.createDocumentFragment(N)}}),this.listenTo(_,"contentInsertion",(b,w)=>{"paste"===w.method&&u.change(A=>{const M=A.createRangeIn(w.content);for(const R of M.getItems())R.is("element","imageInline")&&m.setImageNaturalSizeAttributes(R)})})}}class TR extends ht{static get requires(){return[SR,Er,fD,kR]}static get pluginName(){return"ImageInline"}}class CD extends ht{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[pa]}getCaptionFromImageModelElement(c){for(const u of c.getChildren())if(u&&u.is("element","caption"))return u;return null}getCaptionFromModelSelection(c){const u=this.editor.plugins.get("ImageUtils"),h=c.getFirstPosition().findAncestor("caption");return h&&u.isBlockImage(h.parent)?h:null}matchImageCaptionViewElement(c){const u=this.editor.plugins.get("ImageUtils");return"figcaption"==c.name&&u.isBlockImageView(c.parent)?{name:!0}:null}}class ER extends Bi{refresh(){const c=this.editor,u=c.plugins.get("ImageCaptionUtils"),h=c.plugins.get("ImageUtils");if(!c.plugins.has(wR))return this.isEnabled=!1,void(this.value=!1);const m=c.model.document.selection,_=m.getSelectedElement();if(!_){const b=u.getCaptionFromModelSelection(m);return this.isEnabled=!!b,void(this.value=!!b)}this.isEnabled=h.isImage(_),this.value=!!this.isEnabled&&!!u.getCaptionFromImageModelElement(_)}execute(c={}){const{focusCaptionOnShow:u}=c;this.editor.model.change(h=>{this.value?this._hideImageCaption(h):this._showImageCaption(h,u)})}_showImageCaption(c,u){const h=this.editor.model.document.selection,m=this.editor.plugins.get("ImageCaptionEditing"),_=this.editor.plugins.get("ImageUtils");let b=h.getSelectedElement();const w=m._getSavedCaption(b);_.isInlineImage(b)&&(this.editor.execute("imageTypeBlock"),b=h.getSelectedElement());const A=w||c.createElement("caption");c.append(A,b),u&&c.setSelection(A,"in")}_hideImageCaption(c){const u=this.editor,h=u.model.document.selection,m=u.plugins.get("ImageCaptionEditing"),_=u.plugins.get("ImageCaptionUtils");let b,w=h.getSelectedElement();w?b=_.getCaptionFromImageModelElement(w):(b=_.getCaptionFromModelSelection(h),w=b.parent),m._saveCaption(w,b),c.setSelection(w,"on"),c.remove(b)}}class MR extends ht{constructor(c){super(c),this._savedCaptionsMap=new WeakMap}static get requires(){return[pa,CD]}static get pluginName(){return"ImageCaptionEditing"}init(){const c=this.editor,u=c.model.schema;u.isRegistered("caption")?u.extend("caption",{allowIn:"imageBlock"}):u.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),c.commands.add("toggleImageCaption",new ER(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const c=this.editor,u=c.editing.view,h=c.plugins.get("ImageUtils"),m=c.plugins.get("ImageCaptionUtils"),_=c.t;c.conversion.for("upcast").elementToElement({view:b=>m.matchImageCaptionViewElement(b),model:"caption"}),c.conversion.for("dataDowncast").elementToElement({model:"caption",view:(b,{writer:w})=>h.isBlockImage(b.parent)?w.createContainerElement("figcaption"):null}),c.conversion.for("editingDowncast").elementToElement({model:"caption",view:(b,{writer:w})=>{if(!h.isBlockImage(b.parent))return null;const A=w.createEditableElement("figcaption");w.setCustomProperty("imageCaption",!0,A),A.placeholder=_("Enter image caption"),po({view:u,element:A,keepOnFocus:!0});const M=b.parent.getAttribute("alt");return kM(A,w,{label:M?_("Caption for image: %0",[M]):_("Caption for the image")})}})}_setupImageTypeCommandsIntegration(){const c=this.editor,u=c.plugins.get("ImageUtils"),h=c.plugins.get("ImageCaptionUtils"),m=c.commands.get("imageTypeInline"),_=c.commands.get("imageTypeBlock"),b=w=>{if(!w.return)return;const{oldElement:A,newElement:M}=w.return;if(!A)return;if(u.isBlockImage(A)){const O=h.getCaptionFromImageModelElement(A);if(O)return void this._saveCaption(M,O)}const R=this._getSavedCaption(A);R&&this._saveCaption(M,R)};m&&this.listenTo(m,"execute",b,{priority:"low"}),_&&this.listenTo(_,"execute",b,{priority:"low"})}_getSavedCaption(c){const u=this._savedCaptionsMap.get(c);return u?On.fromJSON(u):null}_saveCaption(c,u){this._savedCaptionsMap.set(c,u.toJSON())}_registerCaptionReconversion(){const c=this.editor,u=c.model,h=c.plugins.get("ImageUtils"),m=c.plugins.get("ImageCaptionUtils");u.document.on("change:data",()=>{const _=u.document.differ.getChanges();for(const b of _){if("alt"!==b.attributeKey)continue;const w=b.range.start.nodeAfter;if(h.isBlockImage(w)){const A=m.getCaptionFromImageModelElement(w);if(!A)return;c.editing.reconvertItem(A)}}})}}class RR extends ht{static get requires(){return[CD]}static get pluginName(){return"ImageCaptionUI"}init(){const c=this.editor,u=c.editing.view,h=c.plugins.get("ImageCaptionUtils"),m=c.t;c.ui.componentFactory.add("toggleImageCaption",_=>{const b=c.commands.get("toggleImageCaption"),w=new Hn(_);return w.set({icon:hn.caption,tooltip:!0,isToggleable:!0}),w.bind("isOn","isEnabled").to(b,"value","isEnabled"),w.bind("label").to(b,"value",A=>m(A?"Toggle caption off":"Toggle caption on")),this.listenTo(w,"execute",()=>{c.execute("toggleImageCaption",{focusCaptionOnShow:!0});const A=h.getCaptionFromModelSelection(c.model.document.selection);if(A){const M=c.editing.mapper.toViewElement(A);u.scrollToTheSelection(),u.change(R=>{R.addClass("image__caption_highlighted",M)})}c.editing.view.focus()}),w})}}var wD=ft(2640);function nv(g){const c=g.map(u=>u.replace("+","\\+"));return new RegExp(`^image\\/(${c.join("|")})$`)}function _p(g){return new Promise((c,u)=>{const h=g.getAttribute("src");fetch(h).then(m=>m.blob()).then(m=>{const _=PR(m,h),b=_.replace("image/",""),w=new File([m],`image.${b}`,{type:_});c(w)}).catch(m=>{return m&&"TypeError"===m.name?(_=h,(b=_,new Promise((w,A)=>{const M=de.document.createElement("img");M.addEventListener("load",()=>{const R=de.document.createElement("canvas");R.width=M.width,R.height=M.height,R.getContext("2d").drawImage(M,0,0),R.toBlob(O=>O?w(O):A())}),M.addEventListener("error",()=>A()),M.src=b})).then(b=>{const w=PR(b,_),A=w.replace("image/","");return new File([b],`image.${A}`,{type:w})})).then(c).catch(u):u(m);var _,b})})}function PR(g,c){return g.type?g.type:c.match(/data:(image\/\w+);base64/)?c.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}At()(wD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class dz extends ht{static get pluginName(){return"ImageUploadUI"}init(){const c=this.editor,u=c.t,h=m=>{const _=new HV(m),b=c.commands.get("uploadImage"),w=c.config.get("image.upload.types"),A=nv(w);return _.set({acceptedType:w.map(M=>`image/${M}`).join(","),allowMultipleFiles:!0,label:u("Upload image from computer"),icon:hn.imageUpload,tooltip:!0}),_.bind("isEnabled").to(b),_.on("done",(M,R)=>{const O=Array.from(R).filter(N=>A.test(N.type));O.length&&(c.execute("uploadImage",{file:O}),c.editing.view.focus())}),_};if(c.ui.componentFactory.add("uploadImage",h),c.ui.componentFactory.add("imageUpload",h),c.plugins.has("ImageInsertUI")){const m=c.plugins.get("ImageInsertUI"),_=c.commands.get("uploadImage");m.registerIntegration({name:"upload",observable:_,buttonViewCreator:()=>{const b=c.ui.componentFactory.create("uploadImage");return b.bind("label").to(m,"isImageSelected",w=>u(w?"Replace image from computer":"Upload image from computer")),b},formViewCreator:()=>{const b=c.ui.componentFactory.create("uploadImage");return b.withText=!0,b.bind("label").to(m,"isImageSelected",w=>u(w?"Replace from computer":"Upload from computer")),b.on("execute",()=>{m.dropdownView.isOpen=!1}),b}})}}}var vp=ft(3689);At()(vp.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var ts=ft(4036);At()(ts.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var xD=ft(3773);At()(xD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class cq extends ht{constructor(c){super(c),this.uploadStatusChange=(u,h,m)=>{const _=this.editor,b=h.item,w=b.getAttribute("uploadId");if(!m.consumable.consume(h.item,u.name))return;const A=_.plugins.get("ImageUtils"),M=_.plugins.get(pc),R=w?h.attributeNewValue:null,O=this.placeholder,N=_.editing.mapper.toViewElement(b),V=m.writer;if("reading"==R)return $n(N,V),void FR(A,O,N,V);if("uploading"==R){const W=M.loaders.get(w);return $n(N,V),void(W?(NR(N,V),function(Y,ne,he,Me){const qe=function(kt){const $t=kt.createUIElement("div",{class:"ck-progress-bar"});return kt.setCustomProperty("progressBar",!0,$t),$t}(ne);ne.insert(ne.createPositionAt(Y,"end"),qe),he.on("change:uploadedPercent",(kt,$t,tn)=>{Me.change(Wi=>{Wi.setStyle("width",tn+"%",qe)})})}(N,V,W,_.editing.view),function(Y,ne,he,Me){if(Me.data){const qe=Y.findViewImgElement(ne);he.setAttribute("src",Me.data,qe)}}(A,N,V,W)):FR(A,O,N,V))}"complete"==R&&M.loaders.get(w)&&function(W,Y,ne){const he=Y.createUIElement("div",{class:"ck-image-upload-complete-icon"});Y.insert(Y.createPositionAt(W,"end"),he),setTimeout(()=>{ne.change(Me=>Me.remove(Me.createRangeOn(he)))},3e3)}(N,V,_.editing.view),bp(N,V,"progressBar"),NR(N,V),V.removeClass("ck-appear",N)},this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}static get pluginName(){return"ImageUploadProgress"}init(){const c=this.editor;c.plugins.has("ImageBlockEditing")&&c.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),c.plugins.has("ImageInlineEditing")&&c.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function $n(g,c){g.hasClass("ck-appear")||c.addClass("ck-appear",g)}function FR(g,c,u,h){u.hasClass("ck-image-upload-placeholder")||h.addClass("ck-image-upload-placeholder",u);const m=g.findViewImgElement(u);m.getAttribute("src")!==c&&h.setAttribute("src",c,m),LR(u,"placeholder")||h.insert(h.createPositionAfter(m),function(_){const b=_.createUIElement("div",{class:"ck-upload-placeholder-loader"});return _.setCustomProperty("placeholder",!0,b),b}(h))}function NR(g,c){g.hasClass("ck-image-upload-placeholder")&&c.removeClass("ck-image-upload-placeholder",g),bp(g,c,"placeholder")}function LR(g,c){for(const u of g.getChildren())if(u.getCustomProperty(c))return u}function bp(g,c,u){const h=LR(g,u);h&&c.remove(c.createRangeOn(h))}var hz=Object.defineProperty,$0=Object.defineProperties,U0=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,dq=Object.prototype.hasOwnProperty,BR=Object.prototype.propertyIsEnumerable,kD=(g,c,u)=>c in g?hz(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u;class pz extends Bi{refresh(){const c=this.editor,u=c.plugins.get("ImageUtils"),h=c.model.document.selection.getSelectedElement();this.isEnabled=u.isImageAllowed()||u.isImage(h)}execute(c){const u=ho(c.file),h=this.editor.model.document.selection,m=this.editor.plugins.get("ImageUtils"),_=Object.fromEntries(h.getAttributes());u.forEach((b,w)=>{const A=h.getSelectedElement();if(w&&A&&m.isImage(A)){const M=this.editor.model.createPositionAfter(A);this._uploadImage(b,_,M)}else this._uploadImage(b,_)})}_uploadImage(c,u,h){const m=this.editor,_=m.plugins.get(pc).createLoader(c),b=m.plugins.get("ImageUtils");var w;_&&b.insertImage((w=((M,R)=>{for(var O in R||(R={}))dq.call(R,O)&&kD(M,O,R[O]);if(ga)for(var O of ga(R))BR.call(R,O)&&kD(M,O,R[O]);return M})({},u),$0(w,U0({uploadId:_.id}))),h)}}class VR extends ht{constructor(c){super(c),c.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}static get requires(){return[pc,rp,Ll,pa]}static get pluginName(){return"ImageUploadEditing"}init(){const c=this.editor,u=c.model.document,h=c.conversion,m=c.plugins.get(pc),_=c.plugins.get("ImageUtils"),b=c.plugins.get("ClipboardPipeline"),w=nv(c.config.get("image.upload.types")),A=new pz(c);c.commands.add("uploadImage",A),c.commands.add("imageUpload",A),h.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(c.editing.view.document,"clipboardInput",(M,R)=>{if(O=R.dataTransfer,Array.from(O.types).includes("text/html")&&""!==O.getData("text/html"))return;var O;const N=Array.from(R.dataTransfer.files).filter(V=>!!V&&w.test(V.type));N.length&&(M.stop(),c.model.change(V=>{R.targetRanges&&V.setSelection(R.targetRanges.map(W=>c.editing.mapper.toModelRange(W))),c.execute("uploadImage",{file:N})}))}),this.listenTo(b,"inputTransformation",(M,R)=>{const O=Array.from(c.editing.view.createRangeIn(R.content)).map(V=>V.item).filter(V=>{return!(!_.isInlineImageView(Y=V)||!Y.getAttribute("src")||!Y.getAttribute("src").match(/^data:image\/\w+;base64,/g)&&!Y.getAttribute("src").match(/^blob:/g)||V.getAttribute("uploadProcessed"));var Y}).map(V=>({promise:_p(V),imageElement:V}));if(!O.length)return;const N=new $c(c.editing.view.document);for(const V of O){N.setAttribute("uploadProcessed",!0,V.imageElement);const W=m.createLoader(V.promise);W&&(N.setAttribute("src","",V.imageElement),N.setAttribute("uploadId",W.id,V.imageElement))}}),c.editing.view.document.on("dragover",(M,R)=>{R.preventDefault()}),u.on("change",()=>{const M=u.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),R=new Set;for(const O of M)if("insert"==O.type&&"$text"!=O.name){const N=O.position.nodeAfter,V="$graveyard"==O.position.root.rootName;for(const W of zR(c,N)){const Y=W.getAttribute("uploadId");if(!Y)continue;const ne=m.loaders.get(Y);ne&&(V?R.has(Y)||ne.abort():(R.add(Y),this._uploadImageElements.set(Y,W),"idle"==ne.status&&this._readAndUpload(ne)))}}}),this.on("uploadComplete",(M,{imageElement:R,data:O})=>{const N=O.urls?O.urls:O;this.editor.model.change(V=>{V.setAttribute("src",N.default,R),this._parseAndSetSrcsetAttributeOnImage(N,R,V),_.setImageNaturalSizeAttributes(R)})},{priority:"low"})}afterInit(){const c=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&c.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&c.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(c){const u=this.editor,h=u.model,m=u.locale.t,_=u.plugins.get(pc),b=u.plugins.get(rp),w=u.plugins.get("ImageUtils"),A=this._uploadImageElements;return h.enqueueChange({isUndoable:!1},R=>{R.setAttribute("uploadStatus","reading",A.get(c.id))}),c.read().then(()=>{const R=c.upload(),O=A.get(c.id);if(ae.isSafari){const N=u.editing.mapper.toViewElement(O),V=w.findViewImgElement(N);u.editing.view.once("render",()=>{if(!V.parent)return;const W=u.editing.view.domConverter.mapViewToDom(V.parent);if(!W)return;const Y=W.style.display;W.style.display="none",W._ckHack=W.offsetHeight,W.style.display=Y})}return h.enqueueChange({isUndoable:!1},N=>{N.setAttribute("uploadStatus","uploading",O)}),R}).then(R=>{h.enqueueChange({isUndoable:!1},O=>{const N=A.get(c.id);O.setAttribute("uploadStatus","complete",N),this.fire("uploadComplete",{data:R,imageElement:N})}),M()}).catch(R=>{if("error"!==c.status&&"aborted"!==c.status)throw R;"error"==c.status&&R&&b.showWarning(R,{title:m("Upload failed"),namespace:"upload"}),h.enqueueChange({isUndoable:!1},O=>{O.remove(A.get(c.id))}),M()});function M(){h.enqueueChange({isUndoable:!1},R=>{const O=A.get(c.id);R.removeAttribute("uploadId",O),R.removeAttribute("uploadStatus",O),A.delete(c.id)}),_.destroyLoader(c)}}_parseAndSetSrcsetAttributeOnImage(c,u,h){let m=0;const _=Object.keys(c).filter(b=>{const w=parseInt(b,10);if(!isNaN(w))return m=Math.max(m,w),!0}).map(b=>`${c[b]} ${b}w`).join(", ");if(""!=_){const b={srcset:_};u.hasAttribute("width")||u.hasAttribute("height")||(b.width=m),h.setAttributes(b,u)}}}function zR(g,c){const u=g.plugins.get("ImageUtils");return Array.from(g.model.createRangeOn(c)).filter(h=>u.isImage(h.item)).map(h=>h.item)}var DD=ft(6270);At()(DD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class gz extends Bi{constructor(c,u){super(c),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(u.map(h=>{if(h.isDefault)for(const m of h.modelElements)this._defaultStyles[m]=h.name;return[h.name,h]}))}refresh(){const c=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!c,this.value=!!this.isEnabled&&(c.hasAttribute("imageStyle")?c.getAttribute("imageStyle"):this._defaultStyles[c.name])}execute(c={}){const u=this.editor,h=u.model,m=u.plugins.get("ImageUtils");h.change(_=>{const b=c.value,{setImageSizes:w=!0}=c;let A=m.getClosestSelectedImageElement(h.document.selection);b&&this.shouldConvertImageType(b,A)&&(this.editor.execute(m.isBlockImage(A)?"imageTypeInline":"imageTypeBlock",{setImageSizes:w}),A=m.getClosestSelectedImageElement(h.document.selection)),!b||this._styles.get(b).isDefault?_.removeAttribute("imageStyle",A):_.setAttribute("imageStyle",b,A),w&&m.setImageNaturalSizeAttributes(A)})}shouldConvertImageType(c,u){return!this._styles.get(c).modelElements.includes(u.name)}}var mz=Object.defineProperty,GR=Object.getOwnPropertySymbols,ov=Object.prototype.hasOwnProperty,fz=Object.prototype.propertyIsEnumerable,jR=(g,c,u)=>c in g?mz(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,$R=(g,c)=>{for(var u in c||(c={}))ov.call(c,u)&&jR(g,u,c[u]);if(GR)for(var u of GR(c))fz.call(c,u)&&jR(g,u,c[u]);return g};const{objectFullWidth:W0,objectInline:AD,objectLeft:ID,objectRight:q0,objectCenter:SD,objectBlockLeft:_m,objectBlockRight:vm}=hn,K0={get inline(){return{name:"inline",title:"In line",icon:AD,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:ID,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:_m,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:SD,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:q0,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:vm,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:SD,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:q0,modelElements:["imageBlock"],className:"image-style-side"}}},UR={full:W0,left:_m,right:vm,center:SD,inlineLeft:ID,inlineRight:q0,inline:AD},WR=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function TD(g){St("image-style-configuration-definition-invalid",g)}const Y0={normalizeStyles:function(g){return(g.configuredStyles.options||[]).map(c=>{return"string"==typeof(u="string"==typeof(u=c)?K0[u]?$R({},K0[u]):{name:u}:function(h,m){const _=$R({},m);for(const b in h)Object.prototype.hasOwnProperty.call(m,b)||(_[b]=h[b]);return _}(K0[u.name],u)).icon&&(u.icon=UR[u.icon]||u.icon),u;var u}).filter(c=>function(u,{isBlockPluginLoaded:h,isInlinePluginLoaded:m}){const{modelElements:_,name:b}=u;if(!(_&&_.length&&b))return TD({style:u}),!1;{const w=[h?"imageBlock":null,m?"imageInline":null];if(!_.some(A=>w.includes(A)))return St("image-style-missing-dependency",{style:u,missingPlugins:_.map(A=>"imageBlock"===A?"ImageBlockEditing":"ImageInlineEditing")}),!1}return!0}(c,g))},getDefaultStylesConfiguration:function(g,c){return g&&c?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:g?{options:["block","side"]}:c?{options:["inline","alignLeft","alignRight"]}:{}},getDefaultDropdownDefinitions:function(g){return g.has("ImageBlockEditing")&&g.has("ImageInlineEditing")?[...WR]:[]},warnInvalidStyle:TD,DEFAULT_OPTIONS:K0,DEFAULT_ICONS:UR,DEFAULT_DROPDOWN_DEFINITIONS:WR};function ED(g,c){for(const u of c)if(u.name===g)return u}class qR extends ht{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[pa]}init(){const{normalizeStyles:c,getDefaultStylesConfiguration:u}=Y0,h=this.editor,m=h.plugins.has("ImageBlockEditing"),_=h.plugins.has("ImageInlineEditing");h.config.define("image.styles",u(m,_)),this.normalizedStyles=c({configuredStyles:h.config.get("image.styles"),isBlockPluginLoaded:m,isInlinePluginLoaded:_}),this._setupConversion(m,_),this._setupPostFixer(),h.commands.add("imageStyle",new gz(h,this.normalizedStyles))}_setupConversion(c,u){const h=this.editor,m=h.model.schema,_=(b=this.normalizedStyles,(A,M,R)=>{if(!R.consumable.consume(M.item,A.name))return;const O=ED(M.attributeNewValue,b),N=ED(M.attributeOldValue,b),V=R.mapper.toViewElement(M.item),W=R.writer;N&&W.removeClass(N.className,V),O&&W.addClass(O.className,V)});var b;const w=function(A){const M={imageInline:A.filter(R=>!R.isDefault&&R.modelElements.includes("imageInline")),imageBlock:A.filter(R=>!R.isDefault&&R.modelElements.includes("imageBlock"))};return(R,O,N)=>{if(!O.modelRange)return;const V=O.viewItem,W=gr(O.modelRange.getItems());if(W&&N.schema.checkAttribute(W,"imageStyle"))for(const Y of M[W.name])N.consumable.consume(V,{classes:Y.className})&&N.writer.setAttribute("imageStyle",Y.name,W)}}(this.normalizedStyles);h.editing.downcastDispatcher.on("attribute:imageStyle",_),h.data.downcastDispatcher.on("attribute:imageStyle",_),c&&(m.extend("imageBlock",{allowAttributes:"imageStyle"}),h.data.upcastDispatcher.on("element:figure",w,{priority:"low"})),u&&(m.extend("imageInline",{allowAttributes:"imageStyle"}),h.data.upcastDispatcher.on("element:img",w,{priority:"low"}))}_setupPostFixer(){const c=this.editor,u=c.model.document,h=c.plugins.get(pa),m=new Map(this.normalizedStyles.map(_=>[_.name,_]));u.registerPostFixer(_=>{let b=!1;for(const w of u.differ.getChanges())if("insert"==w.type||"attribute"==w.type&&"imageStyle"==w.attributeKey){let A="insert"==w.type?w.position.nodeAfter:w.range.start.nodeAfter;if(A&&A.is("element","paragraph")&&A.childCount>0&&(A=A.getChild(0)),!h.isImage(A))continue;const M=A.getAttribute("imageStyle");if(!M)continue;const R=m.get(M);R&&R.modelElements.includes(A.name)||(_.removeAttribute("imageStyle",A),b=!0)}return b})}}var MD=ft(5083);At()(MD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class vz extends ht{static get requires(){return[qR]}static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const c=this.editor.t;return{"Wrap text":c("Wrap text"),"Break text":c("Break text"),"In line":c("In line"),"Full size image":c("Full size image"),"Side image":c("Side image"),"Left aligned image":c("Left aligned image"),"Centered image":c("Centered image"),"Right aligned image":c("Right aligned image")}}init(){const c=this.editor.plugins,u=this.editor.config.get("image.toolbar")||[],h=bz(c.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const _ of h)this._createButton(_);const m=bz([...u.filter(qt),...Y0.getDefaultDropdownDefinitions(c)],this.localizedDefaultStylesTitles);for(const _ of m)this._createDropdown(_,h)}_createDropdown(c,u){const h=this.editor.ui.componentFactory;h.add(c.name,m=>{let _;const{defaultItem:b,items:w,title:A}=c,M=w.filter(V=>u.find(({name:W})=>yz(W)===V)).map(V=>{const W=h.create(V);return V===b&&(_=W),W});w.length!==M.length&&Y0.warnInvalidStyle({dropdown:c});const R=dc(m,u0),O=R.buttonView,N=O.arrowView;return M_(R,M,{enableActiveItemFocusOnDropdownOpen:!0}),O.set({label:Cz(A,_.label),class:null,tooltip:!0}),N.unbind("label"),N.set({label:A}),O.bind("icon").toMany(M,"isOn",(...V)=>{const W=V.findIndex(oa);return W<0?_.icon:M[W].icon}),O.bind("label").toMany(M,"isOn",(...V)=>{const W=V.findIndex(oa);return Cz(A,W<0?_.label:M[W].label)}),O.bind("isOn").toMany(M,"isOn",(...V)=>V.some(oa)),O.bind("class").toMany(M,"isOn",(...V)=>V.some(oa)?"ck-splitbutton_flatten":void 0),O.on("execute",()=>{M.some(({isOn:V})=>V)?R.isOpen=!R.isOpen:_.fire("execute")}),R.bind("isEnabled").toMany(M,"isEnabled",(...V)=>V.some(oa)),this.listenTo(R,"execute",()=>{this.editor.editing.view.focus()}),R})}_createButton(c){const u=c.name;this.editor.ui.componentFactory.add(yz(u),h=>{const m=this.editor.commands.get("imageStyle"),_=new Hn(h);return _.set({label:c.title,icon:c.icon,tooltip:!0,isToggleable:!0}),_.bind("isEnabled").to(m,"isEnabled"),_.bind("isOn").to(m,"value",b=>b===u),_.on("execute",this._executeCommand.bind(this,u)),_})}_executeCommand(c){this.editor.execute("imageStyle",{value:c}),this.editor.editing.view.focus()}}function bz(g,c){for(const u of g)c[u.title]&&(u.title=c[u.title]);return g}function yz(g){return`imageStyle:${g}`}function Cz(g,c){return(g?g+": ":"")+c}class uq extends ht{static get pluginName(){return"IndentEditing"}init(){const c=this.editor;c.commands.add("indent",new jT(c)),c.commands.add("outdent",new jT(c))}}const RD='',rv='';class wz extends ht{static get pluginName(){return"IndentUI"}init(){const c=this.editor,u=c.locale,h=c.t,m="ltr"==u.uiLanguageDirection?RD:rv,_="ltr"==u.uiLanguageDirection?rv:RD;this._defineButton("indent",h("Increase indent"),m),this._defineButton("outdent",h("Decrease indent"),_)}_defineButton(c,u,h){const m=this.editor;m.ui.componentFactory.add(c,_=>{const b=m.commands.get(c),w=new Hn(_);return w.set({label:u,icon:h,tooltip:!0}),w.bind("isEnabled").to(b,"isEnabled"),this.listenTo(w,"execute",()=>{m.execute(c),m.editing.view.focus()}),w})}}class xz{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(c){Array.isArray(c)?c.forEach(u=>this._definitions.add(u)):this._definitions.add(c)}getDispatcher(){return c=>{c.on("attribute:linkHref",(u,h,m)=>{if(!m.consumable.test(h.item,"attribute:linkHref")||!h.item.is("selection")&&!m.schema.isInline(h.item))return;const _=m.writer,b=_.document.selection;for(const w of this._definitions){const A=_.createAttributeElement("a",w.attributes,{priority:5});w.classes&&_.addClass(w.classes,A);for(const M in w.styles)_.setStyle(M,w.styles[M],A);_.setCustomProperty("link",!0,A),w.callback(h.attributeNewValue)?h.item.is("selection")?_.wrap(b.getFirstRange(),A):_.wrap(m.mapper.toViewRange(h.range),A):_.unwrap(m.mapper.toViewRange(h.range),A)}},{priority:"high"})}}getDispatcherForLinkedImage(){return c=>{c.on("attribute:linkHref:imageBlock",(u,h,{writer:m,mapper:_})=>{const b=_.toViewElement(h.item),w=Array.from(b.getChildren()).find(A=>A.is("element","a"));for(const A of this._definitions){const M=ta(A.attributes);if(A.callback(h.attributeNewValue)){for(const[R,O]of M)"class"===R?m.addClass(O,w):m.setAttribute(R,O,w);A.classes&&m.addClass(A.classes,w);for(const R in A.styles)m.setStyle(R,A.styles[R],w)}else{for(const[R,O]of M)"class"===R?m.removeClass(O,w):m.removeAttribute(R,w);A.classes&&m.removeClass(A.classes,w);for(const R in A.styles)m.removeStyle(R,w)}}})}}}var sv=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const YR=function(g){return sv.test(g)};var QR="\\ud800-\\udfff",Dz="["+QR+"]",XR="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",PD="\\ud83c[\\udffb-\\udfff]",OD="[^"+QR+"]",ZR="(?:\\ud83c[\\udde6-\\uddff]){2}",JR="[\\ud800-\\udbff][\\udc00-\\udfff]",bm="(?:"+XR+"|"+PD+")?",eP="[\\ufe0e\\ufe0f]?",tP=eP+bm+"(?:\\u200d(?:"+[OD,ZR,JR].join("|")+")"+eP+bm+")*",Az="(?:"+[OD+XR+"?",XR,ZR,JR,Dz].join("|")+")",iP=RegExp(PD+"(?="+PD+")|"+Az+tP,"g");const Sz=function(c){c=p1(c);var u=YR(c)?function(g){return YR(g)?function(g){return g.match(iP)||[]}(g):function(g){return g.split("")}(g)}(c):void 0,h=u?u[0]:c.charAt(0),m=u?function(g,c,u){var h=g.length;return z(g,1,u=void 0===u?h:u)}(u).join(""):c.slice(1);return h.toUpperCase()+m},FD=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,Tz=/^(?:(?:https?|ftps?|mailto):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,oP=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,rP=/^((\w+:(\/{2,})?)|(\W))/i,ND="Ctrl+K";function sP(g,{writer:c}){const u=c.createAttributeElement("a",{href:g},{priority:5});return c.setCustomProperty("link",!0,u),u}function aP(g){const c=String(g);return c.replace(FD,"").match(Tz)?c:"#"}function av(g,c){return!!g&&c.checkAttribute(g.name,"linkHref")}function LD(g,c){const u=oP.test(g)?"mailto:":c,m=!!u&&!BD(g);return g&&m?u+g:g}function BD(g){return rP.test(g)}function lP(g){window.open(g,"_blank","noopener")}class Ez extends Bi{constructor(){super(...arguments),this.manualDecorators=new Oa,this.automaticDecorators=new xz}restoreManualDecoratorStates(){for(const c of this.manualDecorators)c.value=this._getDecoratorStateFromModel(c.id)}refresh(){const c=this.editor.model,u=c.document.selection,h=u.getSelectedElement()||gr(u.getSelectedBlocks());av(h,c.schema)?(this.value=h.getAttribute("linkHref"),this.isEnabled=c.schema.checkAttribute(h,"linkHref")):(this.value=u.getAttribute("linkHref"),this.isEnabled=c.schema.checkAttributeInSelection(u,"linkHref"));for(const m of this.manualDecorators)m.value=this._getDecoratorStateFromModel(m.id)}execute(c,u={}){const h=this.editor.model,m=h.document.selection,_=[],b=[];for(const w in u)u[w]?_.push(w):b.push(w);h.change(w=>{if(m.isCollapsed){const A=m.getFirstPosition();if(m.hasAttribute("linkHref")){const M=cP(m);let R=W_(A,"linkHref",m.getAttribute("linkHref"),h);m.getAttribute("linkHref")===M&&(R=this._updateLinkContent(h,w,R,c)),w.setAttribute("linkHref",c,R),_.forEach(O=>{w.setAttribute(O,!0,R)}),b.forEach(O=>{w.removeAttribute(O,R)}),w.setSelection(w.createPositionAfter(R.end.nodeBefore))}else if(""!==c){const M=ta(m.getAttributes());M.set("linkHref",c),_.forEach(O=>{M.set(O,!0)});const{end:R}=h.insertContent(w.createText(c,M),A);w.setSelection(R)}["linkHref",..._,...b].forEach(M=>{w.removeSelectionAttribute(M)})}else{const A=h.schema.getValidRanges(m.getRanges(),"linkHref"),M=[];for(const O of m.getSelectedBlocks())h.schema.checkAttribute(O,"linkHref")&&M.push(w.createRangeOn(O));const R=M.slice();for(const O of A)this._isRangeToUpdate(O,M)&&R.push(O);for(const O of R){let N=O;if(1===R.length){const V=cP(m);m.getAttribute("linkHref")===V&&(N=this._updateLinkContent(h,w,O,c),w.setSelection(w.createSelection(N)))}w.setAttribute("linkHref",c,N),_.forEach(V=>{w.setAttribute(V,!0,N)}),b.forEach(V=>{w.removeAttribute(V,N)})}}})}_getDecoratorStateFromModel(c){const u=this.editor.model,h=u.document.selection,m=h.getSelectedElement();return av(m,u.schema)?m.getAttribute(c):h.getAttribute(c)}_isRangeToUpdate(c,u){for(const h of u)if(h.containsRange(c))return!1;return!0}_updateLinkContent(c,u,h,m){const _=u.createText(m,{linkHref:m});return c.insertContent(_,h)}}function cP(g){if(g.isCollapsed){const c=g.getFirstPosition();return c.textNode&&c.textNode.data}{const c=Array.from(g.getFirstRange().getItems());if(c.length>1)return null;const u=c[0];return u.is("$text")||u.is("$textProxy")?u.data:null}}class Mz extends Bi{refresh(){const c=this.editor.model,u=c.document.selection,h=u.getSelectedElement();this.isEnabled=av(h,c.schema)?c.schema.checkAttribute(h,"linkHref"):c.schema.checkAttributeInSelection(u,"linkHref")}execute(){const u=this.editor.model,h=u.document.selection,m=this.editor.commands.get("link");u.change(_=>{const b=h.isCollapsed?[W_(h.getFirstPosition(),"linkHref",h.getAttribute("linkHref"),u)]:u.schema.getValidRanges(h.getRanges(),"linkHref");for(const w of b)if(_.removeAttribute("linkHref",w),m)for(const A of m.manualDecorators)_.removeAttribute(A.id,w)})}}class Rz extends(_t()){constructor({id:c,label:u,attributes:h,classes:m,styles:_,defaultValue:b}){super(),this.id=c,this.set("value",void 0),this.defaultValue=b,this.label=u,this.attributes=h,this.classes=m,this.styles=_}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var dP=ft(9773);At()(dP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Oz=Object.defineProperty,VD=Object.getOwnPropertySymbols,uP=Object.prototype.hasOwnProperty,Fz=Object.prototype.propertyIsEnumerable,hP=(g,c,u)=>c in g?Oz(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,pP=(g,c)=>{for(var u in c||(c={}))uP.call(c,u)&&hP(g,u,c[u]);if(VD)for(var u of VD(c))Fz.call(c,u)&&hP(g,u,c[u]);return g};const gP="automatic",Nz=/^(https?:)?\/\//;class mP extends ht{static get pluginName(){return"LinkEditing"}static get requires(){return[pM,Lk,Ll]}constructor(c){super(c),c.config.define("link",{addTargetToExternalLinks:!1})}init(){const c=this.editor;c.model.schema.extend("$text",{allowAttributes:"linkHref"}),c.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:sP}),c.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(h,m)=>sP(aP(h),m)}),c.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:h=>h.getAttribute("href")}}),c.commands.add("link",new Ez(c)),c.commands.add("unlink",new Mz(c));const u=function(h,m){const _={"Open in a new tab":h("Open in a new tab"),Downloadable:h("Downloadable")};return m.forEach(b=>("label"in b&&_[b.label]&&(b.label=_[b.label]),b)),m}(c.t,function(h){const m=[];if(h)for(const[_,b]of Object.entries(h)){const w=Object.assign({},b,{id:`link${Sz(_)}`});m.push(w)}return m}(c.config.get("link.decorators")));this._enableAutomaticDecorators(u.filter(h=>h.mode===gP)),this._enableManualDecorators(u.filter(h=>"manual"===h.mode)),c.plugins.get(pM).registerAttribute("linkHref"),function(h,m,_,b){const w=h.editing.view,A=new Set;w.document.registerPostFixer(M=>{const R=h.model.document.selection;let O=!1;if(R.hasAttribute(m)){const N=W_(R.getFirstPosition(),m,R.getAttribute(m),h.model),V=h.editing.mapper.toViewRange(N);for(const W of V.getItems())W.is("element","a")&&!W.hasClass(b)&&(M.addClass(b,W),A.add(W),O=!0)}return O}),h.conversion.for("editingDowncast").add(M=>{function R(){w.change(O=>{for(const N of A.values())O.removeClass(b,N),A.delete(N)})}M.on("insert",R,{priority:"highest"}),M.on("remove",R,{priority:"highest"}),M.on("attribute",R,{priority:"highest"}),M.on("selection",R,{priority:"highest"})})}(c,"linkHref",0,"ck-link_selected"),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration()}_enableAutomaticDecorators(c){const u=this.editor,h=u.commands.get("link").automaticDecorators;u.config.get("link.addTargetToExternalLinks")&&h.add({id:"linkIsExternal",mode:gP,callback:m=>!!m&&Nz.test(m),attributes:{target:"_blank",rel:"noopener noreferrer"}}),h.add(c),h.length&&u.conversion.for("downcast").add(h.getDispatcher())}_enableManualDecorators(c){if(!c.length)return;const u=this.editor,h=u.commands.get("link").manualDecorators;c.forEach(m=>{u.model.schema.extend("$text",{allowAttributes:m.id});const _=new Rz(m);h.add(_),u.conversion.for("downcast").attributeToElement({model:_.id,view:(b,{writer:w,schema:A},{item:M})=>{if((M.is("selection")||A.isInline(M))&&b){const R=w.createAttributeElement("a",_.attributes,{priority:5});_.classes&&w.addClass(_.classes,R);for(const O in _.styles)w.setStyle(O,_.styles[O],R);return w.setCustomProperty("link",!0,R),R}}}),u.conversion.for("upcast").elementToAttribute({view:pP({name:"a"},_._createPattern()),model:{key:_.id}})})}_enableLinkOpen(){const c=this.editor,u=c.editing.view.document;this.listenTo(u,"click",(h,m)=>{if(!(ae.isMac?m.domEvent.metaKey:m.domEvent.ctrlKey))return;let _=m.domTarget;if("a"!=_.tagName.toLowerCase()&&(_=_.closest("a")),!_)return;const b=_.getAttribute("href");b&&(h.stop(),m.preventDefault(),lP(b))},{context:"$capture"}),this.listenTo(u,"keydown",(h,m)=>{const _=c.commands.get("link").value;_&&m.keyCode===zi.enter&&m.altKey&&(h.stop(),lP(_))})}_enableSelectionAttributesFixer(){const c=this.editor.model,u=c.document.selection;this.listenTo(u,"change:attribute",(h,{attributeKeys:m})=>{m.includes("linkHref")&&!u.hasAttribute("linkHref")&&c.change(_=>{var b;!function(w,A){w.removeSelectionAttribute("linkHref");for(const M of A)w.removeSelectionAttribute(M)}(_,(b=c.schema,b.getDefinition("$text").allowAttributes.filter(w=>w.startsWith("link"))))})})}_enableClipboardIntegration(){const c=this.editor,u=c.model,h=this.editor.config.get("link.defaultProtocol");h&&this.listenTo(c.plugins.get("ClipboardPipeline"),"contentInsertion",(m,_)=>{u.change(b=>{const w=b.createRangeIn(_.content);for(const A of w.getItems())if(A.hasAttribute("linkHref")){const M=LD(A.getAttribute("linkHref"),h);b.setAttribute("linkHref",M,A)}})})}}var fP=ft(7754);At()(fP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class HD extends gi{constructor(c,u){super(c),this.focusTracker=new Bo,this.keystrokes=new ea,this._focusables=new Dl;const h=c.t;this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(h("Save"),hn.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(h("Cancel"),hn.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(u),this.children=this._createFormChildren(u.manualDecorators),this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const m=["ck","ck-link-form","ck-responsive-form"];u.manualDecorators.length&&m.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:m,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce((c,u)=>(c[u.name]=u.isOn,c),{})}render(){super.render(),U({view:this}),[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach(c=>{this._focusables.add(c),this.focusTracker.add(c.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const c=this.locale.t,u=new xu(this.locale,Bd);return u.label=c("Link URL"),u}_createButton(c,u,h,m){const _=new Hn(this.locale);return _.set({label:c,icon:u,tooltip:!0}),_.extendTemplate({attributes:{class:h}}),m&&_.delegate("execute").to(this,m),_}_createManualDecoratorSwitches(c){const u=this.createCollection();for(const h of c.manualDecorators){const m=new Dg(this.locale);m.set({name:h.id,label:h.label,withText:!0}),m.bind("isOn").toMany([h,c],"value",(_,b)=>void 0===b&&void 0===_?!!h.defaultValue:!!_),m.on("execute",()=>{h.set("value",!m.isOn)}),u.add(m)}return u}_createFormChildren(c){const u=this.createCollection();if(u.add(this.urlInputView),c.length){const h=new gi;h.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map(m=>({tag:"li",children:[m],attributes:{class:["ck","ck-list__item"]}})),attributes:{class:["ck","ck-reset","ck-list"]}}),u.add(h)}return u.add(this.saveButtonView),u.add(this.cancelButtonView),u}}var GD=ft(2347);At()(GD.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Lz extends gi{constructor(c){super(c),this.focusTracker=new Bo,this.keystrokes=new ea,this._focusables=new Dl;const u=c.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(u("Unlink"),'',"unlink"),this.editButtonView=this._createButton(u("Edit link"),hn.pencil,"edit"),this.set("href",void 0),this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render(),[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach(c=>{this._focusables.add(c),this.focusTracker.add(c.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(c,u,h){const m=new Hn(this.locale);return m.set({label:c,icon:u,tooltip:!0}),m.delegate("execute").to(this,h),m}_createPreviewButton(){const c=new Hn(this.locale),u=this.bindTemplate,h=this.t;return c.set({withText:!0,tooltip:h("Open link in new tab")}),c.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:u.to("href",m=>m&&aP(m)),target:"_blank",rel:"noopener noreferrer"}}),c.bind("label").to(this,"href",m=>m||h("This link has no URL")),c.bind("isEnabled").to(this,"href",m=>!!m),c.template.tag="a",c.template.eventListeners={},c}}const Qc="link-ui";class $D extends ht{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[y0]}static get pluginName(){return"LinkUI"}init(){const c=this.editor;c.editing.view.addObserver(ep),this._balloon=c.plugins.get(y0),this._createToolbarLinkButton(),this._enableBalloonActivators(),c.conversion.for("editingDowncast").markerToHighlight({model:Qc,view:{classes:["ck-fake-link-selection"]}}),c.conversion.for("editingDowncast").markerToElement({model:Qc,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}})}destroy(){super.destroy(),this.formView&&this.formView.destroy(),this.actionsView&&this.actionsView.destroy()}_createViews(){this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createActionsView(){const c=this.editor,u=new Lz(c.locale),h=c.commands.get("link"),m=c.commands.get("unlink");return u.bind("href").to(h,"value"),u.editButtonView.bind("isEnabled").to(h),u.unlinkButtonView.bind("isEnabled").to(m),this.listenTo(u,"edit",()=>{this._addFormView()}),this.listenTo(u,"unlink",()=>{c.execute("unlink"),this._hideUI()}),u.keystrokes.set("Esc",(_,b)=>{this._hideUI(),b()}),u.keystrokes.set(ND,(_,b)=>{this._addFormView(),b()}),u}_createFormView(){const c=this.editor,u=c.commands.get("link"),h=c.config.get("link.defaultProtocol"),m=new(Ne(HD))(c.locale,u);return m.urlInputView.fieldView.bind("value").to(u,"value"),m.urlInputView.bind("isEnabled").to(u,"isEnabled"),m.saveButtonView.bind("isEnabled").to(u),this.listenTo(m,"submit",()=>{const{value:_}=m.urlInputView.fieldView.element,b=LD(_,h);c.execute("link",b,m.getDecoratorSwitchesState()),this._closeFormView()}),this.listenTo(m,"cancel",()=>{this._closeFormView()}),m.keystrokes.set("Esc",(_,b)=>{this._closeFormView(),b()}),m}_createToolbarLinkButton(){const c=this.editor,u=c.commands.get("link"),h=c.t;c.ui.componentFactory.add("link",m=>{const _=new Hn(m);return _.isEnabled=!0,_.label=h("Link"),_.icon='',_.keystroke=ND,_.tooltip=!0,_.isToggleable=!0,_.bind("isEnabled").to(u,"isEnabled"),_.bind("isOn").to(u,"value",b=>!!b),this.listenTo(_,"execute",()=>this._showUI(!0)),_})}_enableBalloonActivators(){const c=this.editor;this.listenTo(c.editing.view.document,"click",()=>{this._getSelectedLinkElement()&&this._showUI()}),c.keystrokes.set(ND,(h,m)=>{m(),c.commands.get("link").isEnabled&&this._showUI(!0)})}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",(c,u)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),u())},{priority:"high"}),this.editor.keystrokes.set("Esc",(c,u)=>{this._isUIVisible&&(this._hideUI(),u())}),Ce({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this.actionsView||this._createViews(),this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const c=this.editor.commands.get("link");this.formView.disableCssTransitions(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions(),this.formView.urlInputView.fieldView.element.value=c.value||""}_closeFormView(){const c=this.editor.commands.get("link");c.restoreManualDecoratorStates(),void 0!==c.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(c=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),c&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),c&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const c=this.editor;this.stopListening(c.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),c.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const c=this.editor,u=c.editing.view.document;let h=this._getSelectedLinkElement(),m=b();const _=()=>{const w=this._getSelectedLinkElement(),A=b();h&&!w||!h&&A!==m?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),h=w,m=A};function b(){return u.selection.focus.getAncestors().reverse().find(w=>w.is("element"))}this.listenTo(c.ui,"update",_),this.listenTo(this._balloon,"change:visibleView",_)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _areActionsInPanel(){return!!this.actionsView&&this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return!!this.actionsView&&this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){return!!this.formView&&this._balloon.visibleView==this.formView||this._areActionsVisible}_getBalloonPositionData(){const c=this.editor.editing.view,h=c.document;let m;if(this.editor.model.markers.has(Qc)){const _=Array.from(this.editor.editing.mapper.markerNameToElements(Qc)),b=c.createRange(c.createPositionBefore(_[0]),c.createPositionAfter(_[_.length-1]));m=c.domConverter.viewRangeToDom(b)}else m=()=>{const _=this._getSelectedLinkElement();return _?c.domConverter.mapViewToDom(_):c.domConverter.viewRangeToDom(h.selection.getFirstRange())};return{target:m}}_getSelectedLinkElement(){const c=this.editor.editing.view,u=c.document.selection,h=u.getSelectedElement();if(u.isCollapsed||h&&dr(h))return UD(u.getFirstPosition());{const m=u.getFirstRange().getTrimmed(),_=UD(m.start),b=UD(m.end);return _&&_==b&&c.createRangeIn(_).getTrimmed().isEqual(m)?_:null}}_showFakeVisualSelection(){const c=this.editor.model;c.change(u=>{const h=c.document.selection.getFirstRange();if(c.markers.has(Qc))u.updateMarker(Qc,{range:h});else if(h.start.isAtEnd){const m=h.start.getLastMatchingPosition(({item:_})=>!c.schema.isContent(_),{boundaries:h});u.addMarker(Qc,{usingOperation:!1,affectsData:!1,range:u.createRange(m,h.end)})}else u.addMarker(Qc,{usingOperation:!1,affectsData:!1,range:h})})}_hideFakeVisualSelection(){const c=this.editor.model;c.markers.has(Qc)&&c.change(u=>{u.removeMarker(Qc)})}}function UD(g){return g.getAncestors().find(c=>{return(u=c).is("attributeElement")&&!!u.getCustomProperty("link");var u})||null}const Ye=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class yp extends ht{static get requires(){return[ys,mP]}static get pluginName(){return"AutoLink"}init(){const c=this.editor.model.document.selection;c.on("change:range",()=>{this.isEnabled=!c.anchor.parent.is("element","codeBlock")}),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(c,u){return u.textNode&&u.textNode.hasAttribute("linkHref")?W_(u,"linkHref",u.textNode.getAttribute("linkHref"),c):null}_selectEntireLinks(c,u){const h=this.editor.model,m=h.document.selection,_=m.getFirstPosition(),b=m.getLastPosition();let w=u.getJoined(this._expandLinkRange(h,_)||u);w&&(w=w.getJoined(this._expandLinkRange(h,b)||u)),w&&(w.start.isBefore(_)||w.end.isAfter(b))&&c.setSelection(w)}_enablePasteLinking(){const c=this.editor,u=c.model,h=u.document.selection,m=c.plugins.get("ClipboardPipeline"),_=c.commands.get("link");m.on("inputTransformation",(b,w)=>{if(!this.isEnabled||!_.isEnabled||h.isCollapsed||h.rangeCount>1)return;const A=h.getFirstRange(),M=w.dataTransfer.getData("text/plain");if(!M)return;const R=M.match(Ye);R&&R[2]===M&&(u.change(O=>{this._selectEntireLinks(O,A),_.execute(M)}),b.stop())},{priority:"high"})}_enableTypingHandling(){const c=this.editor,u=new T0(c.model,h=>{if(!((_=h).length>4&&" "===_[_.length-1]&&" "!==_[_.length-2]))return;var _;const m=WD(h.substr(0,h.length-1));return m?{url:m}:void 0});u.on("matched:data",(h,m)=>{const{batch:_,range:b,url:w}=m;if(!_.isTyping)return;const A=b.end.getShiftedBy(-1),M=A.getShiftedBy(-w.length),R=c.model.createRange(M,A);this._applyAutoLink(w,R)}),u.bind("isEnabled").to(this)}_enableEnterHandling(){const c=this.editor,u=c.model,h=c.commands.get("enter");h&&h.on("execute",()=>{const m=u.document.selection.getFirstPosition();if(!m.parent.previousSibling)return;const _=u.createRangeIn(m.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(_)})}_enableShiftEnterHandling(){const c=this.editor,u=c.model,h=c.commands.get("shiftEnter");h&&h.on("execute",()=>{const m=u.document.selection.getFirstPosition(),_=u.createRange(u.createPositionAt(m.parent,0),m.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(_)})}_checkAndApplyAutoLinkOnRange(c){const u=this.editor.model,{text:h,range:m}=hM(c,u),_=WD(h);if(_){const b=u.createRange(m.end.getShiftedBy(-_.length),m.end);this._applyAutoLink(_,b)}}_applyAutoLink(c,u){const h=this.editor.model,m=LD(c,this.editor.config.get("link.defaultProtocol"));var b;this.isEnabled&&(b=h).schema.checkAttributeInSelection(b.createSelection(u),"linkHref")&&BD(m)&&!function(_){const b=_.start.nodeAfter;return!!b&&b.hasAttribute("linkHref")}(u)&&this._persistAutoLink(m,u)}_persistAutoLink(c,u){const h=this.editor.model,m=this.editor.plugins.get("Delete");h.enqueueChange(_=>{_.setAttribute("linkHref",c,u),h.enqueueChange(()=>{m.requestUndoOnBackspace()})})}}function WD(g){const c=Ye.exec(g);return c?c[2]:null}var _P=ft(111);At()(_P.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Q0=ft(5730);At()(Q0.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var vP=ft(4564);function yP(g,c,u,h){const m=c.parent,_=u.mapper,b=u.writer;let w=_.toViewPosition(h.createPositionBefore(g));const A=YD(g.previousSibling,{sameIndent:!0,smallerIndent:!0,listIndent:g.getAttribute("listIndent")}),M=g.previousSibling;if(A&&A.getAttribute("listIndent")==g.getAttribute("listIndent")){const R=_.toViewElement(A);w=b.breakContainer(b.createPositionAfter(R))}else if(M&&"listItem"==M.name){w=_.toViewPosition(h.createPositionAt(M,"end"));const R=_.findMappedViewAncestor(w),O=function(N){for(const V of N.getChildren())if("ul"==V.name||"ol"==V.name)return V;return null}(R);w=O?b.createPositionBefore(O):b.createPositionAt(R,"end")}else w=_.toViewPosition(h.createPositionBefore(g));if(w=X0(w),b.insert(w,m),M&&"listItem"==M.name){const R=_.toViewElement(M),O=b.createRange(b.createPositionAt(R,0),w).getWalker({ignoreElementEnd:!0});for(const N of O)if(N.item.is("element","li")){const V=b.breakContainer(b.createPositionBefore(N.item)),W=N.item.parent,Y=b.createPositionAt(c,"end");Ue(b,Y.nodeBefore,Y.nodeAfter),b.move(b.createRangeOn(W),Y),O._position=V}}else{const R=m.nextSibling;if(R&&(R.is("element","ul")||R.is("element","ol"))){let O=null;for(const N of R.getChildren()){const V=_.toModelElement(N);if(!(V&&V.getAttribute("listIndent")>g.getAttribute("listIndent")))break;O=N}O&&(b.breakContainer(b.createPositionAfter(O)),b.move(b.createRangeOn(O.parent),b.createPositionAt(c,"end")))}}Ue(b,m,m.nextSibling),Ue(b,m.previousSibling,m)}function Ue(g,c,u){return!c||!u||"ul"!=c.name&&"ol"!=c.name||c.name!=u.name||c.getAttribute("class")!==u.getAttribute("class")?null:g.mergeContainers(g.createPositionAfter(c))}function X0(g){return g.getLastMatchingPosition(c=>c.item.is("uiElement"))}function YD(g,c){const u=!!c.sameIndent,h=!!c.smallerIndent,m=c.listIndent;let _=g;for(;_&&"listItem"==_.name;){const b=_.getAttribute("listIndent");if(u&&m==b||h&&m>b)return _;_="forward"===c.direction?_.nextSibling:_.previousSibling}return null}function QD(g,c,u,h){g.ui.componentFactory.add(c,m=>{const _=g.commands.get(c),b=new Hn(m);return b.set({label:u,icon:h,tooltip:!0,isToggleable:!0}),b.bind("isOn","isEnabled").to(_,"value","isEnabled"),b.on("execute",()=>{g.execute(c),g.editing.view.focus()}),b})}function Z0(g,c){const u=[],h=g.parent,m={ignoreElementEnd:!1,startPosition:g,shallow:!0,direction:c},_=h.getAttribute("listIndent"),b=[...new lc(m)].filter(w=>w.item.is("element")).map(w=>w.item);for(const w of b){if(!w.is("element","listItem")||w.getAttribute("listIndent")<_)break;if(!(w.getAttribute("listIndent")>_)){if(w.getAttribute("listType")!==h.getAttribute("listType")||w.getAttribute("listStyle")!==h.getAttribute("listStyle")||w.getAttribute("listReversed")!==h.getAttribute("listReversed")||w.getAttribute("listStart")!==h.getAttribute("listStart"))break;"backward"===c?u.unshift(w):u.push(w)}}return u}At()(vP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const CP=["disc","circle","square"],Bz=["decimal","decimal-leading-zero","lower-roman","upper-roman","lower-latin","upper-latin"];function Vz(){const g=!this.isEmpty&&("ul"==this.getChild(0).name||"ol"==this.getChild(0).name);return this.isEmpty||g?0:Fs.call(this)}class zz extends ht{static get pluginName(){return"ListUI"}init(){const c=this.editor.t;QD(this.editor,"numberedList",c("Numbered List"),''),QD(this.editor,"bulletedList",c("Bulleted List"),'')}}const Hz={},wP={},pq={},xP=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:g,typeAttribute:c,listType:u}of xP)Hz[g]=u,wP[g]=c,c&&(pq[c]=g);var kP=ft(6082);At()(kP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var jz=ft(2417);At()(jz.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class DP extends Bi{constructor(c,u){super(c),this._indentBy="forward"==u?1:-1}refresh(){this.isEnabled=this._checkEnabled()}execute(){const c=this.editor.model;let h=Array.from(c.document.selection.getSelectedBlocks());c.change(m=>{const _=h[h.length-1];let b=_.nextSibling;for(;b&&"listItem"==b.name&&b.getAttribute("listIndent")>_.getAttribute("listIndent");)h.push(b),b=b.nextSibling;this._indentBy<0&&(h=h.reverse());for(const w of h){const A=w.getAttribute("listIndent")+this._indentBy;A<0?m.rename(w,"paragraph"):m.setAttribute("listIndent",A,w)}this.fire("_executeCleanup",h)})}_checkEnabled(){const c=gr(this.editor.model.document.selection.getSelectedBlocks());if(!c||!c.is("element","listItem"))return!1;if(this._indentBy>0){const u=c.getAttribute("listIndent"),h=c.getAttribute("listType");let m=c.previousSibling;for(;m&&m.is("element","listItem")&&m.getAttribute("listIndent")>=u;){if(m.getAttribute("listIndent")==u)return m.getAttribute("listType")==h;m=m.previousSibling}return!1}return!0}}class Dn extends Bi{constructor(c,u){super(c),this.type=u}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(c={}){const u=this.editor.model,m=Array.from(u.document.selection.getSelectedBlocks()).filter(b=>Un(b,u.schema)),_=void 0!==c.forceValue?!c.forceValue:this.value;u.change(b=>{if(_){let w=m[m.length-1].nextSibling,A=Number.POSITIVE_INFINITY,M=[];for(;w&&"listItem"==w.name&&0!==w.getAttribute("listIndent");){const R=w.getAttribute("listIndent");R=u;)_>m.getAttribute("listIndent")&&(_=m.getAttribute("listIndent")),m.getAttribute("listIndent")==_&&g[c?"unshift":"push"](m),m=m[c?"previousSibling":"nextSibling"]}}function Un(g,c){return c.checkChild(g.parent,"listItem")&&!c.isObject(g)}class lv extends ht{static get pluginName(){return"ListUtils"}getListTypeFromListStyleType(c){return CP.includes(u=c)?"bulleted":Bz.includes(u)?"numbered":null;var u}getSelectedListItems(c){return function(u){let h=[...u.document.selection.getSelectedBlocks()].filter(m=>m.is("element","listItem")).map(m=>{const _=u.change(b=>b.createPositionAt(m,0));return[...Z0(_,"backward"),...Z0(_,"forward")]}).flat();return h=[...new Set(h)],h}(c)}getSiblingNodes(c,u){return Z0(c,u)}}function mc(g){return(c,u,h)=>{const m=h.consumable;if(!m.test(u.item,"insert")||!m.test(u.item,"attribute:listType")||!m.test(u.item,"attribute:listIndent"))return;m.consume(u.item,"insert"),m.consume(u.item,"attribute:listType"),m.consume(u.item,"attribute:listIndent");const _=u.item;yP(_,function KD(g,c){const u=c.mapper,h=c.writer,m="numbered"==g.getAttribute("listType")?"ol":"ul",_=function(w){const A=w.createContainerElement("li");return A.getFillerOffset=Vz,A}(h),b=h.createContainerElement(m,null);return h.insert(h.createPositionAt(b,0),_),u.bindElements(g,_),_}(_,h),h,g)}}const Ji=(g,c,u)=>{if(!u.consumable.test(c.item,g.name))return;const h=u.mapper.toViewElement(c.item),m=u.writer;m.breakContainer(m.createPositionBefore(h)),m.breakContainer(m.createPositionAfter(h)),m.rename("numbered"==c.attributeNewValue?"ol":"ul",h.parent)},en=(g,c,u)=>{u.consumable.consume(c.item,g.name);const h=u.mapper.toViewElement(c.item).parent,m=u.writer;Ue(m,h,h.nextSibling),Ue(m,h.previousSibling,h)},is=(g,c,u)=>{if(u.consumable.test(c.item,g.name)&&"listItem"!=c.item.name){let h=u.mapper.toViewPosition(c.range.start);const m=u.writer,_=[];for(;("ul"==h.parent.name||"ol"==h.parent.name)&&(h=m.breakContainer(h),"li"==h.parent.name);){const b=h,w=m.createPositionAt(h.parent,"end");if(!b.isEqual(w)){const A=m.remove(m.createRange(b,w));_.push(A)}h=m.createPositionAfter(h.parent)}if(_.length>0){for(let b=0;b<_.length;b++){const w=h.nodeBefore;if(h=m.insert(h,_[b]).end,b>0){const A=Ue(m,w,w.nextSibling);A&&A.parent==w&&h.offset--}}Ue(m,h.nodeBefore,h.nodeAfter)}}},XD=(g,c,u)=>{const h=u.mapper.toViewPosition(c.position);Ue(u.writer,h.nodeBefore,h.nodeAfter)},Bu=(g,c,u)=>{if(u.consumable.consume(c.viewItem,{name:!0})){const h=u.writer,m=h.createElement("listItem"),_=function(A){let M=0,R=A.parent;for(;R;){if(R.is("element","li"))M++;else{const O=R.previousSibling;O&&O.is("element","li")&&M++}R=R.parent}return M}(c.viewItem);if(h.setAttribute("listIndent",_,m),h.setAttribute("listType",c.viewItem.parent&&"ol"==c.viewItem.parent.name?"numbered":"bulleted",m),!u.safeInsert(m,c.modelCursor))return;const w=function(A,M,R){const{writer:O,schema:N}=R;let V=O.createPositionAfter(A);for(const W of M)if("ul"==W.name||"ol"==W.name)V=R.convertItem(W,V).modelCursor;else{const Y=R.convertItem(W,O.createPositionAt(A,"end")),ne=Y.modelRange.start.nodeAfter;ne&&ne.is("element")&&!N.checkChild(A,ne.name)&&(A=Y.modelCursor.parent.is("element","listItem")?Y.modelCursor.parent:SP(Y.modelCursor),V=O.createPositionAfter(A))}return V}(m,c.viewItem.getChildren(),u);c.modelRange=h.createRange(c.modelCursor,w),u.updateConversionResult(m,c)}},ym=(g,c,u)=>{if(u.consumable.test(c.viewItem,{name:!0})){const h=Array.from(c.viewItem.getChildren());for(const m of h)!m.is("element","li")&&!le(m)&&m._remove()}},AP=(g,c,u)=>{if(u.consumable.test(c.viewItem,{name:!0})){if(0===c.viewItem.childCount)return;const h=[...c.viewItem.getChildren()];let m=!1;for(const _ of h)m&&!le(_)&&_._remove(),le(_)&&(m=!0)}};function ZD(g){return(c,u)=>{if(u.isPhantom)return;const h=u.modelPosition.nodeBefore;if(h&&h.is("element","listItem")){const m=u.mapper.toViewElement(h),_=m.getAncestors().find(le),b=g.createPositionAt(m,0).getWalker();for(const w of b){if("elementStart"==w.type&&w.item.is("element","li")){u.viewPosition=w.previousPosition;break}if("elementEnd"==w.type&&w.item==_){u.viewPosition=w.nextPosition;break}}}}}const IP=function(g,[c,u]){let m,_=c.is("documentFragment")?c.getChild(0):c;if(m=u?this.createSelection(u):this.document.selection,_&&_.is("element","listItem")){const b=m.getFirstPosition();let w=null;if(b.parent.is("element","listItem")?w=b.parent:b.nodeBefore&&b.nodeBefore.is("element","listItem")&&(w=b.nodeBefore),w){const A=w.getAttribute("listIndent");if(A>0)for(;_&&_.is("element","listItem");)_._setAttribute("listIndent",_.getAttribute("listIndent")+A),_=_.nextSibling}}};function SP(g){const c=new lc({startPosition:g});let u;do{u=c.next()}while(!u.value.item.is("element","listItem"));return u.value.item}function JD(g,c,u,h,m,_){const b=YD(c.nodeBefore,{sameIndent:!0,smallerIndent:!0,listIndent:g}),w=m.mapper,A=m.writer,M=b?b.getAttribute("listIndent"):null;let R;if(b)if(M==g){const O=w.toViewElement(b).parent;R=A.createPositionAfter(O)}else{const O=_.createPositionAt(b,"end");R=w.toViewPosition(O)}else R=u;R=X0(R);for(const O of[...h.getChildren()])le(O)&&(R=A.move(A.createRangeOn(O),R).end,Ue(A,O,O.nextSibling),Ue(A,O.previousSibling,O))}function le(g){return g.is("element","ol")||g.is("element","ul")}class Uz extends ht{static get pluginName(){return"ListEditing"}static get requires(){return[Ru,ys,lv]}init(){const c=this.editor;c.model.schema.register("listItem",{inheritAllFrom:"$block",allowAttributes:["listType","listIndent"]});const u=c.data,h=c.editing;var m;c.model.document.registerPostFixer(b=>function(w,A){const M=w.document.differ.getChanges(),R=new Map;let O=!1;for(const Y of M)if("insert"==Y.type&&"listItem"==Y.name)N(Y.position);else if("insert"==Y.type&&"listItem"!=Y.name){if("$text"!=Y.name){const ne=Y.position.nodeAfter;ne.hasAttribute("listIndent")&&(A.removeAttribute("listIndent",ne),O=!0),ne.hasAttribute("listType")&&(A.removeAttribute("listType",ne),O=!0),ne.hasAttribute("listStyle")&&(A.removeAttribute("listStyle",ne),O=!0),ne.hasAttribute("listReversed")&&(A.removeAttribute("listReversed",ne),O=!0),ne.hasAttribute("listStart")&&(A.removeAttribute("listStart",ne),O=!0);for(const he of Array.from(w.createRangeIn(ne)).filter(Me=>Me.item.is("element","listItem")))N(he.previousPosition)}N(Y.position.getShiftedBy(Y.length))}else"remove"==Y.type&&"listItem"==Y.name?N(Y.position):("attribute"==Y.type&&"listIndent"==Y.attributeKey||"attribute"==Y.type&&"listType"==Y.attributeKey)&&N(Y.range.start);for(const Y of R.values())V(Y),W(Y);return O;function N(Y){const ne=Y.nodeBefore;if(ne&&ne.is("element","listItem")){let he=ne;if(R.has(he))return;for(let Me=he.previousSibling;Me&&Me.is("element","listItem");Me=he.previousSibling)if(he=Me,R.has(he))return;R.set(ne,he)}else{const he=Y.nodeAfter;he&&he.is("element","listItem")&&R.set(he,he)}}function V(Y){let ne=0,he=null;for(;Y&&Y.is("element","listItem");){const Me=Y.getAttribute("listIndent");if(Me>ne){let qe;null===he?(he=Me-ne,qe=ne):(he>Me&&(he=Me),qe=Me-he),A.setAttribute("listIndent",qe,Y),O=!0}else he=null,ne=Y.getAttribute("listIndent")+1;Y=Y.nextSibling}}function W(Y){let ne=[],he=null;for(;Y&&Y.is("element","listItem");){const Me=Y.getAttribute("listIndent");if(he&&he.getAttribute("listIndent")>Me&&(ne=ne.slice(0,Me+1)),0!=Me)if(ne[Me]){const qe=ne[Me];Y.getAttribute("listType")!=qe&&(A.setAttribute("listType",qe,Y),O=!0)}else ne[Me]=Y.getAttribute("listType");he=Y,Y=Y.nextSibling}}}(c.model,b)),h.mapper.registerViewToModelLength("li",TP),u.mapper.registerViewToModelLength("li",TP),h.mapper.on("modelToViewPosition",ZD(h.view)),h.mapper.on("viewToModelPosition",(m=c.model,(b,w)=>{const A=w.viewPosition,M=A.parent,R=w.mapper;if("ul"==M.name||"ol"==M.name){if(A.isAtEnd){const O=R.toModelElement(A.nodeBefore),N=R.getModelLength(A.nodeBefore);w.modelPosition=m.createPositionBefore(O).getShiftedBy(N)}else{const O=R.toModelElement(A.nodeAfter);w.modelPosition=m.createPositionBefore(O)}b.stop()}else if("li"==M.name&&A.nodeBefore&&("ul"==A.nodeBefore.name||"ol"==A.nodeBefore.name)){const O=R.toModelElement(M);let N=1,V=A.nodeBefore;for(;V&&le(V);)N+=R.getModelLength(V),V=V.previousSibling;w.modelPosition=m.createPositionBefore(O).getShiftedBy(N),b.stop()}})),u.mapper.on("modelToViewPosition",ZD(h.view)),c.conversion.for("editingDowncast").add(b=>{var w;b.on("insert",is,{priority:"high"}),b.on("insert:listItem",mc(c.model)),b.on("attribute:listType:listItem",Ji,{priority:"high"}),b.on("attribute:listType:listItem",en,{priority:"low"}),b.on("attribute:listIndent:listItem",(w=c.model,(A,M,R)=>{if(!R.consumable.consume(M.item,"attribute:listIndent"))return;const O=R.mapper.toViewElement(M.item),N=R.writer;N.breakContainer(N.createPositionBefore(O)),N.breakContainer(N.createPositionAfter(O));const V=O.parent,W=V.previousSibling,Y=N.createRangeOn(V);N.remove(Y),W&&W.nextSibling&&Ue(N,W,W.nextSibling),JD(M.attributeOldValue+1,M.range.start,Y.start,O,R,w),yP(M.item,O,R,w);for(const ne of M.item.getChildren())R.consumable.consume(ne,"insert")})),b.on("remove:listItem",function(w){return(A,M,R)=>{const O=R.mapper.toViewPosition(M.position).getLastMatchingPosition(he=>!he.item.is("element","li")).nodeAfter,N=R.writer;N.breakContainer(N.createPositionBefore(O)),N.breakContainer(N.createPositionAfter(O));const V=O.parent,W=V.previousSibling,Y=N.createRangeOn(V),ne=N.remove(Y);W&&W.nextSibling&&Ue(N,W,W.nextSibling),JD(R.mapper.toModelElement(O).getAttribute("listIndent")+1,M.position,Y.start,O,R,w);for(const he of N.createRangeIn(ne).getItems())R.mapper.unbindViewElement(he);A.stop()}}(c.model)),b.on("remove",XD,{priority:"low"})}),c.conversion.for("dataDowncast").add(b=>{b.on("insert",is,{priority:"high"}),b.on("insert:listItem",mc(c.model))}),c.conversion.for("upcast").add(b=>{b.on("element:ul",ym,{priority:"high"}),b.on("element:ol",ym,{priority:"high"}),b.on("element:li",AP,{priority:"high"}),b.on("element:li",Bu)}),c.model.on("insertContent",IP,{priority:"high"}),c.commands.add("numberedList",new Dn(c,"numbered")),c.commands.add("bulletedList",new Dn(c,"bulleted")),c.commands.add("indentList",new DP(c,"forward")),c.commands.add("outdentList",new DP(c,"backward"));const _=h.view.document;this.listenTo(_,"enter",(b,w)=>{const A=this.editor.model.document,M=A.selection.getLastPosition().parent;A.selection.isCollapsed&&"listItem"==M.name&&M.isEmpty&&(this.editor.execute("outdentList"),w.preventDefault(),b.stop())},{context:"li"}),this.listenTo(_,"delete",(b,w)=>{if("backward"!==w.direction)return;const A=this.editor.model.document.selection;if(!A.isCollapsed)return;const M=A.getFirstPosition();if(!M.isAtStart)return;const R=M.parent;"listItem"===R.name&&(R.previousSibling&&"listItem"===R.previousSibling.name||(this.editor.execute("outdentList"),w.preventDefault(),b.stop()))},{context:"li"}),this.listenTo(c.editing.view.document,"tab",(b,w)=>{const A=w.shiftKey?"outdentList":"indentList";this.editor.commands.get(A).isEnabled&&(c.execute(A),w.stopPropagation(),w.preventDefault(),b.stop())},{context:"li"})}afterInit(){const c=this.editor.commands,u=c.get("indent"),h=c.get("outdent");u&&u.registerChildCommand(c.get("indentList")),h&&h.registerChildCommand(c.get("outdentList"))}}function TP(g){let c=1;for(const u of g.getChildren())if("ul"==u.name||"ol"==u.name)for(const h of u.getChildren())c+=TP(h);return c}kd("Ctrl+Enter");var Wz=ft(1199);function Fn(g,c){const u=(h,m,_)=>{if(!_.consumable.consume(m.item,h.name))return;const b=m.attributeNewValue,w=_.writer,A=_.mapper.toViewElement(m.item),M=[...A.getChildren()].find(O=>O.getCustomProperty("media-content"));w.remove(M);const R=g.getMediaViewElement(w,b,c);w.insert(w.createPositionAt(A,0),R)};return h=>{h.on("attribute:url:media",u)}}function lt(g,c,u,h){return g.createContainerElement("figure",{class:"media"},[c.getMediaViewElement(g,u,h),g.createSlot()])}function Ei(g){const c=g.getSelectedElement();return c&&c.is("element","media")?c:null}function mt(g,c,u,h){g.change(m=>{const _=m.createElement("media",{url:c});g.insertObject(_,u,null,{setSelection:"on",findOptimalPosition:h?"auto":void 0})})}At()(Wz.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),kd("Ctrl+Enter");class cv extends Bi{refresh(){const c=this.editor.model,u=c.document.selection,h=Ei(u);this.value=h?h.getAttribute("url"):void 0,this.isEnabled=function(m){const _=m.getSelectedElement();return!!_&&"media"===_.name}(u)||function(m,_){let w=DM(m,_).start.parent;return w.isEmpty&&!_.schema.isLimit(w)&&(w=w.parent),_.schema.checkChild(w,"media")}(u,c)}execute(c){const u=this.editor.model,h=u.document.selection,m=Ei(h);m?u.change(_=>{_.setAttribute("url",c,m)}):mt(u,c,h,!0)}}class qz{constructor(c,u){const h=u.providers,m=u.extraProviders||[],_=new Set(u.removeProviders),b=h.concat(m).filter(w=>{const A=w.name;return A?!_.has(A):(St("media-embed-no-provider-name",{provider:w}),!1)});this.locale=c,this.providerDefinitions=b}hasMedia(c){return!!this._getMedia(c)}getMediaViewElement(c,u,h){return this._getMedia(u).getViewElement(c,h)}_getMedia(c){if(!c)return new zo(this.locale);c=c.trim();for(const u of this.providerDefinitions){const h=u.html,m=ho(u.url);for(const _ of m){const b=this._getUrlMatches(c,_);if(b)return new zo(this.locale,c,b,h)}}return null}_getUrlMatches(c,u){let h=c.match(u);if(h)return h;let m=c.replace(/^https?:\/\//,"");return h=m.match(u),h||(m=m.replace(/^www\./,""),h=m.match(u),h||null)}}class zo{constructor(c,u,h,m){this.url=this._getValidUrl(u),this._locale=c,this._match=h,this._previewRenderer=m}getViewElement(c,u){const h={};let m;if(u.renderForEditingView||u.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(h["data-oembed-url"]=this.url),u.renderForEditingView&&(h.class="ck-media__wrapper");const _=this._getPreviewHtml(u);m=c.createRawElement("div",h,(b,w)=>{w.setContentOf(b,_)})}else this.url&&(h.url=this.url),m=c.createEmptyElement(u.elementName,h);return c.setCustomProperty("media-content",!0,m),m}_getPreviewHtml(c){return this._previewRenderer?this._previewRenderer(this._match):this.url&&c.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const c=new Qo,u=this._locale.t;return c.content='',c.viewBox="0 0 64 42",new rc({tag:"div",attributes:{class:"ck ck-reset_all ck-media__placeholder"},children:[{tag:"div",attributes:{class:"ck-media__placeholder__icon"},children:[c]},{tag:"a",attributes:{class:"ck-media__placeholder__url",target:"_blank",rel:"noopener noreferrer",href:this.url,"data-cke-tooltip-text":u("Open media in new tab")},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]}]}]}).render().outerHTML}_getValidUrl(c){return c?c.match(/^https?/)?c:"https://"+c:null}}var EP=ft(7442);At()(EP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class J0 extends ht{constructor(c){super(c),c.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:[/^dailymotion\.com\/video\/(\w+)/,/^dai.ly\/(\w+)/],html:u=>`
`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:u=>`
`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)(?:&t=(\d+))?/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)(?:\?t=(\d+))?/,/^youtube\.com\/embed\/([\w-]+)(?:\?start=(\d+))?/,/^youtu\.be\/([\w-]+)(?:\?t=(\d+))?/],html:u=>{const m=u[2];return`
`}},{name:"vimeo",url:[/^vimeo\.com\/(\d+)/,/^vimeo\.com\/[^/]+\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/album\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/channels\/[^/]+\/(\d+)/,/^vimeo\.com\/groups\/[^/]+\/videos\/(\d+)/,/^vimeo\.com\/ondemand\/[^/]+\/(\d+)/,/^player\.vimeo\.com\/video\/(\d+)/],html:u=>`
`},{name:"instagram",url:/^instagram\.com\/p\/(\w+)/},{name:"twitter",url:/^twitter\.com/},{name:"googleMaps",url:[/^google\.com\/maps/,/^goo\.gl\/maps/,/^maps\.google\.com/,/^maps\.app\.goo\.gl/]},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new qz(c.locale,c.config.get("mediaEmbed"))}static get pluginName(){return"MediaEmbedEditing"}init(){const c=this.editor,u=c.model.schema,h=c.t,m=c.conversion,_=c.config.get("mediaEmbed.previewsInData"),b=c.config.get("mediaEmbed.elementName"),w=this.registry;c.commands.add("mediaEmbed",new cv(c)),u.register("media",{inheritAllFrom:"$blockObject",allowAttributes:["url"]}),m.for("dataDowncast").elementToStructure({model:"media",view:(A,{writer:M})=>{const R=A.getAttribute("url");return lt(M,w,R,{elementName:b,renderMediaPreview:!!R&&_})}}),m.for("dataDowncast").add(Fn(w,{elementName:b,renderMediaPreview:_})),m.for("editingDowncast").elementToStructure({model:"media",view:(A,{writer:M})=>{const R=A.getAttribute("url");return O=lt(M,w,R,{elementName:b,renderForEditingView:!0}),N=M,V=h("media widget"),N.setCustomProperty("media",!0,O),$k(O,N,{label:V});var O,N,V}}),m.for("editingDowncast").add(Fn(w,{elementName:b,renderForEditingView:!0})),m.for("upcast").elementToElement({view:A=>["oembed",b].includes(A.name)&&A.getAttribute("url")?{name:!0}:null,model:(A,{writer:M})=>{const R=A.getAttribute("url");return w.hasMedia(R)?M.createElement("media",{url:R}):null}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(A,{writer:M})=>{const R=A.getAttribute("data-oembed-url");return w.hasMedia(R)?M.createElement("media",{url:R}):null}}).add(A=>{A.on("element:figure",(M,R,O)=>{if(!O.consumable.consume(R.viewItem,{name:!0,classes:"media"}))return;const{modelRange:N,modelCursor:V}=O.convertChildren(R.viewItem,R.modelCursor);R.modelRange=N,R.modelCursor=V,gr(N.getItems())||O.consumable.revert(R.viewItem,{name:!0,classes:"media"})})})}}const mq=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class je extends ht{constructor(c){super(c),this._timeoutId=null,this._positionToInsert=null}static get requires(){return[NM,ys,VV]}static get pluginName(){return"AutoMediaEmbed"}init(){const c=this.editor,u=c.model.document,h=c.plugins.get("ClipboardPipeline");this.listenTo(h,"inputTransformation",()=>{const m=u.selection.getFirstRange(),_=jn.fromPosition(m.start);_.stickiness="toPrevious";const b=jn.fromPosition(m.end);b.stickiness="toNext",u.once("change:data",()=>{this._embedMediaBetweenPositions(_,b),_.detach(),b.detach()},{priority:"high"})}),c.commands.get("undo").on("execute",()=>{this._timeoutId&&(de.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)},{priority:"high"})}_embedMediaBetweenPositions(c,u){const h=this.editor,m=h.plugins.get(J0).registry,_=new Na(c,u),b=_.getWalker({ignoreElementEnd:!0});let w="";for(const A of b)A.item.is("$textProxy")&&(w+=A.item.data);w=w.trim(),w.match(mq)&&m.hasMedia(w)&&h.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=jn.fromPosition(c),this._timeoutId=de.window.setTimeout(()=>{h.model.change(A=>{this._timeoutId=null,A.remove(_),_.detach();let M=null;"$graveyard"!==this._positionToInsert.root.rootName&&(M=this._positionToInsert),mt(h.model,w,M,!1),this._positionToInsert.detach(),this._positionToInsert=null}),h.plugins.get(ys).requestUndoOnBackspace()},100)):_.detach()}}var MP=ft(9292);At()(MP.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Yz extends gi{constructor(c,u){super(u);const h=u.t;this.focusTracker=new Bo,this.keystrokes=new ea,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(h("Save"),hn.check,"ck-button-save"),this.saveButtonView.type="submit",this.saveButtonView.bind("isEnabled").to(this,"mediaURLInputValue",m=>!!m),this.cancelButtonView=this._createButton(h("Cancel"),hn.cancel,"ck-button-cancel","cancel"),this._focusables=new Dl,this._focusCycler=new Ad({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._validators=c,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),U({view:this}),[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach(u=>{this._focusables.add(u),this.focusTracker.add(u.element)}),this.keystrokes.listenTo(this.element);const c=u=>u.stopPropagation();this.keystrokes.set("arrowright",c),this.keystrokes.set("arrowleft",c),this.keystrokes.set("arrowup",c),this.keystrokes.set("arrowdown",c)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(c){this.urlInputView.fieldView.element.value=c.trim()}isValid(){this.resetFormStatus();for(const c of this._validators){const u=c(this);if(u)return this.urlInputView.errorText=u,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const c=this.locale.t,u=new xu(this.locale,Bd),h=u.fieldView;return this._urlInputViewInfoDefault=c("Paste the media URL in the input."),this._urlInputViewInfoTip=c("Tip: Paste the URL into the content to embed faster."),u.label=c("Media URL"),u.infoText=this._urlInputViewInfoDefault,h.on("input",()=>{u.infoText=h.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=h.element.value.trim()}),u}_createButton(c,u,h,m){const _=new Hn(this.locale);return _.set({label:c,icon:u,tooltip:!0}),_.extendTemplate({attributes:{class:h}}),m&&_.delegate("execute").to(this,m),_}}class eC extends ht{static get requires(){return[J0]}static get pluginName(){return"MediaEmbedUI"}init(){const c=this.editor,u=c.commands.get("mediaEmbed");c.ui.componentFactory.add("mediaEmbed",h=>{const m=dc(h);return this._setUpDropdown(m,u),m})}_setUpDropdown(c,u){const h=this.editor,m=h.t,_=c.buttonView,b=h.plugins.get(J0).registry;c.once("change:isOpen",()=>{const w=new(Ne(Yz))((A=h.t,M=b,[R=>{if(!R.url.length)return A("The URL must not be empty.")},R=>{if(!M.hasMedia(R.url))return A("This media URL is not supported.")}]),h.locale);var A,M;c.panelView.children.add(w),_.on("open",()=>{w.disableCssTransitions(),w.url=u.value||"",w.urlInputView.fieldView.select(),w.enableCssTransitions()},{priority:"low"}),c.on("submit",()=>{w.isValid()&&(h.execute("mediaEmbed",w.url),h.editing.view.focus())}),c.on("change:isOpen",()=>w.resetFormStatus()),c.on("cancel",()=>{h.editing.view.focus()}),w.delegate("submit","cancel").to(c),w.urlInputView.fieldView.bind("value").to(u,"value"),w.urlInputView.bind("isEnabled").to(u,"isEnabled")}),c.bind("isEnabled").to(u),_.set({label:m("Insert media"),icon:'',tooltip:!0})}}var eA=ft(4652);function tC(g){if(g.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(g){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return g;default:return null}}function PP(g,c,u){const h=c.parent,m=u.createElement(g.type),_=h.getChildIndex(c)+1;return u.insertChild(_,m,h),g.style&&u.setStyle("list-style-type",g.style,m),g.startIndex&&g.startIndex>1&&u.setAttribute("start",g.startIndex,m),m}function Xz(g){const c={},u=g.getStyle("mso-list");if(u){const h=u.match(/(^|\s{1,100})l(\d+)/i),m=u.match(/\s{0,100}lfo(\d+)/i),_=u.match(/\s{0,100}level(\d+)/i);h&&m&&_&&(c.id=h[2],c.order=m[1],c.indent=parseInt(_[1]))}return c}function Zz(g){return btoa(g.match(/\w{2}/g).map(c=>String.fromCharCode(parseInt(c,16))).join(""))}At()(eA.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Jz=//i,FP=/xmlns:o="urn:schemas-microsoft-com/i;class ei{constructor(c){this.document=c}isActive(c){return Jz.test(c)||FP.test(c)}execute(c){const{body:u,stylesString:h}=c._parsedData;(function RP(g,c){if(!g.childCount)return;const u=new $c(g.document),h=function(b,w){const A=w.createRangeIn(b),M=new sc({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),R=[];for(const O of A)if("elementStart"===O.type&&M.match(O.item)){const N=Xz(O.item);R.push({element:O.item,id:N.id,order:N.order,indent:N.indent})}return R}(g,u);if(!h.length)return;let m=null,_=1;h.forEach((b,w)=>{const A=function(W,Y){if(!W)return!0;if(W.id!==Y.id)return Y.indent-W.indent!=1;const ne=Y.element.previousSibling;return!ne||!((he=ne).is("element","ol")||he.is("element","ul"));var he}(h[w-1],b),R=(N=b,(O=A?null:h[w-1])?N.indent-O.indent:N.indent-1);var O,N;if(A&&(m=null,_=1),!m||0!==R){const W=function(Y,ne){const Me=/mso-level-number-format:([^;]{0,100});/gi,qe=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,kt=new RegExp(`@list l${Y.id}:level${Y.indent}\\s*({[^}]*)`,"gi").exec(ne);let $t="decimal",tn="ol",Wi=null;if(kt&&kt[1]){const Wn=Me.exec(kt[1]);if(Wn&&Wn[1]&&($t=Wn[1].trim(),tn="bullet"!==$t&&"image"!==$t?"ol":"ul"),"bullet"===$t){const Zo=function(zu){const Vl=function(Hu){if(Hu.getChild(0).is("$text"))return null;for(const Xc of Hu.getChildren()){if(!Xc.is("element","span"))continue;const Ap=Xc.getChild(0);if(Ap)return Ap.is("$text")?Ap:Ap.getChild(0)}return null}(zu);if(!Vl)return null;const zl=Vl._data;return"o"===zl?"circle":"\xb7"===zl?"disc":"\xa7"===zl?"square":null}(Y.element);Zo&&($t=Zo)}else{const Zo=qe.exec(kt[1]);Zo&&Zo[1]&&(Wi=parseInt(Zo[1]))}}return{type:tn,startIndex:Wi,style:tC($t)}}(b,c);if(m)if(b.indent>_){const Y=m.getChild(m.childCount-1),ne=Y.getChild(Y.childCount-1);m=PP(W,ne,u),_+=1}else b.indent<_&&(m=function(ne,he){const Me=ne.getAncestors({parentFirst:!0});let qe=null,kt=0;for(const $t of Me)if(($t.is("element","ul")||$t.is("element","ol"))&&kt++,kt===he){qe=$t;break}return qe}(m,_-b.indent),_=b.indent);else m=PP(W,b.element,u);b.indent<=_&&(m.is("element",W.type)||(m=u.rename(W.type,m)))}const V=(function(ne,he){const Me=new sc({name:"span",styles:{"mso-list":"Ignore"}}),qe=he.createRangeIn(ne);for(const kt of qe)"elementStart"===kt.type&&Me.match(kt.item)&&he.remove(kt.item)}(W=b.element,Y=u),Y.removeStyle("text-indent",W),Y.rename("li",W));var W,Y;u.appendChild(V,m)})})(u,h),function OP(g,c){if(!g.childCount)return;const u=new $c(g.document),h=function(_,b){const w=b.createRangeIn(_),A=new sc({name:/v:(.+)/}),M=[];for(const R of w){if("elementStart"!=R.type)continue;const O=R.item,N=O.previousSibling,V=N&&N.is("element")?N.name:null;A.match(O)&&O.getAttribute("o:gfxdata")&&"v:shapetype"!==V&&M.push(R.item.getAttribute("id"))}return M}(g,u);(function(_,b,w){const A=w.createRangeIn(b),M=new sc({name:"img"}),R=[];for(const O of A)if(O.item.is("element")&&M.match(O.item)){const N=O.item,V=N.getAttribute("v:shapes")?N.getAttribute("v:shapes").split(" "):[];V.length&&V.every(W=>_.indexOf(W)>-1)?R.push(N):N.getAttribute("src")||R.push(N)}for(const O of R)w.remove(O)})(h,g,u),function(_,b,w){const A=w.createRangeIn(b),M=[];for(const N of A)if("elementStart"==N.type&&N.item.is("element","v:shape")){const V=N.item.getAttribute("id");if(_.includes(V))continue;R(N.item.parent.getChildren(),V)||M.push(N.item)}for(const N of M){const V={src:O(N)};N.hasAttribute("alt")&&(V.alt=N.getAttribute("alt"));const W=w.createElement("img",V);w.insertChild(N.index+1,W,N.parent)}function R(N,V){for(const W of N)if(W.is("element")&&("img"==W.name&&W.getAttribute("v:shapes")==V||R(W.getChildren(),V)))return!0;return!1}function O(N){for(const V of N.getChildren())if(V.is("element")&&V.getAttribute("src"))return V.getAttribute("src")}}(h,g,u),function(_,b){const w=b.createRangeIn(_),A=new sc({name:/v:(.+)/}),M=[];for(const R of w)"elementStart"==R.type&&A.match(R.item)&&M.push(R.item);for(const R of M)b.remove(R)}(g,u);const m=function(_,b){const w=b.createRangeIn(_),A=new sc({name:"img"}),M=[];for(const R of w)R.item.is("element")&&A.match(R.item)&&R.item.getAttribute("src").startsWith("file://")&&M.push(R.item);return M}(g,u);m.length&&function(_,b,w){if(_.length===b.length)for(let A=0;A<_.length;A++){const M=`data:${b[A].type};base64,${Zz(b[A].hex)}`;w.setAttribute("src",M,_[A])}}(m,function(_){if(!_)return[];const b=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,w=new RegExp("(?:("+b.source+"))([\\da-fA-F\\s]+)\\}","g"),A=_.match(w),M=[];if(A)for(const R of A){let O=!1;R.includes("\\pngblip")?O="image/png":R.includes("\\jpegblip")&&(O="image/jpeg"),O&&M.push({hex:R.replace(b,"").replace(/[^\da-fA-F]/g,""),type:O})}return M}(c),u)}(u,c.dataTransfer.getData("text/rtf")),function(m){const _=[],b=new $c(m.document);for(const{item:w}of b.createRangeIn(m))if(w.is("element")){for(const A of w.getClassNames())/\bmso/gi.exec(A)&&b.removeClass(A,w);for(const A of w.getStyleNames())/\bmso/gi.exec(A)&&b.removeStyle(A,w);w.is("element","w:sdt")&&_.push(w)}for(const w of _){const A=w.parent,M=A.getChildIndex(w);b.insertChild(M,w.getChildren(),A),b.remove(w)}}(u),c.content=u}}function NP(g,c,u,{blockElements:h,inlineObjectElements:m}){let _=u.createPositionAt(g,"forward"==c?"after":"before");return _=_.getLastMatchingPosition(({item:b})=>b.is("element")&&!h.includes(b.name)&&!m.includes(b.name),{direction:c}),"forward"==c?_.nodeAfter:_.nodeBefore}function LP(g,c){return!!g&&g.is("element")&&c.includes(g.name)}const BP=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class VP{constructor(c){this.document=c}isActive(c){return BP.test(c)}execute(c){const u=new $c(this.document),{body:h}=c._parsedData;(function(m,_){for(const b of m.getChildren())if(b.is("element","b")&&"normal"===b.getStyle("font-weight")){const w=m.getChildIndex(b);_.remove(b),_.insertChild(w,b.getChildren(),m)}})(h,u),function(m,_){for(const b of _.createRangeIn(m)){const w=b.item;if(w.is("element","li")){const A=w.getChild(0);A&&A.is("element","p")&&_.unwrapElement(A)}}}(h,u),function(m,_){const b=new n_(_.document.stylesProcessor),w=new Og(b,{renderingMode:"data"}),A=w.blockElements,M=w.inlineObjectElements,R=[];for(const O of _.createRangeIn(m)){const N=O.item;if(N.is("element","br")){const V=NP(N,"forward",_,{blockElements:A,inlineObjectElements:M}),W=NP(N,"backward",_,{blockElements:A,inlineObjectElements:M}),Y=LP(V,A);(LP(W,A)||Y)&&R.push(N)}}for(const O of R)O.hasClass("Apple-interchange-newline")?_.remove(O):_.replace(O,_.createElement("p"))}(h,u),c.content=h}}const tA=/(\s+)<\/span>/g,(c,u)=>1===u.length?" ":Array(u.length+1).join("\xa0 ").substr(0,u.length))}function Xo(g,c,u,h,m=1){null!=c&&null!=m&&c>m?h.setAttribute(g,c,u):h.removeAttribute(g,u)}function Cp(g,c,u={}){const h=g.createElement("tableCell",u);return g.insertElement("paragraph",h),g.insert(h,c),h}function iA(g,c){const h=parseInt(c.parent.parent.getAttribute("headingColumns")||"0"),{column:m}=g.getCellLocation(c);return!!h&&m{c.on(`element:${g}`,(u,h,{writer:m})=>{if(!h.modelRange)return;const _=h.modelRange.start.nodeAfter,b=m.createPositionAt(_,0);if(h.viewItem.isEmpty)return void m.insertElement("paragraph",b);const w=Array.from(_.getChildren());if(w.every(A=>A.is("element","$marker"))){const A=m.createElement("paragraph");m.insert(A,m.createPositionAt(_,0));for(const M of w)m.move(m.createRangeOn(M),m.createPositionAt(A,"end"))}},{priority:"low"})}}function jP(g){let c=0,u=0;const h=Array.from(g.getChildren()).filter(m=>"th"===m.name||"td"===m.name);for(;u1||b>1)&&this._recordSpans(m,b,_),this._shouldSkipSlot()||(u=this._formatOutValue(m)),this._nextCellAtColumn=this._column+_}return this._column++,this._column==this._nextCellAtColumn&&this._cellIndex++,u||this.next()}skipRow(c){this._skipRows.add(c)}_advanceToNextRow(){return this._row++,this._rowIndex++,this._column=0,this._cellIndex=0,this._nextCellAtColumn=-1,this.next()}_isOverEndRow(){return void 0!==this._endRow&&this._row>this._endRow}_isOverEndColumn(){return void 0!==this._endColumn&&this._column>this._endColumn}_formatOutValue(c,u=this._row,h=this._column){return{done:!1,value:new oA(this,c,u,h)}}_shouldSkipSlot(){return this._skipRows.has(this._row)||this._rowthis._endColumn}_getSpanned(){const c=this._spannedCells.get(this._row);return c&&c.get(this._column)||null}_recordSpans(c,u,h){const m={cell:c,row:this._row,column:this._column};for(let _=this._row;_0&&!this._jumpedToStartRow}_jumpToNonSpannedRowClosestToStartRow(){const c=this._getRowLength(0);for(let u=this._startRow;!this._jumpedToStartRow;u--)c===this._getRowLength(u)&&(this._row=u,this._rowIndex=u,this._jumpedToStartRow=!0)}_getRowLength(c){return[...this._table.getChild(c).getChildren()].reduce((u,h)=>u+parseInt(h.getAttribute("colspan")||"1"),0)}}class oA{constructor(c,u,h,m){this.cell=u,this.row=c._row,this.column=c._column,this.cellAnchorRow=h,this.cellAnchorColumn=m,this._cellIndex=c._cellIndex,this._rowIndex=c._rowIndex,this._table=c._table}get isAnchor(){return this.row===this.cellAnchorRow&&this.column===this.cellAnchorColumn}get cellWidth(){return parseInt(this.cell.getAttribute("colspan")||"1")}get cellHeight(){return parseInt(this.cell.getAttribute("rowspan")||"1")}get rowIndex(){return this._rowIndex}getPositionBefore(){return this._table.root.document.model.createPositionAt(this._table.getChild(this.row),this._cellIndex)}}function $P(g,c){return(u,{writer:h})=>{const m=u.getAttribute("headingRows")||0,_=h.createContainerElement("table",null,[]),b=h.createContainerElement("figure",{class:"table"},_);m>0&&h.insert(h.createPositionAt(_,"end"),h.createContainerElement("thead",null,h.createSlot(w=>w.is("element","tableRow")&&w.indexw.is("element","tableRow")&&w.index>=m)));for(const{positionOffset:w,filter:A}of c.additionalSlots)h.insert(h.createPositionAt(_,w),h.createSlot(A));return h.insert(h.createPositionAt(_,"after"),h.createSlot(w=>!w.is("element","tableRow")&&!c.additionalSlots.some(({filter:A})=>A(w)))),c.asWidget?((A=h).setCustomProperty("table",!0,w=b),$k(w,A,{hasSelectionHandle:!0})):b;var w,A}}function UP(g={}){return(c,{writer:u})=>{const h=c.parent,m=h.parent,_=m.getChildIndex(h),b=new Mn(m,{row:_}),w=m.getAttribute("headingRows")||0,A=m.getAttribute("headingColumns")||0;let M=null;for(const R of b)if(R.cell==c){const O=R.row{if(!c.parent.is("element","tableCell")||!qP(c))return null;if(g.asWidget)return u.createContainerElement("span",{class:"ck-table-bogus-paragraph"});{const h=u.createContainerElement("p");return u.setCustomProperty("dataPipeline:transparentRendering",!0,h),h}}}function qP(g){return 1==g.parent.childCount&&!!g.getAttributeKeys().next().done}class KP extends Bi{refresh(){const c=this.editor.model;this.isEnabled=function(m,_){const b=m.getFirstPosition().parent;return _.checkChild(b===b.root?b:b.parent,"table")}(c.document.selection,c.schema)}execute(c={}){const u=this.editor,h=u.model,m=u.plugins.get("TableUtils"),_=u.config.get("table.defaultHeadings.rows"),b=u.config.get("table.defaultHeadings.columns");void 0===c.headingRows&&_&&(c.headingRows=_),void 0===c.headingColumns&&b&&(c.headingColumns=b),h.change(w=>{const A=m.createTable(w,c);h.insertObject(A,null,null,{findOptimalPosition:"auto"}),w.setSelection(w.createPositionAt(A.getNodeByPath([0,0,0]),0))})}}class nC extends Bi{constructor(c,u={}){super(c),this.order=u.order||"below"}refresh(){const c=this.editor.model.document.selection,u=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(c).length;this.isEnabled=u}execute(){const c=this.editor,u=c.model.document.selection,h=c.plugins.get("TableUtils"),m="above"===this.order,_=h.getSelectionAffectedTableCells(u),b=h.getRowIndexes(_),w=m?b.first:b.last,A=_[0].findAncestor("table");h.insertRows(A,{at:m?w:w+1,copyStructureFromAbove:!m})}}class G extends Bi{constructor(c,u={}){super(c),this.order=u.order||"right"}refresh(){const c=this.editor.model.document.selection,u=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(c).length;this.isEnabled=u}execute(){const c=this.editor,u=c.model.document.selection,h=c.plugins.get("TableUtils"),m="left"===this.order,_=h.getSelectionAffectedTableCells(u),b=h.getColumnIndexes(_),w=m?b.first:b.last,A=_[0].findAncestor("table");h.insertColumns(A,{columns:1,at:m?w:w+1})}}class oe extends Bi{constructor(c,u={}){super(c),this.direction=u.direction||"horizontally"}refresh(){const c=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=1===c.length}execute(){const c=this.editor.plugins.get("TableUtils"),u=c.getSelectionAffectedTableCells(this.editor.model.document.selection)[0];"horizontally"===this.direction?c.splitCellHorizontally(u,2):c.splitCellVertically(u,2)}}function Fe(g,c,u){const{startRow:h,startColumn:m,endRow:_,endColumn:b}=c,w=u.createElement("table"),A=_-h+1;for(let R=0;R0&&Xo("headingRows",Y-N,R,W,0);const ne=parseInt(O.getAttribute("headingColumns")||"0");ne>0&&Xo("headingColumns",ne-V,R,W,0)}(w,g,h,m,u),w}function j(g,c,u=0){const h=[],m=new Mn(g,{startRow:u,endRow:c-1});for(const _ of m){const{row:b,cellHeight:w}=_;b1&&(w.rowspan=A);const M=parseInt(g.getAttribute("colspan")||"1");M>1&&(w.colspan=M);const R=_+b,O=[...new Mn(m,{startRow:_,endRow:R,includeAllSlots:!0})];let N,V=null;for(const W of O){const{row:Y,column:ne,cell:he}=W;he===g&&void 0===N&&(N=ne),void 0!==N&&N===ne&&Y===R&&(V=Cp(u,W.getPositionBefore(),w))}return Xo("rowspan",b,g,u),V}function rA(g,c){const u=[],h=new Mn(g);for(const m of h){const{column:_,cellWidth:b}=m;_1&&(_.colspan=b);const w=parseInt(g.getAttribute("rowspan")||"1");w>1&&(_.rowspan=w);const A=Cp(h,h.createPositionAfter(g),_);return Xo("colspan",m,g,h),A}function QP(g,c,u,h,m,_){const b=parseInt(g.getAttribute("colspan")||"1"),w=parseInt(g.getAttribute("rowspan")||"1");u+b-1>m&&Xo("colspan",m-u+1,g,_,1),c+w-1>h&&Xo("rowspan",h-c+1,g,_,1)}function oC(g,c){const u=c.getColumns(g),h=new Array(u).fill(0);for(const{column:_}of new Mn(g))h[_]++;const m=h.reduce((_,b,w)=>b?_:[..._,w],[]);return m.length>0&&(c.removeColumns(g,{at:m[m.length-1]}),!0)}function pe(g,c){const u=[],h=c.getRows(g);for(let m=0;m0&&(c.removeRows(g,{at:u[u.length-1]}),!0)}function Cs(g,c){oC(g,c)||pe(g,c)}function wp(g,c){const u=Array.from(new Mn(g,{startColumn:c.firstColumn,endColumn:c.lastColumn,row:c.lastRow}));return u.every(({cellHeight:m})=>1===m)?c.lastRow:c.lastRow+(u[0].cellHeight-1)}function XP(g,c){const u=Array.from(new Mn(g,{startRow:c.firstRow,endRow:c.lastRow,column:c.lastColumn}));return u.every(({cellWidth:m})=>1===m)?c.lastColumn:c.lastColumn+(u[0].cellWidth-1)}class rC extends Bi{constructor(c,u){super(c),this.direction=u.direction,this.isHorizontal="right"==this.direction||"left"==this.direction}refresh(){const c=this._getMergeableCell();this.value=c,this.isEnabled=!!c}execute(){const c=this.editor.model,u=c.document,h=this.editor.plugins.get("TableUtils").getTableCellsContainingSelection(u.selection)[0],m=this.value,_=this.direction;c.change(b=>{const w="right"==_||"down"==_,A=w?h:m,M=w?m:h,R=M.parent;var Y,ne,he;ne=A,he=b,e6(Y=M)||(e6(ne)&&he.remove(he.createRangeIn(ne)),he.move(he.createRangeIn(Y),he.createPositionAt(ne,"end"))),he.remove(Y);const O=this.isHorizontal?"colspan":"rowspan",N=parseInt(h.getAttribute(O)||"1"),V=parseInt(m.getAttribute(O)||"1");b.setAttribute(O,N+V,A),b.setSelection(b.createRangeIn(A));const W=this.editor.plugins.get("TableUtils");Cs(R.findAncestor("table"),W)})}_getMergeableCell(){const c=this.editor.model.document,u=this.editor.plugins.get("TableUtils"),h=u.getTableCellsContainingSelection(c.selection)[0];if(!h)return;const m=this.isHorizontal?function(w,A,M){const N="right"==A?w.nextSibling:w.previousSibling,V=(w.parent.parent.getAttribute("headingColumns")||0)>0;if(!N)return;const W="right"==A?w:N,Y="right"==A?N:w,{column:ne}=M.getCellLocation(W),{column:he}=M.getCellLocation(Y),Me=parseInt(W.getAttribute("colspan")||"1"),qe=iA(M,W),kt=iA(M,Y);return V&&qe!=kt?void 0:ne+Me===he?N:void 0}(h,this.direction,u):function(w,A,M){const R=w.parent,O=R.parent,N=O.getChildIndex(R);if("down"==A&&N===M.getRows(O)-1||"up"==A&&0===N)return null;const V=parseInt(w.getAttribute("rowspan")||"1"),W=O.getAttribute("headingRows")||0;if(W&&("down"==A&&N+V===W||"up"==A&&N===W))return null;const he=parseInt(w.getAttribute("rowspan")||"1"),Me="down"==A?N+he:N,qe=[...new Mn(O,{endRow:Me})],$t=qe.find(Wi=>Wi.cell===w).column,tn=qe.find(({row:Wi,cellHeight:Wn,column:Zo})=>Zo===$t&&("down"==A?Wi===Me:Me===Wi+Wn));return tn&&tn.cell?tn.cell:null}(h,this.direction,u);if(!m)return;const _=this.isHorizontal?"rowspan":"colspan",b=parseInt(h.getAttribute(_)||"1");return parseInt(m.getAttribute(_)||"1")===b?m:void 0}}function e6(g){const c=g.getChild(0);return 1==g.childCount&&c.is("element","paragraph")&&c.isEmpty}class fq extends Bi{refresh(){const c=this.editor.plugins.get("TableUtils"),u=c.getSelectionAffectedTableCells(this.editor.model.document.selection),h=u[0];if(h){const m=h.findAncestor("table"),_=c.getRows(m)-1,b=c.getRowIndexes(u);this.isEnabled=!(0===b.first&&b.last===_)}else this.isEnabled=!1}execute(){const c=this.editor.model,u=this.editor.plugins.get("TableUtils"),h=u.getSelectionAffectedTableCells(c.document.selection),m=u.getRowIndexes(h),_=h[0],b=_.findAncestor("table"),w=u.getCellLocation(_).column;c.change(A=>{u.removeRows(b,{at:m.first,rows:m.last-m.first+1});const R=function(O,N,V,W){const Y=O.getChild(Math.min(N,W-1));let ne=Y.getChild(0),he=0;for(const Me of Y.getChildren()){if(he>V)return ne;ne=Me,he+=parseInt(Me.getAttribute("colspan")||"1")}return ne}(b,m.first,w,u.getRows(b));A.setSelection(A.createPositionAt(R,0))})}}class ZP extends Bi{refresh(){const c=this.editor.plugins.get("TableUtils"),u=c.getSelectionAffectedTableCells(this.editor.model.document.selection),h=u[0];if(h){const m=h.findAncestor("table"),_=c.getColumns(m),{first:b,last:w}=c.getColumnIndexes(u);this.isEnabled=w-b<_-1}else this.isEnabled=!1}execute(){const c=this.editor.plugins.get("TableUtils"),[u,h]=function(A,M){const R=M.getSelectionAffectedTableCells(A),O=R[0],N=R.pop(),V=[O,N];return O.isBefore(N)?V:V.reverse()}(this.editor.model.document.selection,c),m=u.parent.parent,_=[...new Mn(m)],b={first:_.find(A=>A.cell===u).column,last:_.find(A=>A.cell===h).column},w=(A=_,M=u,R=h,O=b,parseInt(R.getAttribute("colspan")||"1")>1?R:M.previousSibling||R.nextSibling?R.nextSibling||M.previousSibling:O.first?A.reverse().find(({column:V})=>VV>O.last).cell);var A,M,R,O;this.editor.model.change(A=>{c.removeColumns(m,{at:b.first,columns:b.last-b.first+1}),A.setSelection(A.createPositionAt(w,0))})}}class aA extends Bi{refresh(){const h=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection),m=h.length>0;this.isEnabled=m,this.value=m&&h.every(_=>this._isInHeading(_,_.parent.parent))}execute(c={}){if(c.forceValue===this.value)return;const u=this.editor.plugins.get("TableUtils"),h=this.editor.model,m=u.getSelectionAffectedTableCells(h.document.selection),_=m[0].findAncestor("table"),{first:b,last:w}=u.getRowIndexes(m),A=this.value?b:w+1,M=_.getAttribute("headingRows")||0;h.change(R=>{if(A){const O=j(_,A,A>M?M:0);for(const{cell:N}of O)YP(N,A,R)}Xo("headingRows",A,_,R,0)})}_isInHeading(c,u){const h=parseInt(u.getAttribute("headingRows")||"0");return!!h&&c.parent.index0;this.isEnabled=m,this.value=m&&h.every(_=>iA(u,_))}execute(c={}){if(c.forceValue===this.value)return;const u=this.editor.plugins.get("TableUtils"),h=this.editor.model,m=u.getSelectionAffectedTableCells(h.document.selection),_=m[0].findAncestor("table"),{first:b,last:w}=u.getColumnIndexes(m),A=this.value?b:w+1;h.change(M=>{if(A){const R=rA(_,A);for(const{cell:O,column:N}of R)sA(O,N,A,M)}Xo("headingColumns",A,_,M,0)})}}class Rr extends ht{static get pluginName(){return"TableUtils"}init(){this.decorate("insertColumns"),this.decorate("insertRows")}getCellLocation(c){const u=c.parent,h=u.parent,m=h.getChildIndex(u),_=new Mn(h,{row:m});for(const{cell:b,row:w,column:A}of _)if(b===c)return{row:w,column:A}}createTable(c,u){const h=c.createElement("table"),m=u.rows||2,_=u.columns||2;return lA(c,h,0,m,_),u.headingRows&&Xo("headingRows",Math.min(u.headingRows,m),h,c,0),u.headingColumns&&Xo("headingColumns",Math.min(u.headingColumns,_),h,c,0),h}insertRows(c,u={}){const h=this.editor.model,m=u.at||0,_=u.rows||1,b=void 0!==u.copyStructureFromAbove,w=u.copyStructureFromAbove?m-1:m,A=this.getRows(c),M=this.getColumns(c);if(m>A)throw new fe("tableutils-insertrows-insert-out-of-range",this,{options:u});h.change(R=>{const O=c.getAttribute("headingRows")||0;if(O>m&&Xo("headingRows",O+_,c,R,0),!b&&(0===m||m===A))return void lA(R,c,m,_,M);const N=b?Math.max(m,w):m,V=new Mn(c,{endRow:N}),W=new Array(M).fill(1);for(const{row:Y,column:ne,cellHeight:he,cellWidth:Me,cell:qe}of V){const kt=Y+he-1,$t=Y<=w&&w<=kt;Y0&&Cp(R,qe,Me>1?{colspan:Me}:void 0),he+=Math.abs(Me)-1}}})}insertColumns(c,u={}){const m=u.at||0,_=u.columns||1;this.editor.model.change(b=>{const w=c.getAttribute("headingColumns");m_-1)throw new fe("tableutils-removerows-row-index-out-of-range",this,{table:c,options:u});h.change(A=>{const M={first:b,last:w},{cellsToMove:R,cellsToTrim:O}=function(N,{first:V,last:W}){const Y=new Map,ne=[];for(const{row:he,column:Me,cellHeight:qe,cell:kt}of new Mn(N,{endRow:W})){const $t=he+qe-1;if(he>=V&&he<=W&&$t>W&&Y.set(Me,{cell:kt,rowspan:qe-(W-he+1)}),he=V){let tn;tn=$t>=W?W-V+1:$t-V+1,ne.push({cell:kt,rowspan:qe-tn})}}return{cellsToMove:Y,cellsToTrim:ne}}(c,M);R.size&&function(N,V,W,Y){const he=[...new Mn(N,{includeAllSlots:!0,row:V})],Me=N.getChild(V);let qe;for(const{column:kt,cell:$t,isAnchor:tn}of he)if(W.has(kt)){const{cell:Wi,rowspan:Wn}=W.get(kt),Zo=qe?Y.createPositionAfter(qe):Y.createPositionAt(Me,0);Y.move(Y.createRangeOn(Wi),Zo),Xo("rowspan",Wn,Wi,Y),qe=Wi}else tn&&(qe=$t)}(c,w+1,R,A);for(let N=w;N>=b;N--)A.remove(c.getChild(N));for(const{rowspan:N,cell:V}of O)Xo("rowspan",N,V,A);(function(N,{first:V,last:W},Y){const ne=N.getAttribute("headingRows")||0;V{!function(M,R,O){const N=M.getAttribute("headingColumns")||0;if(N&&R.firstu.is("element","tableColumnGroup"))}(g);return c?Array.from(c.getChildren()):[]}(c);for(let M=b;M>=m;M--){for(const{cell:R,column:O,cellWidth:N}of[...new Mn(c)])O<=M&&N>1&&O+N>M?Xo("colspan",N-1,R,w):O===M&&w.remove(R);if(A[M]){const R=0===M?A[1]:A[M-1],O=parseFloat(A[M].getAttribute("columnWidth")),N=parseFloat(R.getAttribute("columnWidth"));w.remove(A[M]),w.setAttribute("columnWidth",O+N+"%",R)}}pe(c,this)||oC(c,this)})}splitCellVertically(c,u=2){const h=this.editor.model,m=c.parent.parent,_=parseInt(c.getAttribute("rowspan")||"1"),b=parseInt(c.getAttribute("colspan")||"1");h.change(w=>{if(b>1){const{newCellsSpan:A,updatedSpan:M}=JP(b,u);Xo("colspan",M,c,w);const R={};A>1&&(R.colspan=A),_>1&&(R.rowspan=_),Vu(b>u?u-1:b-1,w,w.createPositionAfter(c),R)}if(bW===c),O=M.filter(({cell:W,cellWidth:Y,column:ne})=>W!==c&&ne===R||neR);for(const{cell:W,cellWidth:Y}of O)w.setAttribute("colspan",Y+A,W);const N={};_>1&&(N.rowspan=_),Vu(A,w,w.createPositionAfter(c),N);const V=m.getAttribute("headingColumns")||0;V>R&&Xo("headingColumns",V+A,m,w)}})}splitCellHorizontally(c,u=2){const h=this.editor.model,m=c.parent,_=m.parent,b=_.getChildIndex(m),w=parseInt(c.getAttribute("rowspan")||"1"),A=parseInt(c.getAttribute("colspan")||"1");h.change(M=>{if(w>1){const R=[...new Mn(_,{startRow:b,endRow:b+w-1,includeAllSlots:!0})],{newCellsSpan:O,updatedSpan:N}=JP(w,u);Xo("rowspan",N,c,M);const{column:V}=R.find(({cell:Y})=>Y===c),W={};O>1&&(W.rowspan=O),A>1&&(W.colspan=A);for(const Y of R){const{column:ne,row:he}=Y;he>=b+N&&ne===V&&(he+b+N)%O==0&&Vu(1,M,Y.getPositionBefore(),W)}}if(wb&&M.setAttribute("rowspan",Y+R,W);const N={};A>1&&(N.colspan=A),lA(M,_,b+1,R,1,N);const V=_.getAttribute("headingRows")||0;V>b&&Xo("headingRows",V+R,_,M)}})}getColumns(c){return[...c.getChild(0).getChildren()].reduce((u,h)=>u+parseInt(h.getAttribute("colspan")||"1"),0)}getRows(c){return Array.from(c.getChildren()).reduce((u,h)=>h.is("element","tableRow")?u+1:u,0)}createTableWalker(c,u={}){return new Mn(c,u)}getSelectedTableCells(c){const u=[];for(const h of this.sortRanges(c.getRanges())){const m=h.getContainedElement();m&&m.is("element","tableCell")&&u.push(m)}return u}getTableCellsContainingSelection(c){const u=[];for(const h of c.getRanges()){const m=h.start.findAncestor("tableCell");m&&u.push(m)}return u}getSelectionAffectedTableCells(c){const u=this.getSelectedTableCells(c);return u.length?u:this.getTableCellsContainingSelection(c)}getRowIndexes(c){const u=c.map(h=>h.parent.index);return this._getFirstLastIndexesObject(u)}getColumnIndexes(c){const u=c[0].findAncestor("table"),h=[...new Mn(u)].filter(m=>c.includes(m.cell)).map(m=>m.column);return this._getFirstLastIndexesObject(h)}isSelectionRectangular(c){if(c.length<2||!this._areCellInTheSameTableSection(c))return!1;const u=new Set,h=new Set;let m=0;for(const b of c){const{row:w,column:A}=this.getCellLocation(b),M=parseInt(b.getAttribute("rowspan"))||1,R=parseInt(b.getAttribute("colspan"))||1;u.add(w),h.add(A),M>1&&u.add(w+M-1),R>1&&h.add(A+R-1),m+=M*R}return function(b,w){const A=Array.from(b.values()),M=Array.from(w.values());return(Math.max(...A)-Math.min(...A)+1)*(Math.max(...M)-Math.min(...M)+1)}(u,h)==m}sortRanges(c){return Array.from(c).sort(eO)}_getFirstLastIndexesObject(c){const u=c.sort((h,m)=>h-m);return{first:u[0],last:u[u.length-1]}}_areCellInTheSameTableSection(c){const u=c[0].findAncestor("table"),h=this.getRowIndexes(c),m=parseInt(u.getAttribute("headingRows"))||0;if(!this._areIndexesInSameSection(h,m))return!1;const _=this.getColumnIndexes(c),b=parseInt(u.getAttribute("headingColumns"))||0;return this._areIndexesInSameSection(_,b)}_areIndexesInSameSection({first:c,last:u},h){return c{const m=u.getSelectedTableCells(c.document.selection),_=m.shift(),{mergeWidth:b,mergeHeight:w}=function(A,M,R){let O=0,N=0;for(const he of M){const{row:Me,column:qe}=R.getCellLocation(he);O=sC(he,qe,O,"colspan"),N=sC(he,Me,N,"rowspan")}const{row:V,column:W}=R.getCellLocation(A);return{mergeWidth:O-W,mergeHeight:N-V}}(_,m,u);Xo("colspan",b,_,h),Xo("rowspan",w,_,h);for(const A of m)i6(A,_,h);Cs(_.findAncestor("table"),u),h.setSelection(_,"in")})}}function i6(g,c,u){tO(g)||(tO(c)&&u.remove(u.createRangeIn(c)),u.move(u.createRangeIn(g),u.createPositionAt(c,"end"))),u.remove(g)}function tO(g){const c=g.getChild(0);return 1==g.childCount&&c.is("element","paragraph")&&c.isEmpty}function sC(g,c,u,h){const m=parseInt(g.getAttribute(h)||"1");return Math.max(u,c+m)}class iO extends Bi{constructor(c){super(c),this.affectsData=!1}refresh(){const c=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=c.length>0}execute(){const c=this.editor.model,u=this.editor.plugins.get("TableUtils"),h=u.getSelectionAffectedTableCells(c.document.selection),m=u.getRowIndexes(h),_=h[0].findAncestor("table"),b=[];for(let w=m.first;w<=m.last;w++)for(const A of _.getChild(w).getChildren())b.push(c.createRangeOn(A));c.change(w=>{w.setSelection(b)})}}class n6 extends Bi{constructor(c){super(c),this.affectsData=!1}refresh(){const c=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=c.length>0}execute(){const c=this.editor.plugins.get("TableUtils"),u=this.editor.model,h=c.getSelectionAffectedTableCells(u.document.selection),m=h[0],_=h.pop(),b=m.findAncestor("table"),w=c.getCellLocation(m),A=c.getCellLocation(_),M=Math.min(w.column,A.column),R=Math.max(w.column,A.column),O=[];for(const N of new Mn(b,{startColumn:M,endColumn:R}))O.push(u.createRangeOn(N.cell));u.change(N=>{N.setSelection(O)})}}function cA(g,c){let u=!1;const h=function(m){const _=parseInt(m.getAttribute("headingRows")||"0"),b=Array.from(m.getChildren()).reduce((A,M)=>M.is("element","tableRow")?A+1:A,0),w=[];for(const{row:A,cell:M,cellHeight:R}of new Mn(m)){if(R<2)continue;const O=A<_?_:b;A+R>O&&w.push({cell:M,rowspan:O-A})}return w}(g);if(h.length){u=!0;for(const m of h)Xo("rowspan",m.rowspan,m.cell,c,1)}return u}function yq(g,c){let u=!1;const h=function(w){const A=new Array(w.childCount).fill(0);for(const{rowIndex:M}of new Mn(w,{includeAllSlots:!0}))A[M]++;return A}(g),m=[];for(const[w,A]of h.entries())!A&&g.getChild(w).is("element","tableRow")&&m.push(w);if(m.length){u=!0;for(const w of m.reverse())c.remove(g.getChild(w)),h.splice(w,1)}const _=h.filter((w,A)=>g.getChild(A).is("element","tableRow")),b=_[0];if(!_.every(w=>w===b)){const w=_.reduce((A,M)=>M>A?M:A,0);for(const[A,M]of _.entries()){const R=w-M;if(R){for(let O=0;Oh.is("$text"));for(const h of u)c.wrap(c.createRangeOn(h),"paragraph");return!!u.length}function rO(g){return!!g.position.parent.is("element","tableCell")&&("insert"==g.type&&"$text"==g.name||"remove"==g.type)}function uA(g,c){if(!g.is("element","paragraph"))return!1;const u=c.toViewElement(g);return!!u&&qP(g)!==u.is("element","span")}var r6=ft(3881);At()(r6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Cq extends ht{constructor(c){super(c),this._additionalSlots=[]}static get pluginName(){return"TableEditing"}static get requires(){return[Rr]}init(){const c=this.editor,u=c.model,h=u.schema,m=c.conversion,_=c.plugins.get(Rr);h.register("table",{inheritAllFrom:"$blockObject",allowAttributes:["headingRows","headingColumns"]}),h.register("tableRow",{allowIn:"table",isLimit:!0}),h.register("tableCell",{allowContentOf:"$container",allowIn:"tableRow",allowAttributes:["colspan","rowspan"],isLimit:!0,isSelectable:!0}),m.for("upcast").add(b=>{b.on("element:figure",(w,A,M)=>{if(!M.consumable.test(A.viewItem,{name:!0,classes:"table"}))return;const R=function(N){for(const V of N.getChildren())if(V.is("element","table"))return V}(A.viewItem);if(!R||!M.consumable.test(R,{name:!0}))return;M.consumable.consume(A.viewItem,{name:!0,classes:"table"});const O=gr(M.convertItem(R,A.modelCursor).modelRange.getItems());O?(M.convertChildren(A.viewItem,M.writer.createPositionAt(O,"end")),M.updateConversionResult(O,A)):M.consumable.revert(A.viewItem,{name:!0,classes:"table"})})}),m.for("upcast").add(function nA(){return g=>{g.on("element:table",(c,u,h)=>{const m=u.viewItem;if(!h.consumable.test(m,{name:!0}))return;const{rows:_,headingRows:b,headingColumns:w}=function(R){let O,N=0;const V=[],W=[];let Y;for(const ne of Array.from(R.getChildren())){if("tbody"!==ne.name&&"thead"!==ne.name&&"tfoot"!==ne.name)continue;"thead"!==ne.name||Y||(Y=ne);const he=Array.from(ne.getChildren()).filter(Me=>Me.is("element","tr"));for(const Me of he)if(Y&&ne===Y||"tbody"===ne.name&&Array.from(Me.getChildren()).length&&Array.from(Me.getChildren()).every(qe=>qe.is("element","th")))N++,V.push(Me);else{W.push(Me);const qe=jP(Me);(!O||qeh.convertItem(R,h.writer.createPositionAt(M,"end"))),h.convertChildren(m,h.writer.createPositionAt(M,"end")),M.isEmpty){const R=h.writer.createElement("tableRow");h.writer.insert(R,h.writer.createPositionAt(M,"end")),Cp(h.writer,h.writer.createPositionAt(R,"end"))}h.updateConversionResult(M,u)}})}}()),m.for("editingDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:$P(_,{asWidget:!0,additionalSlots:this._additionalSlots})}),m.for("dataDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:$P(_,{additionalSlots:this._additionalSlots})}),m.for("upcast").elementToElement({model:"tableRow",view:"tr"}),m.for("upcast").add(b=>{b.on("element:tr",(w,A)=>{A.viewItem.isEmpty&&0==A.modelCursor.index&&w.stop()},{priority:"high"})}),m.for("downcast").elementToElement({model:"tableRow",view:(b,{writer:w})=>b.isEmpty?w.createEmptyElement("tr"):w.createContainerElement("tr")}),m.for("upcast").elementToElement({model:"tableCell",view:"td"}),m.for("upcast").elementToElement({model:"tableCell",view:"th"}),m.for("upcast").add(iC("td")),m.for("upcast").add(iC("th")),m.for("editingDowncast").elementToElement({model:"tableCell",view:UP({asWidget:!0})}),m.for("dataDowncast").elementToElement({model:"tableCell",view:UP()}),m.for("editingDowncast").elementToElement({model:"paragraph",view:WP({asWidget:!0}),converterPriority:"high"}),m.for("dataDowncast").elementToElement({model:"paragraph",view:WP(),converterPriority:"high"}),m.for("downcast").attributeToAttribute({model:"colspan",view:"colspan"}),m.for("upcast").attributeToAttribute({model:{key:"colspan",value:sO("colspan")},view:"colspan"}),m.for("downcast").attributeToAttribute({model:"rowspan",view:"rowspan"}),m.for("upcast").attributeToAttribute({model:{key:"rowspan",value:sO("rowspan")},view:"rowspan"}),c.config.define("table.defaultHeadings.rows",0),c.config.define("table.defaultHeadings.columns",0),c.commands.add("insertTable",new KP(c)),c.commands.add("insertTableRowAbove",new nC(c,{order:"above"})),c.commands.add("insertTableRowBelow",new nC(c,{order:"below"})),c.commands.add("insertTableColumnLeft",new G(c,{order:"left"})),c.commands.add("insertTableColumnRight",new G(c,{order:"right"})),c.commands.add("removeTableRow",new fq(c)),c.commands.add("removeTableColumn",new ZP(c)),c.commands.add("splitTableCellVertically",new oe(c,{direction:"vertically"})),c.commands.add("splitTableCellHorizontally",new oe(c,{direction:"horizontally"})),c.commands.add("mergeTableCells",new t6(c)),c.commands.add("mergeTableCellRight",new rC(c,{direction:"right"})),c.commands.add("mergeTableCellLeft",new rC(c,{direction:"left"})),c.commands.add("mergeTableCellDown",new rC(c,{direction:"down"})),c.commands.add("mergeTableCellUp",new rC(c,{direction:"up"})),c.commands.add("setTableColumnHeader",new _q(c)),c.commands.add("setTableRowHeader",new aA(c)),c.commands.add("selectTableRow",new iO(c)),c.commands.add("selectTableColumn",new n6(c)),function aC(g){g.document.registerPostFixer(c=>function(u,h){const m=h.document.differ.getChanges();let _=!1;const b=new Set;for(const w of m){let A=null;"insert"==w.type&&"table"==w.name&&(A=w.position.nodeAfter),"insert"!=w.type&&"remove"!=w.type||"tableRow"!=w.name&&"tableCell"!=w.name||(A=w.position.findAncestor("table")),nO(w)&&(A=w.range.start.findAncestor("table")),A&&!b.has(A)&&(_=cA(A,u)||_,_=yq(A,u)||_,b.add(A))}return _}(c,g))}(u),function o6(g){g.document.registerPostFixer(c=>function(u,h){const m=h.document.differ.getChanges();let _=!1;for(const b of m)"insert"==b.type&&"table"==b.name&&(_=oO(b.position.nodeAfter,u)||_),"insert"==b.type&&"tableRow"==b.name&&(_=xp(b.position.nodeAfter,u)||_),"insert"==b.type&&"tableCell"==b.name&&(_=dA(b.position.nodeAfter,u)||_),"remove"!=b.type&&"insert"!=b.type||!rO(b)||(_=dA(b.position.parent,u)||_);return _}(c,g))}(u),this.listenTo(u.document,"change:data",()=>{(function(b,w){const A=b.document.differ;for(const M of A.getChanges()){let R,O=!1;if("attribute"==M.type){const Y=M.range.start.nodeAfter;if(!Y||!Y.is("element","table")||"headingRows"!=M.attributeKey&&"headingColumns"!=M.attributeKey)continue;R=Y,O="headingRows"==M.attributeKey}else"tableRow"!=M.name&&"tableCell"!=M.name||(R=M.position.findAncestor("table"),O="tableRow"==M.name);if(!R)continue;const N=R.getAttribute("headingRows")||0,V=R.getAttribute("headingColumns")||0,W=new Mn(R);for(const Y of W){const ne=Y.rowuA(N,w.mapper));for(const N of O)w.reconvertItem(N)}}(u,c.editing)})}registerAdditionalSlot(c){this._additionalSlots.push(c)}}function sO(g){return c=>{const u=parseInt(c.getAttribute(g));return Number.isNaN(u)||u<=0?null:u}}var aO=ft(1613);At()(aO.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class lO extends gi{constructor(c){super(c);const u=this.bindTemplate;this.items=this._createGridCollection(),this.keystrokes=new ea,this.focusTracker=new Bo,this.set("rows",0),this.set("columns",0),this.bind("label").to(this,"columns",this,"rows",(h,m)=>`${m} \xd7 ${h}`),this.setTemplate({tag:"div",attributes:{class:["ck"]},children:[{tag:"div",attributes:{class:["ck-insert-table-dropdown__grid"]},on:{"mouseover@.ck-insert-table-dropdown-grid-box":u.to("boxover")},children:this.items},{tag:"div",attributes:{class:["ck","ck-insert-table-dropdown__label"],"aria-hidden":!0},children:[{text:u.to("label")}]}],on:{mousedown:u.to(h=>{h.preventDefault()}),click:u.to(()=>{this.fire("execute")})}}),this.on("boxover",(h,m)=>{const{row:_,column:b}=m.target.dataset;this.items.get(10*(parseInt(_,10)-1)+(parseInt(b,10)-1)).focus()}),this.focusTracker.on("change:focusedElement",(h,m,_)=>{if(!_)return;const{row:b,column:w}=_.dataset;this.set({rows:parseInt(b),columns:parseInt(w)})}),this.on("change:columns",()=>this._highlightGridBoxes()),this.on("change:rows",()=>this._highlightGridBoxes())}render(){super.render(),function({keystrokeHandler:c,focusTracker:u,gridItems:h,numberOfColumns:m,uiLanguageDirection:_}){const b="number"==typeof m?()=>m:m;function w(R){return O=>{const N=h.find(Y=>Y.element===u.focusedElement),V=h.getIndex(N),W=R(V,h);h.get(W).focus(),O.stopPropagation(),O.preventDefault()}}function A(R,O){return R===O-1?0:R+1}function M(R,O){return 0===R?O-1:R-1}c.set("arrowright",w((R,O)=>"rtl"===_?M(R,O.length):A(R,O.length))),c.set("arrowleft",w((R,O)=>"rtl"===_?A(R,O.length):M(R,O.length))),c.set("arrowup",w((R,O)=>{let N=R-b();return N<0&&(N=R+b()*Math.floor(O.length/b()),N>O.length-1&&(N-=b())),N})),c.set("arrowdown",w((R,O)=>{let N=R+b();return N>O.length-1&&(N=R%b()),N}))}({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:10,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection});for(const c of this.items)this.focusTracker.add(c.element);this.keystrokes.listenTo(this.element)}focus(){this.items.get(0).focus()}focusLast(){this.items.get(0).focus()}_highlightGridBoxes(){const c=this.rows,u=this.columns;this.items.map((h,m)=>{const _=Math.floor(m/10){const _=c.commands.get("insertTable"),b=dc(m);let w;return b.bind("isEnabled").to(_),b.buttonView.set({icon:'',label:u("Insert table"),tooltip:!0}),b.on("change:isOpen",()=>{w||(w=new lO(m),b.panelView.children.add(w),w.delegate("execute").to(b),b.on("execute",()=>{c.execute("insertTable",{rows:w.rows,columns:w.columns}),c.editing.view.focus()}))}),b}),c.ui.componentFactory.add("tableColumn",m=>{const _=[{type:"switchbutton",model:{commandName:"setTableColumnHeader",label:u("Header column"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:h?"insertTableColumnLeft":"insertTableColumnRight",label:u("Insert column left")}},{type:"button",model:{commandName:h?"insertTableColumnRight":"insertTableColumnLeft",label:u("Insert column right")}},{type:"button",model:{commandName:"removeTableColumn",label:u("Delete column")}},{type:"button",model:{commandName:"selectTableColumn",label:u("Select column")}}];return this._prepareDropdown(u("Column"),'',_,m)}),c.ui.componentFactory.add("tableRow",m=>{const _=[{type:"switchbutton",model:{commandName:"setTableRowHeader",label:u("Header row"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:"insertTableRowAbove",label:u("Insert row above")}},{type:"button",model:{commandName:"insertTableRowBelow",label:u("Insert row below")}},{type:"button",model:{commandName:"removeTableRow",label:u("Delete row")}},{type:"button",model:{commandName:"selectTableRow",label:u("Select row")}}];return this._prepareDropdown(u("Row"),'',_,m)}),c.ui.componentFactory.add("mergeTableCells",m=>{const _=[{type:"button",model:{commandName:"mergeTableCellUp",label:u("Merge cell up")}},{type:"button",model:{commandName:h?"mergeTableCellRight":"mergeTableCellLeft",label:u("Merge cell right")}},{type:"button",model:{commandName:"mergeTableCellDown",label:u("Merge cell down")}},{type:"button",model:{commandName:h?"mergeTableCellLeft":"mergeTableCellRight",label:u("Merge cell left")}},{type:"separator"},{type:"button",model:{commandName:"splitTableCellVertically",label:u("Split cell vertically")}},{type:"button",model:{commandName:"splitTableCellHorizontally",label:u("Split cell horizontally")}}];return this._prepareMergeSplitButtonDropdown(u("Merge cells"),'',_,m)})}_prepareDropdown(c,u,h,m){const _=this.editor,b=dc(m),w=this._fillDropdownWithListOptions(b,h);return b.buttonView.set({label:c,icon:u,tooltip:!0}),b.bind("isEnabled").toMany(w,"isEnabled",(...A)=>A.some(M=>M)),this.listenTo(b,"execute",A=>{_.execute(A.source.commandName),A.source instanceof Dg||_.editing.view.focus()}),b}_prepareMergeSplitButtonDropdown(c,u,h,m){const _=this.editor,b=dc(m,u0),w="mergeTableCells",A=_.commands.get(w),M=this._fillDropdownWithListOptions(b,h);return b.buttonView.set({label:c,icon:u,tooltip:!0,isEnabled:!0}),b.bind("isEnabled").toMany([A,...M],"isEnabled",(...R)=>R.some(O=>O)),this.listenTo(b.buttonView,"execute",()=>{_.execute(w),_.editing.view.focus()}),this.listenTo(b,"execute",R=>{_.execute(R.source.commandName),_.editing.view.focus()}),b}_fillDropdownWithListOptions(c,u){const h=this.editor,m=[],_=new Oa;for(const b of u)l6(b,h,m,_);return h0(c,_),m}}function l6(g,c,u,h){if("button"===g.type||"switchbutton"===g.type){const m=g.model=new z_(g.model),{commandName:_,bindIsOn:b}=g.model,w=c.commands.get(_);u.push(w),m.set({commandName:_}),m.bind("isEnabled").to(w),b&&m.bind("isOn").to(w,"value"),m.set({withText:!0})}h.add(g)}var hA=ft(6945);At()(hA.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class kp extends ht{static get pluginName(){return"TableSelection"}static get requires(){return[Rr,Rr]}init(){const c=this.editor,h=c.editing.view;this.listenTo(c.model,"deleteContent",(m,_)=>this._handleDeleteContent(m,_),{priority:"high"}),this.listenTo(h.document,"insertText",(m,_)=>this._handleInsertTextEvent(m,_),{priority:"high"}),this._defineSelectionConverter(),this._enablePluginDisabling()}getSelectedTableCells(){const h=this.editor.plugins.get(Rr).getSelectedTableCells(this.editor.model.document.selection);return 0==h.length?null:h}getSelectionAsFragment(){const c=this.editor.plugins.get(Rr),u=this.getSelectedTableCells();return u?this.editor.model.change(h=>{const m=h.createDocumentFragment(),{first:_,last:b}=c.getColumnIndexes(u),{first:w,last:A}=c.getRowIndexes(u),M=u[0].findAncestor("table");let R=A,O=b;if(c.isSelectionRectangular(u)){const V={firstColumn:_,lastColumn:b,firstRow:w,lastRow:A};R=wp(M,V),O=XP(M,V)}const N=Fe(M,{startRow:w,startColumn:_,endRow:R,endColumn:O},h);return h.insert(N,m,0),m}):null}setCellSelection(c,u){const h=this._getCellsToSelect(c,u);this.editor.model.change(m=>{m.setSelection(h.cells.map(_=>m.createRangeOn(_)),{backward:h.backward})})}getFocusCell(){const c=[...this.editor.model.document.selection.getRanges()].pop().getContainedElement();return c&&c.is("element","tableCell")?c:null}getAnchorCell(){const c=gr(this.editor.model.document.selection.getRanges()).getContainedElement();return c&&c.is("element","tableCell")?c:null}_defineSelectionConverter(){const c=this.editor,u=new Set;c.conversion.for("editingDowncast").add(h=>h.on("selection",(m,_,b)=>{const w=b.writer;!function(R){for(const O of u)R.removeClass("ck-editor__editable_selected",O);u.clear()}(w);const A=this.getSelectedTableCells();if(!A)return;for(const R of A){const O=b.mapper.toViewElement(R);w.addClass("ck-editor__editable_selected",O),u.add(O)}const M=b.mapper.toViewElement(A[A.length-1]);w.setSelection(M,0)},{priority:"lowest"}))}_enablePluginDisabling(){const c=this.editor;this.on("change:isEnabled",()=>{if(!this.isEnabled){const u=this.getSelectedTableCells();if(!u)return;c.model.change(h=>{const m=h.createPositionAt(u[0],0),_=c.model.schema.getNearestSelectionRange(m);h.setSelection(_)})}})}_handleDeleteContent(c,u){const h=this.editor.plugins.get(Rr),m=u[0],_=u[1],b=this.editor.model,w=!_||"backward"==_.direction,A=h.getSelectedTableCells(m);A.length&&(c.stop(),b.change(M=>{const R=A[w?A.length-1:0];b.change(N=>{for(const V of A)b.deleteContent(N.createSelection(V,"in"))});const O=b.schema.getNearestSelectionRange(M.createPositionAt(R,0));m.is("documentSelection")?M.setSelection(O):m.setTo(O)}))}_handleInsertTextEvent(c,u){const h=this.editor,m=this.getSelectedTableCells();if(!m)return;const _=h.editing.view,b=h.editing.mapper,w=m.map(A=>_.createRangeOn(b.toViewElement(A)));u.selection=_.createSelection(w)}_getCellsToSelect(c,u){const h=this.editor.plugins.get("TableUtils"),m=h.getCellLocation(c),_=h.getCellLocation(u),b=Math.min(m.row,_.row),w=Math.max(m.row,_.row),A=Math.min(m.column,_.column),M=Math.max(m.column,_.column),R=new Array(w-b+1).fill(null).map(()=>[]),O={startRow:b,endRow:w,startColumn:A,endColumn:M};for(const{row:W,cell:Y}of new Mn(c.findAncestor("table"),O))R[W-b].push(Y);const N=_.rowW.reverse()),{cells:R.flat(),backward:N||V}}}class c6 extends ht{static get pluginName(){return"TableClipboard"}static get requires(){return[kp,Rr]}init(){const c=this.editor,u=c.editing.view.document;this.listenTo(u,"copy",(h,m)=>this._onCopyCut(h,m)),this.listenTo(u,"cut",(h,m)=>this._onCopyCut(h,m)),this.listenTo(c.model,"insertContent",(h,[m,_])=>this._onInsertContent(h,m,_),{priority:"high"}),this.decorate("_replaceTableSlotCell")}_onCopyCut(c,u){const h=this.editor.plugins.get(kp);if(!h.getSelectedTableCells()||"cut"==c.name&&!this.editor.model.canEditAt(this.editor.model.document.selection))return;u.preventDefault(),c.stop();const _=this.editor.editing.view.document,b=this.editor.data.toView(h.getSelectionAsFragment());_.fire("clipboardOutput",{dataTransfer:u.dataTransfer,content:b,method:c.name})}_onInsertContent(c,u,h){if(h&&!h.is("documentSelection"))return;const m=this.editor.model,_=this.editor.plugins.get(Rr);let b=this.getTableIfOnlyTableInContent(u,m);if(!b)return;const w=_.getSelectionAffectedTableCells(m.document.selection);w.length?(c.stop(),m.change(A=>{const M={width:_.getColumns(b),height:_.getRows(b)},R=function(ne,he,Me,qe){const kt=ne[0].findAncestor("table"),$t=qe.getColumnIndexes(ne),tn=qe.getRowIndexes(ne),Wi={firstColumn:$t.first,lastColumn:$t.last,firstRow:tn.first,lastRow:tn.last},Wn=1===ne.length;return Wn&&(Wi.lastRow+=he.height-1,Wi.lastColumn+=he.width-1,function(Zo,zu,Vl,zl){const Hu=zl.getColumns(Zo),Xc=zl.getRows(Zo);Vl>Hu&&zl.insertColumns(Zo,{at:Hu,columns:Vl-Hu}),zu>Xc&&zl.insertRows(Zo,{at:Xc,rows:zu-Xc})}(kt,Wi.lastRow+1,Wi.lastColumn+1,qe)),Wn||!qe.isSelectionRectangular(ne)?function(Zo,zu,Vl){const{firstRow:zl,lastRow:Hu,firstColumn:Xc,lastColumn:Ap}=zu,yA={first:zl,last:Hu},yO={first:Xc,last:Ap};pA(Zo,Xc,yA,Vl),pA(Zo,Ap+1,yA,Vl),lC(Zo,zl,yO,Vl),lC(Zo,Hu+1,yO,Vl,zl)}(kt,Wi,Me):(Wi.lastRow=wp(kt,Wi),Wi.lastColumn=XP(kt,Wi)),Wi}(w,M,A,_),N=R.lastColumn-R.firstColumn+1,V={startRow:0,startColumn:0,endRow:Math.min(R.lastRow-R.firstRow+1,M.height)-1,endColumn:Math.min(N,M.width)-1};b=Fe(b,V,A);const W=w[0].findAncestor("table"),Y=this._replaceSelectedCellsWithPasted(b,M,W,R,A);if(this.editor.plugins.get("TableSelection").isEnabled){const ne=_.sortRanges(Y.map(he=>A.createRangeOn(he)));A.setSelection(ne)}else A.setSelection(Y[0],0)})):Cs(b,_)}_replaceSelectedCellsWithPasted(c,u,h,m,_){const{width:b,height:w}=u,A=function(ne,he,Me){const qe=new Array(Me).fill(null).map(()=>new Array(he).fill(null));for(const{column:kt,row:$t,cell:tn}of new Mn(ne))qe[$t][kt]=tn;return qe}(c,b,w),M=[...new Mn(h,{startRow:m.firstRow,endRow:m.lastRow,startColumn:m.firstColumn,endColumn:m.lastColumn,includeAllSlots:!0})],R=[];let O;for(const ne of M){const{row:he,column:Me}=ne;Me===m.firstColumn&&(O=ne.getPositionBefore());const $t=A[(he-m.firstRow)%w][(Me-m.firstColumn)%b],tn=$t?_.cloneElement($t):null,Wi=this._replaceTableSlotCell(ne,tn,O,_);Wi&&(QP(Wi,he,Me,m.lastRow,m.lastColumn,_),R.push(Wi),O=_.createPositionAfter(Wi))}const N=parseInt(h.getAttribute("headingRows")||"0"),V=parseInt(h.getAttribute("headingColumns")||"0"),Y=m.firstColumngA(_,b,u)).map(({cell:_})=>YP(_,c,h))}function pA(g,c,u,h){if(!(c<1))return rA(g,c).filter(({row:m,cellHeight:_})=>gA(m,_,u)).map(({cell:m,column:_})=>sA(m,_,c,h))}function gA(g,c,u){const h=g+c-1,{first:m,last:_}=u;return g>=m&&g<=_||g=m}class uO extends ht{static get pluginName(){return"TableKeyboard"}static get requires(){return[kp,Rr]}init(){const c=this.editor.editing.view.document;this.listenTo(c,"arrowKey",(...u)=>this._onArrowKey(...u),{context:"table"}),this.listenTo(c,"tab",(...u)=>this._handleTabOnSelectedTable(...u),{context:"figure"}),this.listenTo(c,"tab",(...u)=>this._handleTab(...u),{context:["th","td"]})}_handleTabOnSelectedTable(c,u){const h=this.editor,m=h.model.document.selection.getSelectedElement();m&&m.is("element","table")&&(u.preventDefault(),u.stopPropagation(),c.stop(),h.model.change(_=>{_.setSelection(_.createRangeIn(m.getChild(0).getChild(0)))}))}_handleTab(c,u){const h=this.editor,m=this.editor.plugins.get(Rr),_=this.editor.plugins.get("TableSelection"),w=!u.shiftKey;let A=m.getTableCellsContainingSelection(h.model.document.selection)[0];if(A||(A=_.getFocusCell()),!A)return;u.preventDefault(),u.stopPropagation(),c.stop();const M=A.parent,R=M.parent,O=R.getChildIndex(M),N=M.getChildIndex(A),V=0===N;if(!w&&V&&0===O)return void h.model.change(he=>{he.setSelection(he.createRangeOn(R))});const W=N===M.childCount-1,Y=O===m.getRows(R)-1;if(w&&Y&&W&&(h.execute("insertTableRowBelow"),O===m.getRows(R)-1))return void h.model.change(he=>{he.setSelection(he.createRangeOn(R))});let ne;if(w&&W)ne=R.getChild(O+1).getChild(0);else if(!w&&V){const he=R.getChild(O-1);ne=he.getChild(he.childCount-1)}else ne=M.getChild(N+(w?1:-1));h.model.change(he=>{he.setSelection(he.createRangeIn(ne))})}_onArrowKey(c,u){const m=Lc(u.keyCode,this.editor.locale.contentLanguageDirection);this._handleArrowKeys(m,u.shiftKey)&&(u.preventDefault(),u.stopPropagation(),c.stop())}_handleArrowKeys(c,u){const h=this.editor.plugins.get(Rr),m=this.editor.plugins.get("TableSelection"),_=this.editor.model,b=_.document.selection,w=["right","down"].includes(c),A=h.getSelectedTableCells(b);if(A.length){let R;return R=u?m.getFocusCell():w?A[A.length-1]:A[0],this._navigateFromCellInDirection(R,c,u),!0}const M=b.focus.findAncestor("tableCell");if(!M)return!1;if(!b.isCollapsed)if(u){if(b.isBackward==w&&!b.containsEntireContent(M))return!1}else{const R=b.getSelectedElement();if(!R||!_.schema.isObject(R))return!1}return!!this._isSelectionAtCellEdge(b,M,w)&&(this._navigateFromCellInDirection(M,c,u),!0)}_isSelectionAtCellEdge(c,u,h){const m=this.editor.model,_=this.editor.model.schema,b=h?c.getLastPosition():c.getFirstPosition();if(!_.getLimitElement(b).is("element","tableCell"))return m.createPositionAt(u,h?"end":0).isTouching(b);const w=m.createSelection(b);return m.modifySelection(w,{direction:h?"forward":"backward"}),b.isEqual(w.focus)}_navigateFromCellInDirection(c,u,h=!1){const m=this.editor.model,_=c.findAncestor("table"),b=[...new Mn(_,{includeAllSlots:!0})],{row:w,column:A}=b[b.length-1],M=b.find(({cell:Y})=>Y==c);let{row:R,column:O}=M;switch(u){case"left":O--;break;case"up":R--;break;case"right":O+=M.cellWidth;break;case"down":R+=M.cellHeight}if(R<0||R>w||O<0&&R<=0||O>A&&R>=w)return void m.change(Y=>{Y.setSelection(Y.createRangeOn(_))});O<0?(O=h?0:A,R--):O>A&&(O=h?A:0,R++);const N=b.find(Y=>Y.row==R&&Y.column==O).cell,V=["right","down"].includes(u),W=this.editor.plugins.get("TableSelection");if(h&&W.isEnabled){const Y=W.getAnchorCell()||c;W.setCellSelection(Y,N)}else{const Y=m.createPositionAt(N,V?0:"end");m.change(ne=>{ne.setSelection(Y)})}}}class hO extends Hc{constructor(){super(...arguments),this.domEventType=["mousemove","mouseleave"]}onDomEvent(c){this.fire(c.type,c)}}class pO extends ht{static get pluginName(){return"TableMouse"}static get requires(){return[kp,Rr]}init(){this.editor.editing.view.addObserver(hO),this._enableShiftClickSelection(),this._enableMouseDragSelection()}_enableShiftClickSelection(){const c=this.editor,u=c.plugins.get(Rr);let h=!1;const m=c.plugins.get(kp);this.listenTo(c.editing.view.document,"mousedown",(_,b)=>{const w=c.model.document.selection;if(!this.isEnabled||!m.isEnabled||!b.domEvent.shiftKey)return;const A=m.getAnchorCell()||u.getTableCellsContainingSelection(w)[0];if(!A)return;const M=this._getModelTableCellFromDomEvent(b);M&&gO(A,M)&&(h=!0,m.setCellSelection(A,M),b.preventDefault())}),this.listenTo(c.editing.view.document,"mouseup",()=>{h=!1}),this.listenTo(c.editing.view.document,"selectionChange",_=>{h&&_.stop()},{priority:"highest"})}_enableMouseDragSelection(){const c=this.editor;let u,h,m=!1,_=!1;const b=c.plugins.get(kp);this.listenTo(c.editing.view.document,"mousedown",(w,A)=>{this.isEnabled&&b.isEnabled&&(A.domEvent.shiftKey||A.domEvent.ctrlKey||A.domEvent.altKey||(u=this._getModelTableCellFromDomEvent(A)))}),this.listenTo(c.editing.view.document,"mousemove",(w,A)=>{if(!A.domEvent.buttons||!u)return;const M=this._getModelTableCellFromDomEvent(A);M&&gO(u,M)&&(h=M,m||h==u||(m=!0)),m&&(_=!0,b.setCellSelection(u,h),A.preventDefault())}),this.listenTo(c.editing.view.document,"mouseup",()=>{m=!1,_=!1,u=null,h=null}),this.listenTo(c.editing.view.document,"selectionChange",w=>{_&&w.stop()},{priority:"highest"})}_getModelTableCellFromDomEvent(c){const h=this.editor.editing.view.createPositionAt(c.target,0);return this.editor.editing.mapper.toModelPosition(h).parent.findAncestor("tableCell",{includeSelf:!0})}}function gO(g,c){return g.parent.parent==c.parent.parent}var mO=ft(6306);function fO(g){const c=g.getSelectedElement();return c&&d6(c)?c:null}function xq(g){const c=g.getFirstPosition();if(!c)return null;let u=c.parent;for(;u;){if(u.is("element")&&d6(u))return u;u=u.parent}return null}function d6(g){return!!g.getCustomProperty("table")&&dr(g)}At()(mO.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var u6=ft(7368);At()(u6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var h6=ft(9247);At()(h6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var p6=ft(4070);At()(p6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var g6=ft(6237);At()(g6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var cC=ft(5087);At()(cC.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Ho=ft(7341);At()(Ho.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var f6=ft(2128);At()(f6.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var _O=ft(4101);At()(_O.Z,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var _6=Object.defineProperty,fA=Object.getOwnPropertySymbols,v6=Object.prototype.hasOwnProperty,Sq=Object.prototype.propertyIsEnumerable,vO=(g,c,u)=>c in g?_6(g,c,{enumerable:!0,configurable:!0,writable:!0,value:u}):g[c]=u,Cm=(g,c)=>{for(var u in c||(c={}))v6.call(c,u)&&vO(g,u,c[u]);if(fA)for(var u of fA(c))Sq.call(c,u)&&vO(g,u,c[u]);return g};const hC={autoRefresh:!0};class _A extends(_t()){constructor(c,u={}){if(super(),!c)throw new fe("token-missing-token-url",this);u.initValue&&this._validateTokenValue(u.initValue),this.set("value",u.initValue),this._refresh="function"==typeof c?c:()=>{return h=c,new Promise((m,_)=>{const b=new XMLHttpRequest;b.open("GET",h),b.addEventListener("load",()=>{const w=b.status,A=b.response;return w<200||w>299?_(new fe("token-cannot-download-new-token",null)):m(A)}),b.addEventListener("error",()=>_(new Error("Network Error"))),b.addEventListener("abort",()=>_(new Error("Abort"))),b.send()});var h},this._options=Cm(Cm({},hC),u)}init(){return new Promise((c,u)=>{this.value?(this._options.autoRefresh&&this._registerRefreshTokenTimeout(),c(this)):this.refreshToken().then(c).catch(u)})}refreshToken(){return this._refresh().then(c=>(this._validateTokenValue(c),this.set("value",c),this._options.autoRefresh&&this._registerRefreshTokenTimeout(),this))}destroy(){clearTimeout(this._tokenRefreshTimeout)}_validateTokenValue(c){const u="string"==typeof c,h=!/^".*"$/.test(c),m=u&&3===c.split(".").length;if(!h||!m)throw new fe("token-not-in-jwt-format",this)}_registerRefreshTokenTimeout(){const c=this._getTokenRefreshTimeoutTime();clearTimeout(this._tokenRefreshTimeout),this._tokenRefreshTimeout=setTimeout(()=>{this.refreshToken()},c)}_getTokenRefreshTimeoutTime(){try{const[,c]=this.value.split("."),{exp:u}=JSON.parse(atob(c));return u?Math.floor((1e3*u-Date.now())/2):36e5}catch{return 36e5}}static create(c,u={}){return new _A(c,u).init()}}const vA=/^data:(\S*?);base64,/;class b6 extends(vn()){constructor(c,u,h){if(super(),!c)throw new fe("fileuploader-missing-file",null);if(!u)throw new fe("fileuploader-missing-token",null);if(!h)throw new fe("fileuploader-missing-api-address",null);this.file=function(m){if("string"!=typeof m)return!1;const _=m.match(vA);return!(!_||!_.length)}(c)?function(m,_=512){try{const b=m.match(vA)[1],w=atob(m.replace(vA,"")),A=[];for(let M=0;Mc(h)),this}onError(c){return this.once("error",(u,h)=>c(h)),this}abort(){this.xhr.abort()}send(){return this._prepareRequest(),this._attachXHRListeners(),this._sendRequest()}_prepareRequest(){const c=new XMLHttpRequest;c.open("POST",this._apiAddress),c.setRequestHeader("Authorization",this._token.value),c.responseType="json",this.xhr=c}_attachXHRListeners(){const c=this.xhr,u=h=>()=>this.fire("error",h);c.addEventListener("error",u("Network Error")),c.addEventListener("abort",u("Abort")),c.upload&&c.upload.addEventListener("progress",h=>{h.lengthComputable&&this.fire("progress",{total:h.total,uploaded:h.loaded})}),c.addEventListener("load",()=>{const h=c.status,m=c.response;if(h<200||h>299)return this.fire("error",m.message||m.error)})}_sendRequest(){const c=new FormData,u=this.xhr;return c.append("file",this.file),new Promise((h,m)=>{u.addEventListener("load",()=>{const _=u.status,b=u.response;return _<200||_>299?m(b.message?new fe("fileuploader-uploading-data-failed",this,{message:b.message}):b.error):h(b)}),u.addEventListener("error",()=>m(new Error("Network Error"))),u.addEventListener("abort",()=>m(new Error("Abort"))),u.send(c)})}}class y6{constructor(c,u){if(!c)throw new fe("uploadgateway-missing-token",null);if(!u)throw new fe("uploadgateway-missing-api-address",null);this._token=c,this._apiAddress=u}upload(c){return new b6(c,this._token,this._apiAddress)}}class C6 extends Iy{static get pluginName(){return"CloudServicesCore"}createToken(c,u){return new _A(c,u)}createUploadGateway(c,u){return new y6(c,u)}}var pC=(g,c,u)=>new Promise((h,m)=>{var _=A=>{try{w(u.next(A))}catch(M){m(M)}},b=A=>{try{w(u.throw(A))}catch(M){m(M)}},w=A=>A.done?h(A.value):Promise.resolve(A.value).then(_,b);w((u=u.apply(g,c)).next())});class bA extends lm{}bA.builtinPlugins=[class extends ht{static get requires(){return[NM,Ru,Y_,wV,fV,VV]}static get pluginName(){return"Essentials"}},class extends ht{static get requires(){return[pc]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const g=this.editor.config.get("ckfinder.uploadUrl");g&&(this.editor.plugins.get(pc).createUploadAdapter=c=>new jM(c,g,this.editor.t))}},class extends ht{static get requires(){return[ys]}static get pluginName(){return"Autoformat"}afterInit(){this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats()}_addListAutoformats(){const g=this.editor.commands;g.get("bulletedList")&&$d(this.editor,this,/^[*-]\s$/,"bulletedList"),g.get("numberedList")&&$d(this.editor,this,/^1[.|)]\s$/,"numberedList"),g.get("todoList")&&$d(this.editor,this,/^\[\s?\]\s$/,"todoList"),g.get("checkTodoList")&&$d(this.editor,this,/^\[\s?x\s?\]\s$/,()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")})}_addBasicStylesAutoformats(){const g=this.editor.commands;if(g.get("bold")){const c=L0(this.editor,"bold");gm(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,c),gm(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,c)}if(g.get("italic")){const c=L0(this.editor,"italic");gm(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,c),gm(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,c)}if(g.get("code")){const c=L0(this.editor,"code");gm(this.editor,this,/(`)([^`]+)(`)$/g,c)}if(g.get("strikethrough")){const c=L0(this.editor,"strikethrough");gm(this.editor,this,/(~~)([^~]+)(~~)$/g,c)}}_addHeadingAutoformats(){const g=this.editor.commands.get("heading");g&&g.modelElements.filter(c=>c.match(/^heading[1-6]$/)).forEach(c=>{const h=new RegExp(`^(#{${c[7]}})\\s$`);$d(this.editor,this,h,()=>{if(!g.isEnabled||g.value===c)return!1;this.editor.execute("heading",{value:c})})})}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&$d(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const g=this.editor,c=g.model.document.selection;g.commands.get("codeBlock")&&$d(g,this,/^```$/,()=>{if(c.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})})}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&$d(this.editor,this,/^---$/,"horizontalLine")}},class extends ht{static get requires(){return[Zk,C]}static get pluginName(){return"Bold"}},class extends ht{static get requires(){return[GV,jV]}static get pluginName(){return"Italic"}},class extends ht{static get requires(){return[$V,ev]}static get pluginName(){return"BlockQuote"}},class extends ht{static get pluginName(){return"CKBox"}static get requires(){return[Mr,WM]}},class extends ht{static get pluginName(){return"CKFinder"}static get requires(){return["Link","CKFinderUploadAdapter",ZV,tR]}},class extends Iy{constructor(){super(...arguments),this.token=null,this._tokens=new Map}static get pluginName(){return"CloudServices"}static get requires(){return[C6]}init(){return pC(this,null,function*(){const g=this.context.config.get("cloudServices")||{};for(const[u,h]of Object.entries(g))this[u]=h;if(!this.tokenUrl)return void(this.token=null);const c=this.context.plugins.get("CloudServicesCore");this.token=yield c.createToken(this.tokenUrl).init(),this._tokens.set(this.tokenUrl,this.token)})}registerTokenUrl(g){return pC(this,null,function*(){if(this._tokens.has(g))return this.getTokenFor(g);const c=this.context.plugins.get("CloudServicesCore"),u=yield c.createToken(g).init();return this._tokens.set(g,u),u})}getTokenFor(g){const c=this._tokens.get(g);if(!c)throw new fe("cloudservices-token-not-registered",this);return c}destroy(){super.destroy();for(const g of this._tokens.values())g.destroy()}},class extends ht{static get pluginName(){return"EasyImage"}static get requires(){return[JV,"ImageUpload"]}init(){const g=this.editor;g.plugins.has("ImageBlockEditing")||g.plugins.has("ImageInlineEditing")||St("easy-image-image-feature-missing",g)}},class extends ht{static get requires(){return[Yc,rR]}static get pluginName(){return"Heading"}},class extends ht{static get requires(){return[IR,TR]}static get pluginName(){return"Image"}},class extends ht{static get requires(){return[MR,RR]}static get pluginName(){return"ImageCaption"}},class extends ht{static get requires(){return[qR,vz]}static get pluginName(){return"ImageStyle"}},class extends ht{static get requires(){return[cp,pa]}static get pluginName(){return"ImageToolbar"}afterInit(){const g=this.editor,c=g.t,u=g.plugins.get(cp),h=g.plugins.get("ImageUtils");var m;u.register("image",{ariaLabel:c("Image toolbar"),items:(m=g.config.get("image.toolbar")||[],m.map(_=>qt(_)?_.name:_)),getRelatedElement:_=>h.getClosestSelectedImageWidget(_)})}},class extends ht{static get pluginName(){return"ImageUpload"}static get requires(){return[VR,dz,cq]}},class extends ht{static get pluginName(){return"Indent"}static get requires(){return[uq,wz]}},class extends ht{static get requires(){return[mP,$D,yp]}static get pluginName(){return"Link"}},class extends ht{static get requires(){return[Uz,zz]}static get pluginName(){return"List"}},class extends ht{static get requires(){return[J0,eC,je,Er]}static get pluginName(){return"MediaEmbed"}},Se,class extends ht{static get pluginName(){return"PasteFromOffice"}static get requires(){return[Ll]}init(){const g=this.editor,c=g.plugins.get("ClipboardPipeline"),u=g.editing.view.document,h=[];h.push(new ei(u)),h.push(new VP(u)),h.push(new zP(u)),c.on("inputTransformation",(m,_)=>{if(_._isTransformedWithPasteFromOffice||g.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const b=_.dataTransfer.getData("text/html"),w=h.find(A=>A.isActive(b));w&&(_._parsedData||(_._parsedData=function GP(g,c){const u=new DOMParser,h=HP(HP(function(A){const O=A.indexOf("");if(O<0)return A;const N=A.indexOf("",O+7);return A.substring(0,O+7)+(N>=0?A.substring(N):"")}(g=(g=g.replace(/|--!>|)/g,v_="\u200b$1\u200b";const V1=new Map;let AE=0;const Ky="__ngContext__";function Vs(r,a){Fa(a)?(r[Ky]=a[kd],function SE(r){V1.set(r[kd],r)}(a)):r[Ky]=a}let j1;function Yy(r,a){return j1(r,a)}function Wh(r){const a=r[So];return Os(a)?a[So]:a}function U1(r){return W1(r[Kf])}function VE(r){return W1(r[kl])}function W1(r){for(;null!==r&&!Os(r);)r=r[kl];return r}function qh(r,a,i,n,s){if(null!=n){let l,d=!1;Os(n)?l=n:Fa(n)&&(d=!0,n=n[Yo]);const p=po(n);0===r&&null!==i?null==s?Y1(a,i,p):Xh(a,i,p,s||null,!0):1===r&&null!==i?Xh(a,i,p,s||null,!0):2===r?function zs(r,a,i){const n=C_(r,a);n&&function bB(r,a,i,n){r.removeChild(a,i,n)}(r,n,a,i)}(a,p,d):3===r&&a.destroyNode(p),null!=l&&function x_(r,a,i,n,s){const l=i[Bo];l!==po(i)&&qh(a,r,n,l,s);for(let p=Gr;pa.replace(cB,v_))}(a))}function Yh(r,a,i){return r.createElement(a,i)}function HE(r,a){const i=r[ta],n=i.indexOf(a);UT(a),i.splice(n,1)}function Qy(r,a){if(r.length<=Gr)return;const i=Gr+a,n=r[i];if(n){const s=n[zi];null!==s&&s!==r&&HE(s,n),a>0&&(r[i-1][kl]=n[kl]);const l=Vy(r,Gr+a);!function hB(r,a){Od(r,a,a[li],2,null,null),a[Yo]=null,a[Ps]=null}(n[Ot],n);const d=l[Js];null!==d&&d.detachView(l[Ot]),n[So]=null,n[kl]=null,n[Ci]&=-129}return n}function q1(r,a){if(!(256&a[Ci])){const i=a[li];a[Yf]&&ky(a[Yf]),a[Qf]&&ky(a[Qf]),i.destroyNode&&Od(r,a,i,3,null,null),function gB(r){let a=r[Kf];if(!a)return K1(r[Ot],r);for(;a;){let i=null;if(Fa(a))i=a[Kf];else{const n=a[Gr];n&&(i=n)}if(!i){for(;a&&!a[kl]&&a!==r;)Fa(a)&&K1(a[Ot],a),a=a[So];null===a&&(a=r),Fa(a)&&K1(a[Ot],a),i=a&&a[kl]}a=i}}(a)}}function K1(r,a){if(!(256&a[Ci])){a[Ci]&=-129,a[Ci]|=256,function vB(r,a){let i;if(null!=r&&null!=(i=r.destroyHooks))for(let n=0;n=0?n[d]():n[-d].unsubscribe(),l+=2}else i[l].call(n[i[l+1]]);null!==n&&(a[Eh]=null);const s=a[Lc];if(null!==s){a[Lc]=null;for(let l=0;l-1){const{encapsulation:l}=r.data[n.directiveStart+s];if(l===xl.None||l===xl.Emulated)return null}return ia(n,i)}}(r,a.parent,i)}function Xh(r,a,i,n,s){r.insertBefore(a,i,n,s)}function Y1(r,a,i){r.appendChild(a,i)}function jE(r,a,i,n,s){null!==n?Xh(r,a,i,n,s):Y1(r,a,i)}function C_(r,a){return r.parentNode(a)}function $E(r,a,i){return UE(r,a,i)}let X1,To,Ol,jg,UE=function Q1(r,a,i){return 40&r.type?ia(r,i):null};function Xy(r,a,i,n){const s=Pd(r,n,a),l=a[li],p=$E(n.parent||a[Ps],n,a);if(null!=s)if(Array.isArray(i))for(let f=0;fr,createScript:r=>r,createScriptURL:r=>r})}catch{}return To}()?.createHTML(r)||r}function Gg(){if(void 0!==Ol)return Ol;if(typeof document<"u")return document;throw new Be(210,!1)}function Zi(){if(void 0===jg&&(jg=null,co.trustedTypes))try{jg=co.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:r=>r,createScript:r=>r,createScriptURL:r=>r})}catch{}return jg}function YE(r){return Zi()?.createHTML(r)||r}function QE(r){return Zi()?.createScriptURL(r)||r}class Jh{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Nt})`}}class XE extends Jh{getTypeName(){return"HTML"}}class ZE extends Jh{getTypeName(){return"Style"}}class JE extends Jh{getTypeName(){return"Script"}}class e2 extends Jh{getTypeName(){return"URL"}}class $g extends Jh{getTypeName(){return"ResourceURL"}}function jn(r){return r instanceof Jh?r.changingThisBreaksApplicationSecurity:r}function jc(r,a){const i=function CB(r){return r instanceof Jh&&r.getTypeName()||null}(r);if(null!=i&&i!==a){if("ResourceURL"===i&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${i} (see ${Nt})`)}return i===a}class DB{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a=""+a;try{const i=(new window.DOMParser).parseFromString(Zh(a),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(a):(i.removeChild(i.firstChild),i)}catch{return null}}}class o2{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const i=this.inertDocument.createElement("template");return i.innerHTML=Zh(a),i}}const AB=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function k_(r){return(r=String(r)).match(AB)?r:"unsafe:"+r}function Nd(r){const a={};for(const i of r.split(","))a[i]=!0;return a}function D_(...r){const a={};for(const i of r)for(const n in i)i.hasOwnProperty(n)&&(a[n]=!0);return a}const s2=Nd("area,br,col,hr,img,wbr"),A_=Nd("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),a2=Nd("rp,rt"),J1=D_(s2,D_(A_,Nd("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),D_(a2,Nd("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),D_(a2,A_)),ek=Nd("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tk=D_(ek,Nd("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Nd("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),l2=Nd("script,style,template");class EB{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let i=a.firstChild,n=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?n=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,n&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let s=this.checkClobberedElement(i,i.nextSibling);if(s){i=s;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(a){const i=a.nodeName.toLowerCase();if(!J1.hasOwnProperty(i))return this.sanitizedSomething=!0,!l2.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const n=a.attributes;for(let s=0;s"),!0}endElement(a){const i=a.nodeName.toLowerCase();J1.hasOwnProperty(i)&&!s2.hasOwnProperty(i)&&(this.buf.push(""))}chars(a){this.buf.push(d2(a))}checkClobberedElement(a,i){if(i&&(a.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${a.outerHTML}`);return i}}const c2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,MB=/([^\#-~ |!])/g;function d2(r){return r.replace(/&/g,"&").replace(c2,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(MB,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(//g,">")}let n0;function ik(r,a){let i=null;try{n0=n0||function n2(r){const a=new o2(r);return function r2(){try{return!!(new window.DOMParser).parseFromString(Zh(""),"text/html")}catch{return!1}}()?new DB(a):a}(r);let n=a?String(a):"";i=n0.getInertBodyElement(n);let s=5,l=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=l,l=i.innerHTML,i=n0.getInertBodyElement(n)}while(n!==l);return Zh((new EB).sanitizeChildren(nk(i)||i))}finally{if(i){const n=nk(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function nk(r){return"content"in r&&function RB(r){return r.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===r.nodeName}(r)?r.content:null}var Tr=function(r){return r[r.NONE=0]="NONE",r[r.HTML=1]="HTML",r[r.STYLE=2]="STYLE",r[r.SCRIPT=3]="SCRIPT",r[r.URL=4]="URL",r[r.RESOURCE_URL=5]="RESOURCE_URL",r}(Tr||{});function il(r){const a=qg();return a?YE(a.sanitize(Tr.HTML,r)||""):jc(r,"HTML")?YE(jn(r)):ik(Gg(),Bt(r))}function oi(r){const a=qg();return a?a.sanitize(Tr.URL,r)||"":jc(r,"URL")?jn(r):k_(Bt(r))}function nl(r){const a=qg();if(a)return QE(a.sanitize(Tr.RESOURCE_URL,r)||"");if(jc(r,"ResourceURL"))return QE(jn(r));throw new Be(904,!1)}function qg(){const r=ot();return r&&r[Mh].sanitizer}const Kg=new $e("ENVIRONMENT_INITIALIZER"),o0=new $e("INJECTOR",-1),ok=new $e("INJECTOR_DEF_TYPES");class r0{get(a,i=Ah){if(i===Ah){const n=new Error(`NullInjectorError: No provider for ${lr(a)}!`);throw n.name="NullInjectorError",n}return i}}function S_(r){return{\u0275providers:r}}function FB(...r){return{\u0275providers:rk(0,r),\u0275fromNgModule:!0}}function rk(r,...a){const i=[],n=new Set;let s;const l=d=>{i.push(d)};return Ed(a,d=>{const p=d;s0(p,l,[],n)&&(s||=[],s.push(p))}),void 0!==s&&g2(s,l),i}function g2(r,a){for(let i=0;i{a(l,n)})}}function s0(r,a,i,n){if(!(r=ie(r)))return!1;let s=null,l=Dh(r);const d=!l&&Xi(r);if(l||d){if(d&&!d.standalone)return!1;s=r}else{const f=r.ngModule;if(l=Dh(f),!l)return!1;s=f}const p=n.has(s);if(d){if(p)return!1;if(n.add(s),d.dependencies){const f="function"==typeof d.dependencies?d.dependencies():d.dependencies;for(const v of f)s0(v,a,i,n)}}else{if(!l)return!1;{if(null!=l.imports&&!p){let v;n.add(s);try{Ed(l.imports,D=>{s0(D,a,i,n)&&(v||=[],v.push(D))})}finally{}void 0!==v&&g2(v,a)}if(!p){const v=Oh(s)||(()=>new s);a({provide:s,useFactory:v,deps:bn},s),a({provide:ok,useValue:s,multi:!0},s),a({provide:Kg,useValue:()=>De(s),multi:!0},s)}const f=l.providers;if(null!=f&&!p){const v=r;sk(f,D=>{a(D,v)})}}}return s!==r&&void 0!==r.providers}function sk(r,a){for(let i of r)We(i)&&(i=i.\u0275providers),Array.isArray(i)?sk(i,a):a(i)}const NB=xn({provide:String,useValue:xn});function ak(r){return null!==r&&"object"==typeof r&&NB in r}function ep(r){return"function"==typeof r}const $c=new $e("Set Injector scope."),l0={},LB={};let Yg;function Qg(){return void 0===Yg&&(Yg=new r0),Yg}class _r{}class hn extends _r{get destroyed(){return this._destroyed}constructor(a,i,n,s){super(),this.parent=i,this.source=n,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,T_(a,d=>this.processProvider(d)),this.records.set(o0,Tu(void 0,this)),s.has("environment")&&this.records.set(_r,Tu(void 0,this));const l=this.records.get($c);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(ok.multi,bn,$i.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const a=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of a)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const i=Cu(this),n=Zs(void 0);try{return a()}finally{Cu(i),Zs(n)}}get(a,i=Ah,n=$i.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(xT))return a[xT](this);n=Fc(n);const l=Cu(this),d=Zs(void 0);try{if(!(n&$i.SkipSelf)){let f=this.records.get(a);if(void 0===f){const v=function HB(r){return"function"==typeof r||"object"==typeof r&&r instanceof $e}(a)&&bg(a);f=v&&this.injectableDefInScope(v)?Tu(c0(a),l0):null,this.records.set(a,f)}if(null!=f)return this.hydrate(a,f)}return(n&$i.Self?Qg():this.parent).get(a,i=n&$i.Optional&&i===Ah?null:i)}catch(p){if("NullInjectorError"===p.name){if((p[Cg]=p[Cg]||[]).unshift(lr(a)),l)throw p;return function gy(r,a,i,n){const s=r[Cg];throw a[Px]&&s.unshift(a[Px]),r.message=function Ox(r,a,i,n=null){r=r&&"\n"===r.charAt(0)&&"\u0275"==r.charAt(1)?r.slice(2):r;let s=lr(a);if(Array.isArray(a))s=a.map(lr).join(" -> ");else if("object"==typeof a){let l=[];for(let d in a)if(a.hasOwnProperty(d)){let p=a[d];l.push(d+":"+("string"==typeof p?JSON.stringify(p):lr(p)))}s=`{${l.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${r.replace(bT,"\n ")}`}("\n"+r.message,s,i,n),r.ngTokenPath=s,r[Cg]=null,r}(p,a,"R3InjectorError",this.source)}throw p}finally{Zs(d),Cu(l)}}resolveInjectorInitializers(){const a=Cu(this),i=Zs(void 0);try{const s=this.get(Kg.multi,bn,$i.Self);for(const l of s)l()}finally{Cu(a),Zs(i)}}toString(){const a=[],i=this.records;for(const n of i.keys())a.push(lr(n));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Be(205,!1)}processProvider(a){let i=ep(a=ie(a))?a:ie(a&&a.provide);const n=function f2(r){return ak(r)?Tu(void 0,r.useValue):Tu(_2(r),l0)}(a);if(ep(a)||!0!==a.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=Tu(void 0,l0,!0),s.factory=()=>Sh(s.multi),this.records.set(i,s)),i=a,s.multi.push(a)}this.records.set(i,n)}hydrate(a,i){return i.value===l0&&(i.value=LB,i.value=i.factory()),"object"==typeof i.value&&i.value&&function zB(r){return null!==r&&"object"==typeof r&&"function"==typeof r.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(a){if(!a.providedIn)return!1;const i=ie(a.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(a){const i=this._onDestroyHooks.indexOf(a);-1!==i&&this._onDestroyHooks.splice(i,1)}}function c0(r){const a=bg(r),i=null!==a?a.factory:Oh(r);if(null!==i)return i;if(r instanceof $e)throw new Be(204,!1);if(r instanceof Function)return function BB(r){const a=r.length;if(a>0)throw p_(a,"?"),new Be(204,!1);const i=function rL(r){return r&&(r[yg]||r[fT])||null}(r);return null!==i?()=>i.factory(r):()=>new r}(r);throw new Be(204,!1)}function _2(r,a,i){let n;if(ep(r)){const s=ie(r);return Oh(s)||c0(s)}if(ak(r))n=()=>ie(r.useValue);else if(function a0(r){return!(!r||!r.useFactory)}(r))n=()=>r.useFactory(...Sh(r.deps||[]));else if(function m2(r){return!(!r||!r.useExisting)}(r))n=()=>De(ie(r.useExisting));else{const s=ie(r&&(r.useClass||r.provide));if(!function VB(r){return!!r.deps}(r))return Oh(s)||c0(s);n=()=>new s(...Sh(r.deps))}return n}function Tu(r,a,i=!1){return{factory:r,value:a,multi:i?[]:void 0}}function T_(r,a){for(const i of r)Array.isArray(i)?T_(i,a):i&&We(i)?T_(i.\u0275providers,a):a(i)}const Xg=new $e("AppId",{providedIn:"root",factory:()=>d0}),d0="ng",ck=new $e("Platform Initializer"),Ld=new $e("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Eo=new $e("AnimationModuleType"),dk=new $e("CSP nonce",{providedIn:"root",factory:()=>Gg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let v2=(r,a,i)=>null;function m0(r,a,i=!1){return v2(r,a,i)}class gk{}class mk{}class qB{resolveComponentFactory(a){throw function w2(r){const a=Error(`No component factory found for ${lr(r)}.`);return a.ngComponent=r,a}(a)}}let Eu=(()=>{class r{static#e=this.NULL=new qB}return r})();function x2(){return tm(bs(),ot())}function tm(r,a){return new ke(ia(r,a))}let ke=(()=>{class r{constructor(i){this.nativeElement=i}static#e=this.__NG_ELEMENT_ID__=x2}return r})();function KB(r){return r instanceof ke?r.nativeElement:r}class im{}let Ui=(()=>{class r{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function k2(){const r=ot(),i=jr(bs().index,r);return(Fa(i)?i:r)[li]}()}return r})(),YB=(()=>{class r{static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:()=>null})}return r})();class np{constructor(a){this.full=a,this.major=a.split(".")[0],this.minor=a.split(".")[1],this.patch=a.split(".").slice(2).join(".")}}const D2=new np("16.2.12"),_k={};function E2(r,a=null,i=null,n){const s=yk(r,a,i,n);return s.resolveInjectorInitializers(),s}function yk(r,a=null,i=null,n,s=new Set){const l=[i||bn,FB(r)];return n=n||("object"==typeof r?void 0:lr(r)),new hn(l,a||Qg(),n||null,s)}let Jt=(()=>{class r{static#e=this.THROW_IF_NOT_FOUND=Ah;static#t=this.NULL=new r0;static create(i,n){if(Array.isArray(i))return E2({name:""},n,i,"");{const s=i.name??"";return E2({name:s},i.parent,i.providers,s)}}static#i=this.\u0275prov=He({token:r,providedIn:"any",factory:()=>De(o0)});static#n=this.__NG_ELEMENT_ID__=-1}return r})();function nm(r){return r.ngOriginalError}class Nl{constructor(){this._console=console}handleError(a){const i=this._findOriginalError(a);this._console.error("ERROR",a),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(a){let i=a&&nm(a);for(;i&&nm(i);)i=nm(i);return i||null}}function Ck(r){return a=>{setTimeout(r,void 0,a)}}const X=class R2 extends Ge{constructor(a=!1){super(),this.__isAsync=a}emit(a){super.next(a)}subscribe(a,i,n){let s=a,l=i||(()=>null),d=n;if(a&&"object"==typeof a){const f=a;s=f.next?.bind(f),l=f.error?.bind(f),d=f.complete?.bind(f)}this.__isAsync&&(l=Ck(l),s&&(s=Ck(s)),d&&(d=Ck(d)));const p=super.subscribe({next:s,error:l,complete:d});return a instanceof Ce&&a.add(p),p}};function P2(...r){}class et{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new X(!1),this.onMicrotaskEmpty=new X(!1),this.onStable=new X(!1),this.onError=new X(!1),typeof Zone>"u")throw new Be(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!n&&i,s.shouldCoalesceRunChangeDetection=n,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function ZB(){const r="function"==typeof co.requestAnimationFrame;let a=co[r?"requestAnimationFrame":"setTimeout"],i=co[r?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&a&&i){const n=a[Zone.__symbol__("OriginalDelegate")];n&&(a=n);const s=i[Zone.__symbol__("OriginalDelegate")];s&&(i=s)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function JB(r){const a=()=>{!function F2(r){r.isCheckStableRunning||-1!==r.lastRequestAnimationFrameId||(r.lastRequestAnimationFrameId=r.nativeRequestAnimationFrame.call(co,()=>{r.fakeTopEventTask||(r.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{r.lastRequestAnimationFrameId=-1,wk(r),r.isCheckStableRunning=!0,v0(r),r.isCheckStableRunning=!1},void 0,()=>{},()=>{})),r.fakeTopEventTask.invoke()}),wk(r))}(r)};r._inner=r._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,s,l,d,p)=>{if(function tV(r){return!(!Array.isArray(r)||1!==r.length)&&!0===r[0].data?.__ignore_ng_zone__}(p))return i.invokeTask(s,l,d,p);try{return N2(r),i.invokeTask(s,l,d,p)}finally{(r.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||r.shouldCoalesceRunChangeDetection)&&a(),L2(r)}},onInvoke:(i,n,s,l,d,p,f)=>{try{return N2(r),i.invoke(s,l,d,p,f)}finally{r.shouldCoalesceRunChangeDetection&&a(),L2(r)}},onHasTask:(i,n,s,l)=>{i.hasTask(s,l),n===s&&("microTask"==l.change?(r._hasPendingMicrotasks=l.microTask,wk(r),v0(r)):"macroTask"==l.change&&(r.hasPendingMacrotasks=l.macroTask))},onHandleError:(i,n,s,l)=>(i.handleError(s,l),r.runOutsideAngular(()=>r.onError.emit(l)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!et.isInAngularZone())throw new Be(909,!1)}static assertNotInAngularZone(){if(et.isInAngularZone())throw new Be(909,!1)}run(a,i,n){return this._inner.run(a,i,n)}runTask(a,i,n,s){const l=this._inner,d=l.scheduleEventTask("NgZoneEvent: "+s,a,O2,P2,P2);try{return l.runTask(d,i,n)}finally{l.cancelTask(d)}}runGuarded(a,i,n){return this._inner.runGuarded(a,i,n)}runOutsideAngular(a){return this._outer.run(a)}}const O2={};function v0(r){if(0==r._nesting&&!r.hasPendingMicrotasks&&!r.isStable)try{r._nesting++,r.onMicrotaskEmpty.emit(null)}finally{if(r._nesting--,!r.hasPendingMicrotasks)try{r.runOutsideAngular(()=>r.onStable.emit(null))}finally{r.isStable=!0}}}function wk(r){r.hasPendingMicrotasks=!!(r._hasPendingMicrotasks||(r.shouldCoalesceEventChangeDetection||r.shouldCoalesceRunChangeDetection)&&-1!==r.lastRequestAnimationFrameId)}function N2(r){r._nesting++,r.isStable&&(r.isStable=!1,r.onUnstable.emit(null))}function L2(r){r._nesting--,v0(r)}class eV{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new X,this.onMicrotaskEmpty=new X,this.onStable=new X,this.onError=new X}run(a,i,n){return a.apply(i,n)}runGuarded(a,i,n){return a.apply(i,n)}runOutsideAngular(a){return a()}runTask(a,i,n,s){return a.apply(i,n)}}const xk=new $e("",{providedIn:"root",factory:B2});function B2(){const r=st(et);let a=!0;return rn(new _n(s=>{a=r.isStable&&!r.hasPendingMacrotasks&&!r.hasPendingMicrotasks,r.runOutsideAngular(()=>{s.next(a),s.complete()})}),new _n(s=>{let l;r.runOutsideAngular(()=>{l=r.onStable.subscribe(()=>{et.assertNotInAngularZone(),queueMicrotask(()=>{!a&&!r.hasPendingMacrotasks&&!r.hasPendingMicrotasks&&(a=!0,s.next(!0))})})});const d=r.onUnstable.subscribe(()=>{et.assertInAngularZone(),a&&(a=!1,r.runOutsideAngular(()=>{s.next(!1)}))});return()=>{l.unsubscribe(),d.unsubscribe()}}).pipe(bd()))}function kk(r){return r.ownerDocument.defaultView}function Vd(r){return r instanceof Function?r():r}let Sk=(()=>{class r{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:()=>new r})}return r})();function rp(r){for(;r;){r[Ci]|=64;const a=Wh(r);if(Kx(r)&&!a)return r;r=a}return null}const z2=new $e("",{providedIn:"root",factory:()=>!1});let C0=null;function Ek(r,a){return r[a]??K2()}function W2(r,a){const i=K2();i.producerNode?.length&&(r[a]=C0,i.lView=r,C0=Mk())}const q2={...OT,consumerIsAlwaysLive:!0,consumerMarkedDirty:r=>{rp(r.lView)},lView:null};function Mk(){return Object.create(q2)}function K2(){return C0??=Mk(),C0}const wi={};function y(r){Y2(an(),ot(),Fs()+r,!1)}function Y2(r,a,i,n){if(!n)if(3==(3&a[Ci])){const l=r.preOrderCheckHooks;null!==l&&Au(a,l,i)}else{const l=r.preOrderHooks;null!==l&&Td(a,l,0,i)}zc(i)}function T(r,a=$i.Default){const i=ot();return null===i?De(r,a):A1(bs(),i,ie(r),a)}function uc(){throw new Error("invalid")}function G_(r,a,i,n,s,l,d,p,f,v,D){const E=a.blueprint.slice();return E[Yo]=s,E[Ci]=140|n,(null!==v||r&&2048&r[Ci])&&(E[Ci]|=2048),Sy(E),E[So]=E[xg]=r,E[cr]=i,E[Mh]=d||r&&r[Mh],E[li]=p||r&&r[li],E[xd]=f||r&&r[xd]||null,E[Ps]=l,E[kd]=function IE(){return AE++}(),E[ho]=D,E[qx]=v,E[pr]=2==a.type?r[pr]:E,E}function rm(r,a,i,n,s){let l=r.data[a];if(null===l)l=function j_(r,a,i,n,s){const l=XT(),d=m1(),f=r.data[a]=function eM(r,a,i,n,s,l){let d=a?a.injectorIndex:-1,p=0;return Nh()&&(p|=128),{type:i,index:n,insertBeforeIndex:null,injectorIndex:d,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:p,providerIndexes:0,value:s,attrs:l,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:a,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,d?l:l&&l.parent,i,a,n,s);return null===r.firstChild&&(r.firstChild=f),null!==l&&(d?null==l.child&&null!==f.parent&&(l.child=f):null===l.next&&(l.next=f,f.prev=l)),f}(r,a,i,n,s),function VL(){return ai.lFrame.inI18n}()&&(l.flags|=32);else if(64&l.type){l.type=i,l.value=n,l.attrs=s;const d=function Du(){const r=ai.lFrame,a=r.currentTNode;return r.isParent?a:a.parent}();l.injectorIndex=null===d?-1:d.injectorIndex}return Il(l,!0),l}function sm(r,a,i,n){if(0===i)return-1;const s=a.length;for(let l=0;lHi&&Y2(r,a,Hi,!1),Bc(p?2:0,s);const v=p?l:null,D=Zx(v);try{null!==v&&(v.dirty=!1),i(n,s)}finally{xy(v,D)}}finally{p&&null===a[Yf]&&W2(a,Yf),zc(d),Bc(p?3:1,s)}}function Pk(r,a,i){if(Dl(a)){const n=Ja(null);try{const l=a.directiveEnd;for(let d=a.directiveStart;dnull;function k0(r,a,i,n){for(let s in r)if(r.hasOwnProperty(s)){i=null===i?{}:i;const l=r[s];null===n?tM(i,a,s,l):n.hasOwnProperty(s)&&tM(i,a,n[s],l)}return i}function tM(r,a,i,n){r.hasOwnProperty(i)?r[i].push(a,n):r[i]=[a,n]}function ol(r,a,i,n,s,l,d,p){const f=ia(a,i);let D,v=a.inputs;!p&&null!=v&&(D=v[n])?(Vk(r,i,D,n,s),Ph(a)&&function uV(r,a){const i=jr(a,r);16&i[Ci]||(i[Ci]|=64)}(i,a.index)):3&a.type&&(n=function dV(r){return"class"===r?"className":"for"===r?"htmlFor":"formaction"===r?"formAction":"innerHtml"===r?"innerHTML":"readonly"===r?"readOnly":"tabindex"===r?"tabIndex":r}(n),s=null!=d?d(s,a.value||"",n):s,l.setProperty(f,n,s))}function A0(r,a,i,n){if(YT()){const s=null===n?null:{"":-1},l=function oM(r,a){const i=r.directiveRegistry;let n=null,s=null;if(i)for(let l=0;l0;){const i=r[--a];if("number"==typeof i&&i<0)return i}return 0})(d)!=p&&d.push(p),d.push(i,n,l)}}(r,a,n,sm(r,i,s.hostVars,wi),s)}function Uc(r,a,i,n,s,l){const d=ia(r,a);!function Ll(r,a,i,n,s,l,d){if(null==l)r.removeAttribute(a,s,i);else{const p=null==d?Bt(l):d(l,n||"",s);r.setAttribute(a,s,p,i)}}(a[li],d,l,r.value,i,n,s)}function lM(r,a,i,n,s,l){const d=l[a];if(null!==d)for(let p=0;p{class r{constructor(){this.all=new Set,this.queue=new Map}create(i,n,s){const l=typeof Zone>"u"?null:Zone.current,d=function ML(r,a,i){const n=Object.create(HT);i&&(n.consumerAllowSignalWrites=!0),n.fn=r,n.schedule=a;const s=d=>{n.cleanupFn=d};return n.ref={notify:()=>Xx(n),run:()=>{if(n.dirty=!1,n.hasRun&&!NT(n))return;n.hasRun=!0;const d=Zx(n);try{n.cleanupFn(),n.cleanupFn=s1,n.fn(s)}finally{xy(n,d)}},cleanup:()=>n.cleanupFn()},n.ref}(i,v=>{this.all.has(v)&&this.queue.set(v,l)},s);let p;this.all.add(d),d.notify();const f=()=>{d.cleanup(),p?.(),this.all.delete(d),this.queue.delete(d)};return p=n?.onDestroy(f),{destroy:f}}flush(){if(0!==this.queue.size)for(const[i,n]of this.queue)this.queue.delete(i),n?n.run(()=>i.run()):i.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:()=>new r})}return r})();function Mu(r,a,i){let n=i?r.styles:null,s=i?r.classes:null,l=0;if(null!==a)for(let d=0;d0){fM(r,1);const s=i.components;null!==s&&W_(r,s,1)}}function W_(r,a,i){for(let n=0;n-1&&(Qy(a,n),Vy(i,n))}this._attachedToViewContainer=!1}q1(this._lView[Ot],this._lView)}onDestroy(a){!function qT(r,a){if(256==(256&r[Ci]))throw new Be(911,!1);null===r[Lc]&&(r[Lc]=[]),r[Lc].push(a)}(this._lView,a)}markForCheck(){rp(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ci]&=-129}reattach(){this._lView[Ci]|=128}detectChanges(){ha(this._lView[Ot],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Be(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Qh(r,a){Od(r,a,a[li],2,null,null)}(this._lView[Ot],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new Be(902,!1);this._appRef=a}}class _M extends dm{constructor(a){super(a),this._view=a}detectChanges(){const a=this._view;ha(a[Ot],a,a[cr],!1)}checkNoChanges(){}get context(){return null}}class vM extends Eu{constructor(a){super(),this.ngModule=a}resolveComponentFactory(a){const i=Xi(a);return new Ru(i,this.ngModule)}}function Hk(r){const a=[];for(let i in r)r.hasOwnProperty(i)&&a.push({propName:r[i],templateName:i});return a}class bM{constructor(a,i){this.injector=a,this.parentInjector=i}get(a,i,n){n=Fc(n);const s=this.injector.get(a,_k,n);return s!==_k||i===_k?s:this.parentInjector.get(a,i,n)}}class Ru extends mk{get inputs(){const a=this.componentDef,i=a.inputTransforms,n=Hk(a.inputs);if(null!==i)for(const s of n)i.hasOwnProperty(s.propName)&&(s.transform=i[s.propName]);return n}get outputs(){return Hk(this.componentDef.outputs)}constructor(a,i){super(),this.componentDef=a,this.ngModule=i,this.componentType=a.type,this.selector=function ST(r){return r.map(fL).join(",")}(a.selectors),this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[],this.isBoundToModule=!!i}create(a,i,n,s){let l=(s=s||this.ngModule)instanceof _r?s:s?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const d=l?new bM(a,l):a,p=d.get(im,null);if(null===p)throw new Be(407,!1);const E={rendererFactory:p,sanitizer:d.get(YB,null),effectManager:d.get(Wc,null),afterRenderEventManager:d.get(Sk,null)},F=p.createRenderer(null,this.componentDef),L=this.componentDef.selectors[0][0]||"div",$=n?function X2(r,a,i,n){const l=n.get(z2,!1)||i===xl.ShadowDom,d=r.selectRootElement(a,l);return function aV(r){Z2(r)}(d),d}(F,n,this.componentDef.encapsulation,d):Yh(F,L,function yV(r){const a=r.toLowerCase();return"svg"===a?e_:"math"===a?"math":null}(L)),se=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let ue=null;null!==$&&(ue=m0($,d,!0));const Oe=x0(0,null,null,1,0,null,null,null,null,null,null),ze=G_(null,Oe,null,se,null,null,E,F,d,null,ue);let Ze,it;y1(ze);try{const yt=this.componentDef;let xt,Si=null;yt.findHostDirectiveDefs?(xt=[],Si=new Map,yt.findHostDirectiveDefs(yt,xt,Si),xt.push(yt)):xt=[yt];const Pi=function yM(r,a){const i=r[Ot],n=Hi;return r[n]=a,rm(i,n,2,"#host",null)}(ze,$),Vr=function Gk(r,a,i,n,s,l,d){const p=s[Ot];!function wV(r,a,i,n){for(const s of r)a.mergedAttrs=jf(a.mergedAttrs,s.hostAttrs);null!==a.mergedAttrs&&(Mu(a,a.mergedAttrs,!0),null!==i&&Gn(n,i,a))}(n,r,a,d);let f=null;null!==a&&(f=m0(a,s[xd]));const v=l.rendererFactory.createRenderer(a,i);let D=16;i.signals?D=4096:i.onPush&&(D=64);const E=G_(s,Q2(i),null,D,s[r.index],r,l,v,null,null,f);return p.firstCreatePass&&lm(p,r,n.length-1),U_(s,E),s[r.index]=E}(Pi,$,yt,xt,ze,E,F);it=ku(Oe,Hi),$&&function jk(r,a,i,n){if(n)Bx(r,i,["ng-version",D2.full]);else{const{attrs:s,classes:l}=function Ux(r){const a=[],i=[];let n=1,s=2;for(;n0&&Ur(r,i,l.join(" "))}}(F,yt,$,n),void 0!==i&&function kV(r,a,i){const n=r.projection=[];for(let s=0;s=0;n--){const s=r[n];s.hostVars=a+=s.hostVars,s.hostAttrs=jf(s.hostAttrs,i=jf(i,s.hostAttrs))}}(n)}function dr(r){return r===oc?{}:r===bn?[]:r}function $k(r,a){const i=r.viewQuery;r.viewQuery=i?(n,s)=>{a(n,s),i(n,s)}:a}function DV(r,a){const i=r.contentQueries;r.contentQueries=i?(n,s,l)=>{a(n,s,l),i(n,s,l)}:a}function AV(r,a){const i=r.hostBindings;r.hostBindings=i?(n,s)=>{a(n,s),i(n,s)}:a}function Uk(r){const a=r.inputConfig,i={};for(const n in a)if(a.hasOwnProperty(n)){const s=a[n];Array.isArray(s)&&s[2]&&(i[n]=s[2])}r.inputTransforms=i}function q_(r){return!!R0(r)&&(Array.isArray(r)||!(r instanceof Map)&&Symbol.iterator in r)}function R0(r){return null!==r&&("function"==typeof r||"object"==typeof r)}function hc(r,a,i){return r[a]=i}function K_(r,a){return r[a]}function Er(r,a,i){return!Object.is(r[a],i)&&(r[a]=i,!0)}function lp(r,a,i,n){const s=Er(r,a,i);return Er(r,a+1,n)||s}function ge(r,a,i,n){const s=ot();return Er(s,Lh(),a)&&(an(),Uc(Vo(),s,r,a,i,n)),ge}function um(r,a,i,n){return Er(r,Lh(),i)?a+Bt(i)+n:wi}function Fu(r,a,i,n,s,l){const p=lp(r,function oa(){return ai.lFrame.bindingIndex}(),i,s);return Sd(2),p?a+Bt(i)+n+Bt(s)+l:wi}function I(r,a,i,n,s,l,d,p){const f=ot(),v=an(),D=r+Hi,E=v.firstCreatePass?function GM(r,a,i,n,s,l,d,p,f){const v=a.consts,D=rm(a,r,4,d||null,Id(v,p));A0(a,i,D,Id(v,f)),Tg(a,D);const E=D.tView=x0(2,D,n,s,l,a.directiveRegistry,a.pipeRegistry,null,a.schemas,v,null);return null!==a.queries&&(a.queries.template(a,D),E.queries=a.queries.embeddedTView(D)),D}(D,v,f,a,i,n,s,l,d):v.data[D];Il(E,!1);const F=jM(v,f,E,r);Sg()&&Xy(v,f,F,E),Vs(F,f),U_(f,f[D]=uM(F,f,F,E)),At(E)&&w0(v,f,E),null!=d&&Ok(f,E,p)}let jM=function $d(r,a,i,n){return el(!0),a[li].createComment("")};function ee(r){return Fh(function _1(){return ai.lFrame.contextLView}(),Hi+r)}function x(r,a,i){const n=ot();return Er(n,Lh(),a)&&ol(an(),Vo(),n,r,a,n[li],i,!1),x}function Zk(r,a,i,n,s){const d=s?"class":"style";Vk(r,i,a.inputs[d],d,n)}function C(r,a,i,n){const s=ot(),l=an(),d=Hi+r,p=s[li],f=l.firstCreatePass?function Jk(r,a,i,n,s,l){const d=a.consts,f=rm(a,r,2,n,Id(d,s));return A0(a,i,f,Id(d,l)),null!==f.attrs&&Mu(f,f.attrs,!1),null!==f.mergedAttrs&&Mu(f,f.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,f),f}(d,l,s,a,i,n):l.data[d],v=pp(l,s,f,p,a,r);s[d]=v;const D=At(f);return Il(f,!0),Gn(p,v,f),32!=(32&f.flags)&&Sg()&&Xy(l,s,v,f),0===function OL(){return ai.lFrame.elementDepthCount}()&&Vs(v,s),function FL(){ai.lFrame.elementDepthCount++}(),D&&(w0(l,s,f),Pk(l,f,s)),null!==n&&Ok(s,f),C}function k(){let r=bs();m1()?f1():(r=r.parent,Il(r,!1));const a=r;(function QT(r){return ai.skipHydrationRootTNode===r})(a)&&function BL(){ai.skipHydrationRootTNode=null}(),function NL(){ai.lFrame.elementDepthCount--}();const i=an();return i.firstCreatePass&&(Tg(i,r),Dl(r)&&i.queries.elementEnd(r)),null!=a.classesWithoutHost&&function HL(r){return 0!=(8&r.flags)}(a)&&Zk(i,a,ot(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function x1(r){return 0!=(16&r.flags)}(a)&&Zk(i,a,ot(),a.stylesWithoutHost,!1),k}function Q(r,a,i,n){return C(r,a,i,n),k(),Q}let pp=(r,a,i,n,s,l)=>(el(!0),Yh(n,s,function i_(){return ai.lFrame.currentNamespace}()));function be(r,a,i){const n=ot(),s=an(),l=r+Hi,d=s.firstCreatePass?function jV(r,a,i,n,s){const l=a.consts,d=Id(l,n),p=rm(a,r,8,"ng-container",d);return null!==d&&Mu(p,d,!0),A0(a,i,p,Id(l,s)),null!==a.queries&&a.queries.elementStart(a,p),p}(l,s,n,a,i):s.data[l];Il(d,!0);const p=tD(s,n,d,r);return n[l]=p,Sg()&&Xy(s,n,p,d),Vs(p,n),At(d)&&(w0(s,n,d),Pk(s,d,n)),null!=i&&Ok(n,d),be}function ve(){let r=bs();const a=an();return m1()?f1():(r=r.parent,Il(r,!1)),a.firstCreatePass&&(Tg(a,r),Dl(r)&&a.queries.elementEnd(r)),ve}function ye(r,a,i){return be(r,a,i),ve(),ye}let tD=(r,a,i,n)=>(el(!0),Kh(a[li],""));function ce(){return ot()}function ev(r){return!!r&&"function"==typeof r.then}function WM(r){return!!r&&"function"==typeof r.subscribe}function B(r,a,i,n){const s=ot(),l=an(),d=bs();return B0(l,s,s[li],d,r,a,n),B}function gp(r,a){const i=bs(),n=ot(),s=an();return B0(s,n,cm(b1(s.data),i,n),i,r,a),gp}function B0(r,a,i,n,s,l,d){const p=At(n),v=r.firstCreatePass&&sp(r),D=a[cr],E=zd(a);let F=!0;if(3&n.type||d){const q=ia(n,a),Z=d?d(q):q,se=E.length,ue=d?ze=>d(po(ze[n.index])):n.index;let Oe=null;if(!d&&p&&(Oe=function iD(r,a,i,n){const s=r.cleanup;if(null!=s)for(let l=0;lf?p[f]:null}"string"==typeof d&&(l+=2)}return null}(r,a,s,n.index)),null!==Oe)(Oe.__ngLastListenerFn__||Oe).__ngNextListenerFn__=l,Oe.__ngLastListenerFn__=l,F=!1;else{l=nD(n,a,D,l,!1);const ze=i.listen(Z,s,l);E.push(l,ze),v&&v.push(s,ue,se,se+1)}}else l=nD(n,a,D,l,!1);const L=n.outputs;let $;if(F&&null!==L&&($=L[s])){const q=$.length;if(q)for(let Z=0;Z-1?jr(r.index,a):a);let f=V0(a,i,n,d),v=l.__ngNextListenerFn__;for(;v;)f=V0(a,i,v,d)&&f,v=v.__ngNextListenerFn__;return s&&!1===f&&d.preventDefault(),f}}function S(r=1){return function sE(r){return(ai.lFrame.contextLView=function t_(r,a){for(;r>0;)a=a[xg],r--;return a}(r,ai.lFrame.contextLView))[cr]}(r)}function UV(r,a){let i=null;const n=function mL(r){const a=r.attrs;if(null!=a){const i=a.indexOf(5);if(!(1&i))return a[i+1]}return null}(r);for(let s=0;s>17&32767}function H0(r){return 2|r}function Nu(r){return(131068&r)>>2}function lD(r,a){return-131069&r|a<<2}function cD(r){return 1|r}function ZM(r,a,i,n,s){const l=r[i+1],d=null===a;let p=n?Ud(l):Nu(l),f=!1;for(;0!==p&&(!1===f||d);){const D=r[p+1];YV(r[p],a)&&(f=!0,r[p+1]=n?cD(D):H0(D)),p=n?Ud(D):Nu(D)}f&&(r[i+1]=n?H0(l):cD(l))}function YV(r,a){return null===r||null==a||(Array.isArray(r)?r[1]:r)===a||!(!Array.isArray(r)||"string"!=typeof a)&&Lg(r,a)>=0}const Mr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function JM(r){return r.substring(Mr.key,Mr.keyEnd)}function uD(r,a){const i=Mr.textEnd;return i===a?-1:(a=Mr.keyEnd=function ZV(r,a,i){for(;a32;)a++;return a}(r,Mr.key=a,i),fp(r,a,i))}function fp(r,a,i){for(;a=0;i=uD(a,i))ca(r,JM(a),!0)}function Bl(r,a,i,n){const s=ot(),l=an(),d=Sd(2);l.firstUpdatePass&&pD(l,r,d,n),a!==wi&&Er(s,d,a)&&uR(l,l.data[Fs()],s,s[li],r,s[d+1]=function iz(r,a){return null==r||""===r||("string"==typeof a?r+=a:"object"==typeof r&&(r=lr(jn(r)))),r}(a,i),n,d)}function gc(r,a,i,n){const s=an(),l=Sd(2);s.firstUpdatePass&&pD(s,null,l,n);const d=ot();if(i!==wi&&Er(d,l,i)){const p=s.data[Fs()];if(hR(p,n)&&!rR(s,l)){let f=n?p.classesWithoutHost:p.stylesWithoutHost;null!==f&&(i=Oc(f,i||"")),Zk(s,p,d,i,n)}else!function dR(r,a,i,n,s,l,d,p){s===wi&&(s=bn);let f=0,v=0,D=0=r.expandoStartIndex}function pD(r,a,i,n){const s=r.data;if(null===s[i+1]){const l=s[Fs()],d=rR(r,i);hR(l,n)&&null===a&&!d&&(a=!1),a=function sR(r,a,i,n){const s=b1(r);let l=n?a.residualClasses:a.residualStyles;if(null===s)0===(n?a.classBindings:a.styleBindings)&&(i=fm(i=mD(null,r,a,i,n),a.attrs,n),l=null);else{const d=a.directiveStylingLast;if(-1===d||r[d]!==s)if(i=mD(s,r,a,i,n),null===l){let f=function gD(r,a,i){const n=i?a.classBindings:a.styleBindings;if(0!==Nu(n))return r[Ud(n)]}(r,a,n);void 0!==f&&Array.isArray(f)&&(f=mD(null,r,a,f[1],n),f=fm(f,a.attrs,n),function G0(r,a,i,n){r[Ud(i?a.classBindings:a.styleBindings)]=n}(r,a,n,f))}else l=function aR(r,a,i){let n;const s=a.directiveEnd;for(let l=1+a.directiveStylingLast;l0)&&(v=!0)):D=i,s)if(0!==f){const F=Ud(r[p+1]);r[n+1]=z0(F,p),0!==F&&(r[F+1]=lD(r[F+1],n)),r[p+1]=function qV(r,a){return 131071&r|a<<17}(r[p+1],n)}else r[n+1]=z0(p,0),0!==p&&(r[p+1]=lD(r[p+1],n)),p=n;else r[n+1]=z0(f,0),0===p?p=n:r[f+1]=lD(r[f+1],n),f=n;v&&(r[n+1]=H0(r[n+1])),ZM(r,D,n,!0),ZM(r,D,n,!1),function dD(r,a,i,n,s){const l=s?r.residualClasses:r.residualStyles;null!=l&&"string"==typeof a&&Lg(l,a)>=0&&(i[n+1]=cD(i[n+1]))}(a,D,r,n,l),d=z0(p,f),l?a.classBindings=d:a.styleBindings=d}(s,l,a,i,d,n)}}function mD(r,a,i,n,s){let l=null;const d=i.directiveEnd;let p=i.directiveStylingLast;for(-1===p?p=i.directiveStart:p++;p0;){const f=r[s],v=Array.isArray(f),D=v?f[1]:f,E=null===D;let F=i[s+1];F===wi&&(F=E?bn:void 0);let L=E?T1(F,n):D===n?F:void 0;if(v&&!tv(L)&&(L=T1(f,n)),tv(L)&&(p=L,d))return p;const $=r[s+1];s=d?Ud($):Nu($)}if(null!==a){let f=l?a.residualClasses:a.residualStyles;null!=f&&(p=T1(f,n))}return p}function tv(r){return void 0!==r}function hR(r,a){return 0!=(r.flags&(a?8:16))}function P(r,a=""){const i=ot(),n=an(),s=r+Hi,l=n.firstCreatePass?rm(n,s,1,a,null):n.data[s],d=pR(n,i,l,a,r);i[s]=d,Sg()&&Xy(n,i,d,l),Il(l,!1)}let pR=(r,a,i,n,s)=>(el(!0),function y_(r,a){return r.createText(a)}(a[li],n));function _e(r){return me("",r,""),_e}function me(r,a,i){const n=ot(),s=um(n,r,a,i);return s!==wi&&ys(n,Fs(),s),me}function Lu(r,a,i,n,s){const l=ot(),d=Fu(l,r,a,i,n,s);return d!==wi&&ys(l,Fs(),d),Lu}function Wd(r,a,i){gc(ca,Yc,um(ot(),r,a,i),!0)}function ur(r,a,i){const n=ot();return Er(n,Lh(),a)&&ol(an(),Vo(),n,r,a,n[li],i,!0),ur}function nv(r,a,i){const n=ot();if(Er(n,Lh(),a)){const l=an(),d=Vo();ol(l,d,n,r,a,cm(b1(l.data),d,n),i,!0)}return nv}const _p=void 0;var dz=["en",[["a","p"],["AM","PM"],_p],[["AM","PM"],_p,_p],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],_p,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],_p,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",_p,"{1} 'at' {0}",_p],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function PR(r){const i=Math.floor(Math.abs(r)),n=r.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===n?1:5}];let vp={};function ts(r){const a=function FR(r){return r.toLowerCase().replace(/_/g,"-")}(r);let i=OR(a);if(i)return i;const n=a.split("-")[0];if(i=OR(n),i)return i;if("en"===n)return dz;throw new Be(701,!1)}function OR(r){return r in vp||(vp[r]=co.ng&&co.ng.common&&co.ng.common.locales&&co.ng.common.locales[r]),vp[r]}var $n=function(r){return r[r.LocaleId=0]="LocaleId",r[r.DayPeriodsFormat=1]="DayPeriodsFormat",r[r.DayPeriodsStandalone=2]="DayPeriodsStandalone",r[r.DaysFormat=3]="DaysFormat",r[r.DaysStandalone=4]="DaysStandalone",r[r.MonthsFormat=5]="MonthsFormat",r[r.MonthsStandalone=6]="MonthsStandalone",r[r.Eras=7]="Eras",r[r.FirstDayOfWeek=8]="FirstDayOfWeek",r[r.WeekendRange=9]="WeekendRange",r[r.DateFormat=10]="DateFormat",r[r.TimeFormat=11]="TimeFormat",r[r.DateTimeFormat=12]="DateTimeFormat",r[r.NumberSymbols=13]="NumberSymbols",r[r.NumberFormats=14]="NumberFormats",r[r.CurrencyCode=15]="CurrencyCode",r[r.CurrencySymbol=16]="CurrencySymbol",r[r.CurrencyName=17]="CurrencyName",r[r.Currencies=18]="Currencies",r[r.Directionality=19]="Directionality",r[r.PluralCase=20]="PluralCase",r[r.ExtraData=21]="ExtraData",r}($n||{});const bp="en-US";let BR=bp;function zD(r,a,i,n,s){if(r=ie(r),Array.isArray(r))for(let l=0;l>20;if(ep(r)||!r.multi){const L=new zh(v,s,T),$=jD(f,a,s?D:D+F,E);-1===$?(sa(a_(p,d),l,f),HD(l,r,a.length),a.push(f),p.directiveStart++,p.directiveEnd++,s&&(p.providerIndexes+=1048576),i.push(L),d.push(L)):(i[$]=L,d[$]=L)}else{const L=jD(f,a,D+F,E),$=jD(f,a,D,D+F),Z=$>=0&&i[$];if(s&&!Z||!s&&!(L>=0&&i[L])){sa(a_(p,d),l,f);const se=function UD(r,a,i,n,s){const l=new zh(r,i,T);return l.multi=[],l.index=a,l.componentProviders=0,GD(l,s,n&&!i),l}(s?Qc:Lz,i.length,s,n,v);!s&&Z&&(i[$].providerFactory=se),HD(l,r,a.length,0),a.push(f),p.directiveStart++,p.directiveEnd++,s&&(p.providerIndexes+=1048576),i.push(se),d.push(se)}else HD(l,r,L>-1?L:$,GD(i[s?$:L],v,!s&&n));!s&&n&&Z&&i[$].componentProviders++}}}function HD(r,a,i,n){const s=ep(a),l=function lk(r){return!!r.useClass}(a);if(s||l){const f=(l?ie(a.useClass):a).prototype.ngOnDestroy;if(f){const v=r.destroyHooks||(r.destroyHooks=[]);if(!s&&a.multi){const D=v.indexOf(i);-1===D?v.push(i,[n,f]):v[D+1].push(n,f)}else v.push(i,f)}}}function GD(r,a,i){return i&&r.componentProviders++,r.multi.push(a)-1}function jD(r,a,i,n){for(let s=i;s{i.providersResolver=(n,s)=>function fP(r,a,i){const n=an();if(n.firstCreatePass){const s=Al(r);zD(i,n.data,n.blueprint,s,!0),zD(a,n.data,n.blueprint,s,!1)}}(n,s?s(r):r,a)}}class yp{}class WD{}class Q0 extends yp{constructor(a,i,n){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vM(this);const s=Pa(a);this._bootstrapComponents=Vd(s.bootstrap),this._r3Injector=yk(a,i,[{provide:yp,useValue:this},{provide:Eu,useValue:this.componentFactoryResolver},...n],lr(a),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(a)}get injector(){return this._r3Injector}destroy(){const a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class qD extends WD{constructor(a){super(),this.moduleType=a}create(a){return new Q0(this.moduleType,a,[])}}class bP extends yp{constructor(a){super(),this.componentFactoryResolver=new vM(this),this.instance=null;const i=new hn([...a.providers,{provide:yp,useValue:this},{provide:Eu,useValue:this.componentFactoryResolver}],a.parent||Qg(),a.debugName,new Set(["environment"]));this.injector=i,a.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function KD(r,a,i=null){return new bP({providers:r,parent:a,debugName:i,runEnvironmentInitializers:!0}).injector}let yP=(()=>{class r{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i)){const n=rk(0,i.type),s=n.length>0?KD([n],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i,s)}return this.cachedInjectors.get(i)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=He({token:r,providedIn:"environment",factory:()=>new r(De(_r))})}return r})();function Ue(r){r.getStandaloneInjector=a=>a.get(yP).getOrCreateStandaloneInjector(r)}function Dn(r,a,i){const n=na()+r,s=ot();return s[n]===wi?hc(s,n,i?a.call(i):a()):K_(s,n)}function Wt(r,a,i,n){return AP(ot(),na(),r,a,i,n)}function Un(r,a,i,n,s){return ZD(ot(),na(),r,a,i,n,s)}function ym(r,a){const i=r[a];return i===wi?void 0:i}function AP(r,a,i,n,s,l){const d=a+i;return Er(r,d,s)?hc(r,d+1,l?n.call(l,s):n(s)):ym(r,d+1)}function ZD(r,a,i,n,s,l,d){const p=a+i;return lp(r,p,s,l)?hc(r,p+2,d?n.call(d,s,l):n(s,l)):ym(r,p+2)}function le(r,a){const i=an();let n;const s=r+Hi;i.firstCreatePass?(n=function Uz(r,a){if(a)for(let i=a.length-1;i>=0;i--){const n=a[i];if(r===n.name)return n}}(a,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks??=[]).push(s,n.onDestroy)):n=i.data[s];const l=n.factory||(n.factory=Oh(n.type)),p=Zs(T);try{const f=r_(!1),v=l();return r_(f),function L0(r,a,i,n){i>=r.data.length&&(r.data[i]=null,r.blueprint[i]=null),a[i]=n}(i,ot(),s,v),v}finally{Zs(p)}}function ln(r,a,i){const n=r+Hi,s=ot(),l=Fh(s,n);return cv(s,n)?AP(s,na(),a,l.transform,i,l):l.transform(i)}function cv(r,a){return r[Ot].data[a].pure}function qz(){return this._results[Symbol.iterator]()}class zo{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new X)}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=zo.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=qz)}get(a){return this._results[a]}map(a){return this._results.map(a)}filter(a){return this._results.filter(a)}find(a){return this._results.find(a)}reduce(a,i){return this._results.reduce(a,i)}forEach(a){this._results.forEach(a)}some(a){return this._results.some(a)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(a,i){const n=this;n.dirty=!1;const s=function El(r){return r.flat(Number.POSITIVE_INFINITY)}(a);(this._changesDetected=!function YL(r,a,i){if(r.length!==a.length)return!1;for(let n=0;n0&&(i[s-1][kl]=a),n{class r{static#e=this.__NG_ELEMENT_ID__=Yz}return r})();const MP=je,Kz=class extends MP{constructor(a,i,n){super(),this._declarationLView=a,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,i){return this.createEmbeddedViewImpl(a,i)}createEmbeddedViewImpl(a,i,n){const s=function EP(r,a,i,n){const s=a.tView,p=G_(r,s,i,4096&r[Ci]?4096:16,null,a,null,null,null,n?.injector??null,n?.hydrationInfo??null);p[zi]=r[a.index];const v=r[Js];return null!==v&&(p[Js]=v.createEmbeddedView(s)),T0(s,p,i),p}(this._declarationLView,this._declarationTContainer,a,{injector:i,hydrationInfo:n});return new dm(s)}};function Yz(){return eC(bs(),ot())}function eC(r,a){return 4&r.type?new Kz(a,r,tm(r,a)):null}let ei=(()=>{class r{static#e=this.__NG_ELEMENT_ID__=NP}return r})();function NP(){return zP(bs(),ot())}const LP=ei,BP=class extends LP{constructor(a,i,n){super(),this._lContainer=a,this._hostTNode=i,this._hostLView=n}get element(){return tm(this._hostTNode,this._hostLView)}get injector(){return new aa(this._hostTNode,this._hostLView)}get parentInjector(){const a=Iu(this._hostTNode,this._hostLView);if(Fy(a)){const i=Pg(a,this._hostLView),n=Hh(a);return new aa(i[Ot].data[n+8],i)}return new aa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const i=VP(this._lContainer);return null!==i&&i[a]||null}get length(){return this._lContainer.length-Gr}createEmbeddedView(a,i,n){let s,l;"number"==typeof n?s=n:null!=n&&(s=n.index,l=n.injector);const p=a.createEmbeddedViewImpl(i||{},l,null);return this.insertImpl(p,s,false),p}createComponent(a,i,n,s,l){const d=a&&!function h_(r){return"function"==typeof r}(a);let p;if(d)p=i;else{const q=i||{};p=q.index,n=q.injector,s=q.projectableNodes,l=q.environmentInjector||q.ngModuleRef}const f=d?a:new Ru(Xi(a)),v=n||this.parentInjector;if(!l&&null==f.ngModule){const Z=(d?v:this.parentInjector).get(_r,null);Z&&(l=Z)}Xi(f.componentType??{});const L=f.create(v,s,null,l);return this.insertImpl(L.hostView,p,false),L}insert(a,i){return this.insertImpl(a,i,!1)}insertImpl(a,i,n){const s=a._lView;if(function sc(r){return Os(r[So])}(s)){const f=this.indexOf(a);if(-1!==f)this.detach(f);else{const v=s[So],D=new BP(v,v[Ps],v[So]);D.detach(D.indexOf(a))}}const d=this._adjustIndex(i),p=this._lContainer;return J0(p,s,d,!n),a.attachToViewContainerRef(),pE(tA(p),d,a),a}move(a,i){return this.insert(a,i)}indexOf(a){const i=VP(this._lContainer);return null!==i?i.indexOf(a):-1}remove(a){const i=this._adjustIndex(a,-1),n=Qy(this._lContainer,i);n&&(Vy(tA(this._lContainer),i),q1(n[Ot],n))}detach(a){const i=this._adjustIndex(a,-1),n=Qy(this._lContainer,i);return n&&null!=Vy(tA(this._lContainer),i)?new dm(n):null}_adjustIndex(a,i=0){return a??this.length+i}};function VP(r){return r[8]}function tA(r){return r[8]||(r[8]=[])}function zP(r,a){let i;const n=a[r.index];return Os(n)?i=n:(i=uM(n,a,null,r),a[r.index]=i,U_(a,i)),GP(i,a,r,n),new BP(i,r,a)}let GP=function Xo(r,a,i,n){if(r[Bo])return;let s;s=8&i.type?po(n):function HP(r,a){const i=r[li],n=i.createComment(""),s=ia(a,r);return Xh(i,C_(i,s),n,function yB(r,a){return r.nextSibling(a)}(i,s),!1),n}(a,i),r[Bo]=s};class nA{constructor(a){this.queryList=a,this.matches=null}clone(){return new nA(this.queryList)}setDirty(){this.queryList.setDirty()}}class iC{constructor(a=[]){this.queries=a}createEmbeddedView(a){const i=a.queries;if(null!==i){const n=null!==a.contentQueries?a.contentQueries[0]:i.length,s=[];for(let l=0;l0)n.push(d[p/2]);else{const v=l[p+1],D=a[-f];for(let E=Gr;E{class r{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,n)=>{this.resolve=i,this.reject=n}),this.appInits=st(mA,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const i=[];for(const s of this.appInits){const l=s();if(ev(l))i.push(l);else if(WM(l)){const d=new Promise((p,f)=>{l.subscribe({complete:p,error:f})});i.push(d)}}const n=()=>{this.done=!0,this.resolve()};Promise.all(i).then(()=>{n()}).catch(s=>{this.reject(s)}),0===i.length&&n(),this.initialized=!0}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),dC=(()=>{class r{log(i){console.log(i)}warn(i){console.warn(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"platform"})}return r})();const Ho=new $e("LocaleId",{providedIn:"root",factory:()=>st(Ho,$i.Optional|$i.SkipSelf)||function Dp(){return typeof $localize<"u"&&$localize.locale||bp}()}),m6=new $e("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let uC=(()=>{class r{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Pn(!1)}add(){this.hasPendingTasks.next(!0);const i=this.taskId++;return this.pendingTasks.add(i),i}remove(i){this.pendingTasks.delete(i),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class _6{constructor(a,i){this.ngModuleFactory=a,this.componentFactories=i}}let fA=(()=>{class r{compileModuleSync(i){return new qD(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const n=this.compileModuleSync(i),l=Vd(Pa(i).declarations).reduce((d,p)=>{const f=Xi(p);return f&&d.push(new Ru(f)),d},[]);return new _6(n,l)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Me=new $e(""),qe=new $e("");let Wi,kt=(()=>{class r{constructor(i,n,s){this._ngZone=i,this.registry=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Wi||(function tn(r){Wi=r}(s),s.addToWindow(n)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{et.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(n=>!n.updateCb||!n.updateCb(i)||(clearTimeout(n.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,n,s){let l=-1;n&&n>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(d=>d.timeoutId!==l),i(this._didWork,this.getPendingTasks())},n)),this._callbacks.push({doneCb:i,timeoutId:l,updateCb:s})}whenStable(i,n,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,n,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,n,s){return[]}static#e=this.\u0275fac=function(n){return new(n||r)(De(et),De($t),De(qe))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),$t=(()=>{class r{constructor(){this._applications=new Map}registerApplication(i,n){this._applications.set(i,n)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,n=!0){return Wi?.findTestabilityInTree(this,i,n)??null}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"platform"})}return r})(),Wn=null;const Zo=new $e("AllowMultipleToken"),zu=new $e("PlatformDestroyListeners"),Vl=new $e("appBootstrapListener");class yA{constructor(a,i){this.name=a,this.token=i}}function Eq(r,a,i=[]){const n=`Platform: ${a}`,s=new $e(n);return(l=[])=>{let d=w6();if(!d||d.injector.get(Zo,!1)){const p=[...i,...l,{provide:s,useValue:!0}];r?r(p):function yO(r){if(Wn&&!Wn.get(Zo,!1))throw new Be(400,!1);(function Xc(){!function o1(r){t1=r}(()=>{throw new Be(600,!1)})})(),Wn=r;const a=r.get(Rq);(function Tq(r){r.get(ck,null)?.forEach(i=>i())})(r)}(function Mq(r=[],a){return Jt.create({name:a,providers:[{provide:$c,useValue:"platform"},{provide:zu,useValue:new Set([()=>Wn=null])},...r]})}(p,n))}return function Tde(r){const a=w6();if(!a)throw new Be(401,!1);return a}()}}function w6(){return Wn?.get(Rq)??null}let Rq=(()=>{class r{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,n){const s=function Ede(r="zone.js",a){return"noop"===r?new eV:"zone.js"===r?new et(a):r}(n?.ngZone,function Pq(r){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:r?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:r?.runCoalescing??!1}}({eventCoalescing:n?.ngZoneEventCoalescing,runCoalescing:n?.ngZoneRunCoalescing}));return s.run(()=>{const l=function vP(r,a,i){return new Q0(r,a,i)}(i.moduleType,this.injector,function Bq(r){return[{provide:et,useFactory:r},{provide:Kg,multi:!0,useFactory:()=>{const a=st(Rde,{optional:!0});return()=>a.initialize()}},{provide:Lq,useFactory:Mde},{provide:xk,useFactory:B2}]}(()=>s)),d=l.injector.get(Nl,null);return s.runOutsideAngular(()=>{const p=s.onError.subscribe({next:f=>{d.handleError(f)}});l.onDestroy(()=>{CO(this._modules,l),p.unsubscribe()})}),function Oq(r,a,i){try{const n=i();return ev(n)?n.catch(s=>{throw a.runOutsideAngular(()=>r.handleError(s)),s}):n}catch(n){throw a.runOutsideAngular(()=>r.handleError(n)),n}}(d,s,()=>{const p=l.injector.get(cC);return p.runInitializers(),p.donePromise.then(()=>(function kD(r){Rs(r,"Expected localeId to be defined"),"string"==typeof r&&(BR=r.toLowerCase().replace(/_/g,"-"))}(l.injector.get(Ho,bp)||bp),this._moduleDoBootstrap(l),l))})})}bootstrapModule(i,n=[]){const s=Fq({},n);return function zl(r,a,i){const n=new qD(i);return Promise.resolve(n)}(0,0,i).then(l=>this.bootstrapModuleFactory(l,s))}_moduleDoBootstrap(i){const n=i.injector.get(qd);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(s=>n.bootstrap(s));else{if(!i.instance.ngDoBootstrap)throw new Be(-403,!1);i.instance.ngDoBootstrap(n)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Be(404,!1);this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n());const i=this._injector.get(zu,null);i&&(i.forEach(n=>n()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(n){return new(n||r)(De(Jt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"platform"})}return r})();function Fq(r,a){return Array.isArray(a)?a.reduce(Fq,r):{...r,...a}}let qd=(()=>{class r{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=st(Lq),this.zoneIsStable=st(xk),this.componentTypes=[],this.components=[],this.isStable=st(uC).hasPendingTasks.pipe(Jn(i=>i?Dt(!1):this.zoneIsStable),Qs(),bd()),this._injector=st(_r)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,n){const s=i instanceof mk;if(!this._injector.get(cC).done)throw!s&&function Nc(r){const a=Xi(r)||es(r)||sn(r);return null!==a&&a.standalone}(i),new Be(405,!1);let d;d=s?i:this._injector.get(Eu).resolveComponentFactory(i),this.componentTypes.push(d.componentType);const p=function Ap(r){return r.isBoundToModule}(d)?void 0:this._injector.get(yp),v=d.create(Jt.NULL,[],n||d.selector,p),D=v.location.nativeElement,E=v.injector.get(Me,null);return E?.registerApplication(D),v.onDestroy(()=>{this.detachView(v.hostView),CO(this.components,v),E?.unregisterApplication(D)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new Be(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1}}attachView(i){const n=i;this._views.push(n),n.attachToAppRef(this)}detachView(i){const n=i;CO(this._views,n),n.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i);const n=this._injector.get(Vl,[]);n.push(...this._bootstrapListeners),n.forEach(s=>s(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>CO(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new Be(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function CO(r,a){const i=r.indexOf(a);i>-1&&r.splice(i,1)}const Lq=new $e("",{providedIn:"root",factory:()=>st(Nl).handleError.bind(void 0)});function Mde(){const r=st(et),a=st(Nl);return i=>r.runOutsideAngular(()=>a.handleError(i))}let Rde=(()=>{class r{constructor(){this.zone=st(et),this.applicationRef=st(qd)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();let rt=(()=>{class r{static#e=this.__NG_ELEMENT_ID__=Fde}return r})();function Fde(r){return function Nde(r,a,i){if(Ph(r)&&!i){const n=jr(r.index,a);return new dm(n,n)}return 47&r.type?new dm(a[pr],a):null}(bs(),ot(),16==(16&r))}class Gq{constructor(){}supports(a){return q_(a)}create(a){return new Gde(a)}}const Hde=(r,a)=>a;class Gde{constructor(a){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=a||Hde}forEachItem(a){let i;for(i=this._itHead;null!==i;i=i._next)a(i)}forEachOperation(a){let i=this._itHead,n=this._removalsHead,s=0,l=null;for(;i||n;){const d=!n||i&&i.currentIndex<$q(n,s,l)?i:n,p=$q(d,s,l),f=d.currentIndex;if(d===n)s--,n=n._nextRemoved;else if(i=i._next,null==d.previousIndex)s++;else{l||(l=[]);const v=p-s,D=f-s;if(v!=D){for(let F=0;F{d=this._trackByFn(s,p),null!==i&&Object.is(i.trackById,d)?(n&&(i=this._verifyReinsertion(i,p,d,s)),Object.is(i.item,p)||this._addIdentityChange(i,p)):(i=this._mismatch(i,p,d,s),n=!0),i=i._next,s++}),this.length=s;return this._truncate(i),this.collection=a,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;for(this._additionsHead=this._additionsTail=null,a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(a,i,n,s){let l;return null===a?l=this._itTail:(l=a._prev,this._remove(a)),null!==(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(a.item,i)||this._addIdentityChange(a,i),this._reinsertAfter(a,l,s)):null!==(a=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Object.is(a.item,i)||this._addIdentityChange(a,i),this._moveAfter(a,l,s)):a=this._addAfter(new jde(i,n),l,s),a}_verifyReinsertion(a,i,n,s){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==l?a=this._reinsertAfter(l,a._prev,s):a.currentIndex!=s&&(a.currentIndex=s,this._addToMoves(a,s)),a}_truncate(a){for(;null!==a;){const i=a._next;this._addToRemovals(this._unlink(a)),a=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(a,i,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);const s=a._prevRemoved,l=a._nextRemoved;return null===s?this._removalsHead=l:s._nextRemoved=l,null===l?this._removalsTail=s:l._prevRemoved=s,this._insertAfter(a,i,n),this._addToMoves(a,n),a}_moveAfter(a,i,n){return this._unlink(a),this._insertAfter(a,i,n),this._addToMoves(a,n),a}_addAfter(a,i,n){return this._insertAfter(a,i,n),this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a,a}_insertAfter(a,i,n){const s=null===i?this._itHead:i._next;return a._next=s,a._prev=i,null===s?this._itTail=a:s._prev=a,null===i?this._itHead=a:i._next=a,null===this._linkedRecords&&(this._linkedRecords=new jq),this._linkedRecords.put(a),a.currentIndex=n,a}_remove(a){return this._addToRemovals(this._unlink(a))}_unlink(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);const i=a._prev,n=a._next;return null===i?this._itHead=n:i._next=n,null===n?this._itTail=i:n._prev=i,a}_addToMoves(a,i){return a.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a),a}_addToRemovals(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new jq),this._unlinkedRecords.put(a),a.currentIndex=null,a._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a),a}_addIdentityChange(a,i){return a.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a,a}}class jde{constructor(a,i){this.item=a,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class $de{constructor(){this._head=null,this._tail=null}add(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)}get(a,i){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===i||i<=n.currentIndex)&&Object.is(n.trackById,a))return n;return null}remove(a){const i=a._prevDup,n=a._nextDup;return null===i?this._head=n:i._nextDup=n,null===n?this._tail=i:n._prevDup=i,null===this._head}}class jq{constructor(){this.map=new Map}put(a){const i=a.trackById;let n=this.map.get(i);n||(n=new $de,this.map.set(i,n)),n.add(a)}get(a,i){const s=this.map.get(a);return s?s.get(a,i):null}remove(a){const i=a.trackById;return this.map.get(i).remove(a)&&this.map.delete(i),a}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $q(r,a,i){const n=r.previousIndex;if(null===n)return n;let s=0;return i&&n{if(i&&i.key===s)this._maybeAddToChanges(i,n),this._appendAfter=i,i=i._next;else{const l=this._getOrCreateRecordForKey(s,n);i=this._insertBeforeOrAppend(i,l)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let n=i;null!==n;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(a,i){if(a){const n=a._prev;return i._next=a,i._prev=n,a._prev=i,n&&(n._next=i),a===this._mapHead&&(this._mapHead=i),this._appendAfter=a,a}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(a,i){if(this._records.has(a)){const s=this._records.get(a);this._maybeAddToChanges(s,i);const l=s._prev,d=s._next;return l&&(l._next=d),d&&(d._prev=l),s._next=null,s._prev=null,s}const n=new Wde(a);return this._records.set(a,n),n.currentValue=i,this._addToAdditions(n),n}_reset(){if(this.isDirty){let a;for(this._previousMapHead=this._mapHead,a=this._previousMapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(a,i){Object.is(i,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=i,this._addToChanges(a))}_addToAdditions(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:(this._additionsTail._nextAdded=a,this._additionsTail=a)}_addToChanges(a){null===this._changesHead?this._changesHead=this._changesTail=a:(this._changesTail._nextChanged=a,this._changesTail=a)}_forEach(a,i){a instanceof Map?a.forEach(i):Object.keys(a).forEach(n=>i(a[n],n))}}class Wde{constructor(a){this.key=a,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Wq(){return new qr([new Gq])}let qr=(()=>{class r{static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:Wq});constructor(i){this.factories=i}static create(i,n){if(null!=n){const s=n.factories.slice();i=i.concat(s)}return new r(i)}static extend(i){return{provide:r,useFactory:n=>r.create(i,n||Wq()),deps:[[r,new Ml,new da]]}}find(i){const n=this.factories.find(s=>s.supports(i));if(null!=n)return n;throw new Be(901,!1)}}return r})();function qq(){return new CA([new Uq])}let CA=(()=>{class r{static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:qq});constructor(i){this.factories=i}static create(i,n){if(n){const s=n.factories.slice();i=i.concat(s)}return new r(i)}static extend(i){return{provide:r,useFactory:n=>r.create(i,n||qq()),deps:[[r,new Ml,new da]]}}find(i){const n=this.factories.find(s=>s.supports(i));if(n)return n;throw new Be(901,!1)}}return r})();const Yde=Eq(null,"core",[]);let Qde=(()=>{class r{constructor(i){}static#e=this.\u0275fac=function(n){return new(n||r)(De(qd))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();function gC(r){return"boolean"==typeof r?r:null!=r&&"false"!==r}function wA(r){const a=Xi(r);if(!a)return null;const i=new Ru(a);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return a.standalone},get isSignal(){return a.signals}}}let S6=null;function Ip(){return S6}class cue{}const Tt=new $e("DocumentToken");let T6=(()=>{class r{historyGo(i){throw new Error("Not implemented")}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(uue)},providedIn:"platform"})}return r})();const due=new $e("Location Initialized");let uue=(()=>{class r extends T6{constructor(){super(),this._doc=st(Tt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ip().getBaseHref(this._doc)}onPopState(i){const n=Ip().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",i,!1),()=>n.removeEventListener("popstate",i)}onHashChange(i){const n=Ip().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",i,!1),()=>n.removeEventListener("hashchange",i)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(i){this._location.pathname=i}pushState(i,n,s){this._history.pushState(i,n,s)}replaceState(i,n,s){this._history.replaceState(i,n,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return new r},providedIn:"platform"})}return r})();function E6(r,a){if(0==r.length)return a;if(0==a.length)return r;let i=0;return r.endsWith("/")&&i++,a.startsWith("/")&&i++,2==i?r+a.substring(1):1==i?r+a:r+"/"+a}function iK(r){const a=r.match(/#|\?|$/),i=a&&a.index||r.length;return r.slice(0,i-("/"===r[i-1]?1:0))+r.slice(i)}function Sp(r){return r&&"?"!==r[0]?"?"+r:r}let uv=(()=>{class r{historyGo(i){throw new Error("Not implemented")}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(oK)},providedIn:"root"})}return r})();const nK=new $e("appBaseHref");let oK=(()=>{class r extends uv{constructor(i,n){super(),this._platformLocation=i,this._removeListenerFns=[],this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??st(Tt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return E6(this._baseHref,i)}path(i=!1){const n=this._platformLocation.pathname+Sp(this._platformLocation.search),s=this._platformLocation.hash;return s&&i?`${n}${s}`:n}pushState(i,n,s,l){const d=this.prepareExternalUrl(s+Sp(l));this._platformLocation.pushState(i,n,d)}replaceState(i,n,s,l){const d=this.prepareExternalUrl(s+Sp(l));this._platformLocation.replaceState(i,n,d)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){this._platformLocation.historyGo?.(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(T6),De(nK,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),hue=(()=>{class r extends uv{constructor(i,n){super(),this._platformLocation=i,this._baseHref="",this._removeListenerFns=[],null!=n&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}path(i=!1){let n=this._platformLocation.hash;return null==n&&(n="#"),n.length>0?n.substring(1):n}prepareExternalUrl(i){const n=E6(this._baseHref,i);return n.length>0?"#"+n:n}pushState(i,n,s,l){let d=this.prepareExternalUrl(s+Sp(l));0==d.length&&(d=this._platformLocation.pathname),this._platformLocation.pushState(i,n,d)}replaceState(i,n,s,l){let d=this.prepareExternalUrl(s+Sp(l));0==d.length&&(d=this._platformLocation.pathname),this._platformLocation.replaceState(i,n,d)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){this._platformLocation.historyGo?.(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(T6),De(nK,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),Gu=(()=>{class r{constructor(i){this._subject=new X,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=i;const n=this._locationStrategy.getBaseHref();this._basePath=function mue(r){if(new RegExp("^(https?:)?//").test(r)){const[,i]=r.split(/\/\/[^\/]+/);return i}return r}(iK(rK(n))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(i=!1){return this.normalize(this._locationStrategy.path(i))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(i,n=""){return this.path()==this.normalize(i+Sp(n))}normalize(i){return r.stripTrailingSlash(function gue(r,a){if(!r||!a.startsWith(r))return a;const i=a.substring(r.length);return""===i||["/",";","?","#"].includes(i[0])?i:a}(this._basePath,rK(i)))}prepareExternalUrl(i){return i&&"/"!==i[0]&&(i="/"+i),this._locationStrategy.prepareExternalUrl(i)}go(i,n="",s=null){this._locationStrategy.pushState(s,"",i,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Sp(n)),s)}replaceState(i,n="",s=null){this._locationStrategy.replaceState(s,"",i,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(i+Sp(n)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(i=0){this._locationStrategy.historyGo?.(i)}onUrlChange(i){return this._urlChangeListeners.push(i),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)})),()=>{const n=this._urlChangeListeners.indexOf(i);this._urlChangeListeners.splice(n,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(i="",n){this._urlChangeListeners.forEach(s=>s(i,n))}subscribe(i,n,s){return this._subject.subscribe({next:i,error:n,complete:s})}static#e=this.normalizeQueryParams=Sp;static#t=this.joinWithSlash=E6;static#i=this.stripTrailingSlash=iK;static#n=this.\u0275fac=function(n){return new(n||r)(De(uv))};static#o=this.\u0275prov=He({token:r,factory:function(){return function pue(){return new Gu(De(uv))}()},providedIn:"root"})}return r})();function rK(r){return r.replace(/\/index.html$/,"")}const sK={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var xA=function(r){return r[r.Decimal=0]="Decimal",r[r.Percent=1]="Percent",r[r.Currency=2]="Currency",r[r.Scientific=3]="Scientific",r}(xA||{}),sl=function(r){return r[r.Format=0]="Format",r[r.Standalone=1]="Standalone",r}(sl||{}),Ro=function(r){return r[r.Narrow=0]="Narrow",r[r.Abbreviated=1]="Abbreviated",r[r.Wide=2]="Wide",r[r.Short=3]="Short",r}(Ro||{}),ma=function(r){return r[r.Short=0]="Short",r[r.Medium=1]="Medium",r[r.Long=2]="Long",r[r.Full=3]="Full",r}(ma||{}),Kr=function(r){return r[r.Decimal=0]="Decimal",r[r.Group=1]="Group",r[r.List=2]="List",r[r.PercentSign=3]="PercentSign",r[r.PlusSign=4]="PlusSign",r[r.MinusSign=5]="MinusSign",r[r.Exponential=6]="Exponential",r[r.SuperscriptingExponent=7]="SuperscriptingExponent",r[r.PerMille=8]="PerMille",r[r.Infinity=9]="Infinity",r[r.NaN=10]="NaN",r[r.TimeSeparator=11]="TimeSeparator",r[r.CurrencyDecimal=12]="CurrencyDecimal",r[r.CurrencyGroup=13]="CurrencyGroup",r}(Kr||{});function _C(r,a){return Jc(ts(r)[$n.DateFormat],a)}function DO(r,a){return Jc(ts(r)[$n.TimeFormat],a)}function kA(r,a){return Jc(ts(r)[$n.DateTimeFormat],a)}function Zc(r,a){const i=ts(r),n=i[$n.NumberSymbols][a];if(typeof n>"u"){if(a===Kr.CurrencyDecimal)return i[$n.NumberSymbols][Kr.Decimal];if(a===Kr.CurrencyGroup)return i[$n.NumberSymbols][Kr.Group]}return n}function AO(r,a){return ts(r)[$n.NumberFormats][a]}function aK(r){if(!r[$n.ExtraData])throw new Error(`Missing extra locale data for the locale "${r[$n.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Jc(r,a){for(let i=a;i>-1;i--)if(typeof r[i]<"u")return r[i];throw new Error("Locale data API: locale data undefined")}function M6(r){const[a,i]=r.split(":");return{hours:+a,minutes:+i}}function lK(r,a,i="en"){const n=function xue(r){return ts(r)[$n.Currencies]}(i)[r]||sK[r]||[],s=n[1];return"narrow"===a&&"string"==typeof s?s:n[0]||r}const Tue=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,DA={},Eue=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Tp=function(r){return r[r.Short=0]="Short",r[r.ShortGMT=1]="ShortGMT",r[r.Long=2]="Long",r[r.Extended=3]="Extended",r}(Tp||{}),qn=function(r){return r[r.FullYear=0]="FullYear",r[r.Month=1]="Month",r[r.Date=2]="Date",r[r.Hours=3]="Hours",r[r.Minutes=4]="Minutes",r[r.Seconds=5]="Seconds",r[r.FractionalSeconds=6]="FractionalSeconds",r[r.Day=7]="Day",r}(qn||{}),Kn=function(r){return r[r.DayPeriods=0]="DayPeriods",r[r.Days=1]="Days",r[r.Months=2]="Months",r[r.Eras=3]="Eras",r}(Kn||{});function IO(r,a,i,n){let s=function Vue(r){if(uK(r))return r;if("number"==typeof r&&!isNaN(r))return new Date(r);if("string"==typeof r){if(r=r.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(r)){const[s,l=1,d=1]=r.split("-").map(p=>+p);return SO(s,l-1,d)}const i=parseFloat(r);if(!isNaN(r-i))return new Date(i);let n;if(n=r.match(Tue))return function zue(r){const a=new Date(0);let i=0,n=0;const s=r[8]?a.setUTCFullYear:a.setFullYear,l=r[8]?a.setUTCHours:a.setHours;r[9]&&(i=Number(r[9]+r[10]),n=Number(r[9]+r[11])),s.call(a,Number(r[1]),Number(r[2])-1,Number(r[3]));const d=Number(r[4]||0)-i,p=Number(r[5]||0)-n,f=Number(r[6]||0),v=Math.floor(1e3*parseFloat("0."+(r[7]||0)));return l.call(a,d,p,f,v),a}(n)}const a=new Date(r);if(!uK(a))throw new Error(`Unable to convert "${r}" into a date`);return a}(r);a=Ep(i,a)||a;let p,d=[];for(;a;){if(p=Eue.exec(a),!p){d.push(a);break}{d=d.concat(p.slice(1));const D=d.pop();if(!D)break;a=D}}let f=s.getTimezoneOffset();n&&(f=dK(n,f),s=function Bue(r,a,i){const n=i?-1:1,s=r.getTimezoneOffset();return function Lue(r,a){return(r=new Date(r.getTime())).setMinutes(r.getMinutes()+a),r}(r,n*(dK(a,s)-s))}(s,n,!0));let v="";return d.forEach(D=>{const E=function Nue(r){if(P6[r])return P6[r];let a;switch(r){case"G":case"GG":case"GGG":a=Go(Kn.Eras,Ro.Abbreviated);break;case"GGGG":a=Go(Kn.Eras,Ro.Wide);break;case"GGGGG":a=Go(Kn.Eras,Ro.Narrow);break;case"y":a=ns(qn.FullYear,1,0,!1,!0);break;case"yy":a=ns(qn.FullYear,2,0,!0,!0);break;case"yyy":a=ns(qn.FullYear,3,0,!1,!0);break;case"yyyy":a=ns(qn.FullYear,4,0,!1,!0);break;case"Y":a=RO(1);break;case"YY":a=RO(2,!0);break;case"YYY":a=RO(3);break;case"YYYY":a=RO(4);break;case"M":case"L":a=ns(qn.Month,1,1);break;case"MM":case"LL":a=ns(qn.Month,2,1);break;case"MMM":a=Go(Kn.Months,Ro.Abbreviated);break;case"MMMM":a=Go(Kn.Months,Ro.Wide);break;case"MMMMM":a=Go(Kn.Months,Ro.Narrow);break;case"LLL":a=Go(Kn.Months,Ro.Abbreviated,sl.Standalone);break;case"LLLL":a=Go(Kn.Months,Ro.Wide,sl.Standalone);break;case"LLLLL":a=Go(Kn.Months,Ro.Narrow,sl.Standalone);break;case"w":a=R6(1);break;case"ww":a=R6(2);break;case"W":a=R6(1,!0);break;case"d":a=ns(qn.Date,1);break;case"dd":a=ns(qn.Date,2);break;case"c":case"cc":a=ns(qn.Day,1);break;case"ccc":a=Go(Kn.Days,Ro.Abbreviated,sl.Standalone);break;case"cccc":a=Go(Kn.Days,Ro.Wide,sl.Standalone);break;case"ccccc":a=Go(Kn.Days,Ro.Narrow,sl.Standalone);break;case"cccccc":a=Go(Kn.Days,Ro.Short,sl.Standalone);break;case"E":case"EE":case"EEE":a=Go(Kn.Days,Ro.Abbreviated);break;case"EEEE":a=Go(Kn.Days,Ro.Wide);break;case"EEEEE":a=Go(Kn.Days,Ro.Narrow);break;case"EEEEEE":a=Go(Kn.Days,Ro.Short);break;case"a":case"aa":case"aaa":a=Go(Kn.DayPeriods,Ro.Abbreviated);break;case"aaaa":a=Go(Kn.DayPeriods,Ro.Wide);break;case"aaaaa":a=Go(Kn.DayPeriods,Ro.Narrow);break;case"b":case"bb":case"bbb":a=Go(Kn.DayPeriods,Ro.Abbreviated,sl.Standalone,!0);break;case"bbbb":a=Go(Kn.DayPeriods,Ro.Wide,sl.Standalone,!0);break;case"bbbbb":a=Go(Kn.DayPeriods,Ro.Narrow,sl.Standalone,!0);break;case"B":case"BB":case"BBB":a=Go(Kn.DayPeriods,Ro.Abbreviated,sl.Format,!0);break;case"BBBB":a=Go(Kn.DayPeriods,Ro.Wide,sl.Format,!0);break;case"BBBBB":a=Go(Kn.DayPeriods,Ro.Narrow,sl.Format,!0);break;case"h":a=ns(qn.Hours,1,-12);break;case"hh":a=ns(qn.Hours,2,-12);break;case"H":a=ns(qn.Hours,1);break;case"HH":a=ns(qn.Hours,2);break;case"m":a=ns(qn.Minutes,1);break;case"mm":a=ns(qn.Minutes,2);break;case"s":a=ns(qn.Seconds,1);break;case"ss":a=ns(qn.Seconds,2);break;case"S":a=ns(qn.FractionalSeconds,1);break;case"SS":a=ns(qn.FractionalSeconds,2);break;case"SSS":a=ns(qn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":a=EO(Tp.Short);break;case"ZZZZZ":a=EO(Tp.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":a=EO(Tp.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":a=EO(Tp.Long);break;default:return null}return P6[r]=a,a}(D);v+=E?E(s,i,f):"''"===D?"'":D.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),v}function SO(r,a,i){const n=new Date(0);return n.setFullYear(r,a,i),n.setHours(0,0,0),n}function Ep(r,a){const i=function _ue(r){return ts(r)[$n.LocaleId]}(r);if(DA[i]=DA[i]||{},DA[i][a])return DA[i][a];let n="";switch(a){case"shortDate":n=_C(r,ma.Short);break;case"mediumDate":n=_C(r,ma.Medium);break;case"longDate":n=_C(r,ma.Long);break;case"fullDate":n=_C(r,ma.Full);break;case"shortTime":n=DO(r,ma.Short);break;case"mediumTime":n=DO(r,ma.Medium);break;case"longTime":n=DO(r,ma.Long);break;case"fullTime":n=DO(r,ma.Full);break;case"short":const s=Ep(r,"shortTime"),l=Ep(r,"shortDate");n=TO(kA(r,ma.Short),[s,l]);break;case"medium":const d=Ep(r,"mediumTime"),p=Ep(r,"mediumDate");n=TO(kA(r,ma.Medium),[d,p]);break;case"long":const f=Ep(r,"longTime"),v=Ep(r,"longDate");n=TO(kA(r,ma.Long),[f,v]);break;case"full":const D=Ep(r,"fullTime"),E=Ep(r,"fullDate");n=TO(kA(r,ma.Full),[D,E])}return n&&(DA[i][a]=n),n}function TO(r,a){return a&&(r=r.replace(/\{([^}]+)}/g,function(i,n){return null!=a&&n in a?a[n]:i})),r}function Yd(r,a,i="-",n,s){let l="";(r<0||s&&r<=0)&&(s?r=1-r:(r=-r,l=i));let d=String(r);for(;d.length0||p>-i)&&(p+=i),r===qn.Hours)0===p&&-12===i&&(p=12);else if(r===qn.FractionalSeconds)return function Mue(r,a){return Yd(r,3).substring(0,a)}(p,a);const f=Zc(d,Kr.MinusSign);return Yd(p,a,f,n,s)}}function Go(r,a,i=sl.Format,n=!1){return function(s,l){return function Pue(r,a,i,n,s,l){switch(i){case Kn.Months:return function yue(r,a,i){const n=ts(r),l=Jc([n[$n.MonthsFormat],n[$n.MonthsStandalone]],a);return Jc(l,i)}(a,s,n)[r.getMonth()];case Kn.Days:return function bue(r,a,i){const n=ts(r),l=Jc([n[$n.DaysFormat],n[$n.DaysStandalone]],a);return Jc(l,i)}(a,s,n)[r.getDay()];case Kn.DayPeriods:const d=r.getHours(),p=r.getMinutes();if(l){const v=function Due(r){const a=ts(r);return aK(a),(a[$n.ExtraData][2]||[]).map(n=>"string"==typeof n?M6(n):[M6(n[0]),M6(n[1])])}(a),D=function Aue(r,a,i){const n=ts(r);aK(n);const l=Jc([n[$n.ExtraData][0],n[$n.ExtraData][1]],a)||[];return Jc(l,i)||[]}(a,s,n),E=v.findIndex(F=>{if(Array.isArray(F)){const[L,$]=F,q=d>=L.hours&&p>=L.minutes,Z=d<$.hours||d===$.hours&&p<$.minutes;if(L.hours<$.hours){if(q&&Z)return!0}else if(q||Z)return!0}else if(F.hours===d&&F.minutes===p)return!0;return!1});if(-1!==E)return D[E]}return function vue(r,a,i){const n=ts(r),l=Jc([n[$n.DayPeriodsFormat],n[$n.DayPeriodsStandalone]],a);return Jc(l,i)}(a,s,n)[d<12?0:1];case Kn.Eras:return function Cue(r,a){return Jc(ts(r)[$n.Eras],a)}(a,n)[r.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${i}`)}}(s,l,r,a,i,n)}}function EO(r){return function(a,i,n){const s=-1*n,l=Zc(i,Kr.MinusSign),d=s>0?Math.floor(s/60):Math.ceil(s/60);switch(r){case Tp.Short:return(s>=0?"+":"")+Yd(d,2,l)+Yd(Math.abs(s%60),2,l);case Tp.ShortGMT:return"GMT"+(s>=0?"+":"")+Yd(d,1,l);case Tp.Long:return"GMT"+(s>=0?"+":"")+Yd(d,2,l)+":"+Yd(Math.abs(s%60),2,l);case Tp.Extended:return 0===n?"Z":(s>=0?"+":"")+Yd(d,2,l)+":"+Yd(Math.abs(s%60),2,l);default:throw new Error(`Unknown zone width "${r}"`)}}}const Oue=0,MO=4;function cK(r){return SO(r.getFullYear(),r.getMonth(),r.getDate()+(MO-r.getDay()))}function R6(r,a=!1){return function(i,n){let s;if(a){const l=new Date(i.getFullYear(),i.getMonth(),1).getDay()-1,d=i.getDate();s=1+Math.floor((d+l)/7)}else{const l=cK(i),d=function Fue(r){const a=SO(r,Oue,1).getDay();return SO(r,0,1+(a<=MO?MO:MO+7)-a)}(l.getFullYear()),p=l.getTime()-d.getTime();s=1+Math.round(p/6048e5)}return Yd(s,r,Zc(n,Kr.MinusSign))}}function RO(r,a=!1){return function(i,n){return Yd(cK(i).getFullYear(),r,Zc(n,Kr.MinusSign),a)}}const P6={};function dK(r,a){r=r.replace(/:/g,"");const i=Date.parse("Jan 01, 1970 00:00:00 "+r)/6e4;return isNaN(i)?a:i}function uK(r){return r instanceof Date&&!isNaN(r.valueOf())}const Hue=/^(\d+)?\.((\d+)(-(\d+))?)?$/,hK=22,PO=".",AA="0",Gue=";",jue=",",O6="#";function F6(r,a,i,n,s,l,d=!1){let p="",f=!1;if(isFinite(r)){let v=function Wue(r){let n,s,l,d,p,a=Math.abs(r)+"",i=0;for((s=a.indexOf(PO))>-1&&(a=a.replace(PO,"")),(l=a.search(/e/i))>0?(s<0&&(s=l),s+=+a.slice(l+1),a=a.substring(0,l)):s<0&&(s=a.length),l=0;a.charAt(l)===AA;l++);if(l===(p=a.length))n=[0],s=1;else{for(p--;a.charAt(p)===AA;)p--;for(s-=l,n=[],d=0;l<=p;l++,d++)n[d]=Number(a.charAt(l))}return s>hK&&(n=n.splice(0,hK-1),i=s-1,s=1),{digits:n,exponent:i,integerLen:s}}(r);d&&(v=function Uue(r){if(0===r.digits[0])return r;const a=r.digits.length-r.integerLen;return r.exponent?r.exponent+=2:(0===a?r.digits.push(0,0):1===a&&r.digits.push(0),r.integerLen+=2),r}(v));let D=a.minInt,E=a.minFrac,F=a.maxFrac;if(l){const ue=l.match(Hue);if(null===ue)throw new Error(`${l} is not a valid digit info`);const Oe=ue[1],ze=ue[3],Ze=ue[5];null!=Oe&&(D=L6(Oe)),null!=ze&&(E=L6(ze)),null!=Ze?F=L6(Ze):null!=ze&&E>F&&(F=E)}!function que(r,a,i){if(a>i)throw new Error(`The minimum number of digits after fraction (${a}) is higher than the maximum (${i}).`);let n=r.digits,s=n.length-r.integerLen;const l=Math.min(Math.max(a,s),i);let d=l+r.integerLen,p=n[d];if(d>0){n.splice(Math.max(r.integerLen,d));for(let E=d;E=5)if(d-1<0){for(let E=0;E>d;E--)n.unshift(0),r.integerLen++;n.unshift(1),r.integerLen++}else n[d-1]++;for(;s=v?$.pop():f=!1),F>=10?1:0},0);D&&(n.unshift(D),r.integerLen++)}(v,E,F);let L=v.digits,$=v.integerLen;const q=v.exponent;let Z=[];for(f=L.every(ue=>!ue);$0?Z=L.splice($,L.length):(Z=L,L=[0]);const se=[];for(L.length>=a.lgSize&&se.unshift(L.splice(-a.lgSize,L.length).join(""));L.length>a.gSize;)se.unshift(L.splice(-a.gSize,L.length).join(""));L.length&&se.unshift(L.join("")),p=se.join(Zc(i,n)),Z.length&&(p+=Zc(i,s)+Z.join("")),q&&(p+=Zc(i,Kr.Exponential)+"+"+q)}else p=Zc(i,Kr.Infinity);return p=r<0&&!f?a.negPre+p+a.negSuf:a.posPre+p+a.posSuf,p}function gK(r,a,i,n,s){const d=N6(AO(a,xA.Currency),Zc(a,Kr.MinusSign));return d.minFrac=function Sue(r){let a;const i=sK[r];return i&&(a=i[2]),"number"==typeof a?a:2}(n),d.maxFrac=d.minFrac,F6(r,d,a,Kr.CurrencyGroup,Kr.CurrencyDecimal,s).replace("\xa4",i).replace("\xa4","").trim()}function N6(r,a="-"){const i={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=r.split(Gue),s=n[0],l=n[1],d=-1!==s.indexOf(PO)?s.split(PO):[s.substring(0,s.lastIndexOf(AA)+1),s.substring(s.lastIndexOf(AA)+1)],p=d[0],f=d[1]||"";i.posPre=p.substring(0,p.indexOf(O6));for(let D=0;D{class r{constructor(i,n,s,l){this._iterableDiffers=i,this._keyValueDiffers=n,this._ngEl=s,this._renderer=l,this.initialClasses=_K,this.stateMap=new Map}set klass(i){this.initialClasses=null!=i?i.trim().split(V6):_K}set ngClass(i){this.rawClass="string"==typeof i?i.trim().split(V6):i}ngDoCheck(){for(const n of this.initialClasses)this._updateState(n,!0);const i=this.rawClass;if(Array.isArray(i)||i instanceof Set)for(const n of i)this._updateState(n,!0);else if(null!=i)for(const n of Object.keys(i))this._updateState(n,!!i[n]);this._applyStateDiff()}_updateState(i,n){const s=this.stateMap.get(i);void 0!==s?(s.enabled!==n&&(s.changed=!0,s.enabled=n),s.touched=!0):this.stateMap.set(i,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(const i of this.stateMap){const n=i[0],s=i[1];s.changed?(this._toggleClass(n,s.enabled),s.changed=!1):s.touched||(s.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),s.touched=!1}}_toggleClass(i,n){(i=i.trim()).length>0&&i.split(V6).forEach(s=>{n?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(qr),T(CA),T(ke),T(Ui))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return r})();class Que{constructor(a,i,n,s){this.$implicit=a,this.ngForOf=i,this.index=n,this.count=s}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Vt=(()=>{class r{set ngForOf(i){this._ngForOf=i,this._ngForOfDirty=!0}set ngForTrackBy(i){this._trackByFn=i}get ngForTrackBy(){return this._trackByFn}constructor(i,n,s){this._viewContainer=i,this._template=n,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(i){i&&(this._template=i)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;!this._differ&&i&&(this._differ=this._differs.find(i).create(this.ngForTrackBy))}if(this._differ){const i=this._differ.diff(this._ngForOf);i&&this._applyChanges(i)}}_applyChanges(i){const n=this._viewContainer;i.forEachOperation((s,l,d)=>{if(null==s.previousIndex)n.createEmbeddedView(this._template,new Que(s.item,this._ngForOf,-1,-1),null===d?void 0:d);else if(null==d)n.remove(null===l?void 0:l);else if(null!==l){const p=n.get(l);n.move(p,d),bK(p,s)}});for(let s=0,l=n.length;s{bK(n.get(s.currentIndex),s)})}static ngTemplateContextGuard(i,n){return!0}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(je),T(qr))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return r})();function bK(r,a){r.context.$implicit=a.item}let Qe=(()=>{class r{constructor(i,n){this._viewContainer=i,this._context=new Xue,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}set ngIf(i){this._context.$implicit=this._context.ngIf=i,this._updateView()}set ngIfThen(i){yK("ngIfThen",i),this._thenTemplateRef=i,this._thenViewRef=null,this._updateView()}set ngIfElse(i){yK("ngIfElse",i),this._elseTemplateRef=i,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(i,n){return!0}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return r})();class Xue{constructor(){this.$implicit=null,this.ngIf=null}}function yK(r,a){if(a&&!a.createEmbeddedView)throw new Error(`${r} must be a TemplateRef, but received '${lr(a)}'.`)}class z6{constructor(a,i){this._viewContainerRef=a,this._templateRef=i,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(a){a&&!this._created?this.create():!a&&this._created&&this.destroy()}}let ed=(()=>{class r{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(i){this._ngSwitch=i,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(i){this._defaultViews.push(i)}_matchCase(i){const n=i==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(i){if(this._defaultViews.length>0&&i!==this._defaultUsed){this._defaultUsed=i;for(const n of this._defaultViews)n.enforceState(i)}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return r})(),ju=(()=>{class r{constructor(i,n,s){this.ngSwitch=s,s._addCase(),this._view=new z6(i,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(je),T(ed,9))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return r})(),yC=(()=>{class r{constructor(i,n,s){s._addDefault(new z6(i,n))}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(je),T(ed,9))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return r})(),Kt=(()=>{class r{constructor(i){this._viewContainerRef=i,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(i){if(i.ngTemplateOutlet||i.ngTemplateOutletInjector){const n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:s,ngTemplateOutletContext:l,ngTemplateOutletInjector:d}=this;this._viewRef=n.createEmbeddedView(s,l,d?{injector:d}:void 0)}else this._viewRef=null}else this._viewRef&&i.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ci]})}return r})();function Qd(r,a){return new Be(2100,!1)}class Jue{createSubscription(a,i){return zT(()=>a.subscribe({next:i,error:n=>{throw n}}))}dispose(a){zT(()=>a.unsubscribe())}}class ehe{createSubscription(a,i){return a.then(i,n=>{throw n})}dispose(a){}}const the=new ehe,ihe=new Jue;let hv=(()=>{class r{constructor(i){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=i}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(i){return this._obj?i!==this._obj?(this._dispose(),this.transform(i)):this._latestValue:(i&&this._subscribe(i),this._latestValue)}_subscribe(i){this._obj=i,this._strategy=this._selectStrategy(i),this._subscription=this._strategy.createSubscription(i,n=>this._updateLatestValue(i,n))}_selectStrategy(i){if(ev(i))return the;if(WM(i))return ihe;throw Qd()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(i,n){i===this._obj&&(this._latestValue=n,this._ref.markForCheck())}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt,16))};static#t=this.\u0275pipe=Pt({name:"async",type:r,pure:!1,standalone:!0})}return r})();const ahe=new $e("DATE_PIPE_DEFAULT_TIMEZONE"),lhe=new $e("DATE_PIPE_DEFAULT_OPTIONS");let fc=(()=>{class r{constructor(i,n,s){this.locale=i,this.defaultTimezone=n,this.defaultOptions=s}transform(i,n,s,l){if(null==i||""===i||i!=i)return null;try{return IO(i,n??this.defaultOptions?.dateFormat??"mediumDate",l||this.locale,s??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(d){throw Qd()}}static#e=this.\u0275fac=function(n){return new(n||r)(T(Ho,16),T(ahe,24),T(lhe,24))};static#t=this.\u0275pipe=Pt({name:"date",type:r,pure:!0,standalone:!0})}return r})(),pv=(()=>{class r{constructor(i,n="USD"){this._locale=i,this._defaultCurrencyCode=n}transform(i,n=this._defaultCurrencyCode,s="symbol",l,d){if(!G6(i))return null;d=d||this._locale,"boolean"==typeof s&&(s=s?"symbol":"code");let p=n||this._defaultCurrencyCode;"code"!==s&&(p="symbol"===s||"symbol-narrow"===s?lK(p,"symbol"===s?"wide":"narrow",d):s);try{return gK(j6(i),d,p,n,l)}catch(f){throw Qd()}}static#e=this.\u0275fac=function(n){return new(n||r)(T(Ho,16),T(m6,16))};static#t=this.\u0275pipe=Pt({name:"currency",type:r,pure:!0,standalone:!0})}return r})();function G6(r){return!(null==r||""===r||r!=r)}function j6(r){if("string"==typeof r&&!isNaN(Number(r)-parseFloat(r)))return Number(r);if("number"!=typeof r)throw new Error(`${r} is not a number`);return r}let Gs=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();const xK="browser";function kK(r){return r===xK}function DK(r){return"server"===r}let vhe=(()=>{class r{static#e=this.\u0275prov=He({token:r,providedIn:"root",factory:()=>new bhe(De(Tt),window)})}return r})();class bhe{constructor(a,i){this.document=a,this.window=i,this.offset=()=>[0,0]}setOffset(a){this.offset=Array.isArray(a)?()=>a:a}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(a){this.supportsScrolling()&&this.window.scrollTo(a[0],a[1])}scrollToAnchor(a){if(!this.supportsScrolling())return;const i=function yhe(r,a){const i=r.getElementById(a)||r.getElementsByName(a)[0];if(i)return i;if("function"==typeof r.createTreeWalker&&r.body&&"function"==typeof r.body.attachShadow){const n=r.createTreeWalker(r.body,NodeFilter.SHOW_ELEMENT);let s=n.currentNode;for(;s;){const l=s.shadowRoot;if(l){const d=l.getElementById(a)||l.querySelector(`[name="${a}"]`);if(d)return d}s=n.nextNode()}}return null}(this.document,a);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(a){this.supportsScrolling()&&(this.window.history.scrollRestoration=a)}scrollToElement(a){const i=a.getBoundingClientRect(),n=i.left+this.window.pageXOffset,s=i.top+this.window.pageYOffset,l=this.offset();this.window.scrollTo(n-l[0],s-l[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class AK{}class jhe extends cue{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class W6 extends jhe{static makeCurrent(){!function lue(r){S6||(S6=r)}(new W6)}onAndCancel(a,i,n){return a.addEventListener(i,n),()=>{a.removeEventListener(i,n)}}dispatchEvent(a,i){a.dispatchEvent(i)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,i){return(i=i||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,i){return"window"===i?window:"document"===i?a:"body"===i?a.body:null}getBaseHref(a){const i=function $he(){return TA=TA||document.querySelector("base"),TA?TA.getAttribute("href"):null}();return null==i?null:function Uhe(r){NO=NO||document.createElement("a"),NO.setAttribute("href",r);const a=NO.pathname;return"/"===a.charAt(0)?a:`/${a}`}(i)}resetBaseElement(){TA=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return fK(document.cookie,a)}}let NO,TA=null,qhe=(()=>{class r{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const LO=new $e("EventManagerPlugins");let MK=(()=>{class r{constructor(i,n){this._zone=n,this._eventNameToPlugin=new Map,i.forEach(s=>{s.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,n,s){return this._findPluginFor(n).addEventListener(i,n,s)}getZone(){return this._zone}_findPluginFor(i){let n=this._eventNameToPlugin.get(i);if(n)return n;if(n=this._plugins.find(l=>l.supports(i)),!n)throw new Be(5101,!1);return this._eventNameToPlugin.set(i,n),n}static#e=this.\u0275fac=function(n){return new(n||r)(De(LO),De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();class q6{constructor(a){this._doc=a}}const K6="ng-app-id";let RK=(()=>{class r{constructor(i,n,s,l={}){this.doc=i,this.appId=n,this.nonce=s,this.platformId=l,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=DK(l),this.resetHostNodes()}addStyles(i){for(const n of i)1===this.changeUsageCount(n,1)&&this.onStyleAdded(n)}removeStyles(i){for(const n of i)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){const i=this.styleNodesInDOM;i&&(i.forEach(n=>n.remove()),i.clear());for(const n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(i){this.hostNodes.add(i);for(const n of this.getAllStyles())this.addStyleToHost(i,n)}removeHost(i){this.hostNodes.delete(i)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(i){for(const n of this.hostNodes)this.addStyleToHost(n,i)}onStyleRemoved(i){const n=this.styleRef;n.get(i)?.elements?.forEach(s=>s.remove()),n.delete(i)}collectServerRenderedStyles(){const i=this.doc.head?.querySelectorAll(`style[${K6}="${this.appId}"]`);if(i?.length){const n=new Map;return i.forEach(s=>{null!=s.textContent&&n.set(s.textContent,s)}),n}return null}changeUsageCount(i,n){const s=this.styleRef;if(s.has(i)){const l=s.get(i);return l.usage+=n,l.usage}return s.set(i,{usage:n,elements:[]}),n}getStyleElement(i,n){const s=this.styleNodesInDOM,l=s?.get(n);if(l?.parentNode===i)return s.delete(n),l.removeAttribute(K6),l;{const d=this.doc.createElement("style");return this.nonce&&d.setAttribute("nonce",this.nonce),d.textContent=n,this.platformIsServer&&d.setAttribute(K6,this.appId),d}}addStyleToHost(i,n){const s=this.getStyleElement(i,n);i.appendChild(s);const l=this.styleRef,d=l.get(n)?.elements;d?d.push(s):l.set(n,{elements:[s],usage:1})}resetHostNodes(){const i=this.hostNodes;i.clear(),i.add(this.doc.head)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(Xg),De(dk,8),De(Ld))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const Y6={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Q6=/%COMP%/g,Xhe=new $e("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function OK(r,a){return a.map(i=>i.replace(Q6,r))}let X6=(()=>{class r{constructor(i,n,s,l,d,p,f,v=null){this.eventManager=i,this.sharedStylesHost=n,this.appId=s,this.removeStylesOnCompDestroy=l,this.doc=d,this.platformId=p,this.ngZone=f,this.nonce=v,this.rendererByCompId=new Map,this.platformIsServer=DK(p),this.defaultRenderer=new Z6(i,d,f,this.platformIsServer)}createRenderer(i,n){if(!i||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===xl.ShadowDom&&(n={...n,encapsulation:xl.Emulated});const s=this.getOrCreateRenderer(i,n);return s instanceof NK?s.applyToHost(i):s instanceof J6&&s.applyStyles(),s}getOrCreateRenderer(i,n){const s=this.rendererByCompId;let l=s.get(n.id);if(!l){const d=this.doc,p=this.ngZone,f=this.eventManager,v=this.sharedStylesHost,D=this.removeStylesOnCompDestroy,E=this.platformIsServer;switch(n.encapsulation){case xl.Emulated:l=new NK(f,v,n,this.appId,D,d,p,E);break;case xl.ShadowDom:return new tpe(f,v,i,n,d,p,this.nonce,E);default:l=new J6(f,v,n,D,d,p,E)}s.set(n.id,l)}return l}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(n){return new(n||r)(De(MK),De(RK),De(Xg),De(Xhe),De(Tt),De(Ld),De(et),De(dk))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();class Z6{constructor(a,i,n,s){this.eventManager=a,this.doc=i,this.ngZone=n,this.platformIsServer=s,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(a,i){return i?this.doc.createElementNS(Y6[i]||i,a):this.doc.createElement(a)}createComment(a){return this.doc.createComment(a)}createText(a){return this.doc.createTextNode(a)}appendChild(a,i){(FK(a)?a.content:a).appendChild(i)}insertBefore(a,i,n){a&&(FK(a)?a.content:a).insertBefore(i,n)}removeChild(a,i){a&&a.removeChild(i)}selectRootElement(a,i){let n="string"==typeof a?this.doc.querySelector(a):a;if(!n)throw new Be(-5104,!1);return i||(n.textContent=""),n}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,i,n,s){if(s){i=s+":"+i;const l=Y6[s];l?a.setAttributeNS(l,i,n):a.setAttribute(i,n)}else a.setAttribute(i,n)}removeAttribute(a,i,n){if(n){const s=Y6[n];s?a.removeAttributeNS(s,i):a.removeAttribute(`${n}:${i}`)}else a.removeAttribute(i)}addClass(a,i){a.classList.add(i)}removeClass(a,i){a.classList.remove(i)}setStyle(a,i,n,s){s&(Pl.DashCase|Pl.Important)?a.style.setProperty(i,n,s&Pl.Important?"important":""):a.style[i]=n}removeStyle(a,i,n){n&Pl.DashCase?a.style.removeProperty(i):a.style[i]=""}setProperty(a,i,n){a[i]=n}setValue(a,i){a.nodeValue=i}listen(a,i,n){if("string"==typeof a&&!(a=Ip().getGlobalEventTarget(this.doc,a)))throw new Error(`Unsupported event target ${a} for event ${i}`);return this.eventManager.addEventListener(a,i,this.decoratePreventDefault(n))}decoratePreventDefault(a){return i=>{if("__ngUnwrap__"===i)return a;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>a(i)):a(i))&&i.preventDefault()}}}function FK(r){return"TEMPLATE"===r.tagName&&void 0!==r.content}class tpe extends Z6{constructor(a,i,n,s,l,d,p,f){super(a,l,d,f),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const v=OK(s.id,s.styles);for(const D of v){const E=document.createElement("style");p&&E.setAttribute("nonce",p),E.textContent=D,this.shadowRoot.appendChild(E)}}nodeOrShadowRoot(a){return a===this.hostEl?this.shadowRoot:a}appendChild(a,i){return super.appendChild(this.nodeOrShadowRoot(a),i)}insertBefore(a,i,n){return super.insertBefore(this.nodeOrShadowRoot(a),i,n)}removeChild(a,i){return super.removeChild(this.nodeOrShadowRoot(a),i)}parentNode(a){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(a)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class J6 extends Z6{constructor(a,i,n,s,l,d,p,f){super(a,l,d,p),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=s,this.styles=f?OK(f,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class NK extends J6{constructor(a,i,n,s,l,d,p,f){const v=s+"-"+n.id;super(a,i,n,l,d,p,f,v),this.contentAttr=function Zhe(r){return"_ngcontent-%COMP%".replace(Q6,r)}(v),this.hostAttr=function Jhe(r){return"_nghost-%COMP%".replace(Q6,r)}(v)}applyToHost(a){this.applyStyles(),this.setAttribute(a,this.hostAttr,"")}createElement(a,i){const n=super.createElement(a,i);return super.setAttribute(n,this.contentAttr,""),n}}let ipe=(()=>{class r extends q6{constructor(i){super(i)}supports(i){return!0}addEventListener(i,n,s){return i.addEventListener(n,s,!1),()=>this.removeEventListener(i,n,s)}removeEventListener(i,n,s){return i.removeEventListener(n,s)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const LK=["alt","control","meta","shift"],npe={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ope={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey};let rpe=(()=>{class r extends q6{constructor(i){super(i)}supports(i){return null!=r.parseEventName(i)}addEventListener(i,n,s){const l=r.parseEventName(n),d=r.eventCallback(l.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ip().onAndCancel(i,l.domEventName,d))}static parseEventName(i){const n=i.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const l=r._normalizeKey(n.pop());let d="",p=n.indexOf("code");if(p>-1&&(n.splice(p,1),d="code."),LK.forEach(v=>{const D=n.indexOf(v);D>-1&&(n.splice(D,1),d+=v+".")}),d+=l,0!=n.length||0===l.length)return null;const f={};return f.domEventName=s,f.fullKey=d,f}static matchEventFullKeyCode(i,n){let s=npe[i.key]||i.key,l="";return n.indexOf("code.")>-1&&(s=i.code,l="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),LK.forEach(d=>{d!==s&&(0,ope[d])(i)&&(l+=d+".")}),l+=s,l===n)}static eventCallback(i,n,s){return l=>{r.matchEventFullKeyCode(l,i)&&s.runGuarded(()=>n(l))}}static _normalizeKey(i){return"esc"===i?"escape":i}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const VK=[{provide:Ld,useValue:xK},{provide:ck,useValue:function spe(){W6.makeCurrent()},multi:!0},{provide:Tt,useFactory:function lpe(){return function Fl(r){Ol=r}(document),document},deps:[]}],cpe=Eq(Yde,"browser",VK),dpe=new $e(""),zK=[{provide:qe,useClass:class Whe{addToWindow(a){co.getAngularTestability=(n,s=!0)=>{const l=a.findTestabilityInTree(n,s);if(null==l)throw new Be(5103,!1);return l},co.getAllAngularTestabilities=()=>a.getAllTestabilities(),co.getAllAngularRootElements=()=>a.getAllRootElements(),co.frameworkStabilizers||(co.frameworkStabilizers=[]),co.frameworkStabilizers.push(n=>{const s=co.getAllAngularTestabilities();let l=s.length,d=!1;const p=function(f){d=d||f,l--,0==l&&n(d)};s.forEach(f=>{f.whenStable(p)})})}findTestabilityInTree(a,i,n){return null==i?null:a.getTestability(i)??(n?Ip().isShadowRoot(i)?this.findTestabilityInTree(a,i.host,!0):this.findTestabilityInTree(a,i.parentElement,!0):null)}},deps:[]},{provide:Me,useClass:kt,deps:[et,$t,qe]},{provide:kt,useClass:kt,deps:[et,$t,qe]}],HK=[{provide:$c,useValue:"root"},{provide:Nl,useFactory:function ape(){return new Nl},deps:[]},{provide:LO,useClass:ipe,multi:!0,deps:[Tt,et,Ld]},{provide:LO,useClass:rpe,multi:!0,deps:[Tt]},X6,RK,MK,{provide:im,useExisting:X6},{provide:AK,useClass:qhe,deps:[]},[]];let GK=(()=>{class r{constructor(i){}static withServerTransition(i){return{ngModule:r,providers:[{provide:Xg,useValue:i.appId}]}}static#e=this.\u0275fac=function(n){return new(n||r)(De(dpe,12))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[...HK,...zK],imports:[Gs,Qde]})}return r})(),jK=(()=>{class r{constructor(i){this._doc=i}getTitle(){return this._doc.title}setTitle(i){this._doc.title=i||""}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:function(n){let s=null;return s=n?new n:function hpe(){return new jK(De(Tt))}(),s},providedIn:"root"})}return r})();typeof window<"u"&&window;const fpe={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},xC=new $e("HammerGestureConfig"),WK=new $e("HammerLoader");let BO=(()=>{class r{constructor(){this.events=[],this.overrides={}}buildHammer(i){const n=new Hammer(i,this.options);n.get("pinch").set({enable:!0}),n.get("rotate").set({enable:!0});for(const s in this.overrides)n.get(s).set(this.overrides[s]);return n}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),_pe=(()=>{class r extends q6{constructor(i,n,s,l){super(i),this._config=n,this.console=s,this.loader=l,this._loaderPromise=null}supports(i){return!(!fpe.hasOwnProperty(i.toLowerCase())&&!this.isCustomEvent(i)||!window.Hammer&&!this.loader)}addEventListener(i,n,s){const l=this.manager.getZone();if(n=n.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||l.runOutsideAngular(()=>this.loader());let d=!1,p=()=>{d=!0};return l.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?d||(p=this.addEventListener(i,n,s)):p=()=>{}}).catch(()=>{p=()=>{}})),()=>{p()}}return l.runOutsideAngular(()=>{const d=this._config.buildHammer(i),p=function(f){l.runGuarded(function(){s(f)})};return d.on(n,p),()=>{d.off(n,p),"function"==typeof d.destroy&&d.destroy()}})}isCustomEvent(i){return this._config.events.indexOf(i)>-1}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(xC),De(dC),De(WK,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),vpe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[{provide:LO,useClass:_pe,multi:!0,deps:[Tt,xC,dC,[new da,WK]]},{provide:xC,useClass:BO,deps:[]}]})}return r})(),kC=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(n){let s=null;return s=n?new(n||r):De(qK),s},providedIn:"root"})}return r})(),qK=(()=>{class r extends kC{constructor(i){super(),this._doc=i}sanitize(i,n){if(null==n)return null;switch(i){case Tr.NONE:return n;case Tr.HTML:return jc(n,"HTML")?jn(n):ik(this._doc,String(n)).toString();case Tr.STYLE:return jc(n,"Style")?jn(n):n;case Tr.SCRIPT:if(jc(n,"Script"))return jn(n);throw new Be(5200,!1);case Tr.URL:return jc(n,"URL")?jn(n):k_(String(n));case Tr.RESOURCE_URL:if(jc(n,"ResourceURL"))return jn(n);throw new Be(5201,!1);default:throw new Be(5202,!1)}}bypassSecurityTrustHtml(i){return function Ug(r){return new XE(r)}(i)}bypassSecurityTrustStyle(i){return function wB(r){return new ZE(r)}(i)}bypassSecurityTrustScript(i){return function xB(r){return new JE(r)}(i)}bypassSecurityTrustUrl(i){return function kB(r){return new e2(r)}(i)}bypassSecurityTrustResourceUrl(i){return function t2(r){return new $g(r)}(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:function(n){let s=null;return s=n?new n:function bpe(r){return new qK(r.get(Tt))}(De(Jt)),s},providedIn:"root"})}return r})();function YK(r){return!!r&&(r instanceof _n||Ti(r.lift)&&Ti(r.subscribe))}bl(271);const{isArray:ype}=Array,{getPrototypeOf:Cpe,prototype:wpe,keys:xpe}=Object;function QK(r){if(1===r.length){const a=r[0];if(ype(a))return{args:a,keys:null};if(function kpe(r){return r&&"object"==typeof r&&Cpe(r)===wpe}(a)){const i=xpe(a);return{args:i.map(n=>a[n]),keys:i}}}return{args:r,keys:null}}const{isArray:Dpe}=Array;function tH(r){return Rt(a=>function Ape(r,a){return Dpe(a)?r(...a):r(a)}(r,a))}function XK(r,a){return r.reduce((i,n,s)=>(i[n]=a[s],i),{})}function gv(...r){const a=Pc(r),i=cy(r),{args:n,keys:s}=QK(r);if(0===n.length)return wn([],a);const l=new _n(function Ipe(r,a,i=Do){return n=>{ZK(a,()=>{const{length:s}=r,l=new Array(s);let d=s,p=s;for(let f=0;f{const v=wn(r[f],a);let D=!1;v.subscribe(qt(n,E=>{l[f]=E,D||(D=!0,p--),p||n.next(i(l.slice()))},()=>{--d||n.complete()}))},n)},n)}}(n,a,s?d=>XK(s,d):Do));return i?l.pipe(tH(i)):l}function ZK(r,a,i){r?Zr(i,r,a):a()}const VO=Lo(r=>function(){r(this),this.name="EmptyError",this.message="no elements in sequence"});function EA(...r){return function Spe(){return Ma(1)}()(wn(r,Pc(r)))}function mv(r){return new _n(a=>{Ar(r()).subscribe(a)})}function DC(r,a){const i=Ti(r)?r:()=>r,n=s=>s.error(i());return new _n(a?s=>a.schedule(n,0,s):n)}function iH(){return Cn((r,a)=>{let i=null;r._refCount++;const n=qt(a,void 0,void 0,void 0,()=>{if(!r||r._refCount<=0||0<--r._refCount)return void(i=null);const s=r._connection,l=i;i=null,s&&(!l||s===l)&&s.unsubscribe(),a.unsubscribe()});r.subscribe(n),n.closed||(i=r.connect())})}class nH extends _n{constructor(a,i){super(),this.source=a,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,Rf(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new Ce;const i=this.getSubject();a.add(this.source.subscribe(qt(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),a.closed&&(this._connection=null,a=Ce.EMPTY)}return a}refCount(){return iH()(this)}}function An(r){return r<=0?()=>Jr:Cn((a,i)=>{let n=0;a.subscribe(qt(i,s=>{++n<=r&&(i.next(s),r<=n&&i.complete())}))})}function go(...r){const a=Pc(r);return Cn((i,n)=>{(a?EA(r,i,a):EA(r,i)).subscribe(n)})}function xi(r,a){return Cn((i,n)=>{let s=0;i.subscribe(qt(n,l=>r.call(a,l,s++)&&n.next(l)))})}function zO(r){return Cn((a,i)=>{let n=!1;a.subscribe(qt(i,s=>{n=!0,i.next(s)},()=>{n||i.next(r),i.complete()}))})}function JK(r=Tpe){return Cn((a,i)=>{let n=!1;a.subscribe(qt(i,s=>{n=!0,i.next(s)},()=>n?i.complete():i.error(r())))})}function Tpe(){return new VO}function mi(r,a){const i=arguments.length>=2;return n=>n.pipe(r?xi((s,l)=>r(s,l,n)):Do,An(1),i?zO(a):JK(()=>new VO))}function AC(r,a){return Ti(a)?vo(r,a,1):vo(r,1)}function Or(r,a,i){const n=Ti(r)||a||i?{next:r,error:a,complete:i}:r;return n?Cn((s,l)=>{var d;null===(d=n.subscribe)||void 0===d||d.call(n);let p=!0;s.subscribe(qt(l,f=>{var v;null===(v=n.next)||void 0===v||v.call(n,f),l.next(f)},()=>{var f;p=!1,null===(f=n.complete)||void 0===f||f.call(n),l.complete()},f=>{var v;p=!1,null===(v=n.error)||void 0===v||v.call(n,f),l.error(f)},()=>{var f,v;p&&(null===(f=n.unsubscribe)||void 0===f||f.call(n)),null===(v=n.finalize)||void 0===v||v.call(n)}))}):Do}function xm(r){return Cn((a,i)=>{let l,n=null,s=!1;n=a.subscribe(qt(i,void 0,void 0,d=>{l=Ar(r(d,xm(r)(a))),n?(n.unsubscribe(),n=null,l.subscribe(i)):s=!0})),s&&(n.unsubscribe(),n=null,l.subscribe(i))})}function oH(r){return r<=0?()=>Jr:Cn((a,i)=>{let n=[];a.subscribe(qt(i,s=>{n.push(s),r{for(const s of n)i.next(s);i.complete()},void 0,()=>{n=null}))})}function eY(r){return Rt(()=>r)}function IC(r){return Cn((a,i)=>{try{a.subscribe(i)}finally{i.add(r)}})}function xe(r){return Cn((a,i)=>{Ar(r).subscribe(qt(i,()=>i.complete(),te)),!i.closed&&a.subscribe(i)})}const Oi="primary",MA=Symbol("RouteTitle");class Ppe{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const i=this.params[a];return Array.isArray(i)?i[0]:i}return null}getAll(a){if(this.has(a)){const i=this.params[a];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}}function SC(r){return new Ppe(r)}function Ope(r,a,i){const n=i.path.split("/");if(n.length>r.length||"full"===i.pathMatch&&(a.hasChildren()||n.lengthn[l]===s)}return r===a}function iY(r){return r.length>0?r[r.length-1]:null}function km(r){return YK(r)?r:ev(r)?wn(Promise.resolve(r)):Dt(r)}const Npe={exact:function rY(r,a,i){if(!fv(r.segments,a.segments)||!HO(r.segments,a.segments,i)||r.numberOfChildren!==a.numberOfChildren)return!1;for(const n in a.children)if(!r.children[n]||!rY(r.children[n],a.children[n],i))return!1;return!0},subset:sY},nY={exact:function Lpe(r,a){return $u(r,a)},subset:function Bpe(r,a){return Object.keys(a).length<=Object.keys(r).length&&Object.keys(a).every(i=>tY(r[i],a[i]))},ignored:()=>!0};function oY(r,a,i){return Npe[i.paths](r.root,a.root,i.matrixParams)&&nY[i.queryParams](r.queryParams,a.queryParams)&&!("exact"===i.fragment&&r.fragment!==a.fragment)}function sY(r,a,i){return aY(r,a,a.segments,i)}function aY(r,a,i,n){if(r.segments.length>i.length){const s=r.segments.slice(0,i.length);return!(!fv(s,i)||a.hasChildren()||!HO(s,i,n))}if(r.segments.length===i.length){if(!fv(r.segments,i)||!HO(r.segments,i,n))return!1;for(const s in a.children)if(!r.children[s]||!sY(r.children[s],a.children[s],n))return!1;return!0}{const s=i.slice(0,r.segments.length),l=i.slice(r.segments.length);return!!(fv(r.segments,s)&&HO(r.segments,s,n)&&r.children[Oi])&&aY(r.children[Oi],a,l,n)}}function HO(r,a,i){return a.every((n,s)=>nY[i](r[s].parameters,n.parameters))}class TC{constructor(a=new mo([],{}),i={},n=null){this.root=a,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=SC(this.queryParams)),this._queryParamMap}toString(){return Hpe.serialize(this)}}class mo{constructor(a,i){this.segments=a,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return GO(this)}}class RA{constructor(a,i){this.path=a,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=SC(this.parameters)),this._parameterMap}toString(){return dY(this)}}function fv(r,a){return r.length===a.length&&r.every((i,n)=>i.path===a[n].path)}let PA=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return new rH},providedIn:"root"})}return r})();class rH{parse(a){const i=new Zpe(a);return new TC(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(a){const i=`/${OA(a.root,!0)}`,n=function $pe(r){const a=Object.keys(r).map(i=>{const n=r[i];return Array.isArray(n)?n.map(s=>`${jO(i)}=${jO(s)}`).join("&"):`${jO(i)}=${jO(n)}`}).filter(i=>!!i);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${i}${n}${"string"==typeof a.fragment?`#${function Gpe(r){return encodeURI(r)}(a.fragment)}`:""}`}}const Hpe=new rH;function GO(r){return r.segments.map(a=>dY(a)).join("/")}function OA(r,a){if(!r.hasChildren())return GO(r);if(a){const i=r.children[Oi]?OA(r.children[Oi],!1):"",n=[];return Object.entries(r.children).forEach(([s,l])=>{s!==Oi&&n.push(`${s}:${OA(l,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=function zpe(r,a){let i=[];return Object.entries(r.children).forEach(([n,s])=>{n===Oi&&(i=i.concat(a(s,n)))}),Object.entries(r.children).forEach(([n,s])=>{n!==Oi&&(i=i.concat(a(s,n)))}),i}(r,(n,s)=>s===Oi?[OA(r.children[Oi],!1)]:[`${s}:${OA(n,!1)}`]);return 1===Object.keys(r.children).length&&null!=r.children[Oi]?`${GO(r)}/${i[0]}`:`${GO(r)}/(${i.join("//")})`}}function lY(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jO(r){return lY(r).replace(/%3B/gi,";")}function sH(r){return lY(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $O(r){return decodeURIComponent(r)}function cY(r){return $O(r.replace(/\+/g,"%20"))}function dY(r){return`${sH(r.path)}${function jpe(r){return Object.keys(r).map(a=>`;${sH(a)}=${sH(r[a])}`).join("")}(r.parameters)}`}const Upe=/^[^\/()?;#]+/;function aH(r){const a=r.match(Upe);return a?a[0]:""}const Wpe=/^[^\/()?;=#]+/,Kpe=/^[^=?&#]+/,Qpe=/^[^&#]+/;class Zpe{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mo([],{}):new mo([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(a.length>0||Object.keys(i).length>0)&&(n[Oi]=new mo(a,i)),n}parseSegment(){const a=aH(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new Be(4009,!1);return this.capture(a),new RA($O(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const i=function qpe(r){const a=r.match(Wpe);return a?a[0]:""}(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){const s=aH(this.remaining);s&&(n=s,this.capture(n))}a[$O(i)]=$O(n)}parseQueryParam(a){const i=function Ype(r){const a=r.match(Kpe);return a?a[0]:""}(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){const d=function Xpe(r){const a=r.match(Qpe);return a?a[0]:""}(this.remaining);d&&(n=d,this.capture(n))}const s=cY(i),l=cY(n);if(a.hasOwnProperty(s)){let d=a[s];Array.isArray(d)||(d=[d],a[s]=d),d.push(l)}else a[s]=l}parseParens(a){const i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=aH(this.remaining),s=this.remaining[n.length];if("/"!==s&&")"!==s&&";"!==s)throw new Be(4010,!1);let l;n.indexOf(":")>-1?(l=n.slice(0,n.indexOf(":")),this.capture(l),this.capture(":")):a&&(l=Oi);const d=this.parseChildren();i[l]=1===Object.keys(d).length?d[Oi]:new mo([],d),this.consumeOptional("//")}return i}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new Be(4011,!1)}}function uY(r){return r.segments.length>0?new mo([],{[Oi]:r}):r}function hY(r){const a={};for(const n of Object.keys(r.children)){const l=hY(r.children[n]);if(n===Oi&&0===l.segments.length&&l.hasChildren())for(const[d,p]of Object.entries(l.children))a[d]=p;else(l.segments.length>0||l.hasChildren())&&(a[n]=l)}return function Jpe(r){if(1===r.numberOfChildren&&r.children[Oi]){const a=r.children[Oi];return new mo(r.segments.concat(a.segments),a.children)}return r}(new mo(r.segments,a))}function _v(r){return r instanceof TC}function pY(r){let a;const s=uY(function i(l){const d={};for(const f of l.children){const v=i(f);d[f.outlet]=v}const p=new mo(l.url,d);return l===r&&(a=p),p}(r.root));return a??s}function gY(r,a,i,n){let s=r;for(;s.parent;)s=s.parent;if(0===a.length)return lH(s,s,s,i,n);const l=function tge(r){if("string"==typeof r[0]&&1===r.length&&"/"===r[0])return new fY(!0,0,r);let a=0,i=!1;const n=r.reduce((s,l,d)=>{if("object"==typeof l&&null!=l){if(l.outlets){const p={};return Object.entries(l.outlets).forEach(([f,v])=>{p[f]="string"==typeof v?v.split("/"):v}),[...s,{outlets:p}]}if(l.segmentPath)return[...s,l.segmentPath]}return"string"!=typeof l?[...s,l]:0===d?(l.split("/").forEach((p,f)=>{0==f&&"."===p||(0==f&&""===p?i=!0:".."===p?a++:""!=p&&s.push(p))}),s):[...s,l]},[]);return new fY(i,a,n)}(a);if(l.toRoot())return lH(s,s,new mo([],{}),i,n);const d=function ige(r,a,i){if(r.isAbsolute)return new WO(a,!0,0);if(!i)return new WO(a,!1,NaN);if(null===i.parent)return new WO(i,!0,0);const n=UO(r.commands[0])?0:1;return function nge(r,a,i){let n=r,s=a,l=i;for(;l>s;){if(l-=s,n=n.parent,!n)throw new Be(4005,!1);s=n.segments.length}return new WO(n,!1,s-l)}(i,i.segments.length-1+n,r.numberOfDoubleDots)}(l,s,r),p=d.processChildren?NA(d.segmentGroup,d.index,l.commands):_Y(d.segmentGroup,d.index,l.commands);return lH(s,d.segmentGroup,p,i,n)}function UO(r){return"object"==typeof r&&null!=r&&!r.outlets&&!r.segmentPath}function FA(r){return"object"==typeof r&&null!=r&&r.outlets}function lH(r,a,i,n,s){let d,l={};n&&Object.entries(n).forEach(([f,v])=>{l[f]=Array.isArray(v)?v.map(D=>`${D}`):`${v}`}),d=r===a?i:mY(r,a,i);const p=uY(hY(d));return new TC(p,l,s)}function mY(r,a,i){const n={};return Object.entries(r.children).forEach(([s,l])=>{n[s]=l===a?i:mY(l,a,i)}),new mo(r.segments,n)}class fY{constructor(a,i,n){if(this.isAbsolute=a,this.numberOfDoubleDots=i,this.commands=n,a&&n.length>0&&UO(n[0]))throw new Be(4003,!1);const s=n.find(FA);if(s&&s!==iY(n))throw new Be(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class WO{constructor(a,i,n){this.segmentGroup=a,this.processChildren=i,this.index=n}}function _Y(r,a,i){if(r||(r=new mo([],{})),0===r.segments.length&&r.hasChildren())return NA(r,a,i);const n=function rge(r,a,i){let n=0,s=a;const l={match:!1,pathIndex:0,commandIndex:0};for(;s=i.length)return l;const d=r.segments[s],p=i[n];if(FA(p))break;const f=`${p}`,v=n0&&void 0===f)break;if(f&&v&&"object"==typeof v&&void 0===v.outlets){if(!bY(f,v,d))return l;n+=2}else{if(!bY(f,{},d))return l;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(r,a,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndexl!==Oi)&&r.children[Oi]&&1===r.numberOfChildren&&0===r.children[Oi].segments.length){const l=NA(r.children[Oi],a,i);return new mo(r.segments,l.children)}return Object.entries(n).forEach(([l,d])=>{"string"==typeof d&&(d=[d]),null!==d&&(s[l]=_Y(r.children[l],a,d))}),Object.entries(r.children).forEach(([l,d])=>{void 0===n[l]&&(s[l]=d)}),new mo(r.segments,s)}}function cH(r,a,i){const n=r.segments.slice(0,a);let s=0;for(;s{"string"==typeof n&&(n=[n]),null!==n&&(a[i]=cH(new mo([],{}),0,n))}),a}function vY(r){const a={};return Object.entries(r).forEach(([i,n])=>a[i]=`${n}`),a}function bY(r,a,i){return r==i.path&&$u(a,i.parameters)}const LA="imperative";class Uu{constructor(a,i){this.id=a,this.url=i}}class qO extends Uu{constructor(a,i,n="imperative",s=null){super(a,i),this.type=0,this.navigationTrigger=n,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Dm extends Uu{constructor(a,i,n){super(a,i),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class BA extends Uu{constructor(a,i,n,s){super(a,i),this.reason=n,this.code=s,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class EC extends Uu{constructor(a,i,n,s){super(a,i),this.reason=n,this.code=s,this.type=16}}class KO extends Uu{constructor(a,i,n,s){super(a,i),this.error=n,this.target=s,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class yY extends Uu{constructor(a,i,n,s){super(a,i),this.urlAfterRedirects=n,this.state=s,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class age extends Uu{constructor(a,i,n,s){super(a,i),this.urlAfterRedirects=n,this.state=s,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lge extends Uu{constructor(a,i,n,s,l){super(a,i),this.urlAfterRedirects=n,this.state=s,this.shouldActivate=l,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class cge extends Uu{constructor(a,i,n,s){super(a,i),this.urlAfterRedirects=n,this.state=s,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dge extends Uu{constructor(a,i,n,s){super(a,i),this.urlAfterRedirects=n,this.state=s,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uge{constructor(a){this.route=a,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class hge{constructor(a){this.route=a,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class pge{constructor(a){this.snapshot=a,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gge{constructor(a){this.snapshot=a,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mge{constructor(a){this.snapshot=a,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fge{constructor(a){this.snapshot=a,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class CY{constructor(a,i,n){this.routerEvent=a,this.position=i,this.anchor=n,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class dH{}class uH{constructor(a){this.url=a}}class _ge{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new VA,this.attachRef=null}}let VA=(()=>{class r{constructor(){this.contexts=new Map}onChildOutletCreated(i,n){const s=this.getOrCreateContext(i);s.outlet=n,this.contexts.set(i,s)}onChildOutletDestroyed(i){const n=this.getContext(i);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){const i=this.contexts;return this.contexts=new Map,i}onOutletReAttached(i){this.contexts=i}getOrCreateContext(i){let n=this.getContext(i);return n||(n=new _ge,this.contexts.set(i,n)),n}getContext(i){return this.contexts.get(i)||null}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class wY{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const i=this.pathFromRoot(a);return i.length>1?i[i.length-2]:null}children(a){const i=hH(a,this._root);return i?i.children.map(n=>n.value):[]}firstChild(a){const i=hH(a,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(a){const i=pH(a,this._root);return i.length<2?[]:i[i.length-2].children.map(s=>s.value).filter(s=>s!==a)}pathFromRoot(a){return pH(a,this._root).map(i=>i.value)}}function hH(r,a){if(r===a.value)return a;for(const i of a.children){const n=hH(r,i);if(n)return n}return null}function pH(r,a){if(r===a.value)return[a];for(const i of a.children){const n=pH(r,i);if(n.length)return n.unshift(a),n}return[]}class Mp{constructor(a,i){this.value=a,this.children=i}toString(){return`TreeNode(${this.value})`}}function MC(r){const a={};return r&&r.children.forEach(i=>a[i.value.outlet]=i),a}class xY extends wY{constructor(a,i){super(a),this.snapshot=i,gH(this,a)}toString(){return this.snapshot.toString()}}function kY(r,a){const i=function vge(r,a){const d=new YO([],{},{},"",{},Oi,a,null,{});return new AY("",new Mp(d,[]))}(0,a),n=new Pn([new RA("",{})]),s=new Pn({}),l=new Pn({}),d=new Pn({}),p=new Pn(""),f=new _c(n,s,d,p,l,Oi,a,i.root);return f.snapshot=i.root,new xY(new Mp(f,[]),i)}class _c{constructor(a,i,n,s,l,d,p,f){this.urlSubject=a,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=s,this.dataSubject=l,this.outlet=d,this.component=p,this._futureSnapshot=f,this.title=this.dataSubject?.pipe(Rt(v=>v[MA]))??Dt(void 0),this.url=a,this.params=i,this.queryParams=n,this.fragment=s,this.data=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Rt(a=>SC(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Rt(a=>SC(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function DY(r,a="emptyOnly"){const i=r.pathFromRoot;let n=0;if("always"!==a)for(n=i.length-1;n>=1;){const s=i[n],l=i[n-1];if(s.routeConfig&&""===s.routeConfig.path)n--;else{if(l.component)break;n--}}return function bge(r){return r.reduce((a,i)=>({params:{...a.params,...i.params},data:{...a.data,...i.data},resolve:{...i.data,...a.resolve,...i.routeConfig?.data,...i._resolvedData}}),{params:{},data:{},resolve:{}})}(i.slice(n))}class YO{get title(){return this.data?.[MA]}constructor(a,i,n,s,l,d,p,f,v){this.url=a,this.params=i,this.queryParams=n,this.fragment=s,this.data=l,this.outlet=d,this.component=p,this.routeConfig=f,this._resolve=v}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=SC(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=SC(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(n=>n.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class AY extends wY{constructor(a,i){super(i),this.url=a,gH(this,i)}toString(){return IY(this._root)}}function gH(r,a){a.value._routerState=r,a.children.forEach(i=>gH(r,i))}function IY(r){const a=r.children.length>0?` { ${r.children.map(IY).join(", ")} } `:"";return`${r.value}${a}`}function mH(r){if(r.snapshot){const a=r.snapshot,i=r._futureSnapshot;r.snapshot=i,$u(a.queryParams,i.queryParams)||r.queryParamsSubject.next(i.queryParams),a.fragment!==i.fragment&&r.fragmentSubject.next(i.fragment),$u(a.params,i.params)||r.paramsSubject.next(i.params),function Fpe(r,a){if(r.length!==a.length)return!1;for(let i=0;i$u(i.parameters,a[n].parameters))}(r.url,a.url);return i&&!(!r.parent!=!a.parent)&&(!r.parent||fH(r.parent,a.parent))}let RC=(()=>{class r{constructor(){this.activated=null,this._activatedRoute=null,this.name=Oi,this.activateEvents=new X,this.deactivateEvents=new X,this.attachEvents=new X,this.detachEvents=new X,this.parentContexts=st(VA),this.location=st(ei),this.changeDetector=st(rt),this.environmentInjector=st(_r),this.inputBinder=st(QO,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(i){if(i.name){const{firstChange:n,previousValue:s}=i.name;if(n)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(i){return this.parentContexts.getContext(i)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const i=this.parentContexts.getContext(this.name);i?.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Be(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Be(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Be(4012,!1);this.location.detach();const i=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(i.instance),i}attach(i,n){this.activated=i,this._activatedRoute=n,this.location.insert(i.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(i.instance)}deactivate(){if(this.activated){const i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}activateWith(i,n){if(this.isActivated)throw new Be(4013,!1);this._activatedRoute=i;const s=this.location,d=i.snapshot.component,p=this.parentContexts.getOrCreateContext(this.name).children,f=new yge(i,p,s.injector);this.activated=s.createComponent(d,{index:s.length,injector:f,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ci]})}return r})();class yge{constructor(a,i,n){this.route=a,this.childContexts=i,this.parent=n}get(a,i){return a===_c?this.route:a===VA?this.childContexts:this.parent.get(a,i)}}const QO=new $e("");let SY=(()=>{class r{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(i){this.unsubscribeFromRouteData(i),this.subscribeToRouteData(i)}unsubscribeFromRouteData(i){this.outletDataSubscriptions.get(i)?.unsubscribe(),this.outletDataSubscriptions.delete(i)}subscribeToRouteData(i){const{activatedRoute:n}=i,s=gv([n.queryParams,n.params,n.data]).pipe(Jn(([l,d,p],f)=>(p={...l,...d,...p},0===f?Dt(p):Promise.resolve(p)))).subscribe(l=>{if(!i.isActivated||!i.activatedComponentRef||i.activatedRoute!==n||null===n.component)return void this.unsubscribeFromRouteData(i);const d=wA(n.component);if(d)for(const{templateName:p}of d.inputs)i.activatedComponentRef.setInput(p,l[p]);else this.unsubscribeFromRouteData(i)});this.outletDataSubscriptions.set(i,s)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function zA(r,a,i){if(i&&r.shouldReuseRoute(a.value,i.value.snapshot)){const n=i.value;n._futureSnapshot=a.value;const s=function wge(r,a,i){return a.children.map(n=>{for(const s of i.children)if(r.shouldReuseRoute(n.value,s.value.snapshot))return zA(r,n,s);return zA(r,n)})}(r,a,i);return new Mp(n,s)}{if(r.shouldAttach(a.value)){const l=r.retrieve(a.value);if(null!==l){const d=l.route;return d.value._futureSnapshot=a.value,d.children=a.children.map(p=>zA(r,p)),d}}const n=function xge(r){return new _c(new Pn(r.url),new Pn(r.params),new Pn(r.queryParams),new Pn(r.fragment),new Pn(r.data),r.outlet,r.component,r)}(a.value),s=a.children.map(l=>zA(r,l));return new Mp(n,s)}}const _H="ngNavigationCancelingError";function TY(r,a){const{redirectTo:i,navigationBehaviorOptions:n}=_v(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,s=EY(!1,0,a);return s.url=i,s.navigationBehaviorOptions=n,s}function EY(r,a,i){const n=new Error("NavigationCancelingError: "+(r||""));return n[_H]=!0,n.cancellationCode=a,i&&(n.url=i),n}function MY(r){return r&&r[_H]}let RY=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["ng-component"]],standalone:!0,features:[Ue],decls:1,vars:0,template:function(n,s){1&n&&Q(0,"router-outlet")},dependencies:[RC],encapsulation:2})}return r})();function vH(r){const a=r.children&&r.children.map(vH),i=a?{...r,children:a}:{...r};return!i.component&&!i.loadComponent&&(a||i.loadChildren)&&i.outlet&&i.outlet!==Oi&&(i.component=RY),i}function Xd(r){return r.outlet||Oi}function HA(r){if(!r)return null;if(r.routeConfig?._injector)return r.routeConfig._injector;for(let a=r.parent;a;a=a.parent){const i=a.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}class Mge{constructor(a,i,n,s,l){this.routeReuseStrategy=a,this.futureState=i,this.currState=n,this.forwardEvent=s,this.inputBindingEnabled=l}activate(a){const i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,a),mH(this.futureState.root),this.activateChildRoutes(i,n,a)}deactivateChildRoutes(a,i,n){const s=MC(i);a.children.forEach(l=>{const d=l.value.outlet;this.deactivateRoutes(l,s[d],n),delete s[d]}),Object.values(s).forEach(l=>{this.deactivateRouteAndItsChildren(l,n)})}deactivateRoutes(a,i,n){const s=a.value,l=i?i.value:null;if(s===l)if(s.component){const d=n.getContext(s.outlet);d&&this.deactivateChildRoutes(a,i,d.children)}else this.deactivateChildRoutes(a,i,n);else l&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(a,i){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,i):this.deactivateRouteAndOutlet(a,i)}detachAndStoreRouteSubtree(a,i){const n=i.getContext(a.value.outlet),s=n&&a.value.component?n.children:i,l=MC(a);for(const d of Object.keys(l))this.deactivateRouteAndItsChildren(l[d],s);if(n&&n.outlet){const d=n.outlet.detach(),p=n.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:d,route:a,contexts:p})}}deactivateRouteAndOutlet(a,i){const n=i.getContext(a.value.outlet),s=n&&a.value.component?n.children:i,l=MC(a);for(const d of Object.keys(l))this.deactivateRouteAndItsChildren(l[d],s);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(a,i,n){const s=MC(i);a.children.forEach(l=>{this.activateRoutes(l,s[l.value.outlet],n),this.forwardEvent(new fge(l.value.snapshot))}),a.children.length&&this.forwardEvent(new gge(a.value.snapshot))}activateRoutes(a,i,n){const s=a.value,l=i?i.value:null;if(mH(s),s===l)if(s.component){const d=n.getOrCreateContext(s.outlet);this.activateChildRoutes(a,i,d.children)}else this.activateChildRoutes(a,i,n);else if(s.component){const d=n.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const p=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),d.children.onOutletReAttached(p.contexts),d.attachRef=p.componentRef,d.route=p.route.value,d.outlet&&d.outlet.attach(p.componentRef,p.route.value),mH(p.route.value),this.activateChildRoutes(a,null,d.children)}else{const p=HA(s.snapshot);d.attachRef=null,d.route=s,d.injector=p,d.outlet&&d.outlet.activateWith(s,d.injector),this.activateChildRoutes(a,null,d.children)}}else this.activateChildRoutes(a,null,n)}}class PY{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class XO{constructor(a,i){this.component=a,this.route=i}}function Rge(r,a,i){const n=r._root;return GA(n,a?a._root:null,i,[n.value])}function PC(r,a){const i=Symbol(),n=a.get(r,i);return n===i?"function"!=typeof r||function oL(r){return null!==bg(r)}(r)?a.get(r):r:n}function GA(r,a,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const l=MC(a);return r.children.forEach(d=>{(function Oge(r,a,i,n,s={canDeactivateChecks:[],canActivateChecks:[]}){const l=r.value,d=a?a.value:null,p=i?i.getContext(r.value.outlet):null;if(d&&l.routeConfig===d.routeConfig){const f=function Fge(r,a,i){if("function"==typeof i)return i(r,a);switch(i){case"pathParamsChange":return!fv(r.url,a.url);case"pathParamsOrQueryParamsChange":return!fv(r.url,a.url)||!$u(r.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fH(r,a)||!$u(r.queryParams,a.queryParams);default:return!fH(r,a)}}(d,l,l.routeConfig.runGuardsAndResolvers);f?s.canActivateChecks.push(new PY(n)):(l.data=d.data,l._resolvedData=d._resolvedData),GA(r,a,l.component?p?p.children:null:i,n,s),f&&p&&p.outlet&&p.outlet.isActivated&&s.canDeactivateChecks.push(new XO(p.outlet.component,d))}else d&&jA(a,p,s),s.canActivateChecks.push(new PY(n)),GA(r,null,l.component?p?p.children:null:i,n,s)})(d,l[d.value.outlet],i,n.concat([d.value]),s),delete l[d.value.outlet]}),Object.entries(l).forEach(([d,p])=>jA(p,i.getContext(d),s)),s}function jA(r,a,i){const n=MC(r),s=r.value;Object.entries(n).forEach(([l,d])=>{jA(d,s.component?a?a.children.getContext(l):null:a,i)}),i.canDeactivateChecks.push(new XO(s.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,s))}function $A(r){return"function"==typeof r}function OY(r){return r instanceof VO||"EmptyError"===r?.name}const ZO=Symbol("INITIAL_VALUE");function OC(){return Jn(r=>gv(r.map(a=>a.pipe(An(1),go(ZO)))).pipe(Rt(a=>{for(const i of a)if(!0!==i){if(i===ZO)return ZO;if(!1===i||i instanceof TC)return i}return!0}),xi(a=>a!==ZO),An(1)))}function FY(r){return Qa(Or(a=>{if(_v(a))throw TY(0,a)}),Rt(a=>!0===a))}class JO{constructor(a){this.segmentGroup=a||null}}class NY{constructor(a){this.urlTree=a}}function FC(r){return DC(new JO(r))}function LY(r){return DC(new NY(r))}class tme{constructor(a,i){this.urlSerializer=a,this.urlTree=i}noMatchError(a){return new Be(4002,!1)}lineralizeSegments(a,i){let n=[],s=i.root;for(;;){if(n=n.concat(s.segments),0===s.numberOfChildren)return Dt(n);if(s.numberOfChildren>1||!s.children[Oi])return DC(new Be(4e3,!1));s=s.children[Oi]}}applyRedirectCommands(a,i,n){return this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),a,n)}applyRedirectCreateUrlTree(a,i,n,s){const l=this.createSegmentGroup(a,i.root,n,s);return new TC(l,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(a,i){const n={};return Object.entries(a).forEach(([s,l])=>{if("string"==typeof l&&l.startsWith(":")){const p=l.substring(1);n[s]=i[p]}else n[s]=l}),n}createSegmentGroup(a,i,n,s){const l=this.createSegments(a,i.segments,n,s);let d={};return Object.entries(i.children).forEach(([p,f])=>{d[p]=this.createSegmentGroup(a,f,n,s)}),new mo(l,d)}createSegments(a,i,n,s){return i.map(l=>l.path.startsWith(":")?this.findPosParam(a,l,s):this.findOrReturn(l,n))}findPosParam(a,i,n){const s=n[i.path.substring(1)];if(!s)throw new Be(4001,!1);return s}findOrReturn(a,i){let n=0;for(const s of i){if(s.path===a.path)return i.splice(n),s;n++}return a}}const bH={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ime(r,a,i,n,s){const l=yH(r,a,i);return l.matched?(n=function Dge(r,a){return r.providers&&!r._injector&&(r._injector=KD(r.providers,a,`Route: ${r.path}`)),r._injector??a}(a,n),function Zge(r,a,i,n){const s=a.canMatch;return s&&0!==s.length?Dt(s.map(d=>{const p=PC(d,r);return km(function Hge(r){return r&&$A(r.canMatch)}(p)?p.canMatch(a,i):r.runInContext(()=>p(a,i)))})).pipe(OC(),FY()):Dt(!0)}(n,a,i).pipe(Rt(d=>!0===d?l:{...bH}))):Dt(l)}function yH(r,a,i){if(""===a.path)return"full"===a.pathMatch&&(r.hasChildren()||i.length>0)?{...bH}:{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};const s=(a.matcher||Ope)(i,r,a);if(!s)return{...bH};const l={};Object.entries(s.posParams??{}).forEach(([p,f])=>{l[p]=f.path});const d=s.consumed.length>0?{...l,...s.consumed[s.consumed.length-1].parameters}:l;return{matched:!0,consumedSegments:s.consumed,remainingSegments:i.slice(s.consumed.length),parameters:d,positionalParamSegments:s.posParams??{}}}function BY(r,a,i,n){return i.length>0&&function rme(r,a,i){return i.some(n=>e3(r,a,n)&&Xd(n)!==Oi)}(r,i,n)?{segmentGroup:new mo(a,ome(n,new mo(i,r.children))),slicedSegments:[]}:0===i.length&&function sme(r,a,i){return i.some(n=>e3(r,a,n))}(r,i,n)?{segmentGroup:new mo(r.segments,nme(r,0,i,n,r.children)),slicedSegments:i}:{segmentGroup:new mo(r.segments,r.children),slicedSegments:i}}function nme(r,a,i,n,s){const l={};for(const d of n)if(e3(r,i,d)&&!s[Xd(d)]){const p=new mo([],{});l[Xd(d)]=p}return{...s,...l}}function ome(r,a){const i={};i[Oi]=a;for(const n of r)if(""===n.path&&Xd(n)!==Oi){const s=new mo([],{});i[Xd(n)]=s}return i}function e3(r,a,i){return(!(r.hasChildren()||a.length>0)||"full"!==i.pathMatch)&&""===i.path}class dme{constructor(a,i,n,s,l,d,p){this.injector=a,this.configLoader=i,this.rootComponentType=n,this.config=s,this.urlTree=l,this.paramsInheritanceStrategy=d,this.urlSerializer=p,this.allowRedirects=!0,this.applyRedirects=new tme(this.urlSerializer,this.urlTree)}noMatchError(a){return new Be(4002,!1)}recognize(){const a=BY(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,a,Oi).pipe(xm(i=>{if(i instanceof NY)return this.allowRedirects=!1,this.urlTree=i.urlTree,this.match(i.urlTree);throw i instanceof JO?this.noMatchError(i):i}),Rt(i=>{const n=new YO([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Oi,this.rootComponentType,null,{}),s=new Mp(n,i),l=new AY("",s),d=function ege(r,a,i=null,n=null){return gY(pY(r),a,i,n)}(n,[],this.urlTree.queryParams,this.urlTree.fragment);return d.queryParams=this.urlTree.queryParams,l.url=this.urlSerializer.serialize(d),this.inheritParamsAndData(l._root),{state:l,tree:d}}))}match(a){return this.processSegmentGroup(this.injector,this.config,a.root,Oi).pipe(xm(n=>{throw n instanceof JO?this.noMatchError(n):n}))}inheritParamsAndData(a){const i=a.value,n=DY(i,this.paramsInheritanceStrategy);i.params=Object.freeze(n.params),i.data=Object.freeze(n.data),a.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(a,i,n,s){return 0===n.segments.length&&n.hasChildren()?this.processChildren(a,i,n):this.processSegment(a,i,n,n.segments,s,!0)}processChildren(a,i,n){const s=[];for(const l of Object.keys(n.children))"primary"===l?s.unshift(l):s.push(l);return wn(s).pipe(AC(l=>{const d=n.children[l],p=function Tge(r,a){const i=r.filter(n=>Xd(n)===a);return i.push(...r.filter(n=>Xd(n)!==a)),i}(i,l);return this.processSegmentGroup(a,p,d,l)}),function Mpe(r,a){return Cn(function Epe(r,a,i,n,s){return(l,d)=>{let p=i,f=a,v=0;l.subscribe(qt(d,D=>{const E=v++;f=p?r(f,D,E):(p=!0,D),n&&d.next(f)},s&&(()=>{p&&d.next(f),d.complete()})))}}(r,a,arguments.length>=2,!0))}((l,d)=>(l.push(...d),l)),zO(null),function Rpe(r,a){const i=arguments.length>=2;return n=>n.pipe(r?xi((s,l)=>r(s,l,n)):Do,oH(1),i?zO(a):JK(()=>new VO))}(),vo(l=>{if(null===l)return FC(n);const d=VY(l);return function ume(r){r.sort((a,i)=>a.value.outlet===Oi?-1:i.value.outlet===Oi?1:a.value.outlet.localeCompare(i.value.outlet))}(d),Dt(d)}))}processSegment(a,i,n,s,l,d){return wn(i).pipe(AC(p=>this.processSegmentAgainstRoute(p._injector??a,i,p,n,s,l,d).pipe(xm(f=>{if(f instanceof JO)return Dt(null);throw f}))),mi(p=>!!p),xm(p=>{if(OY(p))return function lme(r,a,i){return 0===a.length&&!r.children[i]}(n,s,l)?Dt([]):FC(n);throw p}))}processSegmentAgainstRoute(a,i,n,s,l,d,p){return function ame(r,a,i,n){return!!(Xd(r)===n||n!==Oi&&e3(a,i,r))&&("**"===r.path||yH(a,r,i).matched)}(n,s,l,d)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(a,s,n,l,d,p):p&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(a,s,i,n,l,d):FC(s):FC(s)}expandSegmentAgainstRouteUsingRedirect(a,i,n,s,l,d){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(a,n,s,d):this.expandRegularSegmentAgainstRouteUsingRedirect(a,i,n,s,l,d)}expandWildCardWithParamsAgainstRouteUsingRedirect(a,i,n,s){const l=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?LY(l):this.applyRedirects.lineralizeSegments(n,l).pipe(vo(d=>{const p=new mo(d,{});return this.processSegment(a,i,p,d,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(a,i,n,s,l,d){const{matched:p,consumedSegments:f,remainingSegments:v,positionalParamSegments:D}=yH(i,s,l);if(!p)return FC(i);const E=this.applyRedirects.applyRedirectCommands(f,s.redirectTo,D);return s.redirectTo.startsWith("/")?LY(E):this.applyRedirects.lineralizeSegments(s,E).pipe(vo(F=>this.processSegment(a,n,i,F.concat(v),d,!1)))}matchSegmentAgainstRoute(a,i,n,s,l,d){let p;if("**"===n.path){const f=s.length>0?iY(s).parameters:{};p=Dt({snapshot:new YO(s,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zY(n),Xd(n),n.component??n._loadedComponent??null,n,HY(n)),consumedSegments:[],remainingSegments:[]}),i.children={}}else p=ime(i,n,s,a).pipe(Rt(({matched:f,consumedSegments:v,remainingSegments:D,parameters:E})=>f?{snapshot:new YO(v,E,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,zY(n),Xd(n),n.component??n._loadedComponent??null,n,HY(n)),consumedSegments:v,remainingSegments:D}:null));return p.pipe(Jn(f=>null===f?FC(i):this.getChildConfig(a=n._injector??a,n,s).pipe(Jn(({routes:v})=>{const D=n._loadedInjector??a,{snapshot:E,consumedSegments:F,remainingSegments:L}=f,{segmentGroup:$,slicedSegments:q}=BY(i,F,L,v);if(0===q.length&&$.hasChildren())return this.processChildren(D,v,$).pipe(Rt(se=>null===se?null:[new Mp(E,se)]));if(0===v.length&&0===q.length)return Dt([new Mp(E,[])]);const Z=Xd(n)===l;return this.processSegment(D,v,$,q,Z?Oi:l,!0).pipe(Rt(se=>[new Mp(E,se)]))}))))}getChildConfig(a,i,n){return i.children?Dt({routes:i.children,injector:a}):i.loadChildren?void 0!==i._loadedRoutes?Dt({routes:i._loadedRoutes,injector:i._loadedInjector}):function Xge(r,a,i,n){const s=a.canLoad;return void 0===s||0===s.length?Dt(!0):Dt(s.map(d=>{const p=PC(d,r);return km(function Lge(r){return r&&$A(r.canLoad)}(p)?p.canLoad(a,i):r.runInContext(()=>p(a,i)))})).pipe(OC(),FY())}(a,i,n).pipe(vo(s=>s?this.configLoader.loadChildren(a,i).pipe(Or(l=>{i._loadedRoutes=l.routes,i._loadedInjector=l.injector})):function eme(r){return DC(EY(!1,3))}())):Dt({routes:[],injector:a})}}function hme(r){const a=r.value.routeConfig;return a&&""===a.path}function VY(r){const a=[],i=new Set;for(const n of r){if(!hme(n)){a.push(n);continue}const s=a.find(l=>n.value.routeConfig===l.value.routeConfig);void 0!==s?(s.children.push(...n.children),i.add(s)):a.push(n)}for(const n of i){const s=VY(n.children);a.push(new Mp(n.value,s))}return a.filter(n=>!i.has(n))}function zY(r){return r.data||{}}function HY(r){return r.resolve||{}}function GY(r){return"string"==typeof r.title||null===r.title}function CH(r){return Jn(a=>{const i=r(a);return i?wn(i).pipe(Rt(()=>a)):Dt(a)})}const NC=new $e("ROUTES");let wH=(()=>{class r{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=st(fA)}loadComponent(i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return Dt(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);const n=km(i.loadComponent()).pipe(Rt(jY),Or(l=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=l}),IC(()=>{this.componentLoaders.delete(i)})),s=new nH(n,()=>new Ge).pipe(iH());return this.componentLoaders.set(i,s),s}loadChildren(i,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Dt({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);const l=function bme(r,a,i,n){return km(r.loadChildren()).pipe(Rt(jY),vo(s=>s instanceof WD||Array.isArray(s)?Dt(s):wn(a.compileModuleAsync(s))),Rt(s=>{n&&n(r);let l,d,p=!1;return Array.isArray(s)?(d=s,!0):(l=s.create(i).injector,d=l.get(NC,[],{optional:!0,self:!0}).flat()),{routes:d.map(vH),injector:l}}))}(n,this.compiler,i,this.onLoadEndListener).pipe(IC(()=>{this.childrenLoaders.delete(n)})),d=new nH(l,()=>new Ge).pipe(iH());return this.childrenLoaders.set(n,d),d}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function jY(r){return function yme(r){return r&&"object"==typeof r&&"default"in r}(r)?r.default:r}let t3=(()=>{class r{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ge,this.transitionAbortSubject=new Ge,this.configLoader=st(wH),this.environmentInjector=st(_r),this.urlSerializer=st(PA),this.rootContexts=st(VA),this.inputBindingEnabled=null!==st(QO,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Dt(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=s=>this.events.next(new hge(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new uge(s))}complete(){this.transitions?.complete()}handleNavigationRequest(i){const n=++this.navigationId;this.transitions?.next({...this.transitions.value,...i,id:n})}setupNavigations(i,n,s){return this.transitions=new Pn({id:0,currentUrlTree:n,currentRawUrl:n,currentBrowserUrl:n,extractedUrl:i.urlHandlingStrategy.extract(n),urlAfterRedirects:i.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:LA,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xi(l=>0!==l.id),Rt(l=>({...l,extractedUrl:i.urlHandlingStrategy.extract(l.rawUrl)})),Jn(l=>{this.currentTransition=l;let d=!1,p=!1;return Dt(l).pipe(Or(f=>{this.currentNavigation={id:f.id,initialUrl:f.rawUrl,extractedUrl:f.extractedUrl,trigger:f.source,extras:f.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Jn(f=>{const v=f.currentBrowserUrl.toString(),D=!i.navigated||f.extractedUrl.toString()!==v||v!==f.currentUrlTree.toString();if(!D&&"reload"!==(f.extras.onSameUrlNavigation??i.onSameUrlNavigation)){const F="";return this.events.next(new EC(f.id,this.urlSerializer.serialize(f.rawUrl),F,0)),f.resolve(null),Jr}if(i.urlHandlingStrategy.shouldProcessUrl(f.rawUrl))return Dt(f).pipe(Jn(F=>{const L=this.transitions?.getValue();return this.events.next(new qO(F.id,this.urlSerializer.serialize(F.extractedUrl),F.source,F.restoredState)),L!==this.transitions?.getValue()?Jr:Promise.resolve(F)}),function pme(r,a,i,n,s,l){return vo(d=>function cme(r,a,i,n,s,l,d="emptyOnly"){return new dme(r,a,i,n,s,d,l).recognize()}(r,a,i,n,d.extractedUrl,s,l).pipe(Rt(({state:p,tree:f})=>({...d,targetSnapshot:p,urlAfterRedirects:f}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,i.config,this.urlSerializer,i.paramsInheritanceStrategy),Or(F=>{l.targetSnapshot=F.targetSnapshot,l.urlAfterRedirects=F.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:F.urlAfterRedirects};const L=new yY(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot);this.events.next(L)}));if(D&&i.urlHandlingStrategy.shouldProcessUrl(f.currentRawUrl)){const{id:F,extractedUrl:L,source:$,restoredState:q,extras:Z}=f,se=new qO(F,this.urlSerializer.serialize(L),$,q);this.events.next(se);const ue=kY(0,this.rootComponentType).snapshot;return this.currentTransition=l={...f,targetSnapshot:ue,urlAfterRedirects:L,extras:{...Z,skipLocationChange:!1,replaceUrl:!1}},Dt(l)}{const F="";return this.events.next(new EC(f.id,this.urlSerializer.serialize(f.extractedUrl),F,1)),f.resolve(null),Jr}}),Or(f=>{const v=new age(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(v)}),Rt(f=>(this.currentTransition=l={...f,guards:Rge(f.targetSnapshot,f.currentSnapshot,this.rootContexts)},l)),function jge(r,a){return vo(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:l,canDeactivateChecks:d}}=i;return 0===d.length&&0===l.length?Dt({...i,guardsResult:!0}):function $ge(r,a,i,n){return wn(r).pipe(vo(s=>function Qge(r,a,i,n,s){const l=a&&a.routeConfig?a.routeConfig.canDeactivate:null;return l&&0!==l.length?Dt(l.map(p=>{const f=HA(a)??s,v=PC(p,f);return km(function zge(r){return r&&$A(r.canDeactivate)}(v)?v.canDeactivate(r,a,i,n):f.runInContext(()=>v(r,a,i,n))).pipe(mi())})).pipe(OC()):Dt(!0)}(s.component,s.route,i,a,n)),mi(s=>!0!==s,!0))}(d,n,s,r).pipe(vo(p=>p&&function Nge(r){return"boolean"==typeof r}(p)?function Uge(r,a,i,n){return wn(a).pipe(AC(s=>EA(function qge(r,a){return null!==r&&a&&a(new pge(r)),Dt(!0)}(s.route.parent,n),function Wge(r,a){return null!==r&&a&&a(new mge(r)),Dt(!0)}(s.route,n),function Yge(r,a,i){const n=a[a.length-1],l=a.slice(0,a.length-1).reverse().map(d=>function Pge(r){const a=r.routeConfig?r.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:r,guards:a}:null}(d)).filter(d=>null!==d).map(d=>mv(()=>Dt(d.guards.map(f=>{const v=HA(d.node)??i,D=PC(f,v);return km(function Vge(r){return r&&$A(r.canActivateChild)}(D)?D.canActivateChild(n,r):v.runInContext(()=>D(n,r))).pipe(mi())})).pipe(OC())));return Dt(l).pipe(OC())}(r,s.path,i),function Kge(r,a,i){const n=a.routeConfig?a.routeConfig.canActivate:null;if(!n||0===n.length)return Dt(!0);const s=n.map(l=>mv(()=>{const d=HA(a)??i,p=PC(l,d);return km(function Bge(r){return r&&$A(r.canActivate)}(p)?p.canActivate(a,r):d.runInContext(()=>p(a,r))).pipe(mi())}));return Dt(s).pipe(OC())}(r,s.route,i))),mi(s=>!0!==s,!0))}(n,l,r,a):Dt(p)),Rt(p=>({...i,guardsResult:p})))})}(this.environmentInjector,f=>this.events.next(f)),Or(f=>{if(l.guardsResult=f.guardsResult,_v(f.guardsResult))throw TY(0,f.guardsResult);const v=new lge(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot,!!f.guardsResult);this.events.next(v)}),xi(f=>!!f.guardsResult||(this.cancelNavigationTransition(f,"",3),!1)),CH(f=>{if(f.guards.canActivateChecks.length)return Dt(f).pipe(Or(v=>{const D=new cge(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(D)}),Jn(v=>{let D=!1;return Dt(v).pipe(function gme(r,a){return vo(i=>{const{targetSnapshot:n,guards:{canActivateChecks:s}}=i;if(!s.length)return Dt(i);let l=0;return wn(s).pipe(AC(d=>function mme(r,a,i,n){const s=r.routeConfig,l=r._resolve;return void 0!==s?.title&&!GY(s)&&(l[MA]=s.title),function fme(r,a,i,n){const s=function _me(r){return[...Object.keys(r),...Object.getOwnPropertySymbols(r)]}(r);if(0===s.length)return Dt({});const l={};return wn(s).pipe(vo(d=>function vme(r,a,i,n){const s=HA(a)??n,l=PC(r,s);return km(l.resolve?l.resolve(a,i):s.runInContext(()=>l(a,i)))}(r[d],a,i,n).pipe(mi(),Or(p=>{l[d]=p}))),oH(1),eY(l),xm(d=>OY(d)?Jr:DC(d)))}(l,r,a,n).pipe(Rt(d=>(r._resolvedData=d,r.data=DY(r,i).resolve,s&&GY(s)&&(r.data[MA]=s.title),null)))}(d.route,n,r,a)),Or(()=>l++),oH(1),vo(d=>l===s.length?Dt(i):Jr))})}(i.paramsInheritanceStrategy,this.environmentInjector),Or({next:()=>D=!0,complete:()=>{D||this.cancelNavigationTransition(v,"",2)}}))}),Or(v=>{const D=new dge(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(D)}))}),CH(f=>{const v=D=>{const E=[];D.routeConfig?.loadComponent&&!D.routeConfig._loadedComponent&&E.push(this.configLoader.loadComponent(D.routeConfig).pipe(Or(F=>{D.component=F}),Rt(()=>{})));for(const F of D.children)E.push(...v(F));return E};return gv(v(f.targetSnapshot.root)).pipe(zO(),An(1))}),CH(()=>this.afterPreactivation()),Rt(f=>{const v=function Cge(r,a,i){const n=zA(r,a._root,i?i._root:void 0);return new xY(n,a)}(i.routeReuseStrategy,f.targetSnapshot,f.currentRouterState);return this.currentTransition=l={...f,targetRouterState:v},l}),Or(()=>{this.events.next(new dH)}),((r,a,i,n)=>Rt(s=>(new Mge(a,s.targetRouterState,s.currentRouterState,i,n).activate(r),s)))(this.rootContexts,i.routeReuseStrategy,f=>this.events.next(f),this.inputBindingEnabled),An(1),Or({next:f=>{d=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Dm(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects))),i.titleStrategy?.updateTitle(f.targetRouterState.snapshot),f.resolve(!0)},complete:()=>{d=!0}}),xe(this.transitionAbortSubject.pipe(Or(f=>{throw f}))),IC(()=>{d||p||this.cancelNavigationTransition(l,"",1),this.currentNavigation?.id===l.id&&(this.currentNavigation=null)}),xm(f=>{if(p=!0,MY(f))this.events.next(new BA(l.id,this.urlSerializer.serialize(l.extractedUrl),f.message,f.cancellationCode)),function kge(r){return MY(r)&&_v(r.url)}(f)?this.events.next(new uH(f.url)):l.resolve(!1);else{this.events.next(new KO(l.id,this.urlSerializer.serialize(l.extractedUrl),f,l.targetSnapshot??void 0));try{l.resolve(i.errorHandler(f))}catch(v){l.reject(v)}}return Jr}))}))}cancelNavigationTransition(i,n,s){const l=new BA(i.id,this.urlSerializer.serialize(i.extractedUrl),n,s);this.events.next(l),i.resolve(!1)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function $Y(r){return r!==LA}let UY=(()=>{class r{buildTitle(i){let n,s=i.root;for(;void 0!==s;)n=this.getResolvedTitleForRoute(s)??n,s=s.children.find(l=>l.outlet===Oi);return n}getResolvedTitleForRoute(i){return i.data[MA]}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(Cme)},providedIn:"root"})}return r})(),Cme=(()=>{class r extends UY{constructor(i){super(),this.title=i}updateTitle(i){const n=this.buildTitle(i);void 0!==n&&this.title.setTitle(n)}static#e=this.\u0275fac=function(n){return new(n||r)(De(jK))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),wme=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(kme)},providedIn:"root"})}return r})();class xme{shouldDetach(a){return!1}store(a,i){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,i){return a.routeConfig===i.routeConfig}}let kme=(()=>{class r extends xme{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const n3=new $e("",{providedIn:"root",factory:()=>({})});let Dme=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:function(){return st(Ame)},providedIn:"root"})}return r})(),Ame=(()=>{class r{shouldProcessUrl(i){return!0}extract(i){return i}merge(i,n){return i}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var UA=function(r){return r[r.COMPLETE=0]="COMPLETE",r[r.FAILED=1]="FAILED",r[r.REDIRECTING=2]="REDIRECTING",r}(UA||{});function WY(r,a){r.events.pipe(xi(i=>i instanceof Dm||i instanceof BA||i instanceof KO||i instanceof EC),Rt(i=>i instanceof Dm||i instanceof EC?UA.COMPLETE:i instanceof BA&&(0===i.code||1===i.code)?UA.REDIRECTING:UA.FAILED),xi(i=>i!==UA.REDIRECTING),An(1)).subscribe(()=>{a()})}function Ime(r){throw r}function Sme(r,a,i){return a.parse("/")}const Tme={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Eme={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let di=(()=>{class r{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=st(dC),this.isNgZoneEnabled=!1,this._events=new Ge,this.options=st(n3,{optional:!0})||{},this.pendingTasks=st(uC),this.errorHandler=this.options.errorHandler||Ime,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Sme,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=st(Dme),this.routeReuseStrategy=st(wme),this.titleStrategy=st(UY),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=st(NC,{optional:!0})?.flat()??[],this.navigationTransitions=st(t3),this.urlSerializer=st(PA),this.location=st(Gu),this.componentInputBindingEnabled=!!st(QO,{optional:!0}),this.eventsSubscription=new Ce,this.isNgZoneEnabled=st(et)instanceof et&&et.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new TC,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=kY(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(i=>{this.lastSuccessfulId=i.id,this.currentPageId=this.browserPageId},i=>{this.console.warn(`Unhandled Navigation Error: ${i}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const i=this.navigationTransitions.events.subscribe(n=>{try{const{currentTransition:s}=this.navigationTransitions;if(null===s)return void(qY(n)&&this._events.next(n));if(n instanceof qO)$Y(s.source)&&(this.browserUrlTree=s.extractedUrl);else if(n instanceof EC)this.rawUrlTree=s.rawUrl;else if(n instanceof yY){if("eager"===this.urlUpdateStrategy){if(!s.extras.skipLocationChange){const l=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl);this.setBrowserUrl(l,s)}this.browserUrlTree=s.urlAfterRedirects}}else if(n instanceof dH)this.currentUrlTree=s.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&(s.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,s),this.browserUrlTree=s.urlAfterRedirects);else if(n instanceof BA)0!==n.code&&1!==n.code&&(this.navigated=!0),(3===n.code||2===n.code)&&this.restoreHistory(s);else if(n instanceof uH){const l=this.urlHandlingStrategy.merge(n.url,s.currentRawUrl),d={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||$Y(s.source)};this.scheduleNavigation(l,LA,null,d,{resolve:s.resolve,reject:s.reject,promise:s.promise})}n instanceof KO&&this.restoreHistory(s,!0),n instanceof Dm&&(this.navigated=!0),qY(n)&&this._events.next(n)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const i=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),LA,i)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(i=>{const n="popstate"===i.type?"popstate":"hashchange";"popstate"===n&&setTimeout(()=>{this.navigateToSyncWithBrowser(i.url,n,i.state)},0)}))}navigateToSyncWithBrowser(i,n,s){const l={replaceUrl:!0},d=s?.navigationId?s:null;if(s){const f={...s};delete f.navigationId,delete f.\u0275routerPageId,0!==Object.keys(f).length&&(l.state=f)}const p=this.parseUrl(i);this.scheduleNavigation(p,n,d,l)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(vH),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(i,n={}){const{relativeTo:s,queryParams:l,fragment:d,queryParamsHandling:p,preserveFragment:f}=n,v=f?this.currentUrlTree.fragment:d;let E,D=null;switch(p){case"merge":D={...this.currentUrlTree.queryParams,...l};break;case"preserve":D=this.currentUrlTree.queryParams;break;default:D=l||null}null!==D&&(D=this.removeEmptyProps(D));try{E=pY(s?s.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof i[0]||!i[0].startsWith("/"))&&(i=[]),E=this.currentUrlTree.root}return gY(E,i,D,v??null)}navigateByUrl(i,n={skipLocationChange:!1}){const s=_v(i)?i:this.parseUrl(i),l=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(l,LA,null,n)}navigate(i,n={skipLocationChange:!1}){return function Mme(r){for(let a=0;a{const l=i[s];return null!=l&&(n[s]=l),n},{})}scheduleNavigation(i,n,s,l,d){if(this.disposed)return Promise.resolve(!1);let p,f,v;d?(p=d.resolve,f=d.reject,v=d.promise):v=new Promise((E,F)=>{p=E,f=F});const D=this.pendingTasks.add();return WY(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(D))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:i,extras:l,resolve:p,reject:f,promise:v,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),v.catch(E=>Promise.reject(E))}setBrowserUrl(i,n){const s=this.urlSerializer.serialize(i);if(this.location.isCurrentPathEqualTo(s)||n.extras.replaceUrl){const d={...n.extras.state,...this.generateNgRouterState(n.id,this.browserPageId)};this.location.replaceState(s,"",d)}else{const l={...n.extras.state,...this.generateNgRouterState(n.id,this.browserPageId+1)};this.location.go(s,"",l)}}restoreHistory(i,n=!1){if("computed"===this.canceledNavigationResolution){const l=this.currentPageId-this.browserPageId;0!==l?this.location.historyGo(l):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===l&&(this.resetState(i),this.browserUrlTree=i.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(n&&this.resetState(i),this.resetUrlToCurrentUrlTree())}resetState(i){this.routerState=i.currentRouterState,this.currentUrlTree=i.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(i,n){return"computed"===this.canceledNavigationResolution?{navigationId:i,\u0275routerPageId:n}:{navigationId:i}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function qY(r){return!(r instanceof dH||r instanceof uH)}let js=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.route=n,this.tabIndexAttribute=s,this.renderer=l,this.el=d,this.locationStrategy=p,this.href=null,this.commands=null,this.onChanges=new Ge,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const f=d.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===f||"area"===f,this.isAnchorElement?this.subscription=i.events.subscribe(v=>{v instanceof Dm&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(i){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",i)}ngOnChanges(i){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(i){null!=i?(this.commands=Array.isArray(i)?i:[i],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(i,n,s,l,d){return!!(null===this.urlTree||this.isAnchorElement&&(0!==i||n||s||l||d||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const i=null===this.href?null:function p2(r,a,i){return function I_(r,a){return"src"===a&&("embed"===r||"frame"===r||"iframe"===r||"media"===r||"script"===r)||"href"===a&&("base"===r||"link"===r)?nl:oi}(a,i)(r)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(i,n){const s=this.renderer,l=this.el.nativeElement;null!==n?s.setAttribute(l,i,n):s.removeAttribute(l,i)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(_c),Ns("tabindex"),T(Ui),T(ke),T(uv))};static#t=this.\u0275dir=re({type:r,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,s){1&n&&B("click",function(d){return s.onClick(d.button,d.ctrlKey,d.shiftKey,d.altKey,d.metaKey)}),2&n&&ge("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",gC],skipLocationChange:["skipLocationChange","skipLocationChange",gC],replaceUrl:["replaceUrl","replaceUrl",gC],routerLink:"routerLink"},standalone:!0,features:[Uk,ci]})}return r})(),o3=(()=>{class r{get isActive(){return this._isActive}constructor(i,n,s,l,d){this.router=i,this.element=n,this.renderer=s,this.cdr=l,this.link=d,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new X,this.routerEventsSubscription=i.events.subscribe(p=>{p instanceof Dm&&this.update()})}ngAfterContentInit(){Dt(this.links.changes,Dt(null)).pipe(Ma()).subscribe(i=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const i=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=wn(i).pipe(Ma()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(i){const n=Array.isArray(i)?i:i.split(" ");this.classes=n.filter(s=>!!s)}ngOnChanges(i){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const i=this.hasActiveLinks();this._isActive!==i&&(this._isActive=i,this.cdr.markForCheck(),this.classes.forEach(n=>{i?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),i&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(i))})}isLinkActive(i){const n=function Rme(r){return!!r.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>!!s.urlTree&&i.isActive(s.urlTree,n)}hasActiveLinks(){const i=this.isLinkActive(this.router);return this.link&&i(this.link)||this.links.some(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(ke),T(Ui),T(rt),T(js,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","routerLinkActive",""]],contentQueries:function(n,s,l){if(1&n&&Fe(l,js,5),2&n){let d;G(d=j())&&(s.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[ci]})}return r})();class KY{}let Pme=(()=>{class r{constructor(i,n,s,l,d){this.router=i,this.injector=s,this.preloadingStrategy=l,this.loader=d}setUpPreloading(){this.subscription=this.router.events.pipe(xi(i=>i instanceof Dm),AC(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(i,n){const s=[];for(const l of n){l.providers&&!l._injector&&(l._injector=KD(l.providers,i,`Route: ${l.path}`));const d=l._injector??i,p=l._loadedInjector??d;(l.loadChildren&&!l._loadedRoutes&&void 0===l.canLoad||l.loadComponent&&!l._loadedComponent)&&s.push(this.preloadConfig(d,l)),(l.children||l._loadedRoutes)&&s.push(this.processRoutes(p,l.children??l._loadedRoutes))}return wn(s).pipe(Ma())}preloadConfig(i,n){return this.preloadingStrategy.preload(n,()=>{let s;s=n.loadChildren&&void 0===n.canLoad?this.loader.loadChildren(i,n):Dt(null);const l=s.pipe(vo(d=>null===d?Dt(void 0):(n._loadedRoutes=d.routes,n._loadedInjector=d.injector,this.processRoutes(d.injector??i,d.routes))));return n.loadComponent&&!n._loadedComponent?wn([l,this.loader.loadComponent(n)]).pipe(Ma()):l})}static#e=this.\u0275fac=function(n){return new(n||r)(De(di),De(fA),De(_r),De(KY),De(wH))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const xH=new $e("");let YY=(()=>{class r{constructor(i,n,s,l,d={}){this.urlSerializer=i,this.transitions=n,this.viewportScroller=s,this.zone=l,this.options=d,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},d.scrollPositionRestoration=d.scrollPositionRestoration||"disabled",d.anchorScrolling=d.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof qO?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=i.navigationTrigger,this.restoredId=i.restoredState?i.restoredState.navigationId:0):i instanceof Dm?(this.lastId=i.id,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.urlAfterRedirects).fragment)):i instanceof EC&&0===i.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof CY&&(i.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(i.position):i.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(i.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(i,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new CY(i,"popstate"===this.lastSource?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function Rp(r,a){return{\u0275kind:r,\u0275providers:a}}function XY(){const r=st(Jt);return a=>{const i=r.get(qd);if(a!==i.components[0])return;const n=r.get(di),s=r.get(ZY);1===r.get(kH)&&n.initialNavigation(),r.get(JY,null,$i.Optional)?.setUpPreloading(),r.get(xH,null,$i.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const ZY=new $e("",{factory:()=>new Ge}),kH=new $e("",{providedIn:"root",factory:()=>1}),JY=new $e("");function Lme(r){return Rp(0,[{provide:JY,useExisting:Pme},{provide:KY,useExisting:r}])}const eQ=new $e("ROUTER_FORROOT_GUARD"),Vme=[Gu,{provide:PA,useClass:rH},di,VA,{provide:_c,useFactory:function QY(r){return r.routerState.root},deps:[di]},wH,[]];function zme(){return new yA("Router",di)}let DH=(()=>{class r{constructor(i){}static forRoot(i,n){return{ngModule:r,providers:[Vme,[],{provide:NC,multi:!0,useValue:i},{provide:eQ,useFactory:$me,deps:[[di,new da,new Ml]]},{provide:n3,useValue:n||{}},n?.useHash?{provide:uv,useClass:hue}:{provide:uv,useClass:oK},{provide:xH,useFactory:()=>{const r=st(vhe),a=st(et),i=st(n3),n=st(t3),s=st(PA);return i.scrollOffset&&r.setOffset(i.scrollOffset),new YY(s,n,r,a,i)}},n?.preloadingStrategy?Lme(n.preloadingStrategy).\u0275providers:[],{provide:yA,multi:!0,useFactory:zme},n?.initialNavigation?Ume(n):[],n?.bindToComponentInputs?Rp(8,[SY,{provide:QO,useExisting:SY}]).\u0275providers:[],[{provide:tQ,useFactory:XY},{provide:Vl,multi:!0,useExisting:tQ}]]}}static forChild(i){return{ngModule:r,providers:[{provide:NC,multi:!0,useValue:i}]}}static#e=this.\u0275fac=function(n){return new(n||r)(De(eQ,8))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();function $me(r){return"guarded"}function Ume(r){return["disabled"===r.initialNavigation?Rp(3,[{provide:mA,multi:!0,useFactory:()=>{const a=st(di);return()=>{a.setUpLocationChangeListener()}}},{provide:kH,useValue:2}]).\u0275providers:[],"enabledBlocking"===r.initialNavigation?Rp(2,[{provide:kH,useValue:0},{provide:mA,multi:!0,deps:[Jt],useFactory:a=>{const i=a.get(due,Promise.resolve());return()=>i.then(()=>new Promise(n=>{const s=a.get(di),l=a.get(ZY);WY(s,()=>{n(!0)}),a.get(t3).afterPreactivation=()=>(n(!0),l.closed?Dt(void 0):l),s.initialNavigation()}))}}]).\u0275providers:[]]}const tQ=new $e("");Math.pow(10,8);function La(r,a){if(a.length1?"s":"")+" required, but only "+a.length+" present")}function Am(r){if(null===r||!0===r||!1===r)return NaN;var a=Number(r);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}function fi(r,a){var i;La(1,arguments);var n=Am(null!==(i=a?.additionalDigits)&&void 0!==i?i:2);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof r&&"[object String]"!==Object.prototype.toString.call(r))return new Date(NaN);var l,s=function tfe(r){var n,a={},i=r.split(r3.dateTimeDelimiter);if(i.length>2)return a;if(/:/.test(i[0])?n=i[0]:(a.date=i[0],n=i[1],r3.timeZoneDelimiter.test(a.date)&&(a.date=r.split(r3.timeZoneDelimiter)[0],n=r.substr(a.date.length,r.length))),n){var s=r3.timezone.exec(n);s?(a.time=n.replace(s[1],""),a.timezone=s[1]):a.time=n}return a}(r);if(s.date){var d=function ife(r,a){var i=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+a)+"})|(\\d{2}|[+-]\\d{"+(2+a)+"})$)"),n=r.match(i);if(!n)return{year:NaN,restDateString:""};var s=n[1]?parseInt(n[1]):null,l=n[2]?parseInt(n[2]):null;return{year:null===l?s:100*l,restDateString:r.slice((n[1]||n[2]).length)}}(s.date,n);l=function nfe(r,a){if(null===a)return new Date(NaN);var i=r.match(Zme);if(!i)return new Date(NaN);var n=!!i[4],s=WA(i[1]),l=WA(i[2])-1,d=WA(i[3]),p=WA(i[4]),f=WA(i[5])-1;if(n)return function dfe(r,a,i){return a>=1&&a<=53&&i>=0&&i<=6}(0,p,f)?function sfe(r,a,i){var n=new Date(0);n.setUTCFullYear(r,0,4);var l=7*(a-1)+i+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+l),n}(a,p,f):new Date(NaN);var v=new Date(0);return function lfe(r,a,i){return a>=0&&a<=11&&i>=1&&i<=(afe[a]||(rQ(r)?29:28))}(a,l,d)&&function cfe(r,a){return a>=1&&a<=(rQ(r)?366:365)}(a,s)?(v.setUTCFullYear(a,l,Math.max(s,d)),v):new Date(NaN)}(d.restDateString,d.year)}if(!l||isNaN(l.getTime()))return new Date(NaN);var v,p=l.getTime(),f=0;if(s.time&&(f=function ofe(r){var a=r.match(Jme);if(!a)return NaN;var i=AH(a[1]),n=AH(a[2]),s=AH(a[3]);return function ufe(r,a,i){return 24===r?0===a&&0===i:i>=0&&i<60&&a>=0&&a<60&&r>=0&&r<25}(i,n,s)?36e5*i+6e4*n+1e3*s:NaN}(s.time),isNaN(f)))return new Date(NaN);if(!s.timezone){var D=new Date(p+f),E=new Date(0);return E.setFullYear(D.getUTCFullYear(),D.getUTCMonth(),D.getUTCDate()),E.setHours(D.getUTCHours(),D.getUTCMinutes(),D.getUTCSeconds(),D.getUTCMilliseconds()),E}return v=function rfe(r){if("Z"===r)return 0;var a=r.match(efe);if(!a)return 0;var i="+"===a[1]?-1:1,n=parseInt(a[2]),s=a[3]&&parseInt(a[3])||0;return function hfe(r,a){return a>=0&&a<=59}(0,s)?i*(36e5*n+6e4*s):NaN}(s.timezone),isNaN(v)?new Date(NaN):new Date(p+f+v)}var r3={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Zme=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Jme=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,efe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function WA(r){return r?parseInt(r):1}function AH(r){return r&&parseFloat(r.replace(",","."))||0}var afe=[31,null,31,30,31,30,31,31,30,31,30,31];function rQ(r){return r%400==0||r%4==0&&r%100!=0}function s3(r){return(s3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(r)}function Wu(r){La(1,arguments);var a=Object.prototype.toString.call(r);return r instanceof Date||"object"===s3(r)&&"[object Date]"===a?new Date(r.getTime()):"number"==typeof r||"[object Number]"===a?new Date(r):(("string"==typeof r||"[object String]"===a)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function a3(r){La(1,arguments);var i=Wu(r),n=i.getUTCDay(),s=(n<1?7:0)+n-1;return i.setUTCDate(i.getUTCDate()-s),i.setUTCHours(0,0,0,0),i}function sQ(r){La(1,arguments);var a=Wu(r),i=a.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(i+1,0,4),n.setUTCHours(0,0,0,0);var s=a3(n),l=new Date(0);l.setUTCFullYear(i,0,4),l.setUTCHours(0,0,0,0);var d=a3(l);return a.getTime()>=s.getTime()?i+1:a.getTime()>=d.getTime()?i:i-1}var aQ={};function l3(){return aQ}function c3(r,a){var i,n,s,l,d,p,f,v;La(1,arguments);var D=l3(),E=Am(null!==(i=null!==(n=null!==(s=null!==(l=a?.weekStartsOn)&&void 0!==l?l:null==a||null===(d=a.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==s?s:D.weekStartsOn)&&void 0!==n?n:null===(f=D.locale)||void 0===f||null===(v=f.options)||void 0===v?void 0:v.weekStartsOn)&&void 0!==i?i:0);if(!(E>=0&&E<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var F=Wu(r),L=F.getUTCDay(),$=(L=1&&L<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var $=new Date(0);$.setUTCFullYear(E+1,0,L),$.setUTCHours(0,0,0,0);var q=c3($,a),Z=new Date(0);Z.setUTCFullYear(E,0,L),Z.setUTCHours(0,0,0,0);var se=c3(Z,a);return D.getTime()>=q.getTime()?E+1:D.getTime()>=se.getTime()?E:E-1}function fo(r,a){for(var i=r<0?"-":"",n=Math.abs(r).toString();n.length0?n:1-n;return fo("yy"===i?s%100:s,i.length)},Im_M=function(a,i){var n=a.getUTCMonth();return"M"===i?String(n+1):fo(n+1,2)},Im_d=function(a,i){return fo(a.getUTCDate(),i.length)},Im_h=function(a,i){return fo(a.getUTCHours()%12||12,i.length)},Im_H=function(a,i){return fo(a.getUTCHours(),i.length)},Im_m=function(a,i){return fo(a.getUTCMinutes(),i.length)},Im_s=function(a,i){return fo(a.getUTCSeconds(),i.length)},Im_S=function(a,i){var n=i.length,s=a.getUTCMilliseconds();return fo(Math.floor(s*Math.pow(10,n-3)),i.length)};var Afe={G:function(a,i,n){var s=a.getUTCFullYear()>0?1:0;switch(i){case"G":case"GG":case"GGG":return n.era(s,{width:"abbreviated"});case"GGGGG":return n.era(s,{width:"narrow"});default:return n.era(s,{width:"wide"})}},y:function(a,i,n){if("yo"===i){var s=a.getUTCFullYear();return n.ordinalNumber(s>0?s:1-s,{unit:"year"})}return Im_y(a,i)},Y:function(a,i,n,s){var l=lQ(a,s),d=l>0?l:1-l;return"YY"===i?fo(d%100,2):"Yo"===i?n.ordinalNumber(d,{unit:"year"}):fo(d,i.length)},R:function(a,i){return fo(sQ(a),i.length)},u:function(a,i){return fo(a.getUTCFullYear(),i.length)},Q:function(a,i,n){var s=Math.ceil((a.getUTCMonth()+1)/3);switch(i){case"Q":return String(s);case"QQ":return fo(s,2);case"Qo":return n.ordinalNumber(s,{unit:"quarter"});case"QQQ":return n.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(s,{width:"narrow",context:"formatting"});default:return n.quarter(s,{width:"wide",context:"formatting"})}},q:function(a,i,n){var s=Math.ceil((a.getUTCMonth()+1)/3);switch(i){case"q":return String(s);case"qq":return fo(s,2);case"qo":return n.ordinalNumber(s,{unit:"quarter"});case"qqq":return n.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(s,{width:"narrow",context:"standalone"});default:return n.quarter(s,{width:"wide",context:"standalone"})}},M:function(a,i,n){var s=a.getUTCMonth();switch(i){case"M":case"MM":return Im_M(a,i);case"Mo":return n.ordinalNumber(s+1,{unit:"month"});case"MMM":return n.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(s,{width:"narrow",context:"formatting"});default:return n.month(s,{width:"wide",context:"formatting"})}},L:function(a,i,n){var s=a.getUTCMonth();switch(i){case"L":return String(s+1);case"LL":return fo(s+1,2);case"Lo":return n.ordinalNumber(s+1,{unit:"month"});case"LLL":return n.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(s,{width:"narrow",context:"standalone"});default:return n.month(s,{width:"wide",context:"standalone"})}},w:function(a,i,n,s){var l=function kfe(r,a){La(1,arguments);var i=Wu(r),n=c3(i,a).getTime()-function wfe(r,a){var i,n,s,l,d,p,f,v;La(1,arguments);var D=l3(),E=Am(null!==(i=null!==(n=null!==(s=null!==(l=a?.firstWeekContainsDate)&&void 0!==l?l:null==a||null===(d=a.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==s?s:D.firstWeekContainsDate)&&void 0!==n?n:null===(f=D.locale)||void 0===f||null===(v=f.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==i?i:1),F=lQ(r,a),L=new Date(0);return L.setUTCFullYear(F,0,E),L.setUTCHours(0,0,0,0),c3(L,a)}(i,a).getTime();return Math.round(n/6048e5)+1}(a,s);return"wo"===i?n.ordinalNumber(l,{unit:"week"}):fo(l,i.length)},I:function(a,i,n){var s=function Cfe(r){La(1,arguments);var a=Wu(r),i=a3(a).getTime()-function bfe(r){La(1,arguments);var a=sQ(r),i=new Date(0);return i.setUTCFullYear(a,0,4),i.setUTCHours(0,0,0,0),a3(i)}(a).getTime();return Math.round(i/6048e5)+1}(a);return"Io"===i?n.ordinalNumber(s,{unit:"week"}):fo(s,i.length)},d:function(a,i,n){return"do"===i?n.ordinalNumber(a.getUTCDate(),{unit:"date"}):Im_d(a,i)},D:function(a,i,n){var s=function vfe(r){La(1,arguments);var a=Wu(r),i=a.getTime();a.setUTCMonth(0,1),a.setUTCHours(0,0,0,0);var n=a.getTime();return Math.floor((i-n)/864e5)+1}(a);return"Do"===i?n.ordinalNumber(s,{unit:"dayOfYear"}):fo(s,i.length)},E:function(a,i,n){var s=a.getUTCDay();switch(i){case"E":case"EE":case"EEE":return n.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(s,{width:"short",context:"formatting"});default:return n.day(s,{width:"wide",context:"formatting"})}},e:function(a,i,n,s){var l=a.getUTCDay(),d=(l-s.weekStartsOn+8)%7||7;switch(i){case"e":return String(d);case"ee":return fo(d,2);case"eo":return n.ordinalNumber(d,{unit:"day"});case"eee":return n.day(l,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(l,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(l,{width:"short",context:"formatting"});default:return n.day(l,{width:"wide",context:"formatting"})}},c:function(a,i,n,s){var l=a.getUTCDay(),d=(l-s.weekStartsOn+8)%7||7;switch(i){case"c":return String(d);case"cc":return fo(d,i.length);case"co":return n.ordinalNumber(d,{unit:"day"});case"ccc":return n.day(l,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(l,{width:"narrow",context:"standalone"});case"cccccc":return n.day(l,{width:"short",context:"standalone"});default:return n.day(l,{width:"wide",context:"standalone"})}},i:function(a,i,n){var s=a.getUTCDay(),l=0===s?7:s;switch(i){case"i":return String(l);case"ii":return fo(l,i.length);case"io":return n.ordinalNumber(l,{unit:"day"});case"iii":return n.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(s,{width:"short",context:"formatting"});default:return n.day(s,{width:"wide",context:"formatting"})}},a:function(a,i,n){var l=a.getUTCHours()/12>=1?"pm":"am";switch(i){case"a":case"aa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(l,{width:"narrow",context:"formatting"});default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(a,i,n){var l,s=a.getUTCHours();switch(l=12===s?"noon":0===s?"midnight":s/12>=1?"pm":"am",i){case"b":case"bb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(l,{width:"narrow",context:"formatting"});default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},B:function(a,i,n){var l,s=a.getUTCHours();switch(l=s>=17?"evening":s>=12?"afternoon":s>=4?"morning":"night",i){case"B":case"BB":case"BBB":return n.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(l,{width:"narrow",context:"formatting"});default:return n.dayPeriod(l,{width:"wide",context:"formatting"})}},h:function(a,i,n){if("ho"===i){var s=a.getUTCHours()%12;return 0===s&&(s=12),n.ordinalNumber(s,{unit:"hour"})}return Im_h(a,i)},H:function(a,i,n){return"Ho"===i?n.ordinalNumber(a.getUTCHours(),{unit:"hour"}):Im_H(a,i)},K:function(a,i,n){var s=a.getUTCHours()%12;return"Ko"===i?n.ordinalNumber(s,{unit:"hour"}):fo(s,i.length)},k:function(a,i,n){var s=a.getUTCHours();return 0===s&&(s=24),"ko"===i?n.ordinalNumber(s,{unit:"hour"}):fo(s,i.length)},m:function(a,i,n){return"mo"===i?n.ordinalNumber(a.getUTCMinutes(),{unit:"minute"}):Im_m(a,i)},s:function(a,i,n){return"so"===i?n.ordinalNumber(a.getUTCSeconds(),{unit:"second"}):Im_s(a,i)},S:function(a,i){return Im_S(a,i)},X:function(a,i,n,s){var d=(s._originalDate||a).getTimezoneOffset();if(0===d)return"Z";switch(i){case"X":return dQ(d);case"XXXX":case"XX":return vv(d);default:return vv(d,":")}},x:function(a,i,n,s){var d=(s._originalDate||a).getTimezoneOffset();switch(i){case"x":return dQ(d);case"xxxx":case"xx":return vv(d);default:return vv(d,":")}},O:function(a,i,n,s){var d=(s._originalDate||a).getTimezoneOffset();switch(i){case"O":case"OO":case"OOO":return"GMT"+cQ(d,":");default:return"GMT"+vv(d,":")}},z:function(a,i,n,s){var d=(s._originalDate||a).getTimezoneOffset();switch(i){case"z":case"zz":case"zzz":return"GMT"+cQ(d,":");default:return"GMT"+vv(d,":")}},t:function(a,i,n,s){return fo(Math.floor((s._originalDate||a).getTime()/1e3),i.length)},T:function(a,i,n,s){return fo((s._originalDate||a).getTime(),i.length)}};function cQ(r,a){var i=r>0?"-":"+",n=Math.abs(r),s=Math.floor(n/60),l=n%60;if(0===l)return i+String(s);var d=a||"";return i+String(s)+d+fo(l,2)}function dQ(r,a){return r%60==0?(r>0?"-":"+")+fo(Math.abs(r)/60,2):vv(r,a)}function vv(r,a){var i=a||"",n=r>0?"-":"+",s=Math.abs(r);return n+fo(Math.floor(s/60),2)+i+fo(s%60,2)}const Ife=Afe;var uQ=function(a,i){switch(a){case"P":return i.date({width:"short"});case"PP":return i.date({width:"medium"});case"PPP":return i.date({width:"long"});default:return i.date({width:"full"})}},hQ=function(a,i){switch(a){case"p":return i.time({width:"short"});case"pp":return i.time({width:"medium"});case"ppp":return i.time({width:"long"});default:return i.time({width:"full"})}};const Efe={p:hQ,P:function(a,i){var d,n=a.match(/(P+)(p+)?/)||[],s=n[1],l=n[2];if(!l)return uQ(a,i);switch(s){case"P":d=i.dateTime({width:"short"});break;case"PP":d=i.dateTime({width:"medium"});break;case"PPP":d=i.dateTime({width:"long"});break;default:d=i.dateTime({width:"full"})}return d.replace("{{date}}",uQ(s,i)).replace("{{time}}",hQ(l,i))}};var Rfe=["D","DD"],Pfe=["YY","YYYY"];function pQ(r,a,i){if("YYYY"===r)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(a,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===r)throw new RangeError("Use `yy` instead of `YY` (in `".concat(a,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===r)throw new RangeError("Use `d` instead of `D` (in `".concat(a,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===r)throw new RangeError("Use `dd` instead of `DD` (in `".concat(a,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Nfe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function BC(r){return function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=a.width?String(a.width):r.defaultWidth;return r.formats[i]||r.formats[r.defaultWidth]}}var Gfe={date:BC({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:BC({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:BC({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},$fe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function qu(r){return function(a,i){var s;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&r.formattingValues){var l=r.defaultFormattingWidth||r.defaultWidth,d=null!=i&&i.width?String(i.width):l;s=r.formattingValues[d]||r.formattingValues[l]}else{var p=r.defaultWidth,f=null!=i&&i.width?String(i.width):r.defaultWidth;s=r.values[f]||r.values[p]}return s[r.argumentCallback?r.argumentCallback(a):a]}}function Ku(r){return function(a){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i.width,l=a.match(n&&r.matchPatterns[n]||r.matchPatterns[r.defaultMatchWidth]);if(!l)return null;var v,d=l[0],p=n&&r.parsePatterns[n]||r.parsePatterns[r.defaultParseWidth],f=Array.isArray(p)?function n_e(r,a){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=a.match(r.matchPattern);if(!n)return null;var s=n[0],l=a.match(r.parsePattern);if(!l)return null;var d=r.valueCallback?r.valueCallback(l[0]):l[0];return{value:d=i.valueCallback?i.valueCallback(d):d,rest:a.slice(s.length)}}}const v_e={code:"en-US",formatDistance:function(a,i,n){var s,l=Nfe[a];return s="string"==typeof l?l:1===i?l.one:l.other.replace("{{count}}",i.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+s:s+" ago":s},formatLong:Gfe,formatRelative:function(a,i,n,s){return $fe[a]},localize:{ordinalNumber:function(a,i){var n=Number(a),s=n%100;if(s>20||s<10)switch(s%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:qu({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:qu({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(a){return a-1}}),month:qu({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:qu({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:qu({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:gQ({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(a){return parseInt(a,10)}}),era:Ku({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Ku({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:Ku({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Ku({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Ku({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var b_e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,y_e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,C_e=/^'([^]*?)'?$/,w_e=/''/g,x_e=/[a-zA-Z]/;function _i(r,a,i){var n,s,l,d,p,f,v,D,E,F,L,$,q,Z,se,ue,Oe,ze;La(2,arguments);var Ze=String(a),it=l3(),yt=null!==(n=null!==(s=i?.locale)&&void 0!==s?s:it.locale)&&void 0!==n?n:v_e,xt=Am(null!==(l=null!==(d=null!==(p=null!==(f=i?.firstWeekContainsDate)&&void 0!==f?f:null==i||null===(v=i.locale)||void 0===v||null===(D=v.options)||void 0===D?void 0:D.firstWeekContainsDate)&&void 0!==p?p:it.firstWeekContainsDate)&&void 0!==d?d:null===(E=it.locale)||void 0===E||null===(F=E.options)||void 0===F?void 0:F.firstWeekContainsDate)&&void 0!==l?l:1);if(!(xt>=1&&xt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Si=Am(null!==(L=null!==($=null!==(q=null!==(Z=i?.weekStartsOn)&&void 0!==Z?Z:null==i||null===(se=i.locale)||void 0===se||null===(ue=se.options)||void 0===ue?void 0:ue.weekStartsOn)&&void 0!==q?q:it.weekStartsOn)&&void 0!==$?$:null===(Oe=it.locale)||void 0===Oe||null===(ze=Oe.options)||void 0===ze?void 0:ze.weekStartsOn)&&void 0!==L?L:0);if(!(Si>=0&&Si<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!yt.localize)throw new RangeError("locale must contain localize property");if(!yt.formatLong)throw new RangeError("locale must contain formatLong property");var Pi=Wu(r);if(!function gfe(r){if(La(1,arguments),!function pfe(r){return La(1,arguments),r instanceof Date||"object"===s3(r)&&"[object Date]"===Object.prototype.toString.call(r)}(r)&&"number"!=typeof r)return!1;var a=Wu(r);return!isNaN(Number(a))}(Pi))throw new RangeError("Invalid time value");var Vr=function Mfe(r){var a=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return a.setUTCFullYear(r.getFullYear()),r.getTime()-a.getTime()}(Pi),Xn=function ffe(r,a){return La(2,arguments),function mfe(r,a){La(2,arguments);var i=Wu(r).getTime(),n=Am(a);return new Date(i+n)}(r,-Am(a))}(Pi,Vr),No={firstWeekContainsDate:xt,weekStartsOn:Si,locale:yt,_originalDate:Pi},xo=Ze.match(y_e).map(function(dn){var Ct=dn[0];return"p"===Ct||"P"===Ct?(0,Efe[Ct])(dn,yt.formatLong):dn}).join("").match(b_e).map(function(dn){if("''"===dn)return"'";var Ct=dn[0];if("'"===Ct)return function k_e(r){var a=r.match(C_e);return a?a[1].replace(w_e,"'"):r}(dn);var It=Ife[Ct];if(It)return!(null!=i&&i.useAdditionalWeekYearTokens)&&function Ffe(r){return-1!==Pfe.indexOf(r)}(dn)&&pQ(dn,a,String(r)),!(null!=i&&i.useAdditionalDayOfYearTokens)&&function Ofe(r){return-1!==Rfe.indexOf(r)}(dn)&&pQ(dn,a,String(r)),It(Xn,dn,yt.localize,No);if(Ct.match(x_e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Ct+"`");return dn}).join("");return xo}class d3{}class u3{}class Yu{constructor(a){this.normalizedNames=new Map,this.lazyUpdate=null,a?"string"==typeof a?this.lazyInit=()=>{this.headers=new Map,a.split("\n").forEach(i=>{const n=i.indexOf(":");if(n>0){const s=i.slice(0,n),l=s.toLowerCase(),d=i.slice(n+1).trim();this.maybeSetNormalizedName(s,l),this.headers.has(l)?this.headers.get(l).push(d):this.headers.set(l,[d])}})}:typeof Headers<"u"&&a instanceof Headers?(this.headers=new Map,a.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(a).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(a){return this.init(),this.headers.has(a.toLowerCase())}get(a){this.init();const i=this.headers.get(a.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(a){return this.init(),this.headers.get(a.toLowerCase())||null}append(a,i){return this.clone({name:a,value:i,op:"a"})}set(a,i){return this.clone({name:a,value:i,op:"s"})}delete(a,i){return this.clone({name:a,value:i,op:"d"})}maybeSetNormalizedName(a,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,a)}init(){this.lazyInit&&(this.lazyInit instanceof Yu?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(a=>this.applyUpdate(a)),this.lazyUpdate=null))}copyFrom(a){a.init(),Array.from(a.headers.keys()).forEach(i=>{this.headers.set(i,a.headers.get(i)),this.normalizedNames.set(i,a.normalizedNames.get(i))})}clone(a){const i=new Yu;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof Yu?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([a]),i}applyUpdate(a){const i=a.name.toLowerCase();switch(a.op){case"a":case"s":let n=a.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(a.name,i);const s=("a"===a.op?this.headers.get(i):void 0)||[];s.push(...n),this.headers.set(i,s);break;case"d":const l=a.value;if(l){let d=this.headers.get(i);if(!d)return;d=d.filter(p=>-1===l.indexOf(p)),0===d.length?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,d)}else this.headers.delete(i),this.normalizedNames.delete(i)}}setHeaderEntries(a,i){const n=(Array.isArray(i)?i:[i]).map(l=>l.toString()),s=a.toLowerCase();this.headers.set(s,n),this.maybeSetNormalizedName(a,s)}forEach(a){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>a(this.normalizedNames.get(i),this.headers.get(i)))}}class D_e{encodeKey(a){return mQ(a)}encodeValue(a){return mQ(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const I_e=/%(\d[a-f0-9])/gi,S_e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mQ(r){return encodeURIComponent(r).replace(I_e,(a,i)=>S_e[i]??a)}function h3(r){return`${r}`}class Sm{constructor(a={}){if(this.updates=null,this.cloneFrom=null,this.encoder=a.encoder||new D_e,a.fromString){if(a.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function A_e(r,a){const i=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(s=>{const l=s.indexOf("="),[d,p]=-1==l?[a.decodeKey(s),""]:[a.decodeKey(s.slice(0,l)),a.decodeValue(s.slice(l+1))],f=i.get(d)||[];f.push(p),i.set(d,f)}),i}(a.fromString,this.encoder)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach(i=>{const n=a.fromObject[i],s=Array.isArray(n)?n.map(h3):[h3(n)];this.map.set(i,s)})):this.map=null}has(a){return this.init(),this.map.has(a)}get(a){this.init();const i=this.map.get(a);return i?i[0]:null}getAll(a){return this.init(),this.map.get(a)||null}keys(){return this.init(),Array.from(this.map.keys())}append(a,i){return this.clone({param:a,value:i,op:"a"})}appendAll(a){const i=[];return Object.keys(a).forEach(n=>{const s=a[n];Array.isArray(s)?s.forEach(l=>{i.push({param:n,value:l,op:"a"})}):i.push({param:n,value:s,op:"a"})}),this.clone(i)}set(a,i){return this.clone({param:a,value:i,op:"s"})}delete(a,i){return this.clone({param:a,value:i,op:"d"})}toString(){return this.init(),this.keys().map(a=>{const i=this.encoder.encodeKey(a);return this.map.get(a).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(a=>""!==a).join("&")}clone(a){const i=new Sm({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(a),i}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(a=>this.map.set(a,this.cloneFrom.map.get(a))),this.updates.forEach(a=>{switch(a.op){case"a":case"s":const i=("a"===a.op?this.map.get(a.param):void 0)||[];i.push(h3(a.value)),this.map.set(a.param,i);break;case"d":if(void 0===a.value){this.map.delete(a.param);break}{let n=this.map.get(a.param)||[];const s=n.indexOf(h3(a.value));-1!==s&&n.splice(s,1),n.length>0?this.map.set(a.param,n):this.map.delete(a.param)}}}),this.cloneFrom=this.updates=null)}}class T_e{constructor(){this.map=new Map}set(a,i){return this.map.set(a,i),this}get(a){return this.map.has(a)||this.map.set(a,a.defaultValue()),this.map.get(a)}delete(a){return this.map.delete(a),this}has(a){return this.map.has(a)}keys(){return this.map.keys()}}function fQ(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function _Q(r){return typeof Blob<"u"&&r instanceof Blob}function vQ(r){return typeof FormData<"u"&&r instanceof FormData}class qA{constructor(a,i,n,s){let l;if(this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=a.toUpperCase(),function E_e(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==n?n:null,l=s):l=n,l&&(this.reportProgress=!!l.reportProgress,this.withCredentials=!!l.withCredentials,l.responseType&&(this.responseType=l.responseType),l.headers&&(this.headers=l.headers),l.context&&(this.context=l.context),l.params&&(this.params=l.params)),this.headers||(this.headers=new Yu),this.context||(this.context=new T_e),this.params){const d=this.params.toString();if(0===d.length)this.urlWithParams=i;else{const p=i.indexOf("?");this.urlWithParams=i+(-1===p?"?":pE.set(F,a.setHeaders[F]),f)),a.setParams&&(v=Object.keys(a.setParams).reduce((E,F)=>E.set(F,a.setParams[F]),v)),new qA(i,n,l,{params:v,headers:f,context:D,reportProgress:p,responseType:s,withCredentials:d})}}var VC=function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r}(VC||{});class IH{constructor(a,i=200,n="OK"){this.headers=a.headers||new Yu,this.status=void 0!==a.status?a.status:i,this.statusText=a.statusText||n,this.url=a.url||null,this.ok=this.status>=200&&this.status<300}}class SH extends IH{constructor(a={}){super(a),this.type=VC.ResponseHeader}clone(a={}){return new SH({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}class zC extends IH{constructor(a={}){super(a),this.type=VC.Response,this.body=void 0!==a.body?a.body:null}clone(a={}){return new zC({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}class bQ extends IH{constructor(a){super(a,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${a.url||"(unknown url)"}`:`Http failure response for ${a.url||"(unknown url)"}: ${a.status} ${a.statusText}`,this.error=a.error||null}}function TH(r,a){return{body:a,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials}}let bv=(()=>{class r{constructor(i){this.handler=i}request(i,n,s={}){let l;if(i instanceof qA)l=i;else{let f,v;f=s.headers instanceof Yu?s.headers:new Yu(s.headers),s.params&&(v=s.params instanceof Sm?s.params:new Sm({fromObject:s.params})),l=new qA(i,n,void 0!==s.body?s.body:null,{headers:f,context:s.context,params:v,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const d=Dt(l).pipe(AC(f=>this.handler.handle(f)));if(i instanceof qA||"events"===s.observe)return d;const p=d.pipe(xi(f=>f instanceof zC));switch(s.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return p.pipe(Rt(f=>{if(null!==f.body&&!(f.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return f.body}));case"blob":return p.pipe(Rt(f=>{if(null!==f.body&&!(f.body instanceof Blob))throw new Error("Response is not a Blob.");return f.body}));case"text":return p.pipe(Rt(f=>{if(null!==f.body&&"string"!=typeof f.body)throw new Error("Response is not a string.");return f.body}));default:return p.pipe(Rt(f=>f.body))}case"response":return p;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(i,n={}){return this.request("DELETE",i,n)}get(i,n={}){return this.request("GET",i,n)}head(i,n={}){return this.request("HEAD",i,n)}jsonp(i,n){return this.request("JSONP",i,{params:(new Sm).append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,n={}){return this.request("OPTIONS",i,n)}patch(i,n,s={}){return this.request("PATCH",i,TH(s,n))}post(i,n,s={}){return this.request("POST",i,TH(s,n))}put(i,n,s={}){return this.request("PUT",i,TH(s,n))}static#e=this.\u0275fac=function(n){return new(n||r)(De(d3))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function wQ(r,a){return a(r)}function P_e(r,a){return(i,n)=>a.intercept(i,{handle:s=>r(s,n)})}const EH=new $e(""),KA=new $e(""),xQ=new $e("");function F_e(){let r=null;return(a,i)=>{null===r&&(r=(st(EH,{optional:!0})??[]).reduceRight(P_e,wQ));const n=st(uC),s=n.add();return r(a,i).pipe(IC(()=>n.remove(s)))}}let kQ=(()=>{class r extends d3{constructor(i,n){super(),this.backend=i,this.injector=n,this.chain=null,this.pendingTasks=st(uC)}handle(i){if(null===this.chain){const s=Array.from(new Set([...this.injector.get(KA),...this.injector.get(xQ,[])]));this.chain=s.reduceRight((l,d)=>function O_e(r,a,i){return(n,s)=>i.runInContext(()=>a(n,l=>r(l,s)))}(l,d,this.injector),wQ)}const n=this.pendingTasks.add();return this.chain(i,s=>this.backend.handle(s)).pipe(IC(()=>this.pendingTasks.remove(n)))}static#e=this.\u0275fac=function(n){return new(n||r)(De(u3),De(_r))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const V_e=/^\)\]\}',?\n/;let AQ=(()=>{class r{constructor(i){this.xhrFactory=i}handle(i){if("JSONP"===i.method)throw new Be(-2800,!1);const n=this.xhrFactory;return(n.\u0275loadImpl?wn(n.\u0275loadImpl()):Dt(null)).pipe(Jn(()=>new _n(l=>{const d=n.build();if(d.open(i.method,i.urlWithParams),i.withCredentials&&(d.withCredentials=!0),i.headers.forEach((q,Z)=>d.setRequestHeader(q,Z.join(","))),i.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*"),!i.headers.has("Content-Type")){const q=i.detectContentTypeHeader();null!==q&&d.setRequestHeader("Content-Type",q)}if(i.responseType){const q=i.responseType.toLowerCase();d.responseType="json"!==q?q:"text"}const p=i.serializeBody();let f=null;const v=()=>{if(null!==f)return f;const q=d.statusText||"OK",Z=new Yu(d.getAllResponseHeaders()),se=function z_e(r){return"responseURL"in r&&r.responseURL?r.responseURL:/^X-Request-URL:/m.test(r.getAllResponseHeaders())?r.getResponseHeader("X-Request-URL"):null}(d)||i.url;return f=new SH({headers:Z,status:d.status,statusText:q,url:se}),f},D=()=>{let{headers:q,status:Z,statusText:se,url:ue}=v(),Oe=null;204!==Z&&(Oe=typeof d.response>"u"?d.responseText:d.response),0===Z&&(Z=Oe?200:0);let ze=Z>=200&&Z<300;if("json"===i.responseType&&"string"==typeof Oe){const Ze=Oe;Oe=Oe.replace(V_e,"");try{Oe=""!==Oe?JSON.parse(Oe):null}catch(it){Oe=Ze,ze&&(ze=!1,Oe={error:it,text:Oe})}}ze?(l.next(new zC({body:Oe,headers:q,status:Z,statusText:se,url:ue||void 0})),l.complete()):l.error(new bQ({error:Oe,headers:q,status:Z,statusText:se,url:ue||void 0}))},E=q=>{const{url:Z}=v(),se=new bQ({error:q,status:d.status||0,statusText:d.statusText||"Unknown Error",url:Z||void 0});l.error(se)};let F=!1;const L=q=>{F||(l.next(v()),F=!0);let Z={type:VC.DownloadProgress,loaded:q.loaded};q.lengthComputable&&(Z.total=q.total),"text"===i.responseType&&d.responseText&&(Z.partialText=d.responseText),l.next(Z)},$=q=>{let Z={type:VC.UploadProgress,loaded:q.loaded};q.lengthComputable&&(Z.total=q.total),l.next(Z)};return d.addEventListener("load",D),d.addEventListener("error",E),d.addEventListener("timeout",E),d.addEventListener("abort",E),i.reportProgress&&(d.addEventListener("progress",L),null!==p&&d.upload&&d.upload.addEventListener("progress",$)),d.send(p),l.next({type:VC.Sent}),()=>{d.removeEventListener("error",E),d.removeEventListener("abort",E),d.removeEventListener("load",D),d.removeEventListener("timeout",E),i.reportProgress&&(d.removeEventListener("progress",L),null!==p&&d.upload&&d.upload.removeEventListener("progress",$)),d.readyState!==d.DONE&&d.abort()}})))}static#e=this.\u0275fac=function(n){return new(n||r)(De(AK))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const MH=new $e("XSRF_ENABLED"),IQ=new $e("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),SQ=new $e("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class TQ{}let j_e=(()=>{class r{constructor(i,n,s){this.doc=i,this.platform=n,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=fK(i,this.cookieName),this.lastCookieString=i),this.lastToken}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(Ld),De(IQ))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function $_e(r,a){const i=r.url.toLowerCase();if(!st(MH)||"GET"===r.method||"HEAD"===r.method||i.startsWith("http://")||i.startsWith("https://"))return a(r);const n=st(TQ).getToken(),s=st(SQ);return null!=n&&!r.headers.has(s)&&(r=r.clone({headers:r.headers.set(s,n)})),a(r)}var Tm=function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r}(Tm||{});function U_e(...r){const a=[bv,AQ,kQ,{provide:d3,useExisting:kQ},{provide:u3,useExisting:AQ},{provide:KA,useValue:$_e,multi:!0},{provide:MH,useValue:!0},{provide:TQ,useClass:j_e}];for(const i of r)a.push(...i.\u0275providers);return S_(a)}const EQ=new $e("LEGACY_INTERCEPTOR_FN");function W_e(){return function yv(r,a){return{\u0275kind:r,\u0275providers:a}}(Tm.LegacyInterceptors,[{provide:EQ,useFactory:F_e},{provide:KA,useExisting:EQ,multi:!0}])}let MQ=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[U_e(W_e())]})}return r})(),Qu=(()=>{class r{constructor(i){this.http=i,this.apiurl="https://tyls.fun",this.isLoggedIn=!0}getApiUrl(){return this.apiurl}login(){this.isLoggedIn=!0}logout(){this.isLoggedIn=!1}isAuthenticated(){return this.isLoggedIn}GetAllRole(){return this.http.get(this.apiurl+"/role")}Login(i){return this.http.post(this.apiurl+"/Login",i)}loginWithFacebook(){const n=`https://www.facebook.com/v18.0/dialog/oauth?client_id=885411713156137&scope=email&response_type=code&redirect_uri=${encodeURIComponent("https://tyls/FacebookCallback")}&state=12345agd`,d=(window.innerWidth-400)/2,p=(window.innerHeight-600)/2;window.open(n,"Facebook Login",`width=400,height=600,top=${p},left=${d}`),console.log("loading"),window.addEventListener("message",v=>{if(console.log("Ok"),"https://localhost:7138"===v.origin){const D=v.data;console.log("Token from popup:",v.data);const F=JSON.parse(D).resultObj;sessionStorage.setItem("access_token",F),console.log("Token from popup:",F),window.close()}})}ProceedRegister(i){return this.http.post(this.apiurl+"/SignUp",i)}UpdateUser(i,n){return this.http.put(this.apiurl+"user/"+i,n)}IsLoggedIn(){return null!=sessionStorage.getItem("access_token")}GetToken(){return sessionStorage.getItem("access_token")??null}GetUserRole(){return null!=sessionStorage.getItem("userrole")?sessionStorage.getItem("userrole")?.toString():""}LogOut(){return this.http.get(this.apiurl+"/Logout")}ForgetPassword(i){return this.http.get(this.apiurl+"/ForgetPassword?email="+i)}ConfirmCode(i){return this.http.get(this.apiurl+"/ForgetPassword/ConfirmCode?email="+i)}ResetPassword(i){return this.http.post(this.apiurl+"/ResetPassword",i)}ChangeEmail(i){return this.http.post(this.apiurl+"/ChangeEmail?email="+i,{responseType:"text"})}ChangePassword(i){return this.http.post(this.apiurl+"/ChangePassword",i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(bv))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),In=(()=>{class r{constructor(i,n,s){this.http=i,this.datePipe=n,this.authservice=s,this.url="https://toiyeulichsu.com/#",this.apiurl=this.authservice.getApiUrl()}CreateDocument(i){return this.http.post(this.apiurl+"/Document",i)}CreateExam(i){return this.http.post(this.apiurl+"/MultipleChoice",i)}CreatePost(i){return this.http.post(this.apiurl+"/Post",i)}CreateQuestion(i){return this.http.post(this.apiurl+"/Question",i)}CreatePostComment(i){return this.http.post(this.apiurl+"/Post/Chat",i)}CreateForumAnswer(i){return this.http.post(this.apiurl+"/Answer",i)}CreateForumSubAnswer(i){return this.http.post(this.apiurl+"/Answer/SubAnswer",i)}deleteAnswer(i){return this.http.delete(this.apiurl+"/Answer/delete?idAnswer="+i)}deleteComment(i){return this.http.delete(this.apiurl+"/Post/Chat?idComment="+i)}DeleteDocument(i){return this.http.delete(this.apiurl+"/Document/Delete?id="+i)}DeleteExam(i){return this.http.delete(this.apiurl+"/MultipleChoice?idMultipleChoice="+i)}DeletePost(i){return this.http.delete(this.apiurl+"/Post/Delete?Id="+i)}deleteSubAnswer(i){return this.http.delete(this.apiurl+"/Answer/DeleteSub?idSubAnswer="+i)}DocumentDetail(i){return this.http.get(this.apiurl+"/Document/"+i)}documentSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/Document/Search?keyWord="+i)}downloadDocumentFile(i){return this.http.get(i,{observe:"response",responseType:"blob"})}ExamDetail(i){return this.http.get(this.apiurl+"/MultipleChoice/"+i)}ExamSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/MultipleChoice/Search?keyWord="+i)}getChatSignRl(){return this.apiurl+"/commentHub"}getCurrentDate(){return this.datePipe.transform(new Date,"dd/MM/yyyy")||""}GetDocument(){return this.http.get(this.apiurl+"/Document")}GetExam(){return this.http.get(this.apiurl+"/MultipleChoice")}getLike(i,n){return this.http.get(`${this.apiurl}/Post/Like`,{params:{PostId:i,UserId:n}})}getLikeQuestion(i,n){return this.http.get(`${this.apiurl}/Question/Like`,{params:{QuestionId:i,UserId:n}})}GetMyPost(){return this.http.get(this.apiurl+"/Post/MyPost")}GetMyDocument(){return this.http.get(this.apiurl+"/Document/MyDocument")}GetMyExam(){return this.http.get(this.apiurl+"/MultipleChoice/MyMultipleChoice")}GetMyExamHistory(){return this.http.get(this.apiurl+"/ExamHistory/GetMyExamHistory")}GetMyQuestion(){return this.http.get(this.apiurl+"/Question/MyQuestion")}GetMyPostSaved(){return this.http.get(this.apiurl+"/Post/MyPostSaved")}GetMyQuestionSaved(){return this.http.get(this.apiurl+"/Question/MyQuestionSaved")}GetMyDocumentSaved(){return this.http.get(this.apiurl+"/Document/MySave")}GetMyNotification(){return this.http.get(this.apiurl+"/Notification")}GetNews(){return this.http.get(this.apiurl+"/News")}getpostbytag(i){return this.http.get(this.apiurl+"/Post/FindByTag?tag="+i)}GetPostDetail(i){return this.http.get(this.apiurl+"/Post/"+i)}GetQuestionDetail(i){return this.http.get(this.apiurl+"/Question/Detail?subId="+i)}getQuestionByTag(i){return this.http.get(this.apiurl+"/Question/FindByTag?tag="+i)}GetAnswers(i){return this.http.get(this.apiurl+"/Answer?questionId="+i)}getRandomPost(i){return this.http.get(this.apiurl+"/Post/RandomArticle?quantity="+i)}GetTopTags(i){return this.http.get(this.apiurl+"/HashTag/TopTag?numberTag="+i)}getUrl(){return this.url}GetAllTag(){return this.http.get(this.apiurl+"/HashTag")}GetQuestionForYou(){return this.http.get(this.apiurl+"/Question")}getSave(i,n){return this.http.get(`${this.apiurl}/Post/Save`,{params:{PostId:i,UserId:n}})}getSaveQuestion(i,n){return this.http.get(`${this.apiurl}/Question/Save`,{params:{QuestionId:i,UserId:n}})}GetSaveDoc(i,n){return this.http.get(`${this.apiurl}/Document/Save`,{params:{DocumentId:i,UserId:n}})}GetTopic(){return this.http.get(this.apiurl+"/Topic")}GetPost(){return this.http.get(this.apiurl+"/Post/Discover")}getPostComment(i){return this.http.get(this.apiurl+"/Post/Chat?PostId="+i)}getReport(){return this.http.get(this.apiurl+"/Report")}LikeOrUnlike(i){return this.http.post(`${this.apiurl}/Post/Like`,i)}LikeOrUnlikeQuestion(i){return this.http.post(`${this.apiurl}/Question/Like`,i)}postSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/Post/Search?keyWord="+i)}questionSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/Question/Search?keyWord="+i)}qusestionSearch(i){return i=encodeURIComponent(i),this.http.get(this.apiurl+"/Question/Search?keyWord="+i)}readFilePdf(i){return this.http.get(i,{responseType:"arraybuffer"})}ReportPost(i){return this.http.post(`${this.apiurl}/Post/Report`,i)}ReportQuestion(i){return this.http.post(`${this.apiurl}/Question/Report`,i)}SaveDownloadDocument(i){this.http.post(this.apiurl+"/Document/SaveDownloads?documentId="+i,null)}SaveMyExam(i){return this.http.post(this.apiurl+"/ExamHistory",i)}SaveOrUnSave(i){return this.http.post(`${this.apiurl}/Post/Save`,i)}SaveOrUnSaveQuestion(i){return this.http.post(`${this.apiurl}/Question/Save`,i)}SaveOrUnSaveDocument(i){return this.http.post(`${this.apiurl}/Document/Save`,i)}UpdateDocument(i){return this.http.put(this.apiurl+"/Document",i)}UpdateExam(i){return this.http.put(this.apiurl+"/MultipleChoice",i)}UpdatePost(i){return this.http.put(this.apiurl+"/Post",i)}UpdatePostComment(i){return this.http.put(this.apiurl+"/Post/Chat",i)}UpdateQuestion(i){return this.http.put(this.apiurl+"/Question",i)}UpdateQuizOfExam(i){return this.http.put(this.apiurl+"/MultipleChoice/QuizById",i)}UpdateForumAnswer(i){return this.http.put(this.apiurl+"/Answer",i)}UpdateForumSubAnswer(i){return this.http.put(this.apiurl+"/Answer/SubAnswer",i)}VoteAnswer(i){return this.http.post(this.apiurl+"/Answer/Vote",i)}VoteAnswerByQuestioner(i){return this.http.post(this.apiurl+"/Answer/Confirm",i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(bv),De(fc),De(Qu))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Fr=(()=>{class r{constructor(){this.postDataSubject=new Pn(null),this.reloadDetailPageSource=new Pn(""),this.reloadDetailPage$=this.reloadDetailPageSource.asObservable(),this.keywordSource=new Pn(""),this.currentKeyword=this.keywordSource.asObservable(),this.subId=new Pn(""),this.currentSubId=this.subId.asObservable(),this.isRequestInProgress=!1,this.idQuestion=new Pn(""),this.currentIdQuestion=this.idQuestion.asObservable()}setPostData(i){this.postDataSubject.next(i)}getPostData(){return this.postDataSubject.asObservable()}triggerReloadDetailPage(i){this.reloadDetailPageSource.next(i)}changeKeyword(i){this.keywordSource.next(i)}changeSubId(i){this.isRequestInProgress||(this.isRequestInProgress=!0,this.subId.next(i),this.isRequestInProgress=!1)}changeIdQuestion(i){this.idQuestion.next(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Rn=(()=>{class r{constructor(){this.emailSubject=new Pn(""),this.email$=this.emailSubject.asObservable(),this.descriptionUserSubject=new Pn(""),this.descriptionUser$=this.descriptionUserSubject.asObservable()}getKeyWordDocument(){return sessionStorage.getItem("keyword_document")}getName(){return sessionStorage.getItem("name")}getToken(){return sessionStorage.getItem("access_token")}getEmail(){return sessionStorage.getItem("email")}getRole(){return sessionStorage.getItem("role")}getUserId(){return sessionStorage.getItem("id")}getAvatar(){return sessionStorage.getItem("avatar")}getDescriptionUser(){return sessionStorage.getItem("descriptionuser")}setKeyWordDocument(i){sessionStorage.setItem("keyword_document",i)}setName(i){sessionStorage.setItem("name",i)}setToken(i){sessionStorage.setItem("access_token",i)}setEmail(i){sessionStorage.setItem("email",i),this.emailSubject.next(i)}setRole(i){sessionStorage.setItem("role",i)}setUserId(i){sessionStorage.setItem("id",i)}setAvatar(i){sessionStorage.setItem("avatar",i)}setDescriptionUser(i){sessionStorage.setItem("description_user",i),this.descriptionUserSubject.next(i)}removeToken(){sessionStorage.removeItem("access_token")}removeName(){sessionStorage.removeItem("name")}removeEmail(){sessionStorage.removeItem("email")}removeAvatar(){sessionStorage.removeItem("avatar")}removeRole(){sessionStorage.removeItem("role")}clearSessionStorage(){sessionStorage.clear()}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class g3{}class Z_e{}const Pp="*";function hr(r,a){return{type:7,name:r,definitions:a,options:{}}}function Di(r,a=null){return{type:4,styles:a,timings:r}}function YA(r,a=null){return{type:3,steps:r,options:a}}function RQ(r,a=null){return{type:2,steps:r,options:a}}function gt(r){return{type:6,styles:r,offset:null}}function yn(r,a,i){return{type:0,name:r,styles:a,options:i}}function Zd(r){return{type:5,steps:r}}function Fi(r,a,i=null){return{type:1,expr:r,animation:a,options:i}}function nt(r,a=null){return{type:8,animation:r,options:a}}function HC(r=null){return{type:9,options:r}}function os(r,a=null){return{type:10,animation:r,options:a}}function GC(r,a,i=null){return{type:11,selector:r,animation:a,options:i}}class QA{constructor(a=0,i=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=a+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const i="start"==a?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class PQ{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let i=0,n=0,s=0;const l=this.players.length;0==l?queueMicrotask(()=>this._onFinish()):this.players.forEach(d=>{d.onDone(()=>{++i==l&&this._onFinish()}),d.onDestroy(()=>{++n==l&&this._onDestroy()}),d.onStart(()=>{++s==l&&this._onStart()})}),this.totalTime=this.players.reduce((d,p)=>Math.max(d,p.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const i=a*this.totalTime;this.players.forEach(n=>{const s=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(s)})}getPosition(){const a=this.players.reduce((i,n)=>null===i||n.totalTime>i.totalTime?n:i,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const i="start"==a?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}const OQ=["toast-component",""];function J_e(r,a){if(1&r){const i=ce();C(0,"button",5),B("click",function(){return z(i),H(S().remove())}),C(1,"span",6),P(2,"\xd7"),k()()}}function eve(r,a){if(1&r&&(be(0),P(1),ve()),2&r){const i=S(2);y(1),me("[",i.duplicatesCount+1,"]")}}function tve(r,a){if(1&r&&(C(0,"div"),P(1),I(2,eve,2,1,"ng-container",4),k()),2&r){const i=S();Mo(i.options.titleClass),ge("aria-label",i.title),y(1),me(" ",i.title," "),y(1),x("ngIf",i.duplicatesCount)}}function ive(r,a){if(1&r&&Q(0,"div",7),2&r){const i=S();Mo(i.options.messageClass),x("innerHTML",i.message,il)}}function nve(r,a){if(1&r&&(C(0,"div",8),P(1),k()),2&r){const i=S();Mo(i.options.messageClass),ge("aria-label",i.message),y(1),me(" ",i.message," ")}}function ove(r,a){if(1&r&&(C(0,"div"),Q(1,"div",9),k()),2&r){const i=S();y(1),Pe("width",i.width+"%")}}class uve{_attachedHost;component;viewContainerRef;injector;constructor(a,i){this.component=a,this.injector=i}attach(a,i){return this._attachedHost=a,a.attach(this,i)}detach(){const a=this._attachedHost;if(a)return this._attachedHost=void 0,a.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class hve{_attachedPortal;_disposeFn;attach(a,i){return this._attachedPortal=a,this.attachComponentPortal(a,i)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(a){this._disposeFn=a}}class pve{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new Ge;_activate=new Ge;_manualClose=new Ge;_resetTimeout=new Ge;_countDuplicate=new Ge;constructor(a){this._overlayRef=a}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(a,i){a&&this._resetTimeout.next(),i&&this._countDuplicate.next(++this.duplicatesCount)}}class m3{toastId;config;message;title;toastType;toastRef;_onTap=new Ge;_onAction=new Ge;constructor(a,i,n,s,l,d){this.toastId=a,this.config=i,this.message=n,this.title=s,this.toastType=l,this.toastRef=d,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(a){this._onAction.next(a)}onAction(){return this._onAction.asObservable()}}const NQ=new $e("ToastConfig");class gve extends hve{_hostDomElement;_componentFactoryResolver;_appRef;constructor(a,i,n){super(),this._hostDomElement=a,this._componentFactoryResolver=i,this._appRef=n}attachComponentPortal(a,i){const n=this._componentFactoryResolver.resolveComponentFactory(a.component);let s;return s=n.create(a.injector),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()}),i?this._hostDomElement.insertBefore(this._getComponentRootNode(s),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(s)),s}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let mve=(()=>{class r{_document=st(Tt);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i=this._document.createElement("div");i.classList.add("overlay-container"),i.setAttribute("aria-live","polite"),this._document.body.appendChild(i),this._containerElement=i}static \u0275fac=function(n){return new(n||r)};static \u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class fve{_portalHost;constructor(a){this._portalHost=a}attach(a,i=!0){return this._portalHost.attach(a,i)}detach(){return this._portalHost.detach()}}let _ve=(()=>{class r{_overlayContainer=st(mve);_componentFactoryResolver=st(Eu);_appRef=st(qd);_document=st(Tt);_paneElements=new Map;create(i,n){return this._createOverlayRef(this.getPaneElement(i,n))}getPaneElement(i="",n){return this._paneElements.get(n)||this._paneElements.set(n,{}),this._paneElements.get(n)[i]||(this._paneElements.get(n)[i]=this._createPaneElement(i,n)),this._paneElements.get(n)[i]}_createPaneElement(i,n){const s=this._document.createElement("div");return s.id="toast-container",s.classList.add(i),s.classList.add("toast-container"),n?n.getContainerElement().appendChild(s):this._overlayContainer.getContainerElement().appendChild(s),s}_createPortalHost(i){return new gve(i,this._componentFactoryResolver,this._appRef)}_createOverlayRef(i){return new fve(this._createPortalHost(i))}static \u0275fac=function(n){return new(n||r)};static \u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Mi=(()=>{class r{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(i,n,s,l,d){this.overlay=n,this._injector=s,this.sanitizer=l,this.ngZone=d,this.toastrConfig={...i.default,...i.config},i.config.iconClasses&&(this.toastrConfig.iconClasses={...i.default.iconClasses,...i.config.iconClasses})}show(i,n,s={},l=""){return this._preBuildNotification(l,i,n,this.applyConfig(s))}success(i,n,s={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",i,n,this.applyConfig(s))}error(i,n,s={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",i,n,this.applyConfig(s))}info(i,n,s={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",i,n,this.applyConfig(s))}warning(i,n,s={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",i,n,this.applyConfig(s))}clear(i){for(const n of this.toasts)if(void 0!==i){if(n.toastId===i)return void n.toastRef.manualClose()}else n.toastRef.manualClose()}remove(i){const n=this._findToast(i);if(!n||(n.activeToast.toastRef.close(),this.toasts.splice(n.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActivethis._buildNotification(i,n,s,l)):this._buildNotification(i,n,s,l)}_buildNotification(i,n,s,l){if(!l.toastComponent)throw new Error("toastComponent required");const d=this.findDuplicate(s,n,this.toastrConfig.resetTimeoutOnDuplicate&&l.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&s||n)&&this.toastrConfig.preventDuplicates&&null!==d)return d;this.previousToastMessage=n;let p=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(p=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const f=this.overlay.create(l.positionClass,this.overlayContainer);this.index=this.index+1;let v=n;n&&l.enableHtml&&(v=this.sanitizer.sanitize(Tr.HTML,n));const D=new pve(f),E=new m3(this.index,l,v,s,i,D),L=Jt.create({providers:[{provide:m3,useValue:E}],parent:this._injector}),$=new uve(l.toastComponent,L),q=f.attach($,l.newestOnTop);D.componentInstance=q.instance;const Z={toastId:this.index,title:s||"",message:n||"",toastRef:D,onShown:D.afterActivate(),onHidden:D.afterClosed(),onTap:E.onTap(),onAction:E.onAction(),portal:q};return p||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Z.toastRef.activate()})),this.toasts.push(Z),Z}static \u0275fac=function(n){return new(n||r)(De(NQ),De(_ve),De(Jt),De(kC),De(et))};static \u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const vve={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class r{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(i,n,s){this.toastrService=i,this.toastPackage=n,this.ngZone=s,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(l=>{this.duplicatesCount=l}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const i=(new Date).getTime();this.width=(this.hideTime-i)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(i,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(i),n)):this.timeout=setTimeout(()=>i(),n)}outsideInterval(i,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(i),n)):this.intervalId=setInterval(()=>i(),n)}runInsideAngular(i){this.ngZone?this.ngZone.run(()=>i()):i()}static \u0275fac=function(n){return new(n||r)(T(Mi),T(m3),T(et))};static \u0275cmp=de({type:r,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(n,s){1&n&&B("click",function(){return s.tapToast()})("mouseenter",function(){return s.stickAround()})("mouseleave",function(){return s.delayedHideToast()}),2&n&&(nv("@flyInOut",s.state),Mo(s.toastClasses),Pe("display",s.displayStyle))},standalone:!0,features:[Ue],attrs:OQ,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,s){1&n&&(I(0,J_e,3,0,"button",0),I(1,tve,3,5,"div",1),I(2,ive,1,3,"div",2),I(3,nve,2,4,"div",3),I(4,ove,2,2,"div",4)),2&n&&(x("ngIf",s.options.closeButton),y(1),x("ngIf",s.title),y(1),x("ngIf",s.message&&s.options.enableHtml),y(1),x("ngIf",s.message&&!s.options.enableHtml),y(1),x("ngIf",s.options.progressBar))},dependencies:[Qe],encapsulation:2,data:{animation:[hr("flyInOut",[yn("inactive",gt({opacity:0})),yn("active",gt({opacity:1})),yn("removed",gt({opacity:0})),Fi("inactive => active",Di("{{ easeTime }}ms {{ easing }}")),Fi("active => removed",Di("{{ easeTime }}ms {{ easing }}"))])]}})}return r})()},bve=(r={})=>S_([{provide:NQ,useValue:{default:vve,config:r}}]);let OH,yve=(()=>{class r{static forRoot(i={}){return{ngModule:r,providers:[bve(i)]}}static \u0275fac=function(n){return new(n||r)};static \u0275mod=Ht({type:r});static \u0275inj=zt({})}return r})();function Et(r){return null!=r&&"false"!=`${r}`}function Ba(r,a=0){return LQ(r)?Number(r):a}function LQ(r){return!isNaN(parseFloat(r))&&!isNaN(Number(r))}function f3(r){return Array.isArray(r)?r:[r]}function rs(r){return null==r?"":"string"==typeof r?r:`${r}px`}function Op(r){return r instanceof ke?r.nativeElement:r}function BQ(r,a=/\s+/){const i=[];if(null!=r){const n=Array.isArray(r)?r:`${r}`.split(a);for(const s of n){const l=`${s}`.trim();l&&i.push(l)}}return i}function Nr(r,...a){return a.length?a.some(i=>r[i]):r.altKey||r.shiftKey||r.ctrlKey||r.metaKey}try{OH=typeof Intl<"u"&&Intl.v8BreakIterator}catch{OH=!1}let $C,Po=(()=>{class r{constructor(i){this._platformId=i,this.isBrowser=this._platformId?kK(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!OH)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(n){return new(n||r)(De(Ld))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const zQ=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function HQ(){if($C)return $C;if("object"!=typeof document||!document)return $C=new Set(zQ),$C;let r=document.createElement("input");return $C=new Set(zQ.filter(a=>(r.setAttribute("type",a),r.type===a))),$C}let JA,Cv,FH;function eu(r){return function Eve(){if(null==JA&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>JA=!0}))}finally{JA=JA||!1}return JA}()?r:!!r.capture}function Mve(){if(null==Cv){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Cv=!1,Cv;if("scrollBehavior"in document.documentElement.style)Cv=!0;else{const r=Element.prototype.scrollTo;Cv=!!r&&!/\{\s*\[native code\]\s*\}/.test(r.toString())}}return Cv}function UC(){let r=typeof document<"u"&&document?document.activeElement:null;for(;r&&r.shadowRoot;){const a=r.shadowRoot.activeElement;if(a===r)break;r=a}return r}function Np(r){return r.composedPath?r.composedPath()[0]:r.target}function NH(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}class Ove extends Ce{constructor(a,i){super()}schedule(a,i=0){return this}}const C3={setInterval(r,a,...i){const{delegate:n}=C3;return n?.setInterval?n.setInterval(r,a,...i):setInterval(r,a,...i)},clearInterval(r){const{delegate:a}=C3;return(a?.clearInterval||clearInterval)(r)},delegate:void 0};class LH extends Ove{constructor(a,i){super(a,i),this.scheduler=a,this.work=i,this.pending=!1}schedule(a,i=0){var n;if(this.closed)return this;this.state=a;const s=this.id,l=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(l,s,i)),this.pending=!0,this.delay=i,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(l,this.id,i),this}requestAsyncId(a,i,n=0){return C3.setInterval(a.flush.bind(a,this),n)}recycleAsyncId(a,i,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return i;null!=i&&C3.clearInterval(i)}execute(a,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(a,i);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(a,i){let s,n=!1;try{this.work(a)}catch(l){n=!0,s=l||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),s}unsubscribe(){if(!this.closed){const{id:a,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,_h(n,this),null!=a&&(this.id=this.recycleAsyncId(i,a,null)),this.delay=null,super.unsubscribe()}}}const BH={now:()=>(BH.delegate||Date).now(),delegate:void 0};class eI{constructor(a,i=eI.now){this.schedulerActionCtor=a,this.now=i}schedule(a,i=0,n){return new this.schedulerActionCtor(this,a).schedule(n,i)}}eI.now=BH.now;class VH extends eI{constructor(a,i=eI.now){super(a,i),this.actions=[],this._active=!1}flush(a){const{actions:i}=this;if(this._active)return void i.push(a);let n;this._active=!0;do{if(n=a.execute(a.state,a.delay))break}while(a=i.shift());if(this._active=!1,n){for(;a=i.shift();)a.unsubscribe();throw n}}}const WC=new VH(LH),Fve=WC;function tI(r,a=WC){return Cn((i,n)=>{let s=null,l=null,d=null;const p=()=>{if(s){s.unsubscribe(),s=null;const v=l;l=null,n.next(v)}};function f(){const v=d+r,D=a.now();if(D{l=v,d=a.now(),s||(s=a.schedule(f,r),n.add(s))},()=>{p(),n.complete()},void 0,()=>{l=s=null}))})}function zH(r){return xi((a,i)=>r<=i)}let GQ=(()=>{class r{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Nve=(()=>{class r{constructor(i){this._mutationObserverFactory=i,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((i,n)=>this._cleanupObserver(n))}observe(i){const n=Op(i);return new _n(s=>{const d=this._observeElement(n).subscribe(s);return()=>{d.unsubscribe(),this._unobserveElement(n)}})}_observeElement(i){if(this._observedElements.has(i))this._observedElements.get(i).count++;else{const n=new Ge,s=this._mutationObserverFactory.create(l=>n.next(l));s&&s.observe(i,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(i,{observer:s,stream:n,count:1})}return this._observedElements.get(i).stream}_unobserveElement(i){this._observedElements.has(i)&&(this._observedElements.get(i).count--,this._observedElements.get(i).count||this._cleanupObserver(i))}_cleanupObserver(i){if(this._observedElements.has(i)){const{observer:n,stream:s}=this._observedElements.get(i);n&&n.disconnect(),s.complete(),this._observedElements.delete(i)}}static#e=this.\u0275fac=function(n){return new(n||r)(De(GQ))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Lve=(()=>{class r{get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(i){this._debounce=Ba(i),this._subscribe()}constructor(i,n,s){this._contentObserver=i,this._elementRef=n,this._ngZone=s,this.event=new X,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const i=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?i.pipe(tI(this.debounce)):i).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)(T(Nve),T(ke),T(et))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return r})(),HH=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[GQ]})}return r})();const jQ=new Set;let wv,Bve=(()=>{class r{constructor(i,n){this._platform=i,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):zve}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&function Vve(r,a){if(!jQ.has(r))try{wv||(wv=document.createElement("style"),a&&(wv.nonce=a),wv.setAttribute("type","text/css"),document.head.appendChild(wv)),wv.sheet&&(wv.sheet.insertRule(`@media ${r} {body{ }}`,0),jQ.add(r))}catch(i){console.error(i)}}(i,this._nonce),this._matchMedia(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(dk,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function zve(r){return{matches:"all"===r||""===r,media:r,addListener:()=>{},removeListener:()=>{}}}let $Q=(()=>{class r{constructor(i,n){this._mediaMatcher=i,this._zone=n,this._queries=new Map,this._destroySubject=new Ge}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return UQ(f3(i)).some(s=>this._registerQuery(s).mql.matches)}observe(i){let l=gv(UQ(f3(i)).map(d=>this._registerQuery(d).observable));return l=EA(l.pipe(An(1)),l.pipe(zH(1),tI(0))),l.pipe(Rt(d=>{const p={matches:!1,breakpoints:{}};return d.forEach(({matches:f,query:v})=>{p.matches=p.matches||f,p.breakpoints[v]=f}),p}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);const n=this._mediaMatcher.matchMedia(i),l={observable:new _n(d=>{const p=f=>this._zone.run(()=>d.next(f));return n.addListener(p),()=>{n.removeListener(p)}}).pipe(go(n),Rt(({matches:d})=>({query:i,matches:d})),xe(this._destroySubject)),mql:n};return this._queries.set(i,l),l}static#e=this.\u0275fac=function(n){return new(n||r)(De(Bve),De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function UQ(r){return r.map(a=>a.split(",")).reduce((a,i)=>a.concat(i)).map(a=>a.trim())}function w3(r,a,i){const n=x3(r,a);n.some(s=>s.trim()==i.trim())||(n.push(i.trim()),r.setAttribute(a,n.join(" ")))}function qC(r,a,i){const s=x3(r,a).filter(l=>l!=i.trim());s.length?r.setAttribute(a,s.join(" ")):r.removeAttribute(a)}function x3(r,a){return(r.getAttribute(a)||"").match(/\S+/g)||[]}const qQ="cdk-describedby-message",k3="cdk-describedby-host";let GH=0,KQ=(()=>{class r{constructor(i,n){this._platform=n,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+GH++,this._document=i,this._id=st(Xg)+"-"+GH++}describe(i,n,s){if(!this._canBeDescribed(i,n))return;const l=jH(n,s);"string"!=typeof n?(YQ(n,this._id),this._messageRegistry.set(l,{messageElement:n,referenceCount:0})):this._messageRegistry.has(l)||this._createMessageElement(n,s),this._isElementDescribedByMessage(i,l)||this._addMessageReference(i,l)}removeDescription(i,n,s){if(!n||!this._isElementNode(i))return;const l=jH(n,s);if(this._isElementDescribedByMessage(i,l)&&this._removeMessageReference(i,l),"string"==typeof n){const d=this._messageRegistry.get(l);d&&0===d.referenceCount&&this._deleteMessageElement(l)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const i=this._document.querySelectorAll(`[${k3}="${this._id}"]`);for(let n=0;n0!=s.indexOf(qQ));i.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(i,n){const s=this._messageRegistry.get(n);w3(i,"aria-describedby",s.messageElement.id),i.setAttribute(k3,this._id),s.referenceCount++}_removeMessageReference(i,n){const s=this._messageRegistry.get(n);s.referenceCount--,qC(i,"aria-describedby",s.messageElement.id),i.removeAttribute(k3)}_isElementDescribedByMessage(i,n){const s=x3(i,"aria-describedby"),l=this._messageRegistry.get(n),d=l&&l.messageElement.id;return!!d&&-1!=s.indexOf(d)}_canBeDescribed(i,n){if(!this._isElementNode(i))return!1;if(n&&"object"==typeof n)return!0;const s=null==n?"":`${n}`.trim(),l=i.getAttribute("aria-label");return!(!s||l&&l.trim()===s)}_isElementNode(i){return i.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(Po))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function jH(r,a){return"string"==typeof r?`${a||""}/${r}`:r}function YQ(r,a){r.id||(r.id=`${qQ}-${a}-${GH++}`)}class QQ{constructor(a){this._items=a,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ge,this._typeaheadSubscription=Ce.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this._pressedLetters=[],this.tabOut=new Ge,this.change=new Ge,a instanceof zo&&(this._itemChangesSubscription=a.changes.subscribe(i=>{if(this._activeItem){const s=i.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}}))}skipPredicate(a){return this._skipPredicateFn=a,this}withWrap(a=!0){return this._wrap=a,this}withVerticalOrientation(a=!0){return this._vertical=a,this}withHorizontalOrientation(a){return this._horizontal=a,this}withAllowedModifierKeys(a){return this._allowedModifierKeys=a,this}withTypeAhead(a=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Or(i=>this._pressedLetters.push(i)),tI(a),xi(()=>this._pressedLetters.length>0),Rt(()=>this._pressedLetters.join(""))).subscribe(i=>{const n=this._getItemsArray();for(let s=1;s!a[l]||this._allowedModifierKeys.indexOf(l)>-1);switch(i){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&s){const l=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(l>0?l:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&s){const l=this._activeItemIndex+this._pageUpAndDown.delta,d=this._getItemsArray().length;this._setActiveItemByIndex(l=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i))))}this._pressedLetters=[],a.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(a){const i=this._getItemsArray(),n="number"==typeof a?a:i.indexOf(a);this._activeItem=i[n]??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)}_setActiveInWrapMode(a){const i=this._getItemsArray();for(let n=1;n<=i.length;n++){const s=(this._activeItemIndex+a*n+i.length)%i.length;if(!this._skipPredicateFn(i[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)}_setActiveItemByIndex(a,i){const n=this._getItemsArray();if(n[a]){for(;this._skipPredicateFn(n[a]);)if(!n[a+=i])return;this.setActiveItem(a)}}_getItemsArray(){return this._items instanceof zo?this._items.toArray():this._items}}class XQ extends QQ{setActiveItem(a){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(a),this.activeItem&&this.activeItem.setActiveStyles()}}class D3 extends QQ{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(a){return this._origin=a,this}setActiveItem(a){super.setActiveItem(a),this.activeItem&&this.activeItem.focus(this._origin)}}let A3=(()=>{class r{constructor(i){this._platform=i}isDisabled(i){return i.hasAttribute("disabled")}isVisible(i){return function jve(r){return!!(r.offsetWidth||r.offsetHeight||"function"==typeof r.getClientRects&&r.getClientRects().length)}(i)&&"visible"===getComputedStyle(i).visibility}isTabbable(i){if(!this._platform.isBrowser)return!1;const n=function Gve(r){try{return r.frameElement}catch{return null}}(function Xve(r){return r.ownerDocument&&r.ownerDocument.defaultView||window}(i));if(n&&(-1===JQ(n)||!this.isVisible(n)))return!1;let s=i.nodeName.toLowerCase(),l=JQ(i);return i.hasAttribute("contenteditable")?-1!==l:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Yve(r){let a=r.nodeName.toLowerCase(),i="input"===a&&r.type;return"text"===i||"password"===i||"select"===a||"textarea"===a}(i))&&("audio"===s?!!i.hasAttribute("controls")&&-1!==l:"video"===s?-1!==l&&(null!==l||this._platform.FIREFOX||i.hasAttribute("controls")):i.tabIndex>=0)}isFocusable(i,n){return function Qve(r){return!function Uve(r){return function qve(r){return"input"==r.nodeName.toLowerCase()}(r)&&"hidden"==r.type}(r)&&(function $ve(r){let a=r.nodeName.toLowerCase();return"input"===a||"select"===a||"button"===a||"textarea"===a}(r)||function Wve(r){return function Kve(r){return"a"==r.nodeName.toLowerCase()}(r)&&r.hasAttribute("href")}(r)||r.hasAttribute("contenteditable")||ZQ(r))}(i)&&!this.isDisabled(i)&&(n?.ignoreVisibility||this.isVisible(i))}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function ZQ(r){if(!r.hasAttribute("tabindex")||void 0===r.tabIndex)return!1;let a=r.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))}function JQ(r){if(!ZQ(r))return null;const a=parseInt(r.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a}class Zve{get enabled(){return this._enabled}set enabled(a){this._enabled=a,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}constructor(a,i,n,s,l=!1){this._element=a,this._checker=i,this._ngZone=n,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,l||this.attachAnchors()}destroy(){const a=this._startAnchor,i=this._endAnchor;a&&(a.removeEventListener("focus",this.startAnchorListener),a.remove()),i&&(i.removeEventListener("focus",this.endAnchorListener),i.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(a){return new Promise(i=>{this._executeOnStable(()=>i(this.focusInitialElement(a)))})}focusFirstTabbableElementWhenReady(a){return new Promise(i=>{this._executeOnStable(()=>i(this.focusFirstTabbableElement(a)))})}focusLastTabbableElementWhenReady(a){return new Promise(i=>{this._executeOnStable(()=>i(this.focusLastTabbableElement(a)))})}_getRegionBoundary(a){const i=this._element.querySelectorAll(`[cdk-focus-region-${a}], [cdkFocusRegion${a}], [cdk-focus-${a}]`);return"start"==a?i.length?i[0]:this._getFirstTabbableElement(this._element):i.length?i[i.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(a){const i=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(i){if(!this._checker.isFocusable(i)){const n=this._getFirstTabbableElement(i);return n?.focus(a),!!n}return i.focus(a),!0}return this.focusFirstTabbableElement(a)}focusFirstTabbableElement(a){const i=this._getRegionBoundary("start");return i&&i.focus(a),!!i}focusLastTabbableElement(a){const i=this._getRegionBoundary("end");return i&&i.focus(a),!!i}hasAttached(){return this._hasAttached}_getFirstTabbableElement(a){if(this._checker.isFocusable(a)&&this._checker.isTabbable(a))return a;const i=a.children;for(let n=0;n=0;n--){const s=i[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(i[n]):null;if(s)return s}return null}_createAnchor(){const a=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,a),a.classList.add("cdk-visually-hidden"),a.classList.add("cdk-focus-trap-anchor"),a.setAttribute("aria-hidden","true"),a}_toggleAnchorTabIndex(a,i){a?i.setAttribute("tabindex","0"):i.removeAttribute("tabindex")}toggleAnchors(a){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(a,this._startAnchor),this._toggleAnchorTabIndex(a,this._endAnchor))}_executeOnStable(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(An(1)).subscribe(a)}}let I3=(()=>{class r{constructor(i,n,s){this._checker=i,this._ngZone=n,this._document=s}create(i,n=!1){return new Zve(i,this._checker,this._ngZone,this._document,n)}static#e=this.\u0275fac=function(n){return new(n||r)(De(A3),De(et),De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Jve=(()=>{class r{get enabled(){return this.focusTrap.enabled}set enabled(i){this.focusTrap.enabled=Et(i)}get autoCapture(){return this._autoCapture}set autoCapture(i){this._autoCapture=Et(i)}constructor(i,n,s){this._elementRef=i,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(i){const n=i.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=UC(),this.focusTrap.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(I3),T(Tt))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[ci]})}return r})();function $H(r){return 0===r.buttons||0===r.detail}function UH(r){const a=r.touches&&r.touches[0]||r.changedTouches&&r.changedTouches[0];return!(!a||-1!==a.identifier||null!=a.radiusX&&1!==a.radiusX||null!=a.radiusY&&1!==a.radiusY)}const ebe=new $e("cdk-input-modality-detector-options"),tbe={ignoreKeys:[18,17,224,91,16]},KC=eu({passive:!0,capture:!0});let ibe=(()=>{class r{get mostRecentModality(){return this._modality.value}constructor(i,n,s,l){this._platform=i,this._mostRecentTarget=null,this._modality=new Pn(null),this._lastTouchMs=0,this._onKeydown=d=>{this._options?.ignoreKeys?.some(p=>p===d.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Np(d))},this._onMousedown=d=>{Date.now()-this._lastTouchMs<650||(this._modality.next($H(d)?"keyboard":"mouse"),this._mostRecentTarget=Np(d))},this._onTouchstart=d=>{UH(d)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Np(d))},this._options={...tbe,...l},this.modalityDetected=this._modality.pipe(zH(1)),this.modalityChanged=this.modalityDetected.pipe(Qs()),i.isBrowser&&n.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,KC),s.addEventListener("mousedown",this._onMousedown,KC),s.addEventListener("touchstart",this._onTouchstart,KC)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,KC),document.removeEventListener("mousedown",this._onMousedown,KC),document.removeEventListener("touchstart",this._onTouchstart,KC))}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(et),De(Tt),De(ebe,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const nbe=new $e("liveAnnouncerElement",{providedIn:"root",factory:function obe(){return null}}),rbe=new $e("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let sbe=0,Lp=(()=>{class r{constructor(i,n,s,l){this._ngZone=n,this._defaultOptions=l,this._document=s,this._liveElement=i||this._createLiveElement()}announce(i,...n){const s=this._defaultOptions;let l,d;return 1===n.length&&"number"==typeof n[0]?d=n[0]:[l,d]=n,this.clear(),clearTimeout(this._previousTimeout),l||(l=s&&s.politeness?s.politeness:"polite"),null==d&&s&&(d=s.duration),this._liveElement.setAttribute("aria-live",l),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(p=>this._currentResolve=p)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=i,"number"==typeof d&&(this._previousTimeout=setTimeout(()=>this.clear(),d)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const i="cdk-live-announcer-element",n=this._document.getElementsByClassName(i),s=this._document.createElement("div");for(let l=0;l .cdk-overlay-container [aria-modal="true"]');for(let s=0;s{class r{constructor(i,n,s,l,d){this._ngZone=i,this._platform=n,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ge,this._rootNodeFocusAndBlurListener=p=>{for(let v=Np(p);v;v=v.parentElement)"focus"===p.type?this._onFocus(p,v):this._onBlur(p,v)},this._document=l,this._detectionMode=d?.detectionMode||0}monitor(i,n=!1){const s=Op(i);if(!this._platform.isBrowser||1!==s.nodeType)return Dt();const l=function Pve(r){if(function Rve(){if(null==FH){const r=typeof document<"u"?document.head:null;FH=!(!r||!r.createShadowRoot&&!r.attachShadow)}return FH}()){const a=r.getRootNode?r.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&a instanceof ShadowRoot)return a}return null}(s)||this._getDocument(),d=this._elementInfo.get(s);if(d)return n&&(d.checkChildren=!0),d.subject;const p={checkChildren:n,subject:new Ge,rootNode:l};return this._elementInfo.set(s,p),this._registerGlobalListeners(p),p.subject}stopMonitoring(i){const n=Op(i),s=this._elementInfo.get(n);s&&(s.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(s))}focusVia(i,n,s){const l=Op(i);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(([p,f])=>this._originChanged(p,n,f)):(this._setOrigin(n),"function"==typeof l.focus&&l.focus(s))}ngOnDestroy(){this._elementInfo.forEach((i,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return 1===this._detectionMode||!!i?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(i,n){i.classList.toggle("cdk-focused",!!n),i.classList.toggle("cdk-touch-focused","touch"===n),i.classList.toggle("cdk-keyboard-focused","keyboard"===n),i.classList.toggle("cdk-mouse-focused","mouse"===n),i.classList.toggle("cdk-program-focused","program"===n)}_setOrigin(i,n=!1){this._ngZone.runOutsideAngular(()=>{this._origin=i,this._originFromTouchInteraction="touch"===i&&n,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(i,n){const s=this._elementInfo.get(n),l=Np(i);!s||!s.checkChildren&&n!==l||this._originChanged(n,this._getFocusOrigin(l),s)}_onBlur(i,n){const s=this._elementInfo.get(n);!s||s.checkChildren&&i.relatedTarget instanceof Node&&n.contains(i.relatedTarget)||(this._setClasses(n),this._emitOrigin(s,null))}_emitOrigin(i,n){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(n))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;const n=i.rootNode,s=this._rootNodeFocusListenerCount.get(n)||0;s||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,S3),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,S3)}),this._rootNodeFocusListenerCount.set(n,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(xe(this._stopInputModalityDetector)).subscribe(l=>{this._setOrigin(l,!0)}))}_removeGlobalListeners(i){const n=i.rootNode;if(this._rootNodeFocusListenerCount.has(n)){const s=this._rootNodeFocusListenerCount.get(n);s>1?this._rootNodeFocusListenerCount.set(n,s-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,S3),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,S3),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,n,s){this._setClasses(i,n),this._emitOrigin(s,n),this._lastFocusOrigin=n}_getClosestElementsInfo(i){const n=[];return this._elementInfo.forEach((s,l)=>{(l===i||s.checkChildren&&l.contains(i))&&n.push([l,s])}),n}_isLastInteractionFromInputLabel(i){const{_mostRecentTarget:n,mostRecentModality:s}=this._inputModalityDetector;if("mouse"!==s||!n||n===i||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName||i.disabled)return!1;const l=i.labels;if(l)for(let d=0;d{class r{constructor(i,n){this._elementRef=i,this._focusMonitor=n,this._focusOrigin=null,this.cdkFocusChange=new X}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const i=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(i,1===i.nodeType&&i.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(al))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return r})();const tX="cdk-high-contrast-black-on-white",iX="cdk-high-contrast-white-on-black",WH="cdk-high-contrast-active";let nX=(()=>{class r{constructor(i,n){this._platform=i,this._document=n,this._breakpointSubscription=st($Q).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);const n=this._document.defaultView||window,s=n&&n.getComputedStyle?n.getComputedStyle(i):null,l=(s&&s.backgroundColor||"").replace(/ /g,"");switch(i.remove(),l){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const i=this._document.body.classList;i.remove(WH,tX,iX),this._hasCheckedHighContrastMode=!0;const n=this.getHighContrastMode();1===n?i.add(WH,tX):2===n&&i.add(WH,iX)}}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),iI=(()=>{class r{constructor(i){i._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(n){return new(n||r)(De(nX))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[HH]})}return r})();const cbe=new $e("cdk-dir-doc",{providedIn:"root",factory:function dbe(){return st(Tt)}}),ube=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Yr=(()=>{class r{constructor(i){this.value="ltr",this.change=new X,i&&(this.value=function hbe(r){const a=r?.toLowerCase()||"";return"auto"===a&&typeof navigator<"u"&&navigator?.language?ube.test(navigator.language)?"rtl":"ltr":"rtl"===a?"rtl":"ltr"}((i.body?i.body.dir:null)||(i.documentElement?i.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(n){return new(n||r)(De(cbe,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),YC=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();const pbe=["addListener","removeListener"],gbe=["addEventListener","removeEventListener"],mbe=["on","off"];function Ri(r,a,i,n){if(Ti(i)&&(n=i,i=void 0),n)return Ri(r,a,i).pipe(tH(n));const[s,l]=function vbe(r){return Ti(r.addEventListener)&&Ti(r.removeEventListener)}(r)?gbe.map(d=>p=>r[d](a,p,i)):function fbe(r){return Ti(r.addListener)&&Ti(r.removeListener)}(r)?pbe.map(oX(r,a)):function _be(r){return Ti(r.on)&&Ti(r.off)}(r)?mbe.map(oX(r,a)):[];if(!s&&_u(r))return vo(d=>Ri(d,a,i))(Ar(r));if(!s)throw new TypeError("Invalid event target");return new _n(d=>{const p=(...f)=>d.next(1l(p)})}function oX(r,a){return i=>n=>r[i](a,n)}const nI={schedule(r){let a=requestAnimationFrame,i=cancelAnimationFrame;const{delegate:n}=nI;n&&(a=n.requestAnimationFrame,i=n.cancelAnimationFrame);const s=a(l=>{i=void 0,r(l)});return new Ce(()=>i?.(s))},requestAnimationFrame(...r){const{delegate:a}=nI;return(a?.requestAnimationFrame||requestAnimationFrame)(...r)},cancelAnimationFrame(...r){const{delegate:a}=nI;return(a?.cancelAnimationFrame||cancelAnimationFrame)(...r)},delegate:void 0};new class ybe extends VH{flush(a){this._active=!0;const i=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let s;a=a||n.shift();do{if(s=a.execute(a.state,a.delay))break}while((a=n[0])&&a.id===i&&n.shift());if(this._active=!1,s){for(;(a=n[0])&&a.id===i&&n.shift();)a.unsubscribe();throw s}}}(class bbe extends LH{constructor(a,i){super(a,i),this.scheduler=a,this.work=i}requestAsyncId(a,i,n=0){return null!==n&&n>0?super.requestAsyncId(a,i,n):(a.actions.push(this),a._scheduled||(a._scheduled=nI.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,i,n=0){var s;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(a,i,n);const{actions:l}=a;null!=i&&(null===(s=l[l.length-1])||void 0===s?void 0:s.id)!==i&&(nI.cancelAnimationFrame(i),a._scheduled=void 0)}});let qH,Cbe=1;const T3={};function rX(r){return r in T3&&(delete T3[r],!0)}const wbe={setImmediate(r){const a=Cbe++;return T3[a]=!0,qH||(qH=Promise.resolve()),qH.then(()=>rX(a)&&r()),a},clearImmediate(r){rX(r)}},{setImmediate:xbe,clearImmediate:kbe}=wbe,E3={setImmediate(...r){const{delegate:a}=E3;return(a?.setImmediate||xbe)(...r)},clearImmediate(r){const{delegate:a}=E3;return(a?.clearImmediate||kbe)(r)},delegate:void 0},KH=new class Abe extends VH{flush(a){this._active=!0;const i=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let s;a=a||n.shift();do{if(s=a.execute(a.state,a.delay))break}while((a=n[0])&&a.id===i&&n.shift());if(this._active=!1,s){for(;(a=n[0])&&a.id===i&&n.shift();)a.unsubscribe();throw s}}}(class Dbe extends LH{constructor(a,i){super(a,i),this.scheduler=a,this.work=i}requestAsyncId(a,i,n=0){return null!==n&&n>0?super.requestAsyncId(a,i,n):(a.actions.push(this),a._scheduled||(a._scheduled=E3.setImmediate(a.flush.bind(a,void 0))))}recycleAsyncId(a,i,n=0){var s;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(a,i,n);const{actions:l}=a;null!=i&&(null===(s=l[l.length-1])||void 0===s?void 0:s.id)!==i&&(E3.clearImmediate(i),a._scheduled===i&&(a._scheduled=void 0))}});function xv(r=0,a,i=Fve){let n=-1;return null!=a&&(fg(a)?i=a:n=a),new _n(s=>{let l=function Sbe(r){return r instanceof Date&&!isNaN(r)}(r)?+r-i.now():r;l<0&&(l=0);let d=0;return i.schedule(function(){s.closed||(s.next(d++),0<=n?this.schedule(void 0,n):s.complete())},l)})}function sX(r,a=WC){return function Ibe(r){return Cn((a,i)=>{let n=!1,s=null,l=null,d=!1;const p=()=>{if(l?.unsubscribe(),l=null,n){n=!1;const v=s;s=null,i.next(v)}d&&i.complete()},f=()=>{l=null,d&&i.complete()};a.subscribe(qt(i,v=>{n=!0,s=v,l||Ar(r(v)).subscribe(l=qt(i,p,f))},()=>{d=!0,(!n||!l||l.closed)&&i.complete()}))})}(()=>xv(r,a))}let aX=(()=>{class r{constructor(i,n,s){this._ngZone=i,this._platform=n,this._scrolled=new Ge,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(i){this.scrollContainers.has(i)||this.scrollContainers.set(i,i.elementScrolled().subscribe(()=>this._scrolled.next(i)))}deregister(i){const n=this.scrollContainers.get(i);n&&(n.unsubscribe(),this.scrollContainers.delete(i))}scrolled(i=20){return this._platform.isBrowser?new _n(n=>{this._globalSubscription||this._addGlobalListener();const s=i>0?this._scrolled.pipe(sX(i)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Dt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((i,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(i,n){const s=this.getAncestorScrollContainers(i);return this.scrolled(n).pipe(xi(l=>!l||s.indexOf(l)>-1))}getAncestorScrollContainers(i){const n=[];return this.scrollContainers.forEach((s,l)=>{this._scrollableContainsElement(l,i)&&n.push(l)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(i,n){let s=Op(n),l=i.getElementRef().nativeElement;do{if(s==l)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ri(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(n){return new(n||r)(De(et),De(Po),De(Tt,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Rm=(()=>{class r{constructor(i,n,s){this._platform=i,this._change=new Ge,this._changeListener=l=>{this._change.next(l)},this._document=s,n.runOutsideAngular(()=>{if(i.isBrowser){const l=this._getWindow();l.addEventListener("resize",this._changeListener),l.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const i=this._getWindow();i.removeEventListener("resize",this._changeListener),i.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const i={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),i}getViewportRect(){const i=this.getViewportScrollPosition(),{width:n,height:s}=this.getViewportSize();return{top:i.top,left:i.left,bottom:i.top+s,right:i.left+n,height:s,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const i=this._document,n=this._getWindow(),s=i.documentElement,l=s.getBoundingClientRect();return{top:-l.top||i.body.scrollTop||n.scrollY||s.scrollTop||0,left:-l.left||i.body.scrollLeft||n.scrollX||s.scrollLeft||0}}change(i=20){return i>0?this._change.pipe(sX(i)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const i=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:i.innerWidth,height:i.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(et),De(Tt,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),kv=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})(),YH=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[YC,kv,YC,kv]})}return r})();function oI(r,a=!1){return Cn((i,n)=>{let s=0;i.subscribe(qt(n,l=>{const d=r(l,s++);(d||a)&&n.next(l),!d&&n.complete()}))})}class QH{attach(a){return this._attachedHost=a,a.attach(this)}detach(){let a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class QC extends QH{constructor(a,i,n,s,l){super(),this.component=a,this.viewContainerRef=i,this.injector=n,this.componentFactoryResolver=s,this.projectableNodes=l}}class XC extends QH{constructor(a,i,n,s){super(),this.templateRef=a,this.viewContainerRef=i,this.context=n,this.injector=s}get origin(){return this.templateRef.elementRef}attach(a,i=this.context){return this.context=i,super.attach(a)}detach(){return this.context=void 0,super.detach()}}class Mbe extends QH{constructor(a){super(),this.element=a instanceof ke?a.nativeElement:a}}class XH{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(a){return a instanceof QC?(this._attachedPortal=a,this.attachComponentPortal(a)):a instanceof XC?(this._attachedPortal=a,this.attachTemplatePortal(a)):this.attachDomPortal&&a instanceof Mbe?(this._attachedPortal=a,this.attachDomPortal(a)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(a){this._disposeFn=a}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Rbe extends XH{constructor(a,i,n,s,l){super(),this.outletElement=a,this._componentFactoryResolver=i,this._appRef=n,this._defaultInjector=s,this.attachDomPortal=d=>{const p=d.element,f=this._document.createComment("dom-portal");p.parentNode.insertBefore(f,p),this.outletElement.appendChild(p),this._attachedPortal=d,super.setDisposeFn(()=>{f.parentNode&&f.parentNode.replaceChild(p,f)})},this._document=l}attachComponentPortal(a){const n=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);let s;return a.viewContainerRef?(s=a.viewContainerRef.createComponent(n,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector,a.projectableNodes||void 0),this.setDisposeFn(()=>s.destroy())):(s=n.create(a.injector||this._defaultInjector||Jt.NULL),this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(s.hostView),s.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(s)),this._attachedPortal=a,s}attachTemplatePortal(a){let i=a.viewContainerRef,n=i.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});return n.rootNodes.forEach(s=>this.outletElement.appendChild(s)),n.detectChanges(),this.setDisposeFn(()=>{let s=i.indexOf(n);-1!==s&&i.remove(s)}),this._attachedPortal=a,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let ZC=(()=>{class r extends XH{constructor(i,n,s){super(),this._componentFactoryResolver=i,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new X,this.attachDomPortal=l=>{const d=l.element,p=this._document.createComment("dom-portal");l.setAttachedHost(this),d.parentNode.insertBefore(p,d),this._getRootNode().appendChild(d),this._attachedPortal=l,super.setDisposeFn(()=>{p.parentNode&&p.parentNode.replaceChild(d,p)})},this._document=s}get portal(){return this._attachedPortal}set portal(i){this.hasAttached()&&!i&&!this._isInitialized||(this.hasAttached()&&super.detach(),i&&super.attach(i),this._attachedPortal=i||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(i){i.setAttachedHost(this);const n=null!=i.viewContainerRef?i.viewContainerRef:this._viewContainerRef,l=(i.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(i.component),d=n.createComponent(l,n.length,i.injector||n.injector,i.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]),super.setDisposeFn(()=>d.destroy()),this._attachedPortal=i,this._attachedRef=d,this.attached.emit(d),d}attachTemplatePortal(i){i.setAttachedHost(this);const n=this._viewContainerRef.createEmbeddedView(i.templateRef,i.context,{injector:i.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=i,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){const i=this._viewContainerRef.element.nativeElement;return i.nodeType===i.ELEMENT_NODE?i:i.parentNode}static#e=this.\u0275fac=function(n){return new(n||r)(T(Eu),T(ei),T(Tt))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ae]})}return r})(),Dv=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();const lX=Mve();class Pbe{constructor(a,i){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=rs(-this._previousScrollPosition.left),a.style.top=rs(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,n=a.style,s=this._document.body.style,l=n.scrollBehavior||"",d=s.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),lX&&(n.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),lX&&(n.scrollBehavior=l,s.scrollBehavior=d)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const i=this._document.body,n=this._viewportRuler.getViewportSize();return i.scrollHeight>n.height||i.scrollWidth>n.width}}class Obe{constructor(a,i,n,s){this._scrollDispatcher=a,this._ngZone=i,this._viewportRuler=n,this._config=s,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0).pipe(xi(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class cX{enable(){}disable(){}attach(){}}function ZH(r,a){return a.some(i=>r.bottomi.bottom||r.righti.right)}function dX(r,a){return a.some(i=>r.topi.bottom||r.lefti.right)}class Fbe{constructor(a,i,n,s){this._scrollDispatcher=a,this._viewportRuler=i,this._ngZone=n,this._config=s,this._scrollSubscription=null}attach(a){this._overlayRef=a}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:s}=this._viewportRuler.getViewportSize();ZH(i,[{width:n,height:s,bottom:s,right:n,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let JH=(()=>{class r{constructor(i,n,s,l){this._scrollDispatcher=i,this._viewportRuler=n,this._ngZone=s,this.noop=()=>new cX,this.close=d=>new Obe(this._scrollDispatcher,this._ngZone,this._viewportRuler,d),this.block=()=>new Pbe(this._viewportRuler,this._document),this.reposition=d=>new Fbe(this._scrollDispatcher,this._viewportRuler,this._ngZone,d),this._document=l}static#e=this.\u0275fac=function(n){return new(n||r)(De(aX),De(Rm),De(et),De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class JC{constructor(a){if(this.scrollStrategy=new cX,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const i=Object.keys(a);for(const n of i)void 0!==a[n]&&(this[n]=a[n])}}}class Nbe{constructor(a,i){this.connectionPair=a,this.scrollableViewProperties=i}}let uX=(()=>{class r{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){const n=this._attachedOverlays.indexOf(i);n>-1&&this._attachedOverlays.splice(n,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Lbe=(()=>{class r extends uX{constructor(i,n){super(i),this._ngZone=n,this._keydownListener=s=>{const l=this._attachedOverlays;for(let d=l.length-1;d>-1;d--)if(l[d]._keydownEvents.observers.length>0){const p=l[d]._keydownEvents;this._ngZone?this._ngZone.run(()=>p.next(s)):p.next(s);break}}}add(i){super.add(i),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(et,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Bbe=(()=>{class r extends uX{constructor(i,n,s){super(i),this._platform=n,this._ngZone=s,this._cursorStyleIsSet=!1,this._pointerDownListener=l=>{this._pointerDownEventTarget=Np(l)},this._clickListener=l=>{const d=Np(l),p="click"===l.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:d;this._pointerDownEventTarget=null;const f=this._attachedOverlays.slice();for(let v=f.length-1;v>-1;v--){const D=f[v];if(D._outsidePointerEvents.observers.length<1||!D.hasAttached())continue;if(D.overlayElement.contains(d)||D.overlayElement.contains(p))break;const E=D._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>E.next(l)):E.next(l)}}}add(i){if(super.add(i),!this._isAttached){const n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De(Po),De(et,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),M3=(()=>{class r{constructor(i,n){this._platform=n,this._document=i}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i="cdk-overlay-container";if(this._platform.isBrowser||NH()){const s=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let l=0;lthis._backdropClick.next(E),this._backdropTransitionendHandler=E=>{this._disposeBackdrop(E.target)},this._keydownEvents=new Ge,this._outsidePointerEvents=new Ge,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const i=this._portalOutlet.attach(a);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(An(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof i?.onDestroy&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){const a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,a&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config={...this._config,...a},this._updateElementSize()}setDirection(a){this._config={...this._config,direction:a},this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=rs(this._config.width),a.height=rs(this._config.height),a.minWidth=rs(this._config.minWidth),a.minHeight=rs(this._config.minHeight),a.maxWidth=rs(this._config.maxWidth),a.maxHeight=rs(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;if(a){if(this._animationsDisabled)return void this._disposeBackdrop(a);a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500))}}_toggleClasses(a,i,n){const s=f3(i||[]).filter(l=>!!l);s.length&&(n?a.classList.add(...s):a.classList.remove(...s))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe(xe(rn(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const hX="cdk-overlay-connected-position-bounding-box",Vbe=/([A-Za-z%]+)$/;class pX{get positions(){return this._preferredPositions}constructor(a,i,n,s,l){this._viewportRuler=i,this._document=n,this._platform=s,this._overlayContainer=l,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ge,this._resizeSubscription=Ce.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(a)}attach(a){this._validatePositions(),a.hostElement.classList.add(hX),this._overlayRef=a,this._boundingBox=a.hostElement,this._pane=a.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const a=this._originRect,i=this._overlayRect,n=this._viewportRect,s=this._containerRect,l=[];let d;for(let p of this._preferredPositions){let f=this._getOriginPoint(a,s,p),v=this._getOverlayPoint(f,i,p),D=this._getOverlayFit(v,i,n,p);if(D.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(p,f);this._canFitWithFlexibleDimensions(D,v,n)?l.push({position:p,origin:f,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(f,p)}):(!d||d.overlayFit.visibleAreaf&&(f=D,p=v)}return this._isPushed=!1,void this._applyPosition(p.position,p.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(d.position,d.originPoint);this._applyPosition(d.position,d.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Av(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(hX),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._getOriginPoint(this._originRect,this._containerRect,a);this._applyPosition(a,i)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,i,n){let s,l;if("center"==n.originX)s=a.left+a.width/2;else{const d=this._isRtl()?a.right:a.left,p=this._isRtl()?a.left:a.right;s="start"==n.originX?d:p}return i.left<0&&(s-=i.left),l="center"==n.originY?a.top+a.height/2:"top"==n.originY?a.top:a.bottom,i.top<0&&(l-=i.top),{x:s,y:l}}_getOverlayPoint(a,i,n){let s,l;return s="center"==n.overlayX?-i.width/2:"start"===n.overlayX?this._isRtl()?-i.width:0:this._isRtl()?0:-i.width,l="center"==n.overlayY?-i.height/2:"top"==n.overlayY?0:-i.height,{x:a.x+s,y:a.y+l}}_getOverlayFit(a,i,n,s){const l=mX(i);let{x:d,y:p}=a,f=this._getOffset(s,"x"),v=this._getOffset(s,"y");f&&(d+=f),v&&(p+=v);let F=0-p,L=p+l.height-n.height,$=this._subtractOverflows(l.width,0-d,d+l.width-n.width),q=this._subtractOverflows(l.height,F,L),Z=$*q;return{visibleArea:Z,isCompletelyWithinViewport:l.width*l.height===Z,fitsInViewportVertically:q===l.height,fitsInViewportHorizontally:$==l.width}}_canFitWithFlexibleDimensions(a,i,n){if(this._hasFlexibleDimensions){const s=n.bottom-i.y,l=n.right-i.x,d=gX(this._overlayRef.getConfig().minHeight),p=gX(this._overlayRef.getConfig().minWidth);return(a.fitsInViewportVertically||null!=d&&d<=s)&&(a.fitsInViewportHorizontally||null!=p&&p<=l)}return!1}_pushOverlayOnScreen(a,i,n){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const s=mX(i),l=this._viewportRect,d=Math.max(a.x+s.width-l.width,0),p=Math.max(a.y+s.height-l.height,0),f=Math.max(l.top-n.top-a.y,0),v=Math.max(l.left-n.left-a.x,0);let D=0,E=0;return D=s.width<=l.width?v||-d:a.x$&&!this._isInitialRender&&!this._growAfterOpen&&(d=a.y-$/2)}if("end"===i.overlayX&&!s||"start"===i.overlayX&&s)F=n.width-a.x+this._viewportMargin,D=a.x-this._viewportMargin;else if("start"===i.overlayX&&!s||"end"===i.overlayX&&s)E=a.x,D=n.right-a.x;else{const L=Math.min(n.right-a.x+n.left,a.x),$=this._lastBoundingBoxSize.width;D=2*L,E=a.x-L,D>$&&!this._isInitialRender&&!this._growAfterOpen&&(E=a.x-$/2)}return{top:d,left:E,bottom:p,right:F,width:D,height:l}}_setBoundingBoxStyles(a,i){const n=this._calculateBoundingBoxRect(a,i);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{const l=this._overlayRef.getConfig().maxHeight,d=this._overlayRef.getConfig().maxWidth;s.height=rs(n.height),s.top=rs(n.top),s.bottom=rs(n.bottom),s.width=rs(n.width),s.left=rs(n.left),s.right=rs(n.right),s.alignItems="center"===i.overlayX?"center":"end"===i.overlayX?"flex-end":"flex-start",s.justifyContent="center"===i.overlayY?"center":"bottom"===i.overlayY?"flex-end":"flex-start",l&&(s.maxHeight=rs(l)),d&&(s.maxWidth=rs(d))}this._lastBoundingBoxSize=n,Av(this._boundingBox.style,s)}_resetBoundingBoxStyles(){Av(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Av(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,i){const n={},s=this._hasExactPosition(),l=this._hasFlexibleDimensions,d=this._overlayRef.getConfig();if(s){const D=this._viewportRuler.getViewportScrollPosition();Av(n,this._getExactOverlayY(i,a,D)),Av(n,this._getExactOverlayX(i,a,D))}else n.position="static";let p="",f=this._getOffset(i,"x"),v=this._getOffset(i,"y");f&&(p+=`translateX(${f}px) `),v&&(p+=`translateY(${v}px)`),n.transform=p.trim(),d.maxHeight&&(s?n.maxHeight=rs(d.maxHeight):l&&(n.maxHeight="")),d.maxWidth&&(s?n.maxWidth=rs(d.maxWidth):l&&(n.maxWidth="")),Av(this._pane.style,n)}_getExactOverlayY(a,i,n){let s={top:"",bottom:""},l=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,n)),"bottom"===a.overlayY?s.bottom=this._document.documentElement.clientHeight-(l.y+this._overlayRect.height)+"px":s.top=rs(l.y),s}_getExactOverlayX(a,i,n){let d,s={left:"",right:""},l=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(l=this._pushOverlayOnScreen(l,this._overlayRect,n)),d=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===d?s.right=this._document.documentElement.clientWidth-(l.x+this._overlayRect.width)+"px":s.left=rs(l.x),s}_getScrollVisibility(){const a=this._getOriginRect(),i=this._pane.getBoundingClientRect(),n=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:dX(a,n),isOriginOutsideView:ZH(a,n),isOverlayClipped:dX(i,n),isOverlayOutsideView:ZH(i,n)}}_subtractOverflows(a,...i){return i.reduce((n,s)=>n-Math.max(s,0),a)}_getNarrowedViewportRect(){const a=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+a-this._viewportMargin,bottom:n.top+i-this._viewportMargin,width:a-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,i){return"x"===i?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&f3(a).forEach(i=>{""!==i&&-1===this._appliedPanelClasses.indexOf(i)&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof ke)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const i=a.width||0,n=a.height||0;return{top:a.y,bottom:a.y+n,left:a.x,right:a.x+i,height:n,width:i}}}function Av(r,a){for(let i in a)a.hasOwnProperty(i)&&(r[i]=a[i]);return r}function gX(r){if("number"!=typeof r&&null!=r){const[a,i]=r.split(Vbe);return i&&"px"!==i?null:parseFloat(a)}return r||null}function mX(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}const fX="cdk-global-overlay-wrapper";class zbe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(a){const i=a.getConfig();this._overlayRef=a,this._width&&!i.width&&a.updateSize({width:this._width}),this._height&&!i.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(fX),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._xOffset=a,this._xPosition="left",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._xOffset=a,this._xPosition="right",this}start(a=""){return this._xOffset=a,this._xPosition="start",this}end(a=""){return this._xOffset=a,this._xPosition="end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._xPosition="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:s,height:l,maxWidth:d,maxHeight:p}=n,f=!("100%"!==s&&"100vw"!==s||d&&"100%"!==d&&"100vw"!==d),v=!("100%"!==l&&"100vh"!==l||p&&"100%"!==p&&"100vh"!==p),D=this._xPosition,E=this._xOffset,F="rtl"===this._overlayRef.getConfig().direction;let L="",$="",q="";f?q="flex-start":"center"===D?(q="center",F?$=E:L=E):F?"left"===D||"end"===D?(q="flex-end",L=E):("right"===D||"start"===D)&&(q="flex-start",$=E):"left"===D||"start"===D?(q="flex-start",L=E):("right"===D||"end"===D)&&(q="flex-end",$=E),a.position=this._cssPosition,a.marginLeft=f?"0":L,a.marginTop=v?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=f?"0":$,i.justifyContent=q,i.alignItems=v?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,n=i.style;i.classList.remove(fX),n.justifyContent=n.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let Hbe=(()=>{class r{constructor(i,n,s,l){this._viewportRuler=i,this._document=n,this._platform=s,this._overlayContainer=l}global(){return new zbe}flexibleConnectedTo(i){return new pX(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Rm),De(Tt),De(Po),De(M3))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Gbe=0,_a=(()=>{class r{constructor(i,n,s,l,d,p,f,v,D,E,F,L){this.scrollStrategies=i,this._overlayContainer=n,this._componentFactoryResolver=s,this._positionBuilder=l,this._keyboardDispatcher=d,this._injector=p,this._ngZone=f,this._document=v,this._directionality=D,this._location=E,this._outsideClickDispatcher=F,this._animationsModuleType=L}create(i){const n=this._createHostElement(),s=this._createPaneElement(n),l=this._createPortalOutlet(s),d=new JC(i);return d.direction=d.direction||this._directionality.value,new rI(l,n,s,d,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(i){const n=this._document.createElement("div");return n.id="cdk-overlay-"+Gbe++,n.classList.add("cdk-overlay-pane"),i.appendChild(n),n}_createHostElement(){const i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(qd)),new Rbe(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(n){return new(n||r)(De(JH),De(M3),De(Eu),De(Hbe),De(Lbe),De(Jt),De(et),De(Tt),De(Yr),De(Gu),De(Bbe),De(Eo,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const jbe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],_X=new $e("cdk-connected-overlay-scroll-strategy");let e8=(()=>{class r{constructor(i){this.elementRef=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}return r})(),vX=(()=>{class r{get offsetX(){return this._offsetX}set offsetX(i){this._offsetX=i,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(i){this._offsetY=i,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(i){this._hasBackdrop=Et(i)}get lockPosition(){return this._lockPosition}set lockPosition(i){this._lockPosition=Et(i)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(i){this._flexibleDimensions=Et(i)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(i){this._growAfterOpen=Et(i)}get push(){return this._push}set push(i){this._push=Et(i)}constructor(i,n,s,l,d){this._overlay=i,this._dir=d,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ce.EMPTY,this._attachSubscription=Ce.EMPTY,this._detachSubscription=Ce.EMPTY,this._positionSubscription=Ce.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new X,this.positionChange=new X,this.attach=new X,this.detach=new X,this.overlayKeydown=new X,this.overlayOutsideClick=new X,this._templatePortal=new XC(n,s),this._scrollStrategyFactory=l,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(i){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),i.origin&&this.open&&this._position.apply()),i.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=jbe);const i=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=i.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=i.detachments().subscribe(()=>this.detach.emit()),i.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),27===n.keyCode&&!this.disableClose&&!Nr(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){const i=this._position=this.positionStrategy||this._createPositionStrategy(),n=new JC({direction:this._dir,positionStrategy:i,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(n.width=this.width),(this.height||0===this.height)&&(n.height=this.height),(this.minWidth||0===this.minWidth)&&(n.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(i){const n=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return i.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const i=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(i),i}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof e8?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(i=>{this.backdropClick.emit(i)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(oI(()=>this.positionChange.observers.length>0)).subscribe(i=>{this.positionChange.emit(i),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)(T(_a),T(je),T(ei),T(_X),T(Yr,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ci]})}return r})();const Ube={provide:_X,deps:[_a],useFactory:function $be(r){return()=>r.scrollStrategies.reposition()}};let Pm=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[_a,Ube],imports:[YC,Dv,YH,YH]})}return r})();const Wbe=["text"];function qbe(r,a){if(1&r&&Q(0,"mat-pseudo-checkbox",6),2&r){const i=S();x("disabled",i.disabled)("state",i.selected?"checked":"unchecked")}}function Kbe(r,a){1&r&&Q(0,"mat-pseudo-checkbox",7),2&r&&x("disabled",S().disabled)}function Ybe(r,a){if(1&r&&(C(0,"span",8),P(1),k()),2&r){const i=S();y(1),me("(",i.group.label,")")}}const Qbe=[[["mat-icon"]],"*"],Xbe=["mat-icon","*"];let Zbe=(()=>{class r{static#e=this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)";static#t=this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)";static#i=this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)";static#n=this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}return r})(),Jbe=(()=>{class r{static#e=this.COMPLEX="375ms";static#t=this.ENTERING="225ms";static#i=this.EXITING="195ms"}return r})();const tye=new $e("mat-sanity-checks",{providedIn:"root",factory:function eye(){return!0}});let Ai=(()=>{class r{constructor(i,n,s){this._sanityChecks=n,this._document=s,this._hasDoneGlobalChecks=!1,i._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(i){return!NH()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[i])}static#e=this.\u0275fac=function(n){return new(n||r)(De(nX),De(tye,8),De(Tt))};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[YC,YC]})}return r})();function Vp(r){return class extends r{get disabled(){return this._disabled}set disabled(a){this._disabled=Et(a)}constructor(...a){super(...a),this._disabled=!1}}}function Iv(r,a){return class extends r{get color(){return this._color}set color(i){const n=i||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...i){super(...i),this.defaultColor=a,this.color=a}}}function Om(r){return class extends r{get disableRipple(){return this._disableRipple}set disableRipple(a){this._disableRipple=Et(a)}constructor(...a){super(...a),this._disableRipple=!1}}}function Sv(r,a=0){return class extends r{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(i){this._tabIndex=null!=i?Ba(i):this.defaultTabIndex}constructor(...i){super(...i),this._tabIndex=a,this.defaultTabIndex=a}}}function t8(r){return class extends r{updateErrorState(){const a=this.errorState,l=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);l!==a&&(this.errorState=l,this.stateChanges.next())}constructor(...a){super(...a),this.errorState=!1}}}function CX(r){return class extends r{constructor(...a){super(...a),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new _n(i=>{this._isInitialized?this._notifySubscriber(i):this._pendingSubscribers.push(i)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(a){a.next(),a.complete()}}}const wX=new $e("MAT_DATE_LOCALE",{providedIn:"root",factory:function iye(){return st(Ho)}});class va{constructor(){this._localeChanges=new Ge,this.localeChanges=this._localeChanges}getValidDateOrNull(a){return this.isDateInstance(a)&&this.isValid(a)?a:null}deserialize(a){return null==a||this.isDateInstance(a)&&this.isValid(a)?a:this.invalid()}setLocale(a){this.locale=a,this._localeChanges.next()}compareDate(a,i){return this.getYear(a)-this.getYear(i)||this.getMonth(a)-this.getMonth(i)||this.getDate(a)-this.getDate(i)}sameDate(a,i){if(a&&i){let n=this.isValid(a),s=this.isValid(i);return n&&s?!this.compareDate(a,i):n==s}return a==i}clampDate(a,i,n){return i&&this.compareDate(a,i)<0?i:n&&this.compareDate(a,n)>0?n:a}}const Tv=new $e("mat-date-formats"),nye=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function i8(r,a){const i=Array(r);for(let n=0;n{class r extends va{constructor(i,n){super(),this.useUtcForDisplay=!1,super.setLocale(i)}getYear(i){return i.getFullYear()}getMonth(i){return i.getMonth()}getDate(i){return i.getDate()}getDayOfWeek(i){return i.getDay()}getMonthNames(i){const n=new Intl.DateTimeFormat(this.locale,{month:i,timeZone:"utc"});return i8(12,s=>this._format(n,new Date(2017,s,1)))}getDateNames(){const i=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return i8(31,n=>this._format(i,new Date(2017,0,n+1)))}getDayOfWeekNames(i){const n=new Intl.DateTimeFormat(this.locale,{weekday:i,timeZone:"utc"});return i8(7,s=>this._format(n,new Date(2017,0,s+1)))}getYearName(i){const n=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(n,i)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(i){return this.getDate(this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+1,0))}clone(i){return new Date(i.getTime())}createDate(i,n,s){let l=this._createDateWithOverflow(i,n,s);return l.getMonth(),l}today(){return new Date}parse(i,n){return"number"==typeof i?new Date(i):i?new Date(Date.parse(i)):null}format(i,n){if(!this.isValid(i))throw Error("NativeDateAdapter: Cannot format invalid date.");const s=new Intl.DateTimeFormat(this.locale,{...n,timeZone:"utc"});return this._format(s,i)}addCalendarYears(i,n){return this.addCalendarMonths(i,12*n)}addCalendarMonths(i,n){let s=this._createDateWithOverflow(this.getYear(i),this.getMonth(i)+n,this.getDate(i));return this.getMonth(s)!=((this.getMonth(i)+n)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(i,n){return this._createDateWithOverflow(this.getYear(i),this.getMonth(i),this.getDate(i)+n)}toIso8601(i){return[i.getUTCFullYear(),this._2digit(i.getUTCMonth()+1),this._2digit(i.getUTCDate())].join("-")}deserialize(i){if("string"==typeof i){if(!i)return null;if(nye.test(i)){let n=new Date(i);if(this.isValid(n))return n}}return super.deserialize(i)}isDateInstance(i){return i instanceof Date}isValid(i){return!isNaN(i.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(i,n,s){const l=new Date;return l.setFullYear(i,n,s),l.setHours(0,0,0,0),l}_2digit(i){return("00"+i).slice(-2)}_format(i,n){const s=new Date;return s.setUTCFullYear(n.getFullYear(),n.getMonth(),n.getDate()),s.setUTCHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),i.format(s)}static#e=this.\u0275fac=function(n){return new(n||r)(De(wX,8),De(Po))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const rye={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let sye=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[{provide:va,useClass:oye}]})}return r})(),aye=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[{provide:Tv,useValue:rye}],imports:[sye]})}return r})(),Ev=(()=>{class r{isErrorState(i,n){return!!(i&&i.invalid&&(i.touched||n&&n.submitted))}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),n8=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})}return r})(),xX=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Ai]})}return r})();class lye{constructor(a,i,n,s=!1){this._renderer=a,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=s,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const kX=eu({passive:!0,capture:!0});class cye{constructor(){this._events=new Map,this._delegateEventHandler=a=>{const i=Np(a);i&&this._events.get(a.type)?.forEach((n,s)=>{(s===i||s.contains(i))&&n.forEach(l=>l.handleEvent(a))})}}addHandler(a,i,n,s){const l=this._events.get(i);if(l){const d=l.get(n);d?d.add(s):l.set(n,new Set([s]))}else this._events.set(i,new Map([[n,new Set([s])]])),a.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,kX)})}removeHandler(a,i,n){const s=this._events.get(a);if(!s)return;const l=s.get(i);l&&(l.delete(n),0===l.size&&s.delete(i),0===s.size&&(this._events.delete(a),document.removeEventListener(a,this._delegateEventHandler,kX)))}}const DX={enterDuration:225,exitDuration:150},AX=eu({passive:!0,capture:!0}),IX=["mousedown","touchstart"],SX=["mouseup","mouseleave","touchend","touchcancel"];class R3{static#e=this._eventManager=new cye;constructor(a,i,n,s){this._target=a,this._ngZone=i,this._platform=s,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Op(n))}fadeInRipple(a,i,n={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l={...DX,...n.animation};n.centered&&(a=s.left+s.width/2,i=s.top+s.height/2);const d=n.radius||function uye(r,a,i){const n=Math.max(Math.abs(r-i.left),Math.abs(r-i.right)),s=Math.max(Math.abs(a-i.top),Math.abs(a-i.bottom));return Math.sqrt(n*n+s*s)}(a,i,s),p=a-s.left,f=i-s.top,v=l.enterDuration,D=document.createElement("div");D.classList.add("mat-ripple-element"),D.style.left=p-d+"px",D.style.top=f-d+"px",D.style.height=2*d+"px",D.style.width=2*d+"px",null!=n.color&&(D.style.backgroundColor=n.color),D.style.transitionDuration=`${v}ms`,this._containerElement.appendChild(D);const E=window.getComputedStyle(D),L=E.transitionDuration,$="none"===E.transitionProperty||"0s"===L||"0s, 0s"===L||0===s.width&&0===s.height,q=new lye(this,D,n,$);D.style.transform="scale3d(1, 1, 1)",q.state=0,n.persistent||(this._mostRecentTransientRipple=q);let Z=null;return!$&&(v||l.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const se=()=>this._finishRippleTransition(q),ue=()=>this._destroyRipple(q);D.addEventListener("transitionend",se),D.addEventListener("transitioncancel",ue),Z={onTransitionEnd:se,onTransitionCancel:ue}}),this._activeRipples.set(q,Z),($||!v)&&this._finishRippleTransition(q),q}fadeOutRipple(a){if(2===a.state||3===a.state)return;const i=a.element,n={...DX,...a.config.animation};i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",a.state=2,(a._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(a)}fadeOutAll(){this._getActiveRipples().forEach(a=>a.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(a=>{a.config.persistent||a.fadeOut()})}setupTriggerEvents(a){const i=Op(a);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,IX.forEach(n=>{R3._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(a){"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{SX.forEach(i=>{this._triggerElement.addEventListener(i,this,AX)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(a){0===a.state?this._startFadeOutTransition(a):2===a.state&&this._destroyRipple(a)}_startFadeOutTransition(a){const i=a===this._mostRecentTransientRipple,{persistent:n}=a.config;a.state=1,!n&&(!i||!this._isPointerDown)&&a.fadeOut()}_destroyRipple(a){const i=this._activeRipples.get(a)??null;this._activeRipples.delete(a),this._activeRipples.size||(this._containerRect=null),a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),a.state=3,null!==i&&(a.element.removeEventListener("transitionend",i.onTransitionEnd),a.element.removeEventListener("transitioncancel",i.onTransitionCancel)),a.element.remove()}_onMousedown(a){const i=$H(a),n=this._lastTouchStartEvent&&Date.now(){!a.config.persistent&&(1===a.state||a.config.terminateOnPointerUp&&0===a.state)&&a.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const a=this._triggerElement;a&&(IX.forEach(i=>R3._eventManager.removeHandler(i,a,this)),this._pointerUpEventsRegistered&&SX.forEach(i=>a.removeEventListener(i,this,AX)))}}const ew=new $e("mat-ripple-global-options");let zp=(()=>{class r{get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}constructor(i,n,s,l,d){this._elementRef=i,this._animationMode=d,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new R3(this,n,i,s)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(i,n=0,s){return"number"==typeof i?this._rippleRenderer.fadeInRipple(i,n,{...this.rippleConfig,...s}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...i})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et),T(Po),T(ew,8),T(Eo,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mat-ripple-unbounded",s.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return r})(),Hp=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Ai]})}return r})(),hye=(()=>{class r{constructor(i){this._animationMode=i,this.state="unchecked",this.disabled=!1,this.appearance="full"}static#e=this.\u0275fac=function(n){return new(n||r)(T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,s){2&n&&Se("mat-pseudo-checkbox-indeterminate","indeterminate"===s.state)("mat-pseudo-checkbox-checked","checked"===s.state)("mat-pseudo-checkbox-disabled",s.disabled)("mat-pseudo-checkbox-minimal","minimal"===s.appearance)("mat-pseudo-checkbox-full","full"===s.appearance)("_mat-animation-noopable","NoopAnimations"===s._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,s){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}return r})(),pye=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai]})}return r})();const o8=new $e("MAT_OPTION_PARENT_COMPONENT"),r8=new $e("MatOptgroup");let gye=0;class TX{constructor(a,i=!1){this.source=a,this.isUserInput=i}}let mye=(()=>{class r{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(i){this._disabled=Et(i)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(i,n,s,l){this._element=i,this._changeDetectorRef=n,this._parent=s,this.group=l,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+gye++,this.onSelectionChange=new X,this._stateChanges=new Ge}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(i=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}deselect(i=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}focus(i,n){const s=this._getHostElement();"function"==typeof s.focus&&s.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(i){(13===i.keyCode||32===i.keyCode)&&!Nr(i)&&(this._selectViaInteraction(),i.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const i=this.viewValue;i!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=i)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(i=!1){this.onSelectionChange.emit(new TX(this,i))}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&oe(Wbe,7),2&n){let l;G(l=j())&&(s._text=l.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}return r})(),Fm=(()=>{class r extends mye{constructor(i,n,s,l){super(i,n,s,l)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(o8,8),T(r8,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,s){1&n&&B("click",function(){return s._selectViaInteraction()})("keydown",function(d){return s._handleKeydown(d)}),2&n&&(ur("id",s.id),ge("aria-selected",s.selected)("aria-disabled",s.disabled.toString()),Se("mdc-list-item--selected",s.selected)("mat-mdc-option-multiple",s.multiple)("mat-mdc-option-active",s.active)("mdc-list-item--disabled",s.disabled))},exportAs:["matOption"],features:[Ae],ngContentSelectors:Xbe,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(n,s){1&n&&(pt(Qbe),I(0,qbe,1,2,"mat-pseudo-checkbox",0),Ie(1),C(2,"span",1,2),Ie(4,1),k(),I(5,Kbe,1,1,"mat-pseudo-checkbox",3),I(6,Ybe,2,1,"span",4),Q(7,"div",5)),2&n&&(x("ngIf",s.multiple),y(5),x("ngIf",!s.multiple&&s.selected&&!s.hideSingleSelectionIndicator),y(1),x("ngIf",s.group&&s.group._inert),y(1),x("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disabled||s.disableRipple))},dependencies:[zp,Qe,hye],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return r})();function EX(r,a,i){if(i.length){let n=a.toArray(),s=i.toArray(),l=0;for(let d=0;di+n?Math.max(0,r-n+a):i}let P3=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Hp,Gs,Ai,pye]})}return r})();const RX={capture:!0},PX=["focus","click","mouseenter","touchstart"],s8="mat-ripple-loader-uninitialized",a8="mat-ripple-loader-class-name",OX="mat-ripple-loader-centered",O3="mat-ripple-loader-disabled";let FX=(()=>{class r{constructor(){this._document=st(Tt,{optional:!0}),this._animationMode=st(Eo,{optional:!0}),this._globalRippleOptions=st(ew,{optional:!0}),this._platform=st(Po),this._ngZone=st(et),this._onInteraction=i=>{if(!(i.target instanceof HTMLElement))return;const s=i.target.closest(`[${s8}]`);s&&this.createRipple(s)},this._ngZone.runOutsideAngular(()=>{for(const i of PX)this._document?.addEventListener(i,this._onInteraction,RX)})}ngOnDestroy(){for(const i of PX)this._document?.removeEventListener(i,this._onInteraction,RX)}configureRipple(i,n){i.setAttribute(s8,""),(n.className||!i.hasAttribute(a8))&&i.setAttribute(a8,n.className||""),n.centered&&i.setAttribute(OX,""),n.disabled&&i.setAttribute(O3,"")}getRipple(i){return i.matRipple?i.matRipple:this.createRipple(i)}setDisabled(i,n){const s=i.matRipple;s?s.disabled=n:n?i.setAttribute(O3,""):i.removeAttribute(O3)}createRipple(i){if(!this._document)return;i.querySelector(".mat-ripple")?.remove();const n=this._document.createElement("span");n.classList.add("mat-ripple",i.getAttribute(a8)),i.append(n);const s=new zp(new ke(n),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=i,s.centered=i.hasAttribute(OX),s.disabled=i.hasAttribute(O3),this.attachRipple(i,s),s}attachRipple(i,n){i.removeAttribute(s8),i.matRipple=n}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const fye=["tooltip"],NX=new $e("mat-tooltip-scroll-strategy"),bye={provide:NX,deps:[_a],useFactory:function vye(r){return()=>r.scrollStrategies.reposition({scrollThrottle:20})}},Cye=new $e("mat-tooltip-default-options",{providedIn:"root",factory:function yye(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),LX="tooltip-panel",BX=eu({passive:!0});let Iye=(()=>{class r{get position(){return this._position}set position(i){i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(i){this._positionAtOrigin=Et(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(i){this._showDelay=Ba(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=Ba(i),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(i){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=i?String(i).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(i,n,s,l,d,p,f,v,D,E,F,L){this._overlay=i,this._elementRef=n,this._scrollDispatcher=s,this._viewContainerRef=l,this._ngZone=d,this._platform=p,this._ariaDescriber=f,this._focusMonitor=v,this._dir=E,this._defaultOptions=F,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ge,this._scrollStrategy=D,this._document=L,F&&(this._showDelay=F.showDelay,this._hideDelay=F.hideDelay,F.position&&(this.position=F.position),F.positionAtOrigin&&(this.positionAtOrigin=F.positionAtOrigin),F.touchGestures&&(this.touchGestures=F.touchGestures)),E.change.pipe(xe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(xe(this._destroyed)).subscribe(i=>{i?"keyboard"===i&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const i=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([n,s])=>{i.removeEventListener(n,s,BX)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}show(i=this.showDelay,n){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const s=this._createOverlay(n);this._detach(),this._portal=this._portal||new QC(this._tooltipComponent,this._viewContainerRef);const l=this._tooltipInstance=s.attach(this._portal).instance;l._triggerElement=this._elementRef.nativeElement,l._mouseLeaveHideDelay=this._hideDelay,l.afterHidden().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),l.show(i)}hide(i=this.hideDelay){const n=this._tooltipInstance;n&&(n.isVisible()?n.hide(i):(n._cancelPendingAnimations(),this._detach()))}toggle(i){this._isTooltipVisible()?this.hide():this.show(void 0,i)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(i){if(this._overlayRef){const l=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!i)&&l._origin instanceof ke)return this._overlayRef;this._detach()}const n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),s=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&i||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(n);return s.positionChanges.pipe(xe(this._destroyed)).subscribe(l=>{this._updateCurrentPositionClass(l.connectionPair),this._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:s,panelClass:`${this._cssClassPrefix}-${LX}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(xe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(xe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(xe(this._destroyed)).subscribe(l=>{this._isTooltipVisible()&&27===l.keyCode&&!Nr(l)&&(l.preventDefault(),l.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(i){const n=i.getConfig().positionStrategy,s=this._getOrigin(),l=this._getOverlayPosition();n.withPositions([this._addOffset({...s.main,...l.main}),this._addOffset({...s.fallback,...l.fallback})])}_addOffset(i){return i}_getOrigin(){const i=!this._dir||"ltr"==this._dir.value,n=this.position;let s;"above"==n||"below"==n?s={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&i||"right"==n&&!i?s={originX:"start",originY:"center"}:("after"==n||"right"==n&&i||"left"==n&&!i)&&(s={originX:"end",originY:"center"});const{x:l,y:d}=this._invertPosition(s.originX,s.originY);return{main:s,fallback:{originX:l,originY:d}}}_getOverlayPosition(){const i=!this._dir||"ltr"==this._dir.value,n=this.position;let s;"above"==n?s={overlayX:"center",overlayY:"bottom"}:"below"==n?s={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&i||"right"==n&&!i?s={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&i||"left"==n&&!i)&&(s={overlayX:"start",overlayY:"center"});const{x:l,y:d}=this._invertPosition(s.overlayX,s.overlayY);return{main:s,fallback:{overlayX:l,overlayY:d}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(An(1),xe(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}_invertPosition(i,n){return"above"===this.position||"below"===this.position?"top"===n?n="bottom":"bottom"===n&&(n="top"):"end"===i?i="start":"start"===i&&(i="end"),{x:i,y:n}}_updateCurrentPositionClass(i){const{overlayY:n,originX:s,originY:l}=i;let d;if(d="center"===n?this._dir&&"rtl"===this._dir.value?"end"===s?"left":"right":"start"===s?"left":"right":"bottom"===n&&"top"===l?"above":"below",d!==this._currentPosition){const p=this._overlayRef;if(p){const f=`${this._cssClassPrefix}-${LX}-`;p.removePanelClass(f+this._currentPosition),p.addPanelClass(f+d)}this._currentPosition=d}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",i=>{let n;this._setupPointerExitEventsIfNeeded(),void 0!==i.x&&void 0!==i.y&&(n=i),this.show(void 0,n)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",i=>{const n=i.targetTouches?.[0],s=n?{x:n.clientX,y:n.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,s),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",n=>{const s=n.relatedTarget;(!s||!this._overlayRef?.overlayElement.contains(s))&&this.hide()}],["wheel",n=>this._wheelListener(n)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const n=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};i.push(["touchend",n],["touchcancel",n])}this._addListeners(i),this._passiveListeners.push(...i)}_addListeners(i){i.forEach(([n,s])=>{this._elementRef.nativeElement.addEventListener(n,s,BX)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){const n=this._document.elementFromPoint(i.clientX,i.clientY),s=this._elementRef.nativeElement;n!==s&&!s.contains(n)&&this.hide()}}_disableNativeGesturesIfNecessary(){const i=this.touchGestures;if("off"!==i){const n=this._elementRef.nativeElement,s=n.style;("on"===i||"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName)&&(s.userSelect=s.msUserSelect=s.webkitUserSelect=s.MozUserSelect="none"),("on"===i||!n.draggable)&&(s.webkitUserDrag="none"),s.touchAction="none",s.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return r})(),er=(()=>{class r extends Iye{constructor(i,n,s,l,d,p,f,v,D,E,F,L){super(i,n,s,l,d,p,f,v,D,E,F,L),this._tooltipComponent=Tye,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(i){const s=!this._dir||"ltr"==this._dir.value;return"top"===i.originY?i.offsetY=-8:"bottom"===i.originY?i.offsetY=8:"start"===i.originX?i.offsetX=s?-8:8:"end"===i.originX&&(i.offsetX=s?8:-8),i}static#e=this.\u0275fac=function(n){return new(n||r)(T(_a),T(ke),T(aX),T(ei),T(et),T(Po),T(KQ),T(al),T(NX),T(Yr,8),T(Cye,8),T(Tt))};static#t=this.\u0275dir=re({type:r,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mat-mdc-tooltip-disabled",s.disabled)},exportAs:["matTooltip"],features:[Ae]})}return r})(),Sye=(()=>{class r{constructor(i,n){this._changeDetectorRef=i,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Ge,this._animationsDisabled="NoopAnimations"===n}show(i){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},i)}hide(i){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},i)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:i}){(!i||!this._triggerElement.contains(i))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:i}){(i===this._showAnimation||i===this._hideAnimation)&&this._finalizeAnimation(i===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(i){i?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(i){const n=this._tooltip.nativeElement,s=this._showAnimation,l=this._hideAnimation;if(n.classList.remove(i?l:s),n.classList.add(i?s:l),this._isVisible=i,i&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const d=getComputedStyle(n);("0s"===d.getPropertyValue("animation-duration")||"none"===d.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}i&&this._onShow(),this._animationsDisabled&&(n.classList.add("_mat-animation-noopable"),this._finalizeAnimation(i))}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(Eo,8))};static#t=this.\u0275dir=re({type:r})}return r})(),Tye=(()=>{class r extends Sye{constructor(i,n,s){super(i,s),this._elementRef=n,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const i=this._elementRef.nativeElement.getBoundingClientRect();return i.height>24&&i.width>=200}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-tooltip-component"]],viewQuery:function(n,s){if(1&n&&oe(fye,7),2&n){let l;G(l=j())&&(s._tooltip=l.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(n,s){1&n&&B("mouseleave",function(d){return s._handleMouseLeave(d)}),2&n&&Pe("zoom",s.isVisible()?1:null)},features:[Ae],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(n,s){1&n&&(C(0,"div",0,1),B("animationend",function(d){return s._handleAnimationEnd(d)}),C(2,"div",2),P(3),k()()),2&n&&(Se("mdc-tooltip--multiline",s._isMultiline),x("ngClass",s.tooltipClass),y(3),_e(s.message))},dependencies:[Xt],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return r})(),l8=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[bye],imports:[iI,Gs,Pm,Ai,Ai,kv]})}return r})();function VX(r,a,i,n,s,l,d){try{var p=r[l](d),f=p.value}catch(v){return void i(v)}p.done?a(f):Promise.resolve(f).then(n,s)}function qi(r){return function(){var a=this,i=arguments;return new Promise(function(n,s){var l=r.apply(a,i);function d(f){VX(l,n,s,d,p,"next",f)}function p(f){VX(l,n,s,d,p,"throw",f)}d(void 0)})}}function zX(...r){const a=cy(r),{args:i,keys:n}=QK(r),s=new _n(l=>{const{length:d}=i;if(!d)return void l.complete();const p=new Array(d);let f=d,v=d;for(let D=0;D{E||(E=!0,v--),p[D]=F},()=>f--,void 0,()=>{(!f||!E)&&(v||l.next(n?XK(n,p):p),l.complete())}))}});return a?s.pipe(tH(a)):s}let HX=(()=>{class r{constructor(i,n){this._renderer=i,this._elementRef=n,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(i,n){this._renderer.setProperty(this._elementRef.nativeElement,i,n)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(Ui),T(ke))};static#t=this.\u0275dir=re({type:r})}return r})(),Mv=(()=>{class r extends HX{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,features:[Ae]})}return r})();const Yn=new $e("NgValueAccessor"),Mye={provide:Yn,useExisting:J(()=>Sn),multi:!0},Pye=new $e("CompositionEventMode");let Sn=(()=>{class r extends HX{constructor(i,n,s){super(i,n),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Rye(){const r=Ip()?Ip().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}())}writeValue(i){this.setProperty("value",i??"")}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(Ui),T(ke),T(Pye,8))};static#t=this.\u0275dir=re({type:r,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,s){1&n&&B("input",function(d){return s._handleInput(d.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(d){return s._compositionEnd(d.target.value)})},features:[Ye([Mye]),Ae]})}return r})();function Nm(r){return null==r||("string"==typeof r||Array.isArray(r))&&0===r.length}function jX(r){return null!=r&&"number"==typeof r.length}const io=new $e("NgValidators"),Lm=new $e("NgAsyncValidators"),Oye=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ft{static min(a){return $X(a)}static max(a){return UX(a)}static required(a){return WX(a)}static requiredTrue(a){return function qX(r){return!0===r.value?null:{required:!0}}(a)}static email(a){return KX(a)}static minLength(a){return YX(a)}static maxLength(a){return QX(a)}static pattern(a){return XX(a)}static nullValidator(a){return null}static compose(a){return nZ(a)}static composeAsync(a){return oZ(a)}}function $X(r){return a=>{if(Nm(a.value)||Nm(r))return null;const i=parseFloat(a.value);return!isNaN(i)&&i{if(Nm(a.value)||Nm(r))return null;const i=parseFloat(a.value);return!isNaN(i)&&i>r?{max:{max:r,actual:a.value}}:null}}function WX(r){return Nm(r.value)?{required:!0}:null}function KX(r){return Nm(r.value)||Oye.test(r.value)?null:{email:!0}}function YX(r){return a=>Nm(a.value)||!jX(a.value)?null:a.value.lengthjX(a.value)&&a.value.length>r?{maxlength:{requiredLength:r,actualLength:a.value.length}}:null}function XX(r){if(!r)return F3;let a,i;return"string"==typeof r?(i="","^"!==r.charAt(0)&&(i+="^"),i+=r,"$"!==r.charAt(r.length-1)&&(i+="$"),a=new RegExp(i)):(i=r.toString(),a=r),n=>{if(Nm(n.value))return null;const s=n.value;return a.test(s)?null:{pattern:{requiredPattern:i,actualValue:s}}}}function F3(r){return null}function ZX(r){return null!=r}function JX(r){return ev(r)?wn(r):r}function eZ(r){let a={};return r.forEach(i=>{a=null!=i?{...a,...i}:a}),0===Object.keys(a).length?null:a}function tZ(r,a){return a.map(i=>i(r))}function iZ(r){return r.map(a=>function Fye(r){return!r.validate}(a)?a:i=>a.validate(i))}function nZ(r){if(!r)return null;const a=r.filter(ZX);return 0==a.length?null:function(i){return eZ(tZ(i,a))}}function c8(r){return null!=r?nZ(iZ(r)):null}function oZ(r){if(!r)return null;const a=r.filter(ZX);return 0==a.length?null:function(i){return zX(tZ(i,a).map(JX)).pipe(Rt(eZ))}}function d8(r){return null!=r?oZ(iZ(r)):null}function rZ(r,a){return null===r?[a]:Array.isArray(r)?[...r,a]:[r,a]}function sZ(r){return r._rawValidators}function aZ(r){return r._rawAsyncValidators}function u8(r){return r?Array.isArray(r)?r:[r]:[]}function N3(r,a){return Array.isArray(r)?r.includes(a):r===a}function lZ(r,a){const i=u8(a);return u8(r).forEach(s=>{N3(i,s)||i.push(s)}),i}function cZ(r,a){return u8(a).filter(i=>!N3(r,i))}class dZ{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(a){this._rawValidators=a||[],this._composedValidatorFn=c8(this._rawValidators)}_setAsyncValidators(a){this._rawAsyncValidators=a||[],this._composedAsyncValidatorFn=d8(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(a){this._onDestroyCallbacks.push(a)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(a=>a()),this._onDestroyCallbacks=[]}reset(a=void 0){this.control&&this.control.reset(a)}hasError(a,i){return!!this.control&&this.control.hasError(a,i)}getError(a,i){return this.control?this.control.getError(a,i):null}}class ll extends dZ{get formDirective(){return null}get path(){return null}}class ws extends dZ{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class uZ{constructor(a){this._cd=a}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let gn=(()=>{class r extends uZ{constructor(i){super(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ws,2))};static#t=this.\u0275dir=re({type:r,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,s){2&n&&Se("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[Ae]})}return r})(),Qr=(()=>{class r extends uZ{constructor(i){super(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ll,10))};static#t=this.\u0275dir=re({type:r,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,s){2&n&&Se("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[Ae]})}return r})();const aI="VALID",B3="INVALID",tw="PENDING",lI="DISABLED";function g8(r){return(V3(r)?r.validators:r)||null}function m8(r,a){return(V3(a)?a.asyncValidators:r)||null}function V3(r){return null!=r&&!Array.isArray(r)&&"object"==typeof r}function pZ(r,a,i){const n=r.controls;if(!(a?Object.keys(n):n).length)throw new Be(1e3,"");if(!n[i])throw new Be(1001,"")}function gZ(r,a,i){r._forEachChild((n,s)=>{if(void 0===i[s])throw new Be(1002,"")})}class z3{constructor(a,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(a),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(a){this._rawValidators=this._composedValidatorFn=a}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}get parent(){return this._parent}get valid(){return this.status===aI}get invalid(){return this.status===B3}get pending(){return this.status==tw}get disabled(){return this.status===lI}get enabled(){return this.status!==lI}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(a){this._assignValidators(a)}setAsyncValidators(a){this._assignAsyncValidators(a)}addValidators(a){this.setValidators(lZ(a,this._rawValidators))}addAsyncValidators(a){this.setAsyncValidators(lZ(a,this._rawAsyncValidators))}removeValidators(a){this.setValidators(cZ(a,this._rawValidators))}removeAsyncValidators(a){this.setAsyncValidators(cZ(a,this._rawAsyncValidators))}hasValidator(a){return N3(this._rawValidators,a)}hasAsyncValidator(a){return N3(this._rawAsyncValidators,a)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(a={}){this.touched=!0,this._parent&&!a.onlySelf&&this._parent.markAsTouched(a)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(a=>a.markAllAsTouched())}markAsUntouched(a={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}markAsDirty(a={}){this.pristine=!1,this._parent&&!a.onlySelf&&this._parent.markAsDirty(a)}markAsPristine(a={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}markAsPending(a={}){this.status=tw,!1!==a.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!a.onlySelf&&this._parent.markAsPending(a)}disable(a={}){const i=this._parentMarkedDirty(a.onlySelf);this.status=lI,this.errors=null,this._forEachChild(n=>{n.disable({...a,onlySelf:!0})}),this._updateValue(),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...a,skipPristineCheck:i}),this._onDisabledChange.forEach(n=>n(!0))}enable(a={}){const i=this._parentMarkedDirty(a.onlySelf);this.status=aI,this._forEachChild(n=>{n.enable({...a,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent}),this._updateAncestors({...a,skipPristineCheck:i}),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(a){this._parent&&!a.onlySelf&&(this._parent.updateValueAndValidity(a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(a){this._parent=a}getRawValue(){return this.value}updateValueAndValidity(a={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===aI||this.status===tw)&&this._runAsyncValidator(a.emitEvent)),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.updateValueAndValidity(a)}_updateTreeValidity(a={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(a)),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?lI:aI}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(a){if(this.asyncValidator){this.status=tw,this._hasOwnPendingAsyncValidator=!0;const i=JX(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:a})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(a,i={}){this.errors=a,this._updateControlsErrors(!1!==i.emitEvent)}get(a){let i=a;return null==i||(Array.isArray(i)||(i=i.split(".")),0===i.length)?null:i.reduce((n,s)=>n&&n._find(s),this)}getError(a,i){const n=i?this.get(i):this;return n&&n.errors?n.errors[a]:null}hasError(a,i){return!!this.getError(a,i)}get root(){let a=this;for(;a._parent;)a=a._parent;return a}_updateControlsErrors(a){this.status=this._calculateStatus(),a&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(a)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?lI:this.errors?B3:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(tw)?tw:this._anyControlsHaveStatus(B3)?B3:aI}_anyControlsHaveStatus(a){return this._anyControls(i=>i.status===a)}_anyControlsDirty(){return this._anyControls(a=>a.dirty)}_anyControlsTouched(){return this._anyControls(a=>a.touched)}_updatePristine(a={}){this.pristine=!this._anyControlsDirty(),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}_updateTouched(a={}){this.touched=this._anyControlsTouched(),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}_registerOnCollectionChange(a){this._onCollectionChange=a}_setUpdateStrategy(a){V3(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)}_parentMarkedDirty(a){return!a&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(a){return null}_assignValidators(a){this._rawValidators=Array.isArray(a)?a.slice():a,this._composedValidatorFn=function Vye(r){return Array.isArray(r)?c8(r):r||null}(this._rawValidators)}_assignAsyncValidators(a){this._rawAsyncValidators=Array.isArray(a)?a.slice():a,this._composedAsyncValidatorFn=function zye(r){return Array.isArray(r)?d8(r):r||null}(this._rawAsyncValidators)}}class Rv extends z3{constructor(a,i,n){super(g8(i),m8(n,i)),this.controls=a,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(a,i){return this.controls[a]?this.controls[a]:(this.controls[a]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(a,i,n={}){this.registerControl(a,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(a,i={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(a,i,n={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],i&&this.registerControl(a,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}setValue(a,i={}){gZ(this,0,a),Object.keys(a).forEach(n=>{pZ(this,!0,n),this.controls[n].setValue(a[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(a,i={}){null!=a&&(Object.keys(a).forEach(n=>{const s=this.controls[n];s&&s.patchValue(a[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(a={},i={}){this._forEachChild((n,s)=>{n.reset(a?a[s]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(a,i,n)=>(a[n]=i.getRawValue(),a))}_syncPendingControls(){let a=this._reduceChildren(!1,(i,n)=>!!n._syncPendingControls()||i);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){Object.keys(this.controls).forEach(i=>{const n=this.controls[i];n&&a(n,i)})}_setUpControls(){this._forEachChild(a=>{a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(a){for(const[i,n]of Object.entries(this.controls))if(this.contains(i)&&a(n))return!0;return!1}_reduceValue(){return this._reduceChildren({},(i,n,s)=>((n.enabled||this.disabled)&&(i[s]=n.value),i))}_reduceChildren(a,i){let n=a;return this._forEachChild((s,l)=>{n=i(n,s,l)}),n}_allControlsDisabled(){for(const a of Object.keys(this.controls))if(this.controls[a].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null}}class mZ extends Rv{}const Pv=new $e("CallSetDisabledState",{providedIn:"root",factory:()=>cI}),cI="always";function H3(r,a){return[...a.path,r]}function dI(r,a,i=cI){f8(r,a),a.valueAccessor.writeValue(r.value),(r.disabled||"always"===i)&&a.valueAccessor.setDisabledState?.(r.disabled),function Gye(r,a){a.valueAccessor.registerOnChange(i=>{r._pendingValue=i,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&fZ(r,a)})}(r,a),function $ye(r,a){const i=(n,s)=>{a.valueAccessor.writeValue(n),s&&a.viewToModelUpdate(n)};r.registerOnChange(i),a._registerOnDestroy(()=>{r._unregisterOnChange(i)})}(r,a),function jye(r,a){a.valueAccessor.registerOnTouched(()=>{r._pendingTouched=!0,"blur"===r.updateOn&&r._pendingChange&&fZ(r,a),"submit"!==r.updateOn&&r.markAsTouched()})}(r,a),function Hye(r,a){if(a.valueAccessor.setDisabledState){const i=n=>{a.valueAccessor.setDisabledState(n)};r.registerOnDisabledChange(i),a._registerOnDestroy(()=>{r._unregisterOnDisabledChange(i)})}}(r,a)}function G3(r,a,i=!0){const n=()=>{};a.valueAccessor&&(a.valueAccessor.registerOnChange(n),a.valueAccessor.registerOnTouched(n)),$3(r,a),r&&(a._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=>{}))}function j3(r,a){r.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(a)})}function f8(r,a){const i=sZ(r);null!==a.validator?r.setValidators(rZ(i,a.validator)):"function"==typeof i&&r.setValidators([i]);const n=aZ(r);null!==a.asyncValidator?r.setAsyncValidators(rZ(n,a.asyncValidator)):"function"==typeof n&&r.setAsyncValidators([n]);const s=()=>r.updateValueAndValidity();j3(a._rawValidators,s),j3(a._rawAsyncValidators,s)}function $3(r,a){let i=!1;if(null!==r){if(null!==a.validator){const s=sZ(r);if(Array.isArray(s)&&s.length>0){const l=s.filter(d=>d!==a.validator);l.length!==s.length&&(i=!0,r.setValidators(l))}}if(null!==a.asyncValidator){const s=aZ(r);if(Array.isArray(s)&&s.length>0){const l=s.filter(d=>d!==a.asyncValidator);l.length!==s.length&&(i=!0,r.setAsyncValidators(l))}}}const n=()=>{};return j3(a._rawValidators,n),j3(a._rawAsyncValidators,n),i}function fZ(r,a){r._pendingDirty&&r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function _Z(r,a){f8(r,a)}function v8(r,a){if(!r.hasOwnProperty("model"))return!1;const i=r.model;return!!i.isFirstChange()||!Object.is(a,i.currentValue)}function vZ(r,a){r._syncPendingControls(),a.forEach(i=>{const n=i.control;"submit"===n.updateOn&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function b8(r,a){if(!a)return null;let i,n,s;return Array.isArray(a),a.forEach(l=>{l.constructor===Sn?i=l:function qye(r){return Object.getPrototypeOf(r.constructor)===Mv}(l)?n=l:s=l}),s||n||i||null}const Yye={provide:ll,useExisting:J(()=>iw)},uI=(()=>Promise.resolve())();let iw=(()=>{class r extends ll{constructor(i,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new X,this.form=new Rv({},c8(i),d8(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){uI.then(()=>{const n=this._findContainer(i.path);i.control=n.registerControl(i.name,i.control),dI(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){uI.then(()=>{const n=this._findContainer(i.path);n&&n.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){uI.then(()=>{const n=this._findContainer(i.path),s=new Rv({});_Z(s,i),n.registerControl(i.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){uI.then(()=>{const n=this._findContainer(i.path);n&&n.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,n){uI.then(()=>{this.form.get(i.path).setValue(n)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,vZ(this.form,this._directives),this.ngSubmit.emit(i),"dialog"===i?.target?.method}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}static#e=this.\u0275fac=function(n){return new(n||r)(T(io,10),T(Lm,10),T(Pv,8))};static#t=this.\u0275dir=re({type:r,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,s){1&n&&B("submit",function(d){return s.onSubmit(d)})("reset",function(){return s.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ye([Yye]),Ae]})}return r})();function bZ(r,a){const i=r.indexOf(a);i>-1&&r.splice(i,1)}function yZ(r){return"object"==typeof r&&null!==r&&2===Object.keys(r).length&&"value"in r&&"disabled"in r}const Hl=class extends z3{constructor(a=null,i,n){super(g8(i),m8(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(a),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V3(i)&&(i.nonNullable||i.initialValueIsDefault)&&(this.defaultValue=yZ(a)?a.value:a)}setValue(a,i={}){this.value=this._pendingValue=a,this._onChange.length&&!1!==i.emitModelToViewChange&&this._onChange.forEach(n=>n(this.value,!1!==i.emitViewToModelChange)),this.updateValueAndValidity(i)}patchValue(a,i={}){this.setValue(a,i)}reset(a=this.defaultValue,i={}){this._applyFormState(a),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(a){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(a){this._onChange.push(a)}_unregisterOnChange(a){bZ(this._onChange,a)}registerOnDisabledChange(a){this._onDisabledChange.push(a)}_unregisterOnDisabledChange(a){bZ(this._onDisabledChange,a)}_forEachChild(a){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(a){yZ(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}},Zye={provide:ws,useExisting:J(()=>ss)},xZ=(()=>Promise.resolve())();let ss=(()=>{class r extends ws{constructor(i,n,s,l,d,p){super(),this._changeDetectorRef=d,this.callSetDisabledState=p,this.control=new Hl,this._registered=!1,this.name="",this.update=new X,this._parent=i,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=b8(0,l)}ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){const n=i.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),v8(i,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){dI(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(i){xZ.then(()=>{this.control.setValue(i,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(i){const n=i.isDisabled.currentValue,s=0!==n&&gC(n);xZ.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(i){return this._parent?H3(i,this._parent):[i]}static#e=this.\u0275fac=function(n){return new(n||r)(T(ll,9),T(io,10),T(Lm,10),T(Yn,10),T(rt,8),T(Pv,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ye([Zye]),Ae,ci]})}return r})(),cl=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return r})();let kZ=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();const y8=new $e("NgModelWithFormControlWarning"),n0e={provide:ws,useExisting:J(()=>tu)};let tu=(()=>{class r extends ws{set isDisabled(i){}static#e=this._ngModelWarningSentOnce=!1;constructor(i,n,s,l,d){super(),this._ngModelWarningConfig=l,this.callSetDisabledState=d,this.update=new X,this._ngModelWarningSent=!1,this._setValidators(i),this._setAsyncValidators(n),this.valueAccessor=b8(0,s)}ngOnChanges(i){if(this._isControlChanged(i)){const n=i.form.previousValue;n&&G3(n,this,!1),dI(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}v8(i,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&G3(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}_isControlChanged(i){return i.hasOwnProperty("form")}static#t=this.\u0275fac=function(n){return new(n||r)(T(io,10),T(Lm,10),T(Yn,10),T(y8,8),T(Pv,8))};static#i=this.\u0275dir=re({type:r,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ye([n0e]),Ae,ci]})}return r})();const o0e={provide:ll,useExisting:J(()=>jo)};let jo=(()=>{class r extends ll{constructor(i,n,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new X,this._setValidators(i),this._setAsyncValidators(n)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&($3(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){const n=this.form.get(i.path);return dI(n,i,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),n}getControl(i){return this.form.get(i.path)}removeControl(i){G3(i.control||null,i,!1),function Kye(r,a){const i=r.indexOf(a);i>-1&&r.splice(i,1)}(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,n){this.form.get(i.path).setValue(n)}onSubmit(i){return this.submitted=!0,vZ(this.form,this.directives),this.ngSubmit.emit(i),"dialog"===i?.target?.method}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{const n=i.control,s=this.form.get(i.path);n!==s&&(G3(n||null,i),(r=>r instanceof Hl)(s)&&(dI(s,i,this.callSetDisabledState),i.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){const n=this.form.get(i.path);_Z(n,i),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){const n=this.form.get(i.path);n&&function Uye(r,a){return $3(r,a)}(n,i)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){f8(this.form,this),this._oldForm&&$3(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(n){return new(n||r)(T(io,10),T(Lm,10),T(Pv,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","formGroup",""]],hostBindings:function(n,s){1&n&&B("submit",function(d){return s.onSubmit(d)})("reset",function(){return s.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ye([o0e]),Ae,ci]})}return r})();const a0e={provide:ws,useExisting:J(()=>ba)};let ba=(()=>{class r extends ws{set isDisabled(i){}static#e=this._ngModelWarningSentOnce=!1;constructor(i,n,s,l,d){super(),this._ngModelWarningConfig=d,this._added=!1,this.name=null,this.update=new X,this._ngModelWarningSent=!1,this._parent=i,this._setValidators(n),this._setAsyncValidators(s),this.valueAccessor=b8(0,l)}ngOnChanges(i){this._added||this._setUpControl(),v8(i,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(i){this.viewModel=i,this.update.emit(i)}get path(){return H3(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(n){return new(n||r)(T(ll,13),T(io,10),T(Lm,10),T(Yn,10),T(y8,8))};static#i=this.\u0275dir=re({type:r,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ye([a0e]),Ae,ci]})}return r})();let Ov=(()=>{class r{constructor(){this._validator=F3}ngOnChanges(i){if(this.inputName in i){const n=this.normalizeInput(i[this.inputName].currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):F3,this._onChange&&this._onChange()}}validate(i){return this._validator(i)}registerOnValidatorChange(i){this._onChange=i}enabled(i){return null!=i}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,features:[ci]})}return r})();const f0e={provide:io,useExisting:J(()=>vc),multi:!0};let vc=(()=>{class r extends Ov{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=gC,this.createValidator=i=>WX}enabled(i){return i}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,s){2&n&&ge("required",s._enabled?"":null)},inputs:{required:"required"},features:[Ye([f0e]),Ae]})}return r})();let RZ=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[kZ]})}return r})();class PZ extends z3{constructor(a,i,n){super(g8(i),m8(n,i)),this.controls=a,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(a){return this.controls[this._adjustIndex(a)]}push(a,i={}){this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}insert(a,i,n={}){this.controls.splice(a,0,i),this._registerControl(i),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(a,i={}){let n=this._adjustIndex(a);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:i.emitEvent})}setControl(a,i,n={}){let s=this._adjustIndex(a);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),i&&(this.controls.splice(s,0,i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(a,i={}){gZ(this,0,a),a.forEach((n,s)=>{pZ(this,!1,s),this.at(s).setValue(n,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(a,i={}){null!=a&&(a.forEach((n,s)=>{this.at(s)&&this.at(s).patchValue(n,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(a=[],i={}){this._forEachChild((n,s)=>{n.reset(a[s],{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this.controls.map(a=>a.getRawValue())}clear(a={}){this.controls.length<1||(this._forEachChild(i=>i._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}_adjustIndex(a){return a<0?a+this.length:a}_syncPendingControls(){let a=this.controls.reduce((i,n)=>!!n._syncPendingControls()||i,!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){this.controls.forEach((i,n)=>{a(i,n)})}_updateValue(){this.value=this.controls.filter(a=>a.enabled||this.disabled).map(a=>a.value)}_anyControls(a){return this.controls.some(i=>i.enabled&&a(i))}_setUpControls(){this._forEachChild(a=>this._registerControl(a))}_allControlsDisabled(){for(const a of this.controls)if(a.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}_find(a){return this.at(a)??null}}function OZ(r){return!!r&&(void 0!==r.asyncValidators||void 0!==r.validators||void 0!==r.updateOn)}let za=(()=>{class r{constructor(){this.useNonNullable=!1}get nonNullable(){const i=new r;return i.useNonNullable=!0,i}group(i,n=null){const s=this._reduceControls(i);let l={};return OZ(n)?l=n:null!==n&&(l.validators=n.validator,l.asyncValidators=n.asyncValidator),new Rv(s,l)}record(i,n=null){const s=this._reduceControls(i);return new mZ(s,n)}control(i,n,s){let l={};return this.useNonNullable?(OZ(n)?l=n:(l.validators=n,l.asyncValidators=s),new Hl(i,{...l,nonNullable:!0})):new Hl(i,n,s)}array(i,n,s){const l=i.map(d=>this._createControl(d));return new PZ(l,n,s)}_reduceControls(i){const n={};return Object.keys(i).forEach(s=>{n[s]=this._createControl(i[s])}),n}_createControl(i){return i instanceof Hl||i instanceof z3?i:Array.isArray(i)?this.control(i[0],i.length>1?i[1]:null,i.length>2?i[2]:null):this.control(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Zu=(()=>{class r{static withConfig(i){return{ngModule:r,providers:[{provide:Pv,useValue:i.callSetDisabledState??cI}]}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[RZ]})}return r})(),ow=(()=>{class r{static withConfig(i){return{ngModule:r,providers:[{provide:y8,useValue:i.warnOnNgModelWithFormControl??"always"},{provide:Pv,useValue:i.callSetDisabledState??cI}]}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[RZ]})}return r})();class x0e extends Ge{constructor(a=1/0,i=1/0,n=BH){super(),this._bufferSize=a,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,i)}next(a){const{isStopped:i,_buffer:n,_infiniteTimeWindow:s,_timestampProvider:l,_windowTime:d}=this;i||(n.push(a),!s&&n.push(l.now()+d)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const i=this._innerSubscribe(a),{_infiniteTimeWindow:n,_buffer:s}=this,l=s.slice();for(let d=0;dnew x0e(n,a,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}const W3=function I0e(r,a){return r===a||r!=r&&a!=a},q3=function S0e(r,a){for(var i=r.length;i--;)if(W3(r[i][0],a))return i;return-1};var E0e=Array.prototype.splice;function rw(r){var a=-1,i=null==r?0:r.length;for(this.clear();++a-1},rw.prototype.set=function L0e(r,a){var i=this.__data__,n=q3(i,r);return n<0?(++this.size,i.push([r,a])):i[n][1]=a,this};const K3=rw,NZ="object"==typeof global&&global&&global.Object===Object&&global;var K0e="object"==typeof self&&self&&self.Object===Object&&self;const iu=NZ||K0e||Function("return this")(),sw=iu.Symbol;var LZ=Object.prototype,X0e=LZ.hasOwnProperty,Z0e=LZ.toString,gI=sw?sw.toStringTag:void 0;var iCe=Object.prototype.toString;var BZ=sw?sw.toStringTag:void 0;const Fv=function aCe(r){return null==r?void 0===r?"[object Undefined]":"[object Null]":BZ&&BZ in Object(r)?function J0e(r){var a=X0e.call(r,gI),i=r[gI];try{r[gI]=void 0;var n=!0}catch{}var s=Z0e.call(r);return n&&(a?r[gI]=i:delete r[gI]),s}(r):function nCe(r){return iCe.call(r)}(r)},td=function lCe(r){var a=typeof r;return null!=r&&("object"==a||"function"==a)},R8=function pCe(r){if(!td(r))return!1;var a=Fv(r);return"[object Function]"==a||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a};var r,gCe=iu["__core-js_shared__"],VZ=(r=/[^.]+$/.exec(gCe&&gCe.keys&&gCe.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";var vCe=Function.prototype.toString;const Nv=function bCe(r){if(null!=r){try{return vCe.call(r)}catch{}try{return r+""}catch{}}return""};var CCe=/^\[object .+?Constructor\]$/,ACe=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const SCe=function ICe(r){return!(!td(r)||function mCe(r){return!!VZ&&VZ in r}(r))&&(R8(r)?ACe:CCe).test(Nv(r))},Lv=function MCe(r,a){var i=function TCe(r,a){return r?.[a]}(r,a);return SCe(i)?i:void 0},mI=Lv(iu,"Map"),fI=Lv(Object,"create");var zCe=Object.prototype.hasOwnProperty;var $Ce=Object.prototype.hasOwnProperty;function aw(r){var a=-1,i=null==r?0:r.length;for(this.clear();++a-1&&r%1==0&&r<=9007199254740991},X3=function Hwe(r){return null!=r&&tJ(r.length)&&!R8(r)};var iJ="object"==typeof exports&&exports&&!exports.nodeType&&exports,nJ=iJ&&"object"==typeof module&&module&&!module.nodeType&&module,oJ=nJ&&nJ.exports===iJ?iu.Buffer:void 0;const z8=(oJ?oJ.isBuffer:void 0)||function $we(){return!1};var rJ=Function.prototype.toString,Zwe=Object.prototype.hasOwnProperty,Jwe=rJ.call(Object);const sJ=function exe(r){if(!Gp(r)||"[object Object]"!=Fv(r))return!1;var a=L8(r);if(null===a)return!0;var i=Zwe.call(a,"constructor")&&a.constructor;return"function"==typeof i&&i instanceof i&&rJ.call(i)==Jwe};var tr={};tr["[object Float32Array]"]=tr["[object Float64Array]"]=tr["[object Int8Array]"]=tr["[object Int16Array]"]=tr["[object Int32Array]"]=tr["[object Uint8Array]"]=tr["[object Uint8ClampedArray]"]=tr["[object Uint16Array]"]=tr["[object Uint32Array]"]=!0,tr["[object Arguments]"]=tr["[object Array]"]=tr["[object ArrayBuffer]"]=tr["[object Boolean]"]=tr["[object DataView]"]=tr["[object Date]"]=tr["[object Error]"]=tr["[object Function]"]=tr["[object Map]"]=tr["[object Number]"]=tr["[object Object]"]=tr["[object RegExp]"]=tr["[object Set]"]=tr["[object String]"]=tr["[object WeakMap]"]=!1;const H8=function Ixe(r){return function(a){return r(a)}};var aJ="object"==typeof exports&&exports&&!exports.nodeType&&exports,vI=aJ&&"object"==typeof module&&module&&!module.nodeType&&module,G8=vI&&vI.exports===aJ&&NZ.process;const dw=function(){try{return vI&&vI.require&&vI.require("util").types||G8&&G8.binding&&G8.binding("util")}catch{}}();var lJ=dw&&dw.isTypedArray;const cJ=lJ?H8(lJ):function Dxe(r){return Gp(r)&&tJ(r.length)&&!!tr[Fv(r)]},j8=function Mxe(r,a){if(("constructor"!==a||"function"!=typeof r[a])&&"__proto__"!=a)return r[a]};var Pxe=Object.prototype.hasOwnProperty;const dJ=function Oxe(r,a,i){var n=r[a];(!Pxe.call(r,a)||!W3(n,i)||void 0===i&&!(a in r))&&O8(r,a,i)},bI=function Fxe(r,a,i,n){var s=!i;i||(i={});for(var l=-1,d=a.length;++l-1&&r%1==0&&r0){if(++a>=800)return arguments[0]}else a=0;return r.apply(void 0,arguments)}}(c1e);const f1e=m1e,v1e=function _1e(r,a){return f1e(function r1e(r,a,i){return a=mJ(void 0===a?r.length-1:a,0),function(){for(var n=arguments,s=-1,l=mJ(n.length-a,0),d=Array(l);++s1?i[s-1]:void 0,d=s>2?i[2]:void 0;for(l=r.length>3&&"function"==typeof l?(s--,l):void 0,d&&function b1e(r,a,i){if(!td(i))return!1;var n=typeof a;return!!("number"==n?X3(i)&&uJ(a,i.length):"string"==n&&a in i)&&W3(i[a],r)}(i[0],i[1],d)&&(l=s<3?void 0:l,s=1),a=Object(a);++n>>1|(21845&ir)<<1;wI[ir]=((65280&(Bm=(61680&(Bm=(52428&Bm)>>>2|(13107&Bm)<<2))>>>4|(3855&Bm)<<4))>>>8|(255&Bm)<<8)>>>1}var Vm=new bo(288);for(ir=0;ir<144;++ir)Vm[ir]=8;for(ir=144;ir<256;++ir)Vm[ir]=9;for(ir=256;ir<280;++ir)Vm[ir]=7;for(ir=280;ir<288;++ir)Vm[ir]=8;var xI=new bo(32);for(ir=0;ir<32;++ir)xI[ir]=5;var sF=new bo(0);var t7=typeof TextDecoder<"u"&&new TextDecoder;try{t7.decode(sF,{stream:!0})}catch{}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout;const mF=window,r7=mF.ShadowRoot&&(void 0===mF.ShadyCSS||mF.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s7=Symbol(),QJ=new WeakMap;class XJ{constructor(a,i,n){if(this._$cssResult$=!0,n!==s7)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=a,this.t=i}get styleSheet(){let a=this.o;const i=this.t;if(r7&&void 0===a){const n=void 0!==i&&1===i.length;n&&(a=QJ.get(i)),void 0===a&&((this.o=a=new CSSStyleSheet).replaceSync(this.cssText),n&&QJ.set(i,a))}return a}toString(){return this.cssText}}const ZJ=r=>new XJ("string"==typeof r?r:r+"",void 0,s7),JJ=r7?r=>r:r=>r instanceof CSSStyleSheet?(a=>{let i="";for(const n of a.cssRules)i+=n.cssText;return ZJ(i)})(r):r;var a7;const fF=window,eee=fF.trustedTypes,sAe=eee?eee.emptyScript:"",tee=fF.reactiveElementPolyfillSupport,l7={toAttribute(r,a){switch(a){case Boolean:r=r?sAe:null;break;case Object:case Array:r=null==r?r:JSON.stringify(r)}return r},fromAttribute(r,a){let i=r;switch(a){case Boolean:i=null!==r;break;case Number:i=null===r?null:Number(r);break;case Object:case Array:try{i=JSON.parse(r)}catch{i=null}}return i}},iee=(r,a)=>a!==r&&(a==a||r==r),c7={attribute:!0,type:String,converter:l7,reflect:!1,hasChanged:iee},d7="finalized";class _w extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(a){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(a)}static get observedAttributes(){this.finalize();const a=[];return this.elementProperties.forEach((i,n)=>{const s=this._$Ep(n,i);void 0!==s&&(this._$Ev.set(s,n),a.push(s))}),a}static createProperty(a,i=c7){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(a,i),!i.noAccessor&&!this.prototype.hasOwnProperty(a)){const n="symbol"==typeof a?Symbol():"__"+a,s=this.getPropertyDescriptor(a,n,i);void 0!==s&&Object.defineProperty(this.prototype,a,s)}}static getPropertyDescriptor(a,i,n){return{get(){return this[i]},set(s){const l=this[a];this[i]=s,this.requestUpdate(a,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(a){return this.elementProperties.get(a)||c7}static finalize(){if(this.hasOwnProperty(d7))return!1;this[d7]=!0;const a=Object.getPrototypeOf(this);if(a.finalize(),void 0!==a.h&&(this.h=[...a.h]),this.elementProperties=new Map(a.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const i=this.properties,n=[...Object.getOwnPropertyNames(i),...Object.getOwnPropertySymbols(i)];for(const s of n)this.createProperty(s,i[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(a){const i=[];if(Array.isArray(a)){const n=new Set(a.flat(1/0).reverse());for(const s of n)i.unshift(JJ(s))}else void 0!==a&&i.push(JJ(a));return i}static _$Ep(a,i){const n=i.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof a?a.toLowerCase():void 0}_$Eu(){var a;this._$E_=new Promise(i=>this.enableUpdating=i),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(a=this.constructor.h)||void 0===a||a.forEach(i=>i(this))}addController(a){var i,n;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(a),void 0!==this.renderRoot&&this.isConnected&&(null===(n=a.hostConnected)||void 0===n||n.call(a))}removeController(a){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(a)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((a,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])})}createRenderRoot(){var a;const i=null!==(a=this.shadowRoot)&&void 0!==a?a:this.attachShadow(this.constructor.shadowRootOptions);return((r,a)=>{r7?r.adoptedStyleSheets=a.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet):a.forEach(i=>{const n=document.createElement("style"),s=mF.litNonce;void 0!==s&&n.setAttribute("nonce",s),n.textContent=i.cssText,r.appendChild(n)})})(i,this.constructor.elementStyles),i}connectedCallback(){var a;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(a=this._$ES)||void 0===a||a.forEach(i=>{var n;return null===(n=i.hostConnected)||void 0===n?void 0:n.call(i)})}enableUpdating(a){}disconnectedCallback(){var a;null===(a=this._$ES)||void 0===a||a.forEach(i=>{var n;return null===(n=i.hostDisconnected)||void 0===n?void 0:n.call(i)})}attributeChangedCallback(a,i,n){this._$AK(a,n)}_$EO(a,i,n=c7){var s;const l=this.constructor._$Ep(a,n);if(void 0!==l&&!0===n.reflect){const d=(void 0!==(null===(s=n.converter)||void 0===s?void 0:s.toAttribute)?n.converter:l7).toAttribute(i,n.type);this._$El=a,null==d?this.removeAttribute(l):this.setAttribute(l,d),this._$El=null}}_$AK(a,i){var n;const s=this.constructor,l=s._$Ev.get(a);if(void 0!==l&&this._$El!==l){const d=s.getPropertyOptions(l),p="function"==typeof d.converter?{fromAttribute:d.converter}:void 0!==(null===(n=d.converter)||void 0===n?void 0:n.fromAttribute)?d.converter:l7;this._$El=l,this[l]=p.fromAttribute(i,d.type),this._$El=null}}requestUpdate(a,i,n){let s=!0;void 0!==a&&(((n=n||this.constructor.getPropertyOptions(a)).hasChanged||iee)(this[a],i)?(this._$AL.has(a)||this._$AL.set(a,i),!0===n.reflect&&this._$El!==a&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(a,n))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}_$Ej(){var a=this;return qi(function*(){a.isUpdatePending=!0;try{yield a._$E_}catch(n){Promise.reject(n)}const i=a.scheduleUpdate();return null!=i&&(yield i),!a.isUpdatePending})()}scheduleUpdate(){return this.performUpdate()}performUpdate(){var a;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach((s,l)=>this[l]=s),this._$Ei=void 0);let i=!1;const n=this._$AL;try{i=this.shouldUpdate(n),i?(this.willUpdate(n),null===(a=this._$ES)||void 0===a||a.forEach(s=>{var l;return null===(l=s.hostUpdate)||void 0===l?void 0:l.call(s)}),this.update(n)):this._$Ek()}catch(s){throw i=!1,this._$Ek(),s}i&&this._$AE(n)}willUpdate(a){}_$AE(a){var i;null===(i=this._$ES)||void 0===i||i.forEach(n=>{var s;return null===(s=n.hostUpdated)||void 0===s?void 0:s.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(a)),this.updated(a)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(a){return!0}update(a){void 0!==this._$EC&&(this._$EC.forEach((i,n)=>this._$EO(n,this[n],i)),this._$EC=void 0),this._$Ek()}updated(a){}firstUpdated(a){}}var u7;_w[d7]=!0,_w.elementProperties=new Map,_w.elementStyles=[],_w.shadowRootOptions={mode:"open"},tee?.({ReactiveElement:_w}),(null!==(a7=fF.reactiveElementVersions)&&void 0!==a7?a7:fF.reactiveElementVersions=[]).push("1.6.3");const _F=window,vw=_F.trustedTypes,nee=vw?vw.createPolicy("lit-html",{createHTML:r=>r}):void 0,vF="$lit$",jp=`lit$${(Math.random()+"").slice(9)}$`,h7="?"+jp,aAe=`<${h7}>`,zv=document,II=()=>zv.createComment(""),SI=r=>null===r||"object"!=typeof r&&"function"!=typeof r,oee=Array.isArray,p7="[ \t\n\f\r]",TI=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,see=/-->/g,aee=/>/g,Hv=RegExp(`>|${p7}(?:([^\\s"'>=/]+)(${p7}*=${p7}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),lee=/'/g,cee=/"/g,dee=/^(?:script|style|textarea|title)$/i,uee=r=>(a,...i)=>({_$litType$:r,strings:a,values:i}),lAe=uee(1),Gv=(uee(2),Symbol.for("lit-noChange")),as=Symbol.for("lit-nothing"),hee=new WeakMap,jv=zv.createTreeWalker(zv,129,null,!1);function pee(r,a){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==nee?nee.createHTML(a):a}class EI{constructor({strings:a,_$litType$:i},n){let s;this.parts=[];let l=0,d=0;const p=a.length-1,f=this.parts,[v,D]=((r,a)=>{const i=r.length-1,n=[];let s,l=2===a?"":"",d=TI;for(let p=0;p"===D[0]?(d=s??TI,E=-1):void 0===D[1]?E=-2:(E=d.lastIndex-D[2].length,v=D[1],d=void 0===D[3]?Hv:'"'===D[3]?cee:lee):d===cee||d===lee?d=Hv:d===see||d===aee?d=TI:(d=Hv,s=void 0);const L=d===Hv&&r[p+1].startsWith("/>")?" ":"";l+=d===TI?f+aAe:E>=0?(n.push(v),f.slice(0,E)+vF+f.slice(E)+jp+L):f+jp+(-2===E?(n.push(void 0),p):L)}return[pee(r,l+(r[i]||"")+(2===a?"":"")),n]})(a,i);if(this.el=EI.createElement(v,n),jv.currentNode=this.el.content,2===i){const E=this.el.content,F=E.firstChild;F.remove(),E.append(...F.childNodes)}for(;null!==(s=jv.nextNode())&&f.length0){s.textContent=vw?vw.emptyScript:"";for(let L=0;Loee(r)||"function"==typeof r?.[Symbol.iterator])(a)?this.T(a):this._(a)}k(a){return this._$AA.parentNode.insertBefore(a,this._$AB)}$(a){this._$AH!==a&&(this._$AR(),this._$AH=this.k(a))}_(a){this._$AH!==as&&SI(this._$AH)?this._$AA.nextSibling.data=a:this.$(zv.createTextNode(a)),this._$AH=a}g(a){var i;const{values:n,_$litType$:s}=a,l="number"==typeof s?this._$AC(a):(void 0===s.el&&(s.el=EI.createElement(pee(s.h,s.h[0]),this.options)),s);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===l)this._$AH.v(n);else{const d=new mee(l,this),p=d.u(this.options);d.v(n),this.$(p),this._$AH=d}}_$AC(a){let i=hee.get(a.strings);return void 0===i&&hee.set(a.strings,i=new EI(a)),i}T(a){oee(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let n,s=0;for(const l of a)s===i.length?i.push(n=new bw(this.k(II()),this.k(II()),this,this.options)):n=i[s],n._$AI(l),s++;s2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=as}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(a,i=this,n,s){const l=this.strings;let d=!1;if(void 0===l)a=$v(this,a,i,0),d=!SI(a)||a!==this._$AH&&a!==Gv,d&&(this._$AH=a);else{const p=a;let f,v;for(a=l[0],f=0;f{var n,s;const l=null!==(n=i?.renderBefore)&&void 0!==n?n:a;let d=l._$litPart$;if(void 0===d){const p=null!==(s=i?.renderBefore)&&void 0!==s?s:null;l._$litPart$=d=new bw(a.insertBefore(II(),p),p,void 0,i??{})}return d._$AI(r),d})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var a;super.connectedCallback(),null===(a=this._$Do)||void 0===a||a.setConnected(!0)}disconnectedCallback(){var a;super.disconnectedCallback(),null===(a=this._$Do)||void 0===a||a.setConnected(!1)}render(){return Gv}}RI.finalized=!0,RI._$litElement$=!0,null===(g7=globalThis.litElementHydrateSupport)||void 0===g7||g7.call(globalThis,{LitElement:RI});const Cee=globalThis.litElementPolyfillSupport;Cee?.({LitElement:RI}),(null!==(m7=globalThis.litElementVersions)&&void 0!==m7?m7:globalThis.litElementVersions=[]).push("3.3.3");const uAe=(r,a)=>"method"===a.kind&&a.descriptor&&!("value"in a.descriptor)?{...a,finisher(i){i.createProperty(a.key,r)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:a.key,initializer(){"function"==typeof a.initializer&&(this[a.key]=a.initializer.call(this))},finisher(i){i.createProperty(a.key,r)}};function wee(r){return(a,i)=>void 0!==i?((r,a,i)=>{a.constructor.createProperty(i,r)})(r,a,i):uAe(r,a)}window;const xee=r=>(...a)=>({_$litDirective$:r,values:a});class mAe{constructor(a){}get _$AU(){return this._$AM._$AU}_$AT(a,i,n){this._$Ct=a,this._$AM=i,this._$Ci=n}_$AS(a,i){return this.update(a,i)}update(a,i){return this.render(...i)}}class bF extends mAe{constructor(a){if(super(a),this.et=as,2!==a.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(a){if(a===as||null==a)return this.ft=void 0,this.et=a;if(a===Gv)return a;if("string"!=typeof a)throw Error(this.constructor.directiveName+"() called with a non-string value");if(a===this.et)return this.ft;this.et=a;const i=[a];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}bF.directiveName="unsafeHTML",bF.resultType=1,xee(bF);class _7 extends bF{}_7.directiveName="unsafeSVG",_7.resultType=2;const fAe=xee(_7);var bAe=Object.defineProperty,yAe=Object.getOwnPropertyDescriptor,kee=(r,a,i,n)=>{for(var d,s=n>1?void 0:n?yAe(a,i):a,l=r.length-1;l>=0;l--)(d=r[l])&&(s=(n?d(a,i,s):d(s))||s);return n&&s&&bAe(a,i,s),s};class PI extends RI{constructor(){super(...arguments),this.text="Trial version of Ignite UI for Angular",this.url="https://www.infragistics.com/how-to-buy/renewal"}static register(){globalThis.customElements&&!globalThis.customElements.get(this.tagName)&&globalThis.customElements.define(this.tagName,this)}render(){return lAe` ${fAe('\n')} ${this.text} - `}}PI.styles=eee(':host{display:block;position:absolute;bottom:0;right:0;width:100%;height:100%;z-index:10000;pointer-events:none}[part=link]{position:absolute;display:inline-flex;align-items:center;bottom:0;right:0;font-family:Titillium Web,sans-serif;font-size:.875rem;padding:.125rem .25rem;line-height:normal;border:1px solid var(--igx-watermark-border-color, var(--border-color, var(--igx-watermark-base-color, var(--base-color, #09f))));border-radius:var(--igx-watermark-border-radius, var(--border-radius, .125rem));color:var(--igx-watermark-color, var(--color, #fff));z-index:10002;background-color:var(--igx-watermark-link-background, var(--link-background, var(--igx-watermark-base-color, var(--base-color, #09f))));pointer-events:all;text-decoration:none}[part=link] svg{width:1.125rem;height:1.125rem;fill:currentColor;margin-inline-end:.25rem}[part=image]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:10001;pointer-events:none;background-color:var(--igx-watermark-image-color, var(--image-color, color-mix(in srgb, var(--igx-watermark-base-color, var(--base-color, #09f)) var(--igx-watermark-image-opacity, var(--image-opacity, 15%)), transparent)));mask-image:var(--igx-watermark-background-image, var(--background-image, url(\'data:image/svg+xml;utf8,\')));mask-size:12.5rem 9.375rem;mask-position:top left;-webkit-mask-image:var(--igx-watermark-background-image, var(--background-image, url(\'data:image/svg+xml;utf8,\')));-webkit-mask-position:top left}\n'),PI.tagName="igc-trial-watermark",Aee([kee({attribute:"text"})],PI.prototype,"text",2),Aee([kee({attribute:"url"})],PI.prototype,"url",2);typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);new Uint8Array(16);const Ca=[];for(let r=0;r<256;++r)Ca.push((r+256).toString(16).slice(1));const DAe=["noLigature"],AAe=["explicitLigature"],IAe=["svgImage"];function SAe(r,a){}function TAe(r,a){1&r&&Ie(0)}function EAe(r,a){1&r&&Q(0,"div",4),2&r&&x("innerHTML",S().getSvg,il)}function MAe(r,a){1&r&&ye(0)}const Oo=["*"];const Tn=function(r){return{$implicit:r}};const Nee=["defaultIndicator"],nTe=["defaultNextButton"],oTe=["defaultPrevButton"];function rTe(r,a){1&r&&Q(0,"div",7),2&r&&Se("igx-nav-dot--active",a.$implicit.active)}function sTe(r,a){1&r&&(C(0,"span",8)(1,"igx-icon"),P(2,"arrow_forward"),k()()),2&r&&Se("igx-nav-arrow--disabled",a.$implicit)}function aTe(r,a){1&r&&(C(0,"span",8)(1,"igx-icon"),P(2,"arrow_back"),k()()),2&r&&Se("igx-nav-arrow--disabled",a.$implicit)}function lTe(r,a){1&r&&ye(0)}function cTe(r,a){if(1&r){const i=ce();C(0,"div",11),B("click",function(){const l=z(i).$implicit;return H(S(2).select(l))}),I(1,lTe,1,0,"ng-container",12),k()}if(2&r){const i=a.$implicit,n=S(2);x("id","tab-"+i.index+"-"+n.total),ge("role","tab")("aria-label",n.resourceStrings.igx_carousel_slide+" "+(i.index+1)+" "+n.resourceStrings.igx_carousel_of+" "+n.total)("aria-controls","panel-"+i.index)("aria-selected",i.active),y(1),x("ngTemplateOutlet",n.getIndicatorTemplate)("ngTemplateOutletContext",Wt(7,Tn,i))}}function dTe(r,a){if(1&r&&(C(0,"div",9),I(1,cTe,2,9,"div",10),k()),2&r){const i=S();x("ngClass",i.indicatorsOrientationClass),ge("role","tablist"),y(1),x("ngForOf",i.slides)}}function uTe(r,a){if(1&r&&(C(0,"div",9)(1,"span",13),P(2),k()()),2&r){const i=S();x("ngClass",i.indicatorsOrientationClass),y(1),x("id",i.labelId),y(1),_e(i.getCarouselLabel)}}function hTe(r,a){1&r&&ye(0)}function pTe(r,a){if(1&r){const i=ce();C(0,"div",14),B("keydown.enter",function(){return z(i),H(S().prev())})("click",function(){return z(i),H(S().prev())}),I(1,hTe,1,0,"ng-container",12),k()}if(2&r){const i=S();ge("aria-label",i.resourceStrings.igx_carousel_previous_slide),y(1),x("ngTemplateOutlet",i.getPrevButtonTemplate)("ngTemplateOutletContext",Wt(3,Tn,i.prevButtonDisabled))}}function gTe(r,a){1&r&&ye(0)}function mTe(r,a){if(1&r){const i=ce();C(0,"div",15),B("keydown.enter",function(){return z(i),H(S().next())})("click",function(){return z(i),H(S().next())}),I(1,gTe,1,0,"ng-container",12),k()}if(2&r){const i=S();ge("aria-label",i.resourceStrings.igx_carousel_next_slide),y(1),x("ngTemplateOutlet",i.getNextButtonTemplate)("ngTemplateOutletContext",Wt(3,Tn,i.nextButtonDisabled))}}var yw=function(r){return r[r.Quad="cubic-bezier(0.550, 0.085, 0.680, 0.530)"]="Quad",r[r.Cubic="cubic-bezier(0.550, 0.055, 0.675, 0.190)"]="Cubic",r[r.Quart="cubic-bezier(0.895, 0.030, 0.685, 0.220)"]="Quart",r[r.Quint="cubic-bezier(0.755, 0.050, 0.855, 0.060)"]="Quint",r[r.Sine="cubic-bezier(0.470, 0.000, 0.745, 0.715)"]="Sine",r[r.Expo="cubic-bezier(0.950, 0.050, 0.795, 0.035)"]="Expo",r[r.Circ="cubic-bezier(0.600, 0.040, 0.980, 0.335)"]="Circ",r[r.Back="cubic-bezier(0.600, -0.280, 0.735, 0.045)"]="Back",r}(yw||{}),jl=function(r){return r[r.Quad="cubic-bezier(0.250, 0.460, 0.450, 0.940)"]="Quad",r[r.Cubic="cubic-bezier(0.215, 0.610, 0.355, 1.000)"]="Cubic",r[r.Quart="cubic-bezier(0.165, 0.840, 0.440, 1.000)"]="Quart",r[r.Quint="cubic-bezier(0.230, 1.000, 0.320, 1.000)"]="Quint",r[r.Sine="cubic-bezier(0.390, 0.575, 0.565, 1.000)"]="Sine",r[r.Expo="cubic-bezier(0.190, 1.000, 0.220, 1.000)"]="Expo",r[r.Circ="cubic-bezier(0.075, 0.820, 0.165, 1.000)"]="Circ",r[r.Back="cubic-bezier(0.175, 0.885, 0.320, 1.275)"]="Back",r}(jl||{}),ste=function(r){return r[r.Quad="cubic-bezier(0.455, 0.030, 0.515, 0.955)"]="Quad",r[r.Cubic="cubic-bezier(0.645, 0.045, 0.355, 1.000)"]="Cubic",r[r.Quart="cubic-bezier(0.770, 0.000, 0.175, 1.000)"]="Quart",r[r.Quint="cubic-bezier(0.860, 0.000, 0.070, 1.000)"]="Quint",r[r.Sine="cubic-bezier(0.445, 0.050, 0.550, 0.950)"]="Sine",r[r.Expo="cubic-bezier(1.000, 0.000, 0.000, 1.000)"]="Expo",r[r.Circ="cubic-bezier(0.785, 0.135, 0.150, 0.860)"]="Circ",r[r.Back="cubic-bezier(0.680, -0.550, 0.265, 1.550)"]="Back",r}(ste||{});const ate=[gt({opacity:"{{startOpacity}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{endOpacity}}"}))],dl=nt(ate,{params:{delay:"0s",duration:"350ms",easing:jl.Sine,endOpacity:1,startOpacity:0}}),Gm=(nt(ate,{params:{delay:"0s",duration:"350ms",easing:jl.Sine,endOpacity:0,startOpacity:1}}),[gt({backfaceVisibility:"hidden",transformStyle:"preserve-3d"}),Di("{{duration}} {{delay}} {{easing}}",Zd([gt({offset:0,transform:"translateZ({{startDistance}})\n rotate3d({{rotateX}}, {{rotateY}}, {{rotateZ}}, {{startAngle}}deg)"}),gt({offset:1,transform:"translateZ({{endDistance}})\n rotate3d({{rotateX}}, {{rotateY}}, {{rotateZ}}, {{endAngle}}deg)"})]))]),jm={delay:"0s",duration:"600ms",easing:jl.Quad,endAngle:180,endDistance:"0px",rotateX:1,rotateY:0,rotateZ:0,startAngle:0,startDistance:"0px"},$o=(nt(Gm,{params:{...jm}}),nt(Gm,{params:{...jm,endAngle:-180}}),nt(Gm,{params:{...jm,rotateX:0,rotateY:1}}),nt(Gm,{params:{...jm,endAngle:-180,rotateX:0,rotateY:1}}),nt(Gm,{params:{...jm,endDistance:"170px"}}),nt(Gm,{params:{...jm,endDistance:"-170px"}}),nt(Gm,{params:{...jm,endDistance:"170px",rotateX:0,rotateY:1}}),nt(Gm,{params:{...jm,endDistance:"-170px",rotateX:0,rotateY:1}}),[gt({opacity:"{{startOpacity}}",transform:"rotate3d({{rotateX}},{{rotateY}},{{rotateZ}},{{startAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({offset:0,opacity:"{{endOpacity}}",transform:"rotate3d({{rotateX}},{{rotateY}},{{rotateZ}},{{endAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}))]),$l={delay:"0s",duration:"600ms",easing:jl.Quad,endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,xPos:"center",yPos:"center"},bc={...$l,easing:yw.Quad,endOpacity:0,startOpacity:1},su=(nt($o,{params:{...$l}}),nt($o,{params:{...bc}}),nt($o,{params:{...$l,xPos:"top"}}),nt($o,{params:{...bc,xPos:"top"}}),nt($o,{params:{...$l,xPos:"right"}}),nt($o,{params:{...bc,xPos:"right"}}),nt($o,{params:{...$l,xPos:"bottom"}}),nt($o,{params:{...bc,xPos:"bottom"}}),nt($o,{params:{...$l,xPos:"left"}}),nt($o,{params:{...bc,xPos:"left"}}),nt($o,{params:{...$l,xPos:"right",yPos:"top"}}),nt($o,{params:{...bc,xPos:"right",yPos:"top"}}),nt($o,{params:{...$l,xPos:"right",yPos:"bottom"}}),nt($o,{params:{...bc,xPos:"right",yPos:"bottom"}}),nt($o,{params:{...$l,xPos:"left",yPos:"bottom"}}),nt($o,{params:{...bc,xPos:"left",yPos:"bottom"}}),nt($o,{params:{...$l,xPos:"left",yPos:"top"}}),nt($o,{params:{...bc,xPos:"left",yPos:"top"}}),nt($o,{params:{...$l,rotateX:1,rotateY:1,rotateZ:0}}),nt($o,{params:{...bc,rotateX:1,rotateY:1,rotateZ:0}}),nt($o,{params:{...$l,rotateX:-1,rotateY:1,rotateZ:0}}),nt($o,{params:{...bc,rotateX:-1,rotateY:1,rotateZ:0}}),nt($o,{params:{...$l,rotateX:0,rotateY:1,rotateZ:0}}),nt($o,{params:{...bc,rotateX:0,rotateY:1,rotateZ:0}}),nt($o,{params:{...$l,rotateX:1,rotateY:0,rotateZ:0}}),nt($o,{params:{...bc,rotateX:1,rotateY:0,rotateZ:0}}),[Di("{{duration}} {{delay}} {{easing}}",Zd([gt({offset:0,transform:"rotate(0deg) translate{{direction}}(0)",transformOrigin:"{{xPos}} {{yPos}}"}),gt({offset:.1,transform:"rotate({{endAngle}}deg) translate{{direction}}(-{{startDistance}})"}),gt({offset:.2,transform:"rotate(-{{startAngle}}deg) translate{{direction}}({{startDistance}})"}),gt({offset:.3,transform:"rotate({{startAngle}}deg) translate{{direction}}(-{{startDistance}})"}),gt({offset:.4,transform:"rotate(-{{startAngle}}deg) translate{{direction}}({{startDistance}})"}),gt({offset:.5,transform:"rotate({{startAngle}}deg) translate{{direction}}(-{{startDistance}})"}),gt({offset:.6,transform:"rotate(-{{startAngle}}deg) translate{{direction}}({{startDistance}})"}),gt({offset:.7,transform:"rotate({{startAngle}}deg) translate{{direction}}(-{{startDistance}})"}),gt({offset:.8,transform:"rotate(-{{endAngle}}deg) translate{{direction}}({{endDistance}})"}),gt({offset:.9,transform:"rotate({{endAngle}}deg) translate{{direction}}(-{{endDistance}})"}),gt({offset:1,transform:"rotate(0deg) translate{{direction}}(0)",transformOrigin:"{{xPos}} {{yPos}}"})]))]),au={delay:"0s",direction:"X",duration:"800ms",easing:ste.Quad,endAngle:0,endDistance:"8px",startAngle:0,startDistance:"10px",xPos:"center",yPos:"center"},O9e=(nt(su,{params:{...au,direction:"X"}}),nt(su,{params:{...au,direction:"Y"}}),nt(su,{params:{...au,endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",yPos:"top"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",yPos:"bottom"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"right",yPos:"center"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"left",yPos:"center"}}),nt(su,{params:{...au,direction:"Y",endAngle:8,endDistance:"0",startAngle:10,startDistance:"0",xPos:"center",yPos:"center"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"right",yPos:"top"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"right",yPos:"bottom"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"left",yPos:"bottom"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"left",yPos:"top"}}),[gt({animationTimingFunction:"ease-out",transform:"scale(1)",transformOrigin:"center center"}),Di("{{duration}} {{delay}} {{easing}}",Zd([gt({animationTimingFunction:"ease-in",offset:.1,transform:"scale(0.91)"}),gt({animationTimingFunction:"ease-out",offset:.17,transform:"scale(0.98)"}),gt({animationTimingFunction:"ease-in",offset:.33,transform:"scale(0.87)"}),gt({animationTimingFunction:"ease-out",offset:.45,transform:"scale(1)"})]))]),Tte=[Di("{{duration}} {{delay}} {{easing}}",Zd([gt({offset:0,transform:"scale({{fromScale}})"}),gt({offset:.5,transform:"scale({{toScale}})"}),gt({offset:1,transform:"scale({{fromScale}})"})]))],Ete={delay:"0s",duration:".5s",easing:"ease-in-out",fromScale:1,toScale:1.1},N9e=[Di("{{duration}} {{delay}} {{easing}}",Zd([gt({offset:0,opacity:.8,transform:"scale({{fromScale}})"}),gt({offset:.8,opacity:0,transform:"scale({{midScale}})"}),gt({offset:1,opacity:0,transform:"scale({{toScale}})"})]))],oo=(nt(Tte,{params:{...Ete}}),nt(Tte,{params:{...Ete,toScale:.9}}),nt(O9e,{params:{delay:"0s",duration:"1.5s",easing:"ease-in-out"}}),nt(N9e,{params:{delay:"0s",duration:".8s",easing:"ease-in-out",fromScale:.2,midScale:1.2,toScale:2.2}}),[gt({opacity:"{{startOpacity}}",transform:"scale{{direction}}({{fromScale}})",transformOrigin:"{{xPos}} {{yPos}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{endOpacity}}",transform:"scale{{direction}}({{toScale}})",transformOrigin:"{{xPos}} {{yPos}}"}))]),ja={delay:"0s",direction:"",duration:"350ms",easing:jl.Quad,endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"50%",yPos:"50%"},ul={...ja,easing:jl.Sine,endOpacity:0,fromScale:1,startOpacity:1,toScale:.5},$a=(nt(oo,{params:ja}),nt(oo,{params:{...ja,xPos:"0",yPos:"100%"}}),nt(oo,{params:{...ja,direction:"Y",fromScale:.4}}),nt(oo,{params:{...ja,xPos:"50%",yPos:"0"}}),nt(oo,{params:{...ja,xPos:"0",yPos:"50%"}}),nt(oo,{params:{...ja,direction:"Y",fromScale:.4,xPos:"100%",yPos:"0"}}),nt(oo,{params:{...ja,xPos:"100%",yPos:"0"}}),nt(oo,{params:{...ja,xPos:"0",yPos:"0"}}),nt(oo,{params:{...ja,direction:"Y",fromScale:.4,xPos:"0",yPos:"100%"}}),nt(oo,{params:{...ja,xPos:"100%",yPos:"50%"}}),nt(oo,{params:{...ja,direction:"X",fromScale:.4}}),nt(oo,{params:{...ja,xPos:"100%",yPos:"100%"}}),nt(oo,{params:{...ja,direction:"X",fromScale:.4,xPos:"0",yPos:"0"}}),nt(oo,{params:{...ja,xPos:"50%",yPos:"100%"}}),nt(oo,{params:{...ja,direction:"X",fromScale:.4,xPos:"100%",yPos:"100%"}}),nt(oo,{params:ul}),nt(oo,{params:{...ul,xPos:"0",yPos:"100%"}}),nt(oo,{params:{...ul,xPos:"100%",yPos:"100%"}}),nt(oo,{params:{...ul,direction:"Y",toScale:.3}}),nt(oo,{params:{...ul,direction:"Y",toScale:.3,xPos:"100%",yPos:"0"}}),nt(oo,{params:{...ul,direction:"Y",toScale:.3,xPos:"0",yPos:"100%"}}),nt(oo,{params:{...ul,xPos:"50%",yPos:"0"}}),nt(oo,{params:{...ul,xPos:"0",yPos:"50%"}}),nt(oo,{params:{...ul,xPos:"100%",yPos:"0"}}),nt(oo,{params:{...ul,xPos:"0",yPos:"0"}}),nt(oo,{params:{...ul,xPos:"100%",yPos:"50%"}}),nt(oo,{params:{...ul,xPos:"50%",yPos:"100%"}}),nt(oo,{params:{...ul,direction:"X",toScale:.3}}),nt(oo,{params:{...ul,direction:"X",toScale:.3,xPos:"0",yPos:"0"}}),nt(oo,{params:{...ul,direction:"X",toScale:.3,xPos:"100%",yPos:"100%"}}),[gt({opacity:"{{startOpacity}}",transform:"{{fromPosition}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{endOpacity}}",transform:"{{toPosition}}"}))]),LI={delay:"0s",duration:"350ms",easing:jl.Quad,endOpacity:1,fromPosition:"translateY(-500px)",startOpacity:0,toPosition:"translateY(0)"},Wv={delay:"0s",duration:"350ms",easing:yw.Quad,endOpacity:0,fromPosition:"translateY(0)",startOpacity:1,toPosition:"translateY(-500px)"},qv=(nt($a,{params:LI}),nt($a,{params:{delay:"0s",duration:"350ms",easing:jl.Quad,endOpacity:1,fromPosition:"translateX(-500px)",startOpacity:0,toPosition:"translateY(0)"}})),Ua=(nt($a,{params:{delay:"0s",duration:"350ms",easing:jl.Quad,endOpacity:1,fromPosition:"translateX(500px)",startOpacity:0,toPosition:"translateY(0)"}}),nt($a,{params:{delay:"0s",duration:"350ms",easing:jl.Quad,endOpacity:1,fromPosition:"translateY(500px)",startOpacity:0,toPosition:"translateY(0)"}}),nt($a,{params:{...LI,fromPosition:"translateY(-500px) translateX(500px)",toPosition:"translateY(0) translateX(0)"}}),nt($a,{params:{...LI,fromPosition:"translateY(-500px) translateX(-500px)",toPosition:"translateY(0) translateX(0)"}}),nt($a,{params:{...LI,fromPosition:"translateY(500px) translateX(500px)",toPosition:"translateY(0) translateX(0)"}}),nt($a,{params:{...LI,fromPosition:"translateY(500px) translateX(-500px)",toPosition:"translateY(0) translateX(0)"}}),nt($a,{params:Wv}),nt($a,{params:{...Wv,toPosition:"translateX(500px)"}}),nt($a,{params:{delay:"0s",duration:"350ms",easing:yw.Quad,endOpacity:0,fromPosition:"translateY(0)",startOpacity:1,toPosition:"translateY(500px)"}}),nt($a,{params:{...Wv,toPosition:"translateX(-500px)"}}),nt($a,{params:{...Wv,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(-500px) translateX(500px)"}}),nt($a,{params:{...Wv,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(500px) translateX(500px)"}}),nt($a,{params:{...Wv,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(500px) translateX(-500px)"}}),nt($a,{params:{...Wv,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(-500px) translateX(-500px)"}}),[gt({opacity:"{{startOpacity}}",transform:"rotate{{direction}}({{startAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{endOpacity}}",transform:"rotate{{direction}}({{endAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}))]),$p={delay:"0s",direction:"X",duration:".5s",easing:jl.Back,endAngle:0,endOpacity:1,startAngle:-100,startOpacity:0,xPos:"top",yPos:"center"},$m={...$p,duration:".55s",easing:yw.Back,endAngle:70,endOpacity:0,startAngle:0,startOpacity:1},zte=(nt(Ua,{params:{...$p}}),nt(Ua,{params:{...$p,direction:"Y",xPos:"center",yPos:"right"}}),nt(Ua,{params:{...$p,startAngle:100,xPos:"bottom"}}),nt(Ua,{params:{...$p,direction:"Y",startAngle:100,xPos:"center",yPos:"left"}}),nt(Ua,{params:{...$p,duration:".6s",startAngle:70}}),nt(Ua,{params:{...$p,direction:"Y",duration:".6s",startAngle:70,xPos:"center",yPos:"right"}}),nt(Ua,{params:{...$p,duration:".6s",startAngle:-70,xPos:"bottom"}}),nt(Ua,{params:{...$p,direction:"Y",duration:".6s",startAngle:-70,xPos:"center",yPos:"left"}}),nt(Ua,{params:{...$m}}),nt(Ua,{params:{...$m,direction:"Y",xPos:"center",yPos:"right"}}),nt(Ua,{params:{...$m,endAngle:-70,xPos:"bottom"}}),nt(Ua,{params:{...$m,direction:"Y",endAngle:-70,xPos:"center",yPos:"left"}}),nt(Ua,{params:{...$m,duration:".45s",endAngle:-100}}),nt(Ua,{params:{...$m,direction:"Y",duration:".45s",endAngle:-100,xPos:"center",yPos:"right"}}),nt(Ua,{params:{...$m,duration:".45s",endAngle:100,xPos:"bottom"}}),nt(Ua,{params:{...$m,direction:"Y",duration:".45s",endAngle:100,xPos:"center",yPos:"left"}}),[gt({opacity:"{{ startOpacity }}",height:"{{ startHeight }}",paddingBlock:"{{ startPadding }}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{ endOpacity }}",height:"{{ endHeight }}",paddingBlock:"{{ endPadding }}"}))]),Hte={delay:"0s",duration:"350ms",easing:yw.Quad,startOpacity:0,endOpacity:1,startHeight:"",endHeight:"",startPadding:"",endPadding:""};nt(zte,{params:{...Hte,easing:jl.Quad,startOpacity:0,endOpacity:1,startHeight:"0px",endHeight:"*",startPadding:"0px",endPadding:"*"}}),nt(zte,{params:{...Hte,easing:jl.Quad,startOpacity:1,endOpacity:0,startHeight:"*",endHeight:"0px",startPadding:"*",endPadding:"0px"}});const nr=r=>{if(wa(r))return new Date(r.getTime());if(Array.isArray(r))return[...r];if(r instanceof Map||r instanceof Set)return r;if(Um(r)){const a={};for(const i of Object.keys(r))a[i]=nr(r[i]);return a}return r},Um=r=>!(!r||"[object Object]"!==r.toString()),wa=r=>r instanceof Date;let ti=(()=>{class r{constructor(i){this.platformId=i,this.isBrowser=kK(this.platformId),this.isIOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.isFirefox=this.isBrowser&&/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent),this.isEdge=this.isBrowser&&/Edge[\/\s](\d+\.\d+)/.test(navigator.userAgent),this.isChromium=this.isBrowser&&(/Chrom|e?ium/g.test(navigator.userAgent)||/Google Inc/g.test(navigator.vendor))&&!/Edge/g.test(navigator.userAgent),this.KEYMAP={ENTER:"Enter",SPACE:" ",ESCAPE:"Escape",ARROW_DOWN:"ArrowDown",ARROW_UP:"ArrowUp",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",END:"End",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",F2:"F2",TAB:"Tab",SEMICOLON:";",DELETE:"Delete",BACKSPACE:"Backspace",CONTROL:"Control",X:"x",Y:"y",Z:"z"}}getNodeSizeViaRange(i,n,s){let d,l=null;if(this.isFirefox||(l=n.style.overflow,n.style.overflow="visible"),s){const v=s.style;d=[v.width,v.minWidth,v.flexBasis],v.width="",v.minWidth="",v.flexBasis=""}i.selectNodeContents(n);const p=n.getBoundingClientRect().width/n.offsetWidth,f=i.getBoundingClientRect().width/p;return this.isFirefox||(n.style.overflow=l),s&&(s.style.width=d[0],s.style.minWidth=d[1],s.style.flexBasis=d[2]),f}isActivationKey(i){return i.key===this.KEYMAP.ENTER||i.key===this.KEYMAP.SPACE}isFilteringKeyCombo(i){return i.key===this.KEYMAP.ESCAPE||i.ctrlKey&&i.shiftKey&&"l"===i.key.toLowerCase()}isLeftClick(i){return 0===i.button}isNavigationKey(i){return[this.KEYMAP.HOME,this.KEYMAP.END,this.KEYMAP.SPACE,this.KEYMAP.ARROW_DOWN,this.KEYMAP.ARROW_LEFT,this.KEYMAP.ARROW_RIGHT,this.KEYMAP.ARROW_UP].includes(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Ld))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Wm=new Set(["down","up","left","right","arrowdown","arrowup","arrowleft","arrowright","home","end","space","spacebar"," "]),Wte=(new Set("up down arrowup arrowdown home end".split(" ")),new Set("right down arrowright arrowdown".split(" ")),new Set("left up arrowleft arrowup".split(" ")),new Set(["+","add","\u2260","\xb1","="])),qte=(Array.from(Wm),Array.from(Wte),Array.from(Wm),(r,a)=>{if(!a)return!r;if(r.size!==a.size)return!1;let i=!0;const n=Array.from(a.keys());for(const s of n)if(i=!!r.has(s)&&r.get(s)===a.get(s),!i)break;return i});new pv(void 0);class Sje{get position(){return this._innerPlayer.getPosition()}set position(a){this.internalPlayer.setPosition(a)}constructor(a){this.internalPlayer=a,this.animationStart=new X,this.animationEnd=new X,this.internalPlayer.onDone(()=>this.onDone());const i=this.internalPlayer._renderer;this._innerPlayer=i.engine.players[i.engine.players.length-1]}init(){this.internalPlayer.init()}play(){this.animationStart.emit({owner:this}),this.internalPlayer.play()}finish(){this.internalPlayer.finish()}reset(){this.internalPlayer.reset(),this.internalPlayer._started=!1}destroy(){this.internalPlayer.destroy()}hasStarted(){return this.internalPlayer.hasStarted()}onDone(){this.animationEnd.emit({owner:this})}}let nh=(()=>{class r{constructor(i){this.builder=i}buildAnimation(i,n){if(!i)return null;const s=this.builder.build(i);return new Sje(s.create(n))}static#e=this.\u0275fac=function(n){return new(n||r)(De(g3))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();new $e("IgxDropDownBaseToken"),new $e("DisplayDensity");const aie={igx_grid_groupByArea_message:"Drag a column header and drop it here to group by that column.",igx_grid_groupByArea_select_message:"Select all rows in the group with field name {0} and value {1}.",igx_grid_groupByArea_deselect_message:"Deselect all rows in the group with field name {0} and value {1}.",igx_grid_emptyFilteredGrid_message:"No records found.",igx_grid_emptyGrid_message:"Grid has no data.",igx_grid_filter:"Filter",igx_grid_filter_row_close:"Close",igx_grid_filter_row_reset:"Reset",igx_grid_filter_row_placeholder:"Add filter value",igx_grid_filter_row_boolean_placeholder:"All",igx_grid_filter_row_date_placeholder:"Pick up date",igx_grid_filter_row_time_placeholder:"Pick up time",igx_grid_filter_operator_and:"And",igx_grid_filter_operator_or:"Or",igx_grid_complex_filter:"Complex Filter",igx_grid_filter_contains:"Contains",igx_grid_filter_doesNotContain:"Does Not Contain",igx_grid_filter_startsWith:"Starts With",igx_grid_filter_endsWith:"Ends With",igx_grid_filter_equals:"Equals",igx_grid_filter_doesNotEqual:"Does Not Equal",igx_grid_filter_empty:"Empty",igx_grid_filter_notEmpty:"Not Empty",igx_grid_filter_null:"Null",igx_grid_filter_notNull:"Not Null",igx_grid_filter_before:"Before",igx_grid_filter_after:"After",igx_grid_filter_at:"At",igx_grid_filter_not_at:"Not At",igx_grid_filter_at_before:"At or Before",igx_grid_filter_at_after:"At or After",igx_grid_filter_today:"Today",igx_grid_filter_yesterday:"Yesterday",igx_grid_filter_thisMonth:"This Month",igx_grid_filter_lastMonth:"Last Month",igx_grid_filter_nextMonth:"Next Month",igx_grid_filter_thisYear:"This Year",igx_grid_filter_lastYear:"Last Year",igx_grid_filter_nextYear:"Next Year",igx_grid_filter_greaterThan:"Greater Than",igx_grid_filter_lessThan:"Less Than",igx_grid_filter_greaterThanOrEqualTo:"Greater Than Or Equal To",igx_grid_filter_lessThanOrEqualTo:"Less Than Or Equal To",igx_grid_filter_true:"True",igx_grid_filter_false:"False",igx_grid_filter_all:"All",igx_grid_filter_condition_placeholder:"Select filter",igx_grid_summary_count:"Count",igx_grid_summary_min:"Min",igx_grid_summary_max:"Max",igx_grid_summary_sum:"Sum",igx_grid_summary_average:"Avg",igx_grid_summary_earliest:"Earliest",igx_grid_summary_latest:"Latest",igx_grid_excel_filter_moving_left:"move left",igx_grid_excel_filter_moving_left_short:"left",igx_grid_excel_filter_moving_right:"move right",igx_grid_excel_filter_moving_right_short:"right",igx_grid_excel_filter_moving_header:"move",igx_grid_excel_filter_sorting_asc:"ascending",igx_grid_excel_filter_sorting_asc_short:"asc",igx_grid_excel_filter_sorting_desc:"descending",igx_grid_excel_filter_sorting_desc_short:"desc",igx_grid_excel_filter_sorting_header:"sort",igx_grid_excel_filter_clear:"Clear column filters",igx_grid_excel_custom_dialog_add:"add filter",igx_grid_excel_custom_dialog_clear:"Clear filter",igx_grid_excel_custom_dialog_header:"Custom auto-filter on column: ",igx_grid_excel_cancel:"cancel",igx_grid_excel_apply:"apply",igx_grid_excel_search_placeholder:"Search",igx_grid_excel_select_all:"Select All",igx_grid_excel_select_all_search_results:"Select all search results",igx_grid_excel_add_to_filter:"Add current selection to filter",igx_grid_excel_blanks:"(Blanks)",igx_grid_excel_hide:"Hide column",igx_grid_excel_show:"Show column",igx_grid_excel_pin:"Pin column",igx_grid_excel_unpin:"Unpin column",igx_grid_excel_select:"Select column",igx_grid_excel_deselect:"Deselect column",igx_grid_excel_text_filter:"Text filter",igx_grid_excel_number_filter:"Number filter",igx_grid_excel_date_filter:"Date filter",igx_grid_excel_boolean_filter:"Boolean filter",igx_grid_excel_currency_filter:"Currency filter",igx_grid_excel_custom_filter:"Custom filter...",igx_grid_excel_no_matches:"No matches",igx_grid_excel_matches_count:"{0} matches.",igx_grid_advanced_filter_title:"Advanced Filtering",igx_grid_advanced_filter_and_group:'"And" Group',igx_grid_advanced_filter_or_group:'"Or" Group',igx_grid_advanced_filter_end_group:"End Group",igx_grid_advanced_filter_create_and_group:'Create "And" Group',igx_grid_advanced_filter_create_or_group:'Create "Or" Group',igx_grid_advanced_filter_and_label:"and",igx_grid_advanced_filter_or_label:"or",igx_grid_advanced_filter_add_condition:"Condition",igx_grid_advanced_filter_ungroup:"Ungroup",igx_grid_advanced_filter_delete:"Delete",igx_grid_advanced_filter_delete_filters:"Delete filters",igx_grid_advanced_filter_initial_text:'Start with creating a group of conditions linked with "And" or "Or"',igx_grid_advanced_filter_column_placeholder:"Select column",igx_grid_advanced_filter_value_placeholder:"Value",igx_grid_pinned_row_indicator:"Pinned",igx_grid_hiding_check_all_label:"Show All",igx_grid_hiding_uncheck_all_label:"Hide All",igx_grid_pinning_check_all_label:"Pin All",igx_grid_pinning_uncheck_all_label:"Unpin All",igx_grid_row_edit_btn_done:"Done",igx_grid_row_edit_btn_cancel:"Cancel",igx_grid_toolbar_actions_filter_prompt:"Filter columns list ...",igx_grid_toolbar_pinning_button_tooltip:"Open column pinning dropdown",igx_grid_toolbar_hiding_button_tooltip:"Open column hiding dropdown",igx_grid_toolbar_pinning_title:"Pinned columns",igx_grid_toolbar_hiding_title:"Visible columns",igx_grid_toolbar_advanced_filtering_button_tooltip:"Open advanced filtering dialog",igx_grid_toolbar_advanced_filtering_button_label:"Advanced filtering",igx_grid_toolbar_exporter_button_tooltip:"Open exporter dropdown",igx_grid_toolbar_exporter_button_label:"Export",igx_grid_toolbar_exporter_excel_entry_text:"Export to Excel",igx_grid_toolbar_exporter_csv_entry_text:"Export to CSV",igx_grid_snackbar_addrow_label:"Row added",igx_grid_snackbar_addrow_actiontext:"SHOW",igx_grid_actions_edit_label:"Edit",igx_grid_actions_add_label:"Add",igx_grid_add_row_label:"ADD ROW",igx_grid_actions_add_child_label:"Add Child",igx_grid_actions_delete_label:"Delete",igx_grid_actions_pin_label:"Pin",igx_grid_actions_unpin_label:"Unpin",igx_grid_actions_jumpUp_label:"Jump up",igx_grid_actions_jumpDown_label:"Jump down",igx_grid_pivot_date_dimension_total:"All Periods",igx_grid_pivot_aggregate_count:"Count",igx_grid_pivot_aggregate_min:"Minimum",igx_grid_pivot_aggregate_max:"Maximum",igx_grid_pivot_aggregate_sum:"Sum",igx_grid_pivot_aggregate_avg:"Average",igx_grid_pivot_aggregate_date_latest:"Latest Date",igx_grid_pivot_aggregate_date_earliest:"Earliest Date",igx_grid_pivot_aggregate_time_latest:"Latest Time",igx_grid_pivot_aggregate_time_earliest:"Earliest Time",igx_grid_pivot_empty_row_drop_area:"Drop Row Fields here.",igx_grid_pivot_empty_column_drop_area:"Drop Column Fields here.",igx_grid_pivot_empty_filter_drop_area:"Drop Filter Fields here.",igx_grid_pivot_empty_value_drop_area:"Drop Value Fields here.",igx_grid_pivot_row_drop_chip:"Drop here to use as row",igx_grid_pivot_column_drop_chip:"Drop here to use as column",igx_grid_pivot_filter_drop_chip:"Drop here to use as filter",igx_grid_pivot_value_drop_chip:"Drop here to use as value",igx_grid_pivot_empty_message:"Pivot grid has no dimensions and values.",igx_grid_pivot_selector_filters:"Filters",igx_grid_pivot_selector_rows:"Rows",igx_grid_pivot_selector_columns:"Columns",igx_grid_pivot_selector_values:"Values",igx_grid_pivot_selector_panel_empty:"Drop Items Here",igx_grid_required_validation_error:"This field is required",igx_grid_min_validation_error:"A value of at least {0} should be entered",igx_grid_max_validation_error:"A value no more than {0} should be entered",igx_grid_min_length_validation_error:"Entry should be at least {0} character(s) long",igx_grid_max_length_validation_error:"Entry should be no more than {0} character(s) long",igx_grid_email_validation_error:"A valid email address should be entered",igx_grid_pattern_validation_error:"Entry does not match the required pattern",igx_grid_pivot_no_aggregator:"No valid aggregator found for {0}. Please set either a valid aggregatorName or aggregator."},Qi={GridResStrings:nr(aie),PaginatorResStrings:nr({igx_paginator_label:"Items per page",igx_paginator_pager_text:"of",igx_paginator_first_page_button_text:"Go to first page",igx_paginator_previous_page_button_text:"Previous page",igx_paginator_last_page_button_text:"Go to last page",igx_paginator_next_page_button_text:"Next page"}),TimePickerResStrings:nr({igx_time_picker_ok:"OK",igx_time_picker_cancel:"Cancel",igx_time_picker_change_time:"Change Time",igx_time_picker_choose_time:"Choose Time"}),CalendarResStrings:nr({igx_calendar_previous_month:"Previous Month",igx_calendar_next_month:"Next Month",igx_calendar_select_month:"Select Month",igx_calendar_select_year:"Select Year",igx_calendar_range_start:"Range start",igx_calendar_range_end:"Range end",igx_calendar_selected_month_is:"Selected month is ",igx_calendar_first_picker_of:"First picker of {0} starts from",igx_calendar_multi_selection:"Multi selection calendar with {0} date pickers",igx_calendar_range_selection:"Range selection calendar with {0} date pickers",igx_calendar_single_selection:"Calendar with {0} date pickers",igx_calendar_singular_multi_selection:"Multi selection calendar",igx_calendar_singular_range_selection:"Range selection calendar",igx_calendar_singular_single_selection:"Calendar"}),ChipResStrings:nr({igx_chip_remove:"remove chip",igx_chip_select:"select chip"}),ComboResStrings:nr({igx_combo_empty_message:"The list is empty"}),DatePickerResourceStrings:nr({igx_date_picker_change_date:"Change Date",igx_date_picker_choose_date:"Choose Date"}),DateRangePickerResStrings:nr({igx_date_range_picker_date_separator:"to",igx_date_range_picker_done_button:"Done"}),CarouselResStrings:nr({igx_carousel_of:"of",igx_carousel_slide:"slide",igx_carousel_previous_slide:"previous slide",igx_carousel_next_slide:"next slide"}),ListResStrings:nr({igx_list_no_items:"There are no items in the list.",igx_list_loading:"Loading data from the server..."}),InputResStrings:nr({igx_input_upload_button:"Upload File",igx_input_file_placeholder:"No file chosen"}),TreeResStrings:nr({igx_expand:"Expand",igx_collapse:"Collapse"}),ActionStripResourceStrings:nr({igx_action_strip_button_more_title:"More"}),QueryBuilderResStrings:nr({igx_query_builder_date_placeholder:"Pick up date",igx_query_builder_time_placeholder:"Pick up time",igx_query_builder_filter_operator_and:"And",igx_query_builder_filter_operator_or:"Or",igx_query_builder_filter_contains:"Contains",igx_query_builder_filter_doesNotContain:"Does Not Contain",igx_query_builder_filter_startsWith:"Starts With",igx_query_builder_filter_endsWith:"Ends With",igx_query_builder_filter_equals:"Equals",igx_query_builder_filter_doesNotEqual:"Does Not Equal",igx_query_builder_filter_empty:"Empty",igx_query_builder_filter_notEmpty:"Not Empty",igx_query_builder_filter_null:"Null",igx_query_builder_filter_notNull:"Not Null",igx_query_builder_filter_before:"Before",igx_query_builder_filter_after:"After",igx_query_builder_filter_at:"At",igx_query_builder_filter_not_at:"Not At",igx_query_builder_filter_at_before:"At or Before",igx_query_builder_filter_at_after:"At or After",igx_query_builder_filter_today:"Today",igx_query_builder_filter_yesterday:"Yesterday",igx_query_builder_filter_thisMonth:"This Month",igx_query_builder_filter_lastMonth:"Last Month",igx_query_builder_filter_nextMonth:"Next Month",igx_query_builder_filter_thisYear:"This Year",igx_query_builder_filter_lastYear:"Last Year",igx_query_builder_filter_nextYear:"Next Year",igx_query_builder_filter_greaterThan:"Greater Than",igx_query_builder_filter_lessThan:"Less Than",igx_query_builder_filter_greaterThanOrEqualTo:"Greater Than Or Equal To",igx_query_builder_filter_lessThanOrEqualTo:"Less Than Or Equal To",igx_query_builder_filter_true:"True",igx_query_builder_filter_false:"False",igx_query_builder_filter_all:"All",igx_query_builder_title:"Query Builder",igx_query_builder_and_group:'"And" Group',igx_query_builder_or_group:'"Or" Group',igx_query_builder_end_group:"End Group",igx_query_builder_and_label:"and",igx_query_builder_or_label:"or",igx_query_builder_add_condition:"Condition",igx_query_builder_create_and_group:'Create "And" Group',igx_query_builder_create_or_group:'Create "Or" Group',igx_query_builder_ungroup:"Ungroup",igx_query_builder_delete:"Delete",igx_query_builder_delete_filters:"Delete filters",igx_query_builder_initial_text:'Start with creating a group of conditions linked with "And" or "Or"',igx_query_builder_column_placeholder:"Select column",igx_query_builder_condition_placeholder:"Select filter",igx_query_builder_value_placeholder:"Value"}),BannerResourceStrings:nr({igx_banner_button_dismiss:"Dismiss"})};new $e("InputGroupType");let Qm=(()=>{class r{constructor(i,n,s,l){this._sanitizer=i,this._httpClient=n,this._platformUtil=s,this._document=l,this._family="material-icons",this._familyAliases=new Map,this._cachedSvgIcons=new Map,this._iconLoaded=new Ge,this.iconLoaded=this._iconLoaded.asObservable(),this._platformUtil?.isBrowser&&(this._domParser=new DOMParser)}get defaultFamily(){return this._family}set defaultFamily(i){this._family=i}registerFamilyAlias(i,n=i){return this._familyAliases.set(i,n),this}familyClassName(i){return this._familyAliases.get(i)||i}addSvgIcon(i,n,s=this._family,l=!1){if(!i||!n)throw new Error("You should provide at least `name` and `url` to register an svg icon.");{const d=this._sanitizer.bypassSecurityTrustResourceUrl(n);if(!d)throw new Error(`The provided URL could not be processed as trusted resource URL by Angular's DomSanitizer: "${n}".`);if(!this._sanitizer.sanitize(Tr.RESOURCE_URL,d))throw new Error(`The URL provided was not trusted as a resource URL: "${n}".`);this.isSvgIconCached(i,s)||this.fetchSvg(n).subscribe(f=>{this.cacheSvgIcon(i,f,s,l),this._iconLoaded.next({name:i,value:f,family:s})})}}addSvgIconFromText(i,n,s="",l=!1){if(!i||!n)throw new Error("You should provide at least `name` and `iconText` to register an svg icon.");this.isSvgIconCached(i,s)||this.cacheSvgIcon(i,n,s,l)}isSvgIconCached(i,n=""){const s=this.familyClassName(n);return!!this._cachedSvgIcons.has(s)&&this._cachedSvgIcons.get(s).has(i)}getSvgIcon(i,n=""){const s=this.familyClassName(n);return this._cachedSvgIcons.get(s)?.get(i)}fetchSvg(i){return this._httpClient.get(i,{responseType:"text"})}cacheSvgIcon(i,n,s=this._family,l){if(s=s||this._family,this._platformUtil?.isBrowser&&i&&n){const p=this._domParser.parseFromString(n,"image/svg+xml").querySelector("svg");if(this._cachedSvgIcons.has(s)||this._cachedSvgIcons.set(s,new Map),p){if(p.setAttribute("fit",""),p.setAttribute("preserveAspectRatio","xMidYMid meet"),l){const v=p.querySelector("title"),D=p.querySelector("desc");v&&p.removeChild(v),D&&p.removeChild(D)}const f=this._sanitizer.bypassSecurityTrustHtml(p.outerHTML);this._cachedSvgIcons.get(s).set(i,f)}}}static#e=this.\u0275fac=function(n){return new(n||r)(De(kC,8),De(bv,8),De(ti,8),De(Tt,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),jt=(()=>{class r{constructor(i,n,s){this.el=i,this.iconService=n,this.ref=s,this.cssClass="igx-icon",this.ariaHidden=!0,this.active=!0,this.destroy$=new Ge,this.family=this.iconService.defaultFamily,this.iconService.registerFamilyAlias("material","material-icons"),this.iconService.iconLoaded.pipe(mi(l=>l.name===this.name&&l.family===this.family),xe(this.destroy$)).subscribe(()=>this.ref.detectChanges())}ngOnInit(){this.updateIconClass()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}get getFamily(){return this.family}get getActive(){return this.active}get getInactive(){return!this.active}get getName(){return this.name}get getSvg(){return this.iconService.isSvgIconCached(this.name,this.family)?this.iconService.getSvgIcon(this.name,this.family):null}get template(){return this.name?this.iconService.isSvgIconCached(this.name,this.family)?this.svgImage:this.noLigature:this.explicitLigature}updateIconClass(){const i=this.iconService.familyClassName(this.family);this.el.nativeElement.classList.add(i),this.name&&!this.iconService.isSvgIconCached(this.name,this.family)&&this.el.nativeElement.classList.add(this.name)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Qm),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["igx-icon"]],viewQuery:function(n,s){if(1&n&&(oe(DAe,7,je),oe(AAe,7,je),oe(IAe,7,je)),2&n){let l;G(l=j())&&(s.noLigature=l.first),G(l=j())&&(s.explicitLigature=l.first),G(l=j())&&(s.svgImage=l.first)}},hostVars:5,hostBindings:function(n,s){2&n&&(ge("aria-hidden",s.ariaHidden),Se("igx-icon",s.cssClass)("igx-icon--inactive",s.getInactive))},inputs:{family:"family",active:"active",name:"name"},standalone:!0,features:[Ue],ngContentSelectors:Oo,decls:7,vars:1,consts:[["noLigature",""],["explicitLigature",""],["svgImage",""],[4,"ngTemplateOutlet"],[3,"innerHTML"]],template:function(n,s){1&n&&(pt(),I(0,SAe,0,0,"ng-template",null,0,pe),I(2,TAe,1,0,"ng-template",null,1,pe),I(4,EAe,1,1,"ng-template",null,2,pe),I(6,MAe,1,0,"ng-container",3)),2&n&&(y(6),x("ngTemplateOutlet",s.template))},dependencies:[Kt],encapsulation:2})}return r})();new $e("EditorProvider");new Set("aACL09#&?");new $e("dir-doc",{providedIn:"root",factory:function s$e(){return st(Tt)}});class cs{static#e=this.highlightGroupsMap=new Map;static#t=this.onActiveElementChanged=new X;get value(){return this._value}set value(a){this._value=null==a?"":a}get lastSearchInfo(){return this._lastSearchInfo}constructor(a,i){this.element=a,this.renderer=i,this.groupName="",this.destroy$=new Ge,this._value="",this._div=null,this._observer=null,this._nodeWasRemoved=!1,this._forceEvaluation=!1,this._activeElementIndex=-1,this._defaultCssClass="igx-highlight",this._defaultActiveCssClass="igx-highlight--active",cs.onActiveElementChanged.pipe(xe(this.destroy$)).subscribe(n=>{this.groupName===n&&(-1!==this._activeElementIndex&&this.deactivate(),this.activateIfNecessary())})}static setActiveHighlight(a,i){cs.highlightGroupsMap.set(a,i),cs.onActiveElementChanged.emit(a)}static clearActiveHighlight(a){cs.highlightGroupsMap.set(a,{index:-1}),cs.onActiveElementChanged.emit(a)}ngOnDestroy(){this.clearHighlight(),null!==this._observer&&this._observer.disconnect(),this.destroy$.next(!0),this.destroy$.complete()}ngOnChanges(a){a.value&&!a.value.firstChange?this._valueChanged=!0:(void 0!==a.row&&!a.row.firstChange||void 0!==a.column&&!a.column.firstChange||void 0!==a.page&&!a.page.firstChange)&&(-1!==this._activeElementIndex&&this.deactivate(),this.activateIfNecessary())}ngAfterViewInit(){this.parentElement=this.renderer.parentNode(this.element.nativeElement),!1===cs.highlightGroupsMap.has(this.groupName)&&cs.highlightGroupsMap.set(this.groupName,{index:-1}),this._lastSearchInfo={searchText:"",content:this.value,matchCount:0,caseSensitive:!1,exactMatch:!1},this._container=this.parentElement.firstElementChild}ngAfterViewChecked(){this._valueChanged&&(this.highlight(this._lastSearchInfo.searchText,this._lastSearchInfo.caseSensitive,this._lastSearchInfo.exactMatch),this.activateIfNecessary(),this._valueChanged=!1)}highlight(a,i,n){const s=!!i,l=!!n;return this.searchNeedsEvaluation(a,s,l)?(this._lastSearchInfo.searchText=a,this._lastSearchInfo.caseSensitive=s,this._lastSearchInfo.exactMatch=l,this._lastSearchInfo.content=this.value,""===a||null==a?this.clearHighlight():(this.clearChildElements(!0),this._lastSearchInfo.matchCount=this.getHighlightedText(a,i,n))):this._nodeWasRemoved&&(this._lastSearchInfo.searchText=a,this._lastSearchInfo.caseSensitive=s,this._lastSearchInfo.exactMatch=l),this._lastSearchInfo.matchCount}clearHighlight(){this.clearChildElements(!1),this._lastSearchInfo.searchText="",this._lastSearchInfo.matchCount=0}activateIfNecessary(){const a=cs.highlightGroupsMap.get(this.groupName);a.index>=0&&a.column===this.column&&a.row===this.row&&qte(this.metadata,a.metadata)&&this.activate(a.index)}observe(){null===this._observer&&(this._observer=new MutationObserver(i=>{i.forEach(n=>{Array.from(n.removedNodes).forEach(d=>{d===this._container&&(this._nodeWasRemoved=!0,this.clearChildElements(!1))}),Array.from(n.addedNodes).forEach(d=>{d===this.parentElement.firstElementChild&&this._nodeWasRemoved&&(this._container=this.parentElement.firstElementChild,this._nodeWasRemoved=!1,this._forceEvaluation=!0,this.highlight(this._lastSearchInfo.searchText,this._lastSearchInfo.caseSensitive,this._lastSearchInfo.exactMatch),this._forceEvaluation=!1,this.activateIfNecessary(),this._observer.disconnect(),this._observer=null)})})}),this._observer.observe(this.parentElement,{childList:!0}))}activate(a){if(this.deactivate(),null!==this._div){const i=this._div.querySelectorAll("span");if(this._activeElementIndex=a,i.length<=a)return;const n=i[a];this.renderer.addClass(n,this._defaultActiveCssClass),this.renderer.addClass(n,this.activeCssClass)}}deactivate(){if(-1===this._activeElementIndex)return;const a=this._div.querySelectorAll("span");if(a.length<=this._activeElementIndex)return void(this._activeElementIndex=-1);const i=a[this._activeElementIndex];this.renderer.removeClass(i,this._defaultActiveCssClass),this.renderer.removeClass(i,this.activeCssClass),this._activeElementIndex=-1}clearChildElements(a){this.renderer.setProperty(this.element.nativeElement,"hidden",a),null!==this._div&&(this.renderer.removeChild(this.parentElement,this._div),this._div=null,this._activeElementIndex=-1)}getHighlightedText(a,i,n){this.appendDiv();const s=String(this.value),l=i?s:s.toLowerCase(),d=i?a:a.toLowerCase();let p=0;if(n)l===d?(this.appendSpan(`${s}`),p++):this.appendText(s);else{let f=l.indexOf(d,0),v=0;for(;-1!==f;){const D=f,E=f+d.length;this.appendText(s.substring(v,D)),this.appendSpan(`${s.substring(D,E)}`),v=E,p++,f=l.indexOf(d,E)}this.appendText(s.substring(v,s.length))}return p}appendText(a){const i=this.renderer.createText(a);this.renderer.appendChild(this._div,i)}appendSpan(a){const i=this.renderer.createElement("span");this.renderer.appendChild(this._div,i),this.renderer.setProperty(i,"outerHTML",a)}appendDiv(){this._div=this.renderer.createElement("div"),this.containerClass&&this.renderer.addClass(this._div,this.containerClass),this.renderer.appendChild(this.parentElement,this._div)}searchNeedsEvaluation(a,i,n){const s=this._lastSearchInfo.searchText;return!this._nodeWasRemoved&&(null===s||s!==a||this._lastSearchInfo.content!==this.value||this._lastSearchInfo.caseSensitive!==i||this._lastSearchInfo.exactMatch!==n||this._forceEvaluation)}static#i=this.\u0275fac=function(i){return new(i||cs)(T(ke),T(Ui))};static#n=this.\u0275dir=re({type:cs,selectors:[["","igxTextHighlight",""]],inputs:{cssClass:"cssClass",activeCssClass:"activeCssClass",containerClass:"containerClass",groupName:"groupName",value:"value",row:"row",column:"column",metadata:"metadata"},standalone:!0,features:[ci]})}new $e("IgxExpansionPanelToken");new $e("IgxGridBaseToken"),new $e("IgxGridServiceBaseToken");class Fw{static#e=this._resourceStrings=Qi.GridResStrings;static set resourceStrings(a){this._resourceStrings=Object.assign({},this._resourceStrings,a)}static get resourceStrings(){return this._resourceStrings}static aggregators(){return[{key:"COUNT",label:this.resourceStrings.igx_grid_pivot_aggregate_count,aggregator:Fw.count}]}static count(a){return a.length}}var Wa=function(r){return r[r.NONE=0]="NONE",r[r.NEXT=1]="NEXT",r[r.PREV=2]="PREV",r}(Wa||{});const ch_none="none",ch_slide="slide",ch_fade="fade";let n9=(()=>{let r=class{constructor(i,n){this.animationService=i,this.cdr=n,this.animationType=ch_slide,this.enterAnimationDone=new X,this.leaveAnimationDone=new X,this.defaultAnimationDuration=320,this.animationPosition=0,this.newDuration=0}triggerAnimations(){this.animationType!==ch_none&&(this.animationStarted(this.leaveAnimationPlayer)||this.animationStarted(this.enterAnimationPlayer)?requestAnimationFrame(()=>{this.resetAnimations(),this.playAnimations()}):this.playAnimations())}animationStarted(i){return i&&i.hasStarted()}playAnimations(){this.playLeaveAnimation(),this.playEnterAnimation()}resetAnimations(){this.animationStarted(this.leaveAnimationPlayer)&&(this.leaveAnimationPlayer.reset(),this.leaveAnimationDone.emit()),this.animationStarted(this.enterAnimationPlayer)&&(this.enterAnimationPlayer.reset(),this.enterAnimationDone.emit(),this.cdr.markForCheck())}getAnimation(){let i;switch(i=this.newDuration?this.animationPosition?this.animationPosition*this.newDuration:this.newDuration:this.animationPosition?this.animationPosition*this.defaultAnimationDuration:this.defaultAnimationDuration,this.animationType){case ch_slide:const n=this.animationPosition?100*this.animationPosition:100;return{enterAnimation:os(qv,{params:{delay:"0s",duration:`${i}ms`,endOpacity:1,startOpacity:1,fromPosition:`translateX(${1===this.currentItem.direction?n:-n}%)`,toPosition:"translateX(0%)"}}),leaveAnimation:os(qv,{params:{delay:"0s",duration:`${i}ms`,endOpacity:1,startOpacity:1,fromPosition:"translateX(0%)",toPosition:`translateX(${1===this.currentItem.direction?-n:n}%)`}})};case ch_fade:return{enterAnimation:os(dl,{params:{duration:`${i}ms`,startOpacity:`${this.animationPosition}`}}),leaveAnimation:null}}return{enterAnimation:null,leaveAnimation:null}}playEnterAnimation(){const i=this.getAnimation().enterAnimation;i&&(this.enterAnimationPlayer=this.animationService.buildAnimation(i,this.getCurrentElement()),this.enterAnimationPlayer.animationEnd.subscribe(()=>{this.enterAnimationPlayer&&(this.enterAnimationPlayer.reset(),this.enterAnimationPlayer=null),this.animationPosition=0,this.newDuration=0,this.previousItem.previous=!1,this.enterAnimationDone.emit(),this.cdr.markForCheck()}),this.previousItem.previous=!0,this.enterAnimationPlayer.play())}playLeaveAnimation(){const i=this.getAnimation().leaveAnimation;i&&(this.leaveAnimationPlayer=this.animationService.buildAnimation(i,this.getPreviousElement()),this.leaveAnimationPlayer.animationEnd.subscribe(()=>{this.leaveAnimationPlayer&&(this.leaveAnimationPlayer.reset(),this.leaveAnimationPlayer=null),this.animationPosition=0,this.newDuration=0,this.leaveAnimationDone.emit()}),this.leaveAnimationPlayer.play())}};return r=_t([Jl(0,g_(nh))],r),r})(),Mie=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","igxCarouselIndicator",""]],standalone:!0})}return r})(),Rie=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","igxCarouselNextButton",""]],standalone:!0})}return r})(),Pie=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","igxCarouselPrevButton",""]],standalone:!0})}return r})(),o9=(()=>{class r{get tabIndex(){return this.active?0:null}get active(){return this._active}set active(i){this._active=!!i,this.activeChange.emit(this._active)}constructor(i){this.elementRef=i,this.tab="tabpanel",this.cssClass="igx-slide",this.previous=!1,this.activeChange=new X,this._active=!1,this._destroy$=new Ge}get nativeElement(){return this.elementRef.nativeElement}get isDestroyed(){return this._destroy$}ngAfterContentChecked(){this.id=`panel-${this.index}`,this.ariaLabelledBy=`tab-${this.index}-${this.total}`}ngOnDestroy(){this._destroy$.next(!0),this._destroy$.complete()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke))};static#t=this.\u0275cmp=de({type:r,selectors:[["igx-slide"]],hostVars:10,hostBindings:function(n,s){2&n&&(ge("tabindex",s.tabIndex)("id",s.id)("role",s.tab)("aria-labelledby",s.ariaLabelledBy),Se("igx-slide",s.cssClass)("igx-slide--current",s.active)("igx-slide--previous",s.previous))},inputs:{index:"index",direction:"direction",total:"total",active:"active",previous:"previous"},outputs:{activeChange:"activeChange"},standalone:!0,features:[Ue],ngContentSelectors:Oo,decls:1,vars:0,template:function(n,s){1&n&&(pt(),Ie(0))},encapsulation:2})}return r})(),q$e=0;const K$e_bottom="bottom";let Y$e=(()=>{class r extends BO{constructor(){super(...arguments),this.overrides={pan:{direction:Hammer.DIRECTION_HORIZONTAL}}}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),Oie=(()=>{class r extends n9{get labelId(){return this.showIndicatorsLabel?`${this.id}-label`:null}get touchAction(){return this.gesturesSupport?"pan-y":"auto"}set resourceStrings(i){this._resourceStrings=Object.assign({},this._resourceStrings,i)}get resourceStrings(){return this._resourceStrings}get getIndicatorTemplate(){return this.indicatorTemplate?this.indicatorTemplate:this.defaultIndicator}get getNextButtonTemplate(){return this.nextButtonTemplate?this.nextButtonTemplate:this.defaultNextButton}get getPrevButtonTemplate(){return this.prevButtonTemplate?this.prevButtonTemplate:this.defaultPrevButton}get indicatorsOrientationClass(){return`igx-carousel-indicators--${this.indicatorsOrientation}`}get showIndicators(){return this.total<=this.maximumIndicatorsCount&&this.total>0}get showIndicatorsLabel(){return this.total>this.maximumIndicatorsCount}get getCarouselLabel(){return`${this.current+1} ${this.resourceStrings.igx_carousel_of} ${this.total}`}get total(){return this.slides?.length}get current(){return this.currentItem?this.currentItem.index:0}get isPlaying(){return this.playing}get isDestroyed(){return this.destroyed}get nativeElement(){return this.element.nativeElement}get interval(){return this._interval}set interval(i){this._interval=+i,this.restartInterval()}constructor(i,n,s,l,d){super(l,i),this.element=n,this.iterableDiffers=s,this.platformUtil=d,this.id="igx-carousel-"+q$e++,this.role="region",this.roleDescription="carousel",this.cssClass="igx-carousel",this.loop=!0,this.pause=!0,this.navigation=!0,this.keyboardSupport=!0,this.gesturesSupport=!0,this.maximumIndicatorsCount=5,this.indicatorsOrientation=K$e_bottom,this.animationType=ch_slide,this.indicatorTemplate=null,this.nextButtonTemplate=null,this.prevButtonTemplate=null,this.slideChanged=new X,this.slideAdded=new X,this.slideRemoved=new X,this.carouselPaused=new X,this.carouselPlaying=new X,this._resourceStrings=Qi.CarouselResStrings,this.destroy$=new Ge,this.differ=null,this.differ=this.iterableDiffers.find([]).create(null)}onKeydownArrowRight(i){this.keyboardSupport&&(i.preventDefault(),this.next(),this.focusSlideElement())}onKeydownArrowLeft(i){this.keyboardSupport&&(i.preventDefault(),this.prev(),this.focusSlideElement())}onTap(i){i.target&&i.target.classList.contains("igx-slide")&&(this.isPlaying?(this.pause&&(this.stoppedByInteraction=!0),this.stop()):this.stoppedByInteraction&&this.play())}onKeydownHome(i){this.keyboardSupport&&this.slides.length>0&&(i.preventDefault(),this.slides.first.active=!0,this.focusSlideElement())}onKeydownEnd(i){this.keyboardSupport&&this.slides.length>0&&(i.preventDefault(),this.slides.last.active=!0,this.focusSlideElement())}onMouseEnter(){this.pause&&this.isPlaying&&(this.stoppedByInteraction=!0),this.stop()}onMouseLeave(){this.stoppedByInteraction&&this.play()}onPanLeft(i){this.pan(i)}onPanRight(i){this.pan(i)}onPanEnd(i){if(!this.gesturesSupport)return;i.preventDefault();const n=this.currentItem.nativeElement.offsetWidth,s=n/1e3,l=Math.abs(i.deltaX)+s1?(this.incomingSlide.direction=i.deltaX<0?Wa.NEXT:Wa.PREV,this.incomingSlide.previous=!1,this.animationPosition=this.animationType===ch_fade?l/n:(n-l)/n,d>1&&(this.newDuration=this.defaultAnimationDuration/d),this.incomingSlide.active=!0):(this.currentItem.direction=i.deltaX>0?Wa.NEXT:Wa.PREV,this.previousItem=this.incomingSlide,this.previousItem.previous=!0,this.animationPosition=this.animationType===ch_fade?Math.abs((n-l)/n):l/n,this.playAnimations())),this.stoppedByInteraction&&this.play()}ngAfterContentInit(){this.slides.changes.pipe(xe(this.destroy$)).subscribe(i=>this.initSlides(i)),this.initSlides(this.slides)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete(),this.destroyed=!0,this.lastInterval&&clearInterval(this.lastInterval)}get(i){return this.slides.find(n=>n.index===i)}add(i){const n=this.slides.toArray();n.push(i),this.slides.reset(n),this.slides.notifyOnChanges()}remove(i){if(i&&i===this.get(i.index)){const n=this.slides.toArray();n.splice(i.index,1),this.slides.reset(n),this.slides.notifyOnChanges()}}select(i,n=Wa.NONE){i&&i!==this.currentItem&&(i.direction=n,i.active=!0)}next(){const i=this.getNextIndex();if(0!==i||this.loop)return this.select(this.get(i),Wa.NEXT);this.stop()}prev(){const i=this.getPrevIndex();if(this.loop||i!==this.total-1)return this.select(this.get(i),Wa.PREV);this.stop()}play(){this.playing||(this.playing=!0,this.carouselPlaying.emit(this),this.restartInterval(),this.stoppedByInteraction=!1)}stop(){this.pause&&(this.playing=!1,this.carouselPaused.emit(this),this.resetInterval())}getPreviousElement(){return this.previousItem.nativeElement}getCurrentElement(){return this.currentItem.nativeElement}resetInterval(){this.lastInterval&&(clearInterval(this.lastInterval),this.lastInterval=null)}restartInterval(){this.resetInterval(),!isNaN(this.interval)&&this.interval>0&&this.platformUtil.isBrowser&&(this.lastInterval=setInterval(()=>{const i=+this.interval;this.playing&&this.total&&!isNaN(i)&&i>0?this.next():this.stop()},this.interval))}get nextButtonDisabled(){return!this.loop&&this.current===this.total-1}get prevButtonDisabled(){return!this.loop&&0===this.current}getNextIndex(){return(this.current+1)%this.total}getPrevIndex(){return this.current-1<0?this.total-1:this.current-1}resetSlideStyles(i){i.nativeElement.style.transform="",i.nativeElement.style.opacity=""}pan(i){const n=this.currentItem.nativeElement.offsetWidth,s=n/1e3,l=i.deltaX,d=l<0?this.getNextIndex():this.getPrevIndex(),p=l<0?n+l:-n+l;if(!(!this.gesturesSupport||i.isFinal||Math.abs(l)+s>=n)){if(!this.loop&&(0===this.current&&l>0||this.current===this.total-1&&l<0))return void(this.incomingSlide=null);i.preventDefault(),this.isPlaying&&(this.stoppedByInteraction=!0,this.stop()),this.previousItem&&this.previousItem.previous&&(this.previousItem.previous=!1),this.finishAnimations(),this.incomingSlide?d!==this.incomingSlide.index&&(this.resetSlideStyles(this.incomingSlide),this.incomingSlide.previous=!1,this.incomingSlide=this.get(d)):this.incomingSlide=this.get(d),this.incomingSlide.previous=!0,this.animationType===ch_fade?this.currentItem.nativeElement.style.opacity=""+Math.abs(p)/n:(this.currentItem.nativeElement.style.transform=`translateX(${l}px)`,this.incomingSlide.nativeElement.style.transform=`translateX(${p}px)`)}}unsubscriber(i){return rn(this.destroy$,i.isDestroyed)}onSlideActivated(i){i.active&&i!==this.currentItem&&(i.direction===Wa.NONE&&(i.direction=i.index>this.current?Wa.NEXT:Wa.PREV),this.currentItem?(this.previousItem&&this.previousItem.previous&&(this.previousItem.previous=!1),this.currentItem.direction=i.direction,this.currentItem.active=!1,this.previousItem=this.currentItem,this.currentItem=i,this.triggerAnimations()):this.currentItem=i,this.slideChanged.emit({carousel:this,slide:i}),this.restartInterval())}finishAnimations(){this.animationStarted(this.leaveAnimationPlayer)&&this.leaveAnimationPlayer.finish(),this.animationStarted(this.enterAnimationPlayer)&&this.enterAnimationPlayer.finish()}initSlides(i){const n=this.differ.diff(i.toArray());n&&(this.slides.reduce((s,l,d)=>l.index=d,0),n.forEachAddedItem(s=>{const l=s.item;l.total=this.total,this.slideAdded.emit({carousel:this,slide:l}),l.active&&(this.currentItem=l),l.activeChange.pipe(xe(this.unsubscriber(l))).subscribe(()=>this.onSlideActivated(l))}),n.forEachRemovedItem(s=>{const l=s.item;this.slideRemoved.emit({carousel:this,slide:l}),l.active&&(l.active=!1,this.currentItem=this.get(l.index{this.currentItem?(this.currentItem.active=!0,this.slides.filter(n=>n.active&&n.index!==this.currentItem.index).forEach(n=>n.active=!1)):this.total&&(this.slides.first.active=!0),this.play()})}focusSlideElement(){this.leaveAnimationPlayer?this.leaveAnimationPlayer.animationEnd.pipe(xe(this.destroy$)).subscribe(()=>{this.slides.find(i=>i.active).nativeElement.focus()}):requestAnimationFrame(()=>this.slides.find(i=>i.active).nativeElement.focus())}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(qr),T(nh),T(ti))};static#t=this.\u0275cmp=de({type:r,selectors:[["igx-carousel"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,Mie,5,je),Fe(l,Rie,5,je),Fe(l,Pie,5,je),Fe(l,o9,4)),2&n){let d;G(d=j())&&(s.indicatorTemplate=d.first),G(d=j())&&(s.nextButtonTemplate=d.first),G(d=j())&&(s.prevButtonTemplate=d.first),G(d=j())&&(s.slides=d)}},viewQuery:function(n,s){if(1&n&&(oe(Nee,7,je),oe(nTe,7,je),oe(oTe,7,je)),2&n){let l;G(l=j())&&(s.defaultIndicator=l.first),G(l=j())&&(s.defaultNextButton=l.first),G(l=j())&&(s.defaultPrevButton=l.first)}},hostVars:8,hostBindings:function(n,s){1&n&&B("keydown.arrowright",function(d){return s.onKeydownArrowRight(d)})("keydown.arrowleft",function(d){return s.onKeydownArrowLeft(d)})("tap",function(d){return s.onTap(d)})("keydown.home",function(d){return s.onKeydownHome(d)})("keydown.end",function(d){return s.onKeydownEnd(d)})("mouseenter",function(){return s.onMouseEnter()})("mouseleave",function(){return s.onMouseLeave()})("panleft",function(d){return s.onPanLeft(d)})("panright",function(d){return s.onPanRight(d)})("panend",function(d){return s.onPanEnd(d)}),2&n&&(ge("id",s.id)("role",s.role)("aria-roledescription",s.roleDescription)("aria-labelledby",s.labelId),Pe("touch-action",s.touchAction),Se("igx-carousel",s.cssClass))},inputs:{id:"id",loop:"loop",pause:"pause",navigation:"navigation",keyboardSupport:"keyboardSupport",gesturesSupport:"gesturesSupport",maximumIndicatorsCount:"maximumIndicatorsCount",indicatorsOrientation:"indicatorsOrientation",animationType:"animationType",resourceStrings:"resourceStrings",interval:"interval"},outputs:{slideChanged:"slideChanged",slideAdded:"slideAdded",slideRemoved:"slideRemoved",carouselPaused:"carouselPaused",carouselPlaying:"carouselPlaying"},standalone:!0,features:[Ye([{provide:xC,useClass:Y$e}]),Ae,Ue],ngContentSelectors:Oo,decls:12,vars:5,consts:[["defaultIndicator",""],["defaultNextButton",""],["defaultPrevButton",""],[3,"ngClass",4,"ngIf"],[1,"igx-carousel__inner"],["role","button","tabindex","0","class","igx-carousel__arrow--prev",3,"keydown.enter","click",4,"ngIf"],["role","button","tabindex","0","class","igx-carousel__arrow--next",3,"keydown.enter","click",4,"ngIf"],[1,"igx-nav-dot"],[1,"igx-nav-arrow"],[3,"ngClass"],["class","igx-carousel-indicators__indicator",3,"id","click",4,"ngFor","ngForOf"],[1,"igx-carousel-indicators__indicator",3,"id","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"igx-carousel__label",3,"id"],["role","button","tabindex","0",1,"igx-carousel__arrow--prev",3,"keydown.enter","click"],["role","button","tabindex","0",1,"igx-carousel__arrow--next",3,"keydown.enter","click"]],template:function(n,s){1&n&&(pt(),I(0,rTe,1,2,"ng-template",null,0,pe),I(2,sTe,3,2,"ng-template",null,1,pe),I(4,aTe,3,2,"ng-template",null,2,pe),I(6,dTe,2,3,"div",3),I(7,uTe,3,3,"div",3),C(8,"div",4),Ie(9),k(),I(10,pTe,2,5,"div",5),I(11,mTe,2,5,"div",6)),2&n&&(y(6),x("ngIf",s.showIndicators),y(1),x("ngIf",s.showIndicatorsLabel),y(1),ge("aria-live",!s.interval||s.stoppedByInteraction?"polite":"off"),y(2),x("ngIf",s.navigation&&s.slides.length),y(1),x("ngIf",s.navigation&&s.slides.length))},dependencies:[jt,Qe,Xt,Vt,Kt],styles:["[_nghost-%COMP%]{display:block;outline-style:none}"]})}return r})();new $e("IgxComboComponentToken");new $e("IgxTreeToken"),new $e("IgxTreeNodeToken");new $e("IgxGridTransaction");PI.register();new Set("right down left up arrowright arrowdown arrowleft arrowup".split(" ")),new $e("IgxStepperToken"),new $e("IgxStepToken");let wqe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})(),xqe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();function kqe(r,a){if(1&r&&(C(0,"igx-slide")(1,"a",41)(2,"div",42),P(3),k(),Q(4,"img",43),k()()),2&r){const i=a.$implicit;y(1),mp("matTooltip","",i.viewNumber," l\u01b0\u1ee3t xem")("routerLink","/discover/",i.subId,""),y(2),me("\u{1f4d6} ",i.title,""),y(1),x("src",i.image,oi)}}function Dqe(r,a){if(1&r&&(C(0,"span",55),P(1),k()),2&r){const i=S().$implicit;y(1),_e(null==i.userShort?null:i.userShort.fullName)}}function Aqe(r,a){if(1&r&&P(0),2&r){const i=S().$implicit;_e(null==i.userShort?null:i.userShort.fullName)}}function Iqe(r,a){if(1&r){const i=ce();C(0,"a",44),B("click",function(){const l=z(i).$implicit;return H(S().GetExamDetail(l))}),C(1,"div",45),Q(2,"img",46),C(3,"div",47)(4,"span"),P(5),k(),C(6,"span"),P(7),k()(),C(8,"div",48)(9,"span",14),P(10,"mi\u1ec5n ph\xed"),k()()(),C(11,"div")(12,"span",49),P(13),k()(),C(14,"div",50),Q(15,"img",51),I(16,Dqe,2,1,"span",52),I(17,Aqe,1,1,"ng-template",53,54,pe),k()()}if(2&r){const i=a.$implicit,n=ee(18);y(5),me("",i.numberQuiz," c\xe2u"),y(2),me("Th\u1eddi gian: ",i.workTime,"'"),y(6),_e(i.title),y(2),ri("src",""===(null==i.userShort?null:i.userShort.image)?"assets/Icon/user.png":null==i.userShort?null:i.userShort.image,oi),y(1),x("ngIf",""!==(null==i.userShort?null:i.userShort.fullName))("ngIfElse",n)}}let Sqe=(()=>{class r{ngOnInit(){}constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.ngZone=p,this.currentSlideIndex=0,n.getRandomPost(10).subscribe(f=>{this.posts=f.resultObj},f=>{}),this.getExams(),this.getNews()}getNews(){this.service.GetNews().subscribe(i=>{if(i.isSuccessed){const s=this.getRandomElements(i.resultObj,3);this.news=s,this.ConvertDate()}else this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}getRandomElements(i,n){const s=i.slice();let d,p,l=s.length;for(;0!==l;)d=Math.floor(Math.random()*l),l--,p=s[l],s[l]=s[d],s[d]=p;const f=Math.min(n,s.length);return s.slice(0,f)}getExams(){this.service.GetExam().subscribe(i=>{if(i.isSuccessed){const s=this.getRandomElements(i.resultObj,4);this.exams=s}else this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}GetExamDetail(i){this.router.navigate(["/exam",i.id])}ConvertDate(){this.news.forEach(i=>{const n=fi(i.createdAt?.toString()??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy hh:mm"))})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(et))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-home"]],decls:111,vars:16,consts:[[1,"mt-60","plr-200"],[1,"header-banner"],[1,"carousel-container"],["animationType","fade",3,"pause","interval"],["carousel",""],[4,"ngFor","ngForOf"],["matTooltip","S\u1eaeP RA M\u1eaeT",1,"mt-60","pt-2","pb-2","mlr",2,"background-color","#000000b8"],[1,"flex-center-sb"],[1,"card-title","text-white"],[2,"font-size","12px"],[1,"text-white"],["href","",1,"underline-none","text-black","card-course"],["src","assets/Icon/contest1.png","alt","",1,"",2,"width","100%","object-fit","contain"],[1,"mt","flex-center-sb","plr"],[1,"tag-free"],[1,"text-title-line","text-white","plr","pt"],[1,"flex-center-h","text-white","plr"],[1,"pl"],["src","assets/Icon/contest2.png","alt","",1,"",2,"width","100%","object-fit","contain"],[1,"dis-block"],["src","assets/Icon/contest3.png","alt","",1,"",2,"width","100%","object-fit","contain"],[1,"mt-2","mb-2"],[1,"card-title"],["routerLink","/exam",1,"cursor-p",2,"font-size","12px"],[1,"flex-center-h",2,"flex-wrap","wrap"],["class","underline-none exam-card mlr mt-1 plr pt pb cursor-p",3,"click",4,"ngFor","ngForOf"],["routerLink","/forum",1,"cursor-p",2,"font-size","12px"],["src","assets/Icon/Forum.jpg","alt","","routerLink","/forum"],["routerLink","/news",1,"cursor-p",2,"font-size","12px"],[1,"dis-flex"],["target","_blank",1,"underline-none","w-50","dis-block",3,"href"],["loading","lazy","alt","\u1ea3nh tin t\u1ee9c",1,"img-news",3,"src"],[1,"text-2-line"],[1,"fs16"],[1,"dis-block","w-50"],[1,"ml-1","mb-1"],["target","_blank",1,"dis-flex","underline-none",3,"href"],["loading","lazy","alt","\u1ea3nh tin t\u1ee9c",1,"img-news-50",3,"src"],[1,"dis-block","mlr","mt","text-black"],[1,"text-6-line"],[2,"margin-left","auto","text-align","right"],["matTooltipPosition","above",1,"image-container",3,"matTooltip","routerLink"],[1,"banner-title"],["loading","lazy",3,"src"],[1,"underline-none","exam-card","mlr","mt-1","plr","pt","pb","cursor-p",3,"click"],[1,"flex-center-h"],["src","assets/Icon/exam.png","alt","",2,"width","64px"],[2,"display","grid"],[1,"po-re",2,"margin-left","auto","top","-24px"],[1,"text-3-line","mt","fs16","fw-6"],[1,"dis-flex","mt"],["alt","",1,"icon-24",3,"src"],["class","pl-1 w-90 of-h",4,"ngIf","ngIfElse"],["class","pl-1"],["fullname",""],[1,"pl-1","w-90","of-h"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2)(3,"igx-carousel",3,4),I(5,kqe,5,4,"igx-slide",5),k()()(),C(6,"div")(7,"div",6)(8,"div",7)(9,"h5",8),P(10,"Kh\xf3a h\u1ecdc"),k(),C(11,"p",9)(12,"i",10),P(13,"xem th\xeam"),k()()(),C(14,"div",7)(15,"a",11),Q(16,"img",12),C(17,"div",13)(18,"div"),P(19,"\u2b50\u2b50\u2b50\u2b50\u2b50"),k(),C(20,"div",14),P(21,"Mi\u1ec5n ph\xed"),k()(),C(22,"div",15),P(23,"L\u1ecbch s\u1eed Vi\u1ec7t Nam ( giai \u0111o\u1ea1n 1945 -1954 )"),k(),C(24,"div",16)(25,"div"),P(26,"\u{1f4dd}"),k(),C(27,"div",17),P(28,"Nguy\u1ec5n V\u0103n Nam"),k()()(),C(29,"a",11),Q(30,"img",18),C(31,"div",19)(32,"div",13)(33,"div"),P(34,"\u2b50\u2b50\u2b50\u2b50\u2b50"),k(),C(35,"div",14),P(36,"Mi\u1ec5n ph\xed"),k()(),C(37,"div",15),P(38,"C\xe1c cu\u1ed9c kh\u1edfi ngh\u0129a trong th\u1eddi gian 1000 n\u0103m B\u1eafc thu\u1ed9c"),k(),C(39,"div",16)(40,"div"),P(41,"\u{1f4dd}"),k(),C(42,"div",17),P(43,"Nguy\u1ec5n Xu\xe2n V\u0103n T\xe0i"),k()()()(),C(44,"a",11),Q(45,"img",20),C(46,"div",13)(47,"div"),P(48,"\u2b50\u2b50\u2b50\u2b50\u2b50"),k(),C(49,"div",14),P(50,"Mi\u1ec5n ph\xed"),k()(),C(51,"div",15),P(52,"H\u1eccC L\u1ecaCH S\u1eec THEO CH\u1ee6 \u0110\u1ec0 - NH\u1eeeNG V\u1ea4N \u0110\u1ec0 TH\u01af\u1edcNG G\u1eb6P TRONG \u0110\u1ec0 THI ..."),k(),C(53,"div",16)(54,"div"),P(55,"\u{1f4dd}"),k(),C(56,"div",17),P(57,"\u0110\u1eb7ng Mai H\u01b0\u01a1ng"),k()()()()(),C(58,"div",21)(59,"div",7)(60,"h5",22),P(61,"Luy\u1ec7n t\u1eadp"),k(),C(62,"p",23)(63,"i"),P(64,"xem th\xeam"),k()()(),C(65,"div",24),I(66,Iqe,19,6,"a",25),k()(),C(67,"div",21)(68,"div",7)(69,"h5",22),P(70,"Tham gia di\u1ec5n \u0111\xe0n"),k(),C(71,"p",26)(72,"i"),P(73,"Truy c\u1eadp"),k()()(),Q(74,"img",27),k(),C(75,"div",21)(76,"div",7)(77,"h5",22),P(78,"B\u1ea3n tin l\u1ecbch s\u1eed t\u1ed5ng h\u1ee3p"),k(),C(79,"p",28)(80,"i"),P(81,"xem th\xeam"),k()()(),C(82,"div",19)(83,"div")(84,"div",29)(85,"a",30),Q(86,"img",31),C(87,"div",32)(88,"strong",33),P(89),k()(),C(90,"div"),P(91),k()(),C(92,"div",34)(93,"div",35)(94,"a",36),Q(95,"img",37),C(96,"div",38)(97,"div",39)(98,"strong",33),P(99),k()(),C(100,"div",40),P(101),k()()()(),C(102,"div",35)(103,"a",36),Q(104,"img",37),C(105,"div",38)(106,"div",39)(107,"strong",33),P(108),k()(),C(109,"div",40),P(110),k()()()()()()()()()()()),2&n&&(y(3),x("pause",!1)("interval",6e3),y(2),x("ngForOf",s.posts),y(61),x("ngForOf",s.exams),y(19),x("href",s.news[0].url,oi),y(1),ri("src",s.news[0].image,oi),y(3),me(" ",s.news[0].title," "),y(2),me(" ",s.news[0].createdAt," "),y(3),x("href",s.news[1].url,oi),y(1),ri("src",s.news[1].image,oi),y(4),me(" ",s.news[1].title," "),y(2),me(" ",s.news[1].createdAt," "),y(2),x("href",s.news[2].url,oi),y(1),ri("src",s.news[2].image,oi),y(4),me(" ",s.news[2].title," "),y(2),me(" ",s.news[2].createdAt," "))},dependencies:[js,Vt,Qe,er,Oie,o9],styles:[".carousel-container[_ngcontent-%COMP%]{width:73vw;height:50vh;margin:16px auto}.banner-title[_ngcontent-%COMP%]{border-radius:8px;padding:8px 16px;background-color:#00000091;color:#fff;font-weight:500;width:80vh;position:absolute;text-align:justify;font-size:larger}.card-course[_ngcontent-%COMP%]{max-width:370px;width:32%}.card-title[_ngcontent-%COMP%]{margin:10px;color:#3e50ca;font-weight:600;border-left:4px solid;padding-left:8px;cursor:pointer}.card-title[_ngcontent-%COMP%]:hover{box-shadow:inset 500px 0 #3e50ca;color:#fff}.img-news[_ngcontent-%COMP%]{width:100%;height:auto;object-fit:contain}.img-news-50[_ngcontent-%COMP%]{width:50%;height:auto;object-fit:contain}.text-title-line[_ngcontent-%COMP%]{height:50.6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.text-6-line[_ngcontent-%COMP%]{line-height:21px;min-width:40px;height:130px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}[_nghost-%COMP%] .image-container{max-width:85%;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .igx-carousel{max-width:100%;width:unset}[_nghost-%COMP%] .igx-nav-dot{background:black;box-shadow:none;width:15px;height:15px}[_nghost-%COMP%] .igx-slide{display:flex;justify-content:center;align-items:center;max-width:100%;width:unset}[_nghost-%COMP%] .igx-slide img{object-fit:fill;max-width:90%}[_nghost-%COMP%] .igx-carousel__label{display:none!important}.header-banner[_ngcontent-%COMP%]{width:300px}"]})}return r})();const Eoe=eu({passive:!0});let Tqe=(()=>{class r{constructor(i,n){this._platform=i,this._ngZone=n,this._monitoredElements=new Map}monitor(i){if(!this._platform.isBrowser)return Jr;const n=Op(i),s=this._monitoredElements.get(n);if(s)return s.subject;const l=new Ge,d="cdk-text-field-autofilled",p=f=>{"cdk-text-field-autofill-start"!==f.animationName||n.classList.contains(d)?"cdk-text-field-autofill-end"===f.animationName&&n.classList.contains(d)&&(n.classList.remove(d),this._ngZone.run(()=>l.next({target:f.target,isAutofilled:!1}))):(n.classList.add(d),this._ngZone.run(()=>l.next({target:f.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",p,Eoe),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:l,unlisten:()=>{n.removeEventListener("animationstart",p,Eoe)}}),l}stopMonitoring(i){const n=Op(i),s=this._monitoredElements.get(n);s&&(s.unlisten(),s.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((i,n)=>this.stopMonitoring(n))}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Eqe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();class Mqe{constructor(a){this._box=a,this._destroyed=new Ge,this._resizeSubject=new Ge,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(i=>this._resizeSubject.next(i)))}observe(a){return this._elementObservables.has(a)||this._elementObservables.set(a,new _n(i=>{const n=this._resizeSubject.subscribe(i);return this._resizeObserver?.observe(a,{box:this._box}),()=>{this._resizeObserver?.unobserve(a),n.unsubscribe(),this._elementObservables.delete(a)}}).pipe(xi(i=>i.some(n=>n.target===a)),LZ({bufferSize:1,refCount:!0}),xe(this._destroyed))),this._elementObservables.get(a)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Rqe=(()=>{class r{constructor(){this._observers=new Map,this._ngZone=st(et)}ngOnDestroy(){for(const[,i]of this._observers)i.destroy();this._observers.clear()}observe(i,n){const s=n?.box||"content-box";return this._observers.has(s)||this._observers.set(s,new Mqe(s)),this._observers.get(s).observe(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Pqe=["notch"],Oqe=["matFormFieldNotchedOutline",""],Fqe=["*"],Nqe=["textField"],Lqe=["iconPrefixContainer"],Bqe=["textPrefixContainer"];function Vqe(r,a){1&r&&Q(0,"span",19)}function zqe(r,a){if(1&r&&(C(0,"label",17),Ie(1,1),I(2,Vqe,1,0,"span",18),k()),2&r){const i=S(2);x("floating",i._shouldLabelFloat())("monitorResize",i._hasOutline())("id",i._labelId),ge("for",i._control.id),y(2),x("ngIf",!i.hideRequiredMarker&&i._control.required)}}function Hqe(r,a){1&r&&I(0,zqe,3,5,"label",16),2&r&&x("ngIf",S()._hasFloatingLabel())}function Gqe(r,a){1&r&&Q(0,"div",20)}function jqe(r,a){}function $qe(r,a){1&r&&I(0,jqe,0,0,"ng-template",22),2&r&&(S(2),x("ngTemplateOutlet",ee(1)))}function Uqe(r,a){if(1&r&&(C(0,"div",21),I(1,$qe,1,1,"ng-template",9),k()),2&r){const i=S();x("matFormFieldNotchedOutlineOpen",i._shouldLabelFloat()),y(1),x("ngIf",!i._forceDisplayInfixLabel())}}function Wqe(r,a){1&r&&(C(0,"div",23,24),Ie(2,2),k())}function qqe(r,a){1&r&&(C(0,"div",25,26),Ie(2,3),k())}function Kqe(r,a){}function Yqe(r,a){1&r&&I(0,Kqe,0,0,"ng-template",22),2&r&&(S(),x("ngTemplateOutlet",ee(1)))}function Qqe(r,a){1&r&&(C(0,"div",27),Ie(1,4),k())}function Xqe(r,a){1&r&&(C(0,"div",28),Ie(1,5),k())}function Zqe(r,a){1&r&&Q(0,"div",29)}function Jqe(r,a){1&r&&(C(0,"div",30),Ie(1,6),k()),2&r&&x("@transitionMessages",S()._subscriptAnimationState)}function eKe(r,a){if(1&r&&(C(0,"mat-hint",34),P(1),k()),2&r){const i=S(2);x("id",i._hintLabelId),y(1),_e(i.hintLabel)}}function tKe(r,a){if(1&r&&(C(0,"div",31),I(1,eKe,2,2,"mat-hint",32),Ie(2,7),Q(3,"div",33),Ie(4,8),k()),2&r){const i=S();x("@transitionMessages",i._subscriptAnimationState),y(1),x("ngIf",i.hintLabel)}}const iKe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],nKe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let ud=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-label"]]})}return r})(),oKe=0;const Moe=new $e("MatError");let Cf=(()=>{class r{constructor(i,n){this.id="mat-mdc-error-"+oKe++,i||n.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(n){return new(n||r)(Ns("aria-live"),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(n,s){2&n&&ur("id",s.id)},inputs:{id:"id"},features:[Ye([{provide:Moe,useExisting:r}])]})}return r})(),rKe=0,gj=(()=>{class r{constructor(){this.align="start",this.id="mat-mdc-hint-"+rKe++}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,s){2&n&&(ur("id",s.id),ge("align",null),Se("mat-mdc-form-field-hint-end","end"===s.align))},inputs:{align:"align",id:"id"}})}return r})();const sKe=new $e("MatPrefix"),Roe=new $e("MatSuffix");let Us=(()=>{class r{constructor(){this._isText=!1}set _isTextSelector(i){this._isText=!0}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[Ye([{provide:Roe,useExisting:r}])]})}return r})();const Poe=new $e("FloatingLabelParent");let Ooe=(()=>{class r{get floating(){return this._floating}set floating(i){this._floating=i,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(i){this._monitorResize=i,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(i){this._elementRef=i,this._floating=!1,this._monitorResize=!1,this._resizeObserver=st(Rqe),this._ngZone=st(et),this._parent=st(Poe),this._resizeSubscription=new Ce}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function aKe(r){if(null!==r.offsetParent)return r.scrollWidth;const i=r.cloneNode(!0);i.style.setProperty("position","absolute"),i.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(i);const n=i.scrollWidth;return i.remove(),n}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mdc-floating-label--float-above",s.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return r})();const Foe="mdc-line-ripple--active",m5="mdc-line-ripple--deactivating";let Noe=(()=>{class r{constructor(i,n){this._elementRef=i,this._handleTransitionEnd=s=>{const l=this._elementRef.nativeElement.classList,d=l.contains(m5);"opacity"===s.propertyName&&d&&l.remove(Foe,m5)},n.runOutsideAngular(()=>{i.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const i=this._elementRef.nativeElement.classList;i.remove(m5),i.add(Foe)}deactivate(){this._elementRef.nativeElement.classList.add(m5)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et))};static#t=this.\u0275dir=re({type:r,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return r})(),Loe=(()=>{class r{constructor(i,n){this._elementRef=i,this._ngZone=n,this.open=!1}ngAfterViewInit(){const i=this._elementRef.nativeElement.querySelector(".mdc-floating-label");i?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(i){this._notch.nativeElement.style.width=this.open&&i?`calc(${i}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et))};static#t=this.\u0275cmp=de({type:r,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,s){if(1&n&&oe(Pqe,5),2&n){let l;G(l=j())&&(s._notch=l.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mdc-notched-outline--notched",s.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:Oqe,ngContentSelectors:Fqe,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(n,s){1&n&&(pt(),Q(0,"div",0),C(1,"div",1,2),Ie(3),k(),Q(4,"div",3))},encapsulation:2,changeDetection:0})}return r})();const lKe={transitionMessages:hr("transitionMessages",[yn("enter",gt({opacity:1,transform:"translateY(0%)"})),Fi("void => enter",[gt({opacity:0,transform:"translateY(-5px)"}),Di("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let f5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r})}return r})();const Gw=new $e("MatFormField"),cKe=new $e("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Boe=0,ml=(()=>{class r{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(i){this._hideRequiredMarker=Et(i)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(i){i!==this._floatLabel&&(this._floatLabel=i,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(i){const n=this._appearance;this._appearance=i||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(i){this._subscriptSizing=i||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(i){this._hintLabel=i,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(i){this._explicitFormFieldControl=i}constructor(i,n,s,l,d,p,f,v){this._elementRef=i,this._changeDetectorRef=n,this._ngZone=s,this._dir=l,this._platform=d,this._defaults=p,this._animationMode=f,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Boe++,this._hintLabelId="mat-mdc-hint-"+Boe++,this._subscriptAnimationState="",this._destroyed=new Ge,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,p&&(p.appearance&&(this.appearance=p.appearance),this._hideRequiredMarker=!!p?.hideRequiredMarker,p.color&&(this.color=p.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const i=this._control;i.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${i.controlType}`),i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),i.ngControl&&i.ngControl.valueChanges&&i.ngControl.valueChanges.pipe(xe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(i=>!i._isText),this._hasTextPrefix=!!this._prefixChildren.find(i=>i._isText),this._hasIconSuffix=!!this._suffixChildren.find(i=>!i._isText),this._hasTextSuffix=!!this._suffixChildren.find(i=>i._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),rn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(xe(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(xe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(i){const n=this._control?this._control.ngControl:null;return n&&n[i]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let i=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&i.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(l=>"start"===l.align):null,s=this._hintChildren?this._hintChildren.find(l=>"end"===l.align):null;n?i.push(n.id):this._hintLabel&&i.push(this._hintLabelId),s&&i.push(s.id)}else this._errorChildren&&i.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(i)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const i=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(i.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const n=this._iconPrefixContainer?.nativeElement,s=this._textPrefixContainer?.nativeElement,l=n?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0;i.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${l+d}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const i=this._elementRef.nativeElement;if(i.getRootNode){const n=i.getRootNode();return n&&n!==i}return document.documentElement.contains(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(et),T(Yr),T(Po),T(cKe,8),T(Eo,8),T(Tt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-form-field"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,ud,5),Fe(l,ud,7),Fe(l,f5,5),Fe(l,sKe,5),Fe(l,Roe,5),Fe(l,Moe,5),Fe(l,gj,5)),2&n){let d;G(d=j())&&(s._labelChildNonStatic=d.first),G(d=j())&&(s._labelChildStatic=d.first),G(d=j())&&(s._formFieldControl=d.first),G(d=j())&&(s._prefixChildren=d),G(d=j())&&(s._suffixChildren=d),G(d=j())&&(s._errorChildren=d),G(d=j())&&(s._hintChildren=d)}},viewQuery:function(n,s){if(1&n&&(oe(Nqe,5),oe(Lqe,5),oe(Bqe,5),oe(Ooe,5),oe(Loe,5),oe(Noe,5)),2&n){let l;G(l=j())&&(s._textField=l.first),G(l=j())&&(s._iconPrefixContainer=l.first),G(l=j())&&(s._textPrefixContainer=l.first),G(l=j())&&(s._floatingLabel=l.first),G(l=j())&&(s._notchedOutline=l.first),G(l=j())&&(s._lineRipple=l.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,s){2&n&&Se("mat-mdc-form-field-label-always-float",s._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",s._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",s._hasIconSuffix)("mat-form-field-invalid",s._control.errorState)("mat-form-field-disabled",s._control.disabled)("mat-form-field-autofilled",s._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===s._animationMode)("mat-form-field-appearance-fill","fill"==s.appearance)("mat-form-field-appearance-outline","outline"==s.appearance)("mat-form-field-hide-placeholder",s._hasFloatingLabel()&&!s._shouldLabelFloat())("mat-focused",s._control.focused)("mat-primary","accent"!==s.color&&"warn"!==s.color)("mat-accent","accent"===s.color)("mat-warn","warn"===s.color)("ng-untouched",s._shouldForward("untouched"))("ng-touched",s._shouldForward("touched"))("ng-pristine",s._shouldForward("pristine"))("ng-dirty",s._shouldForward("dirty"))("ng-valid",s._shouldForward("valid"))("ng-invalid",s._shouldForward("invalid"))("ng-pending",s._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ye([{provide:Gw,useExisting:r},{provide:Poe,useExisting:r}])],ngContentSelectors:nKe,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(n,s){1&n&&(pt(iKe),I(0,Hqe,1,1,"ng-template",null,0,pe),C(2,"div",1,2),B("click",function(d){return s._control.onContainerClick(d)}),I(4,Gqe,1,0,"div",3),C(5,"div",4),I(6,Uqe,2,2,"div",5),I(7,Wqe,3,0,"div",6),I(8,qqe,3,0,"div",7),C(9,"div",8),I(10,Yqe,1,1,"ng-template",9),Ie(11),k(),I(12,Qqe,2,0,"div",10),I(13,Xqe,2,0,"div",11),k(),I(14,Zqe,1,0,"div",12),k(),C(15,"div",13),I(16,Jqe,2,1,"div",14),I(17,tKe,5,2,"div",15),k()),2&n&&(y(2),Se("mdc-text-field--filled",!s._hasOutline())("mdc-text-field--outlined",s._hasOutline())("mdc-text-field--no-label",!s._hasFloatingLabel())("mdc-text-field--disabled",s._control.disabled)("mdc-text-field--invalid",s._control.errorState),y(2),x("ngIf",!s._hasOutline()&&!s._control.disabled),y(2),x("ngIf",s._hasOutline()),y(1),x("ngIf",s._hasIconPrefix),y(1),x("ngIf",s._hasTextPrefix),y(2),x("ngIf",!s._hasOutline()||s._forceDisplayInfixLabel()),y(2),x("ngIf",s._hasTextSuffix),y(1),x("ngIf",s._hasIconSuffix),y(1),x("ngIf",!s._hasOutline()),y(1),Se("mat-mdc-form-field-subscript-dynamic-size","dynamic"===s.subscriptSizing),x("ngSwitch",s._getDisplayedMessages()),y(1),x("ngSwitchCase","error"),y(1),x("ngSwitchCase","hint"))},dependencies:[Qe,Kt,ed,ju,gj,Ooe,Loe,Noe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[lKe.transitionMessages]},changeDetection:0})}return r})(),_5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Gs,G6,Ai]})}return r})();const Hoe=new $e("MAT_INPUT_VALUE_ACCESSOR"),hKe=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let pKe=0;const gKe=i8(class{constructor(r,a,i,n){this._defaultErrorStateMatcher=r,this._parentForm=a,this._parentFormGroup=i,this.ngControl=n,this.stateChanges=new Ge}});let hs=(()=>{class r extends gKe{get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(i){this._id=i||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Nt.required)??!1}set required(i){this._required=Et(i)}get type(){return this._type}set type(i){this._type=i||"text",this._validateType(),!this._isTextarea&&HQ().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(i){i!==this.value&&(this._inputValueAccessor.value=i,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(i){this._readonly=Et(i)}constructor(i,n,s,l,d,p,f,v,D,E){super(p,l,d,s),this._elementRef=i,this._platform=n,this._autofillMonitor=v,this._formField=E,this._uid="mat-input-"+pKe++,this.focused=!1,this.stateChanges=new Ge,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter($=>HQ().has($)),this._iOSKeyupListener=$=>{const q=$.target;!q.value&&0===q.selectionStart&&0===q.selectionEnd&&(q.setSelectionRange(1,1),q.setSelectionRange(0,0))};const F=this._elementRef.nativeElement,L=F.nodeName.toLowerCase();this._inputValueAccessor=f||F,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&D.runOutsideAngular(()=>{i.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===L,this._isTextarea="textarea"===L,this._isInFormField=!!E,this._isNativeSelect&&(this.controlType=F.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(i=>{this.autofilled=i.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(i){this._elementRef.nativeElement.focus(i)}_focusChanged(i){i!==this.focused&&(this.focused=i,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const i=this._elementRef.nativeElement.value;this._previousNativeValue!==i&&(this._previousNativeValue=i,this.stateChanges.next())}_dirtyCheckPlaceholder(){const i=this._getPlaceholder();if(i!==this._previousPlaceholder){const n=this._elementRef.nativeElement;this._previousPlaceholder=i,i?n.setAttribute("placeholder",i):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){hKe.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let i=this._elementRef.nativeElement.validity;return i&&i.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const i=this._elementRef.nativeElement,n=i.options[0];return this.focused||i.multiple||!this.empty||!!(i.selectedIndex>-1&&n&&n.label)}return this.focused||!this.empty}setDescribedByIds(i){i.length?this._elementRef.nativeElement.setAttribute("aria-describedby",i.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const i=this._elementRef.nativeElement;return this._isNativeSelect&&(i.multiple||i.size>1)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Po),T(ws,10),T(iw,8),T(jo,8),T(Ev),T(Hoe,10),T(Tqe),T(et),T(Gw,8))};static#t=this.\u0275dir=re({type:r,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(n,s){1&n&&B("focus",function(){return s._focusChanged(!0)})("blur",function(){return s._focusChanged(!1)})("input",function(){return s._onInput()}),2&n&&(ur("id",s.id)("disabled",s.disabled)("required",s.required),ge("name",s.name||null)("readonly",s.readonly&&!s._isNativeSelect||null)("aria-invalid",s.empty&&s.required?null:s.errorState)("aria-required",s.required)("id",s.id),Se("mat-input-server",s._isServer)("mat-mdc-form-field-textarea-control",s._isInFormField&&s._isTextarea)("mat-mdc-form-field-input-control",s._isInFormField)("mdc-text-field__input",s._isInFormField)("mat-mdc-native-select-inline",s._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Ye([{provide:f5,useExisting:r}]),Ae,ci]})}return r})(),mKe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,_5,_5,Eqe,Ai]})}return r})();const fKe=["*"],bKe=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],yKe=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],CKe=new $e("MAT_CARD_CONFIG");let v5=(()=>{class r{constructor(i){this.appearance=i?.appearance||"raised"}static#e=this.\u0275fac=function(n){return new(n||r)(T(CKe,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,s){2&n&&Se("mat-mdc-card-outlined","outlined"===s.appearance)("mdc-card--outlined","outlined"===s.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:fKe,decls:1,vars:0,template:function(n,s){1&n&&(pt(),Ie(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation);--mdc-elevated-card-container-shape:4px;--mdc-outlined-card-container-shape:4px;--mdc-outlined-card-outline-width:1px}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return r})(),Goe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return r})(),b5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return r})(),y5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return r})(),joe=(()=>{class r{constructor(){this.align="start"}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mat-mdc-card-actions-align-end","end"===s.align)},inputs:{align:"align"},exportAs:["matCardActions"]})}return r})(),C5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:yKe,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,s){1&n&&(pt(bKe),Ie(0),C(1,"div",0),Ie(2,1),k(),Ie(3,2))},encapsulation:2,changeDetection:0})}return r})(),xKe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Gs,Ai]})}return r})();const kKe=["mat-button",""],$oe=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Uoe=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],AKe=["mat-mini-fab",""],SKe=["mat-icon-button",""],TKe=["*"],EKe=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],MKe=Iv(Vp(Om(class{constructor(r){this._elementRef=r}})));let mj=(()=>{class r extends MKe{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=Et(i),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._updateRippleDisabled()}constructor(i,n,s,l){super(i),this._platform=n,this._ngZone=s,this._animationMode=l,this._focusMonitor=st(al),this._rippleLoader=st(FX),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const d=i.nativeElement.classList;for(const p of EKe)this._hasHostAttributes(p.selector)&&p.mdcClasses.forEach(f=>{d.add(f)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(i="program",n){i?this._focusMonitor.focusVia(this._elementRef.nativeElement,i,n):this._elementRef.nativeElement.focus(n)}_hasHostAttributes(...i){return i.some(n=>this._elementRef.nativeElement.hasAttribute(n))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,features:[Ae]})}return r})(),Cr=(()=>{class r extends mj{constructor(i,n,s,l){super(i,n,s,l)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Po),T(et),T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(n,s){2&n&&(ge("disabled",s.disabled||null),Se("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ae],attrs:kKe,ngContentSelectors:Uoe,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,s){1&n&&(pt($oe),Q(0,"span",0),Ie(1),C(2,"span",1),Ie(3,1),k(),Ie(4,2),Q(5,"span",2)(6,"span",3)),2&n&&Se("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return r})();const PKe=new $e("mat-mdc-fab-default-options",{providedIn:"root",factory:Woe});function Woe(){return{color:"accent"}}const qoe=Woe();let jw=(()=>{class r extends mj{constructor(i,n,s,l,d){super(i,n,s,l),this._options=d,this._isFab=!0,this._options=this._options||qoe,this.color=this.defaultColor=this._options.color||qoe.color}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Po),T(et),T(Eo,8),T(PKe,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(n,s){2&n&&(ge("disabled",s.disabled||null),Se("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ae],attrs:AKe,ngContentSelectors:Uoe,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,s){1&n&&(pt($oe),Q(0,"span",0),Ie(1),C(2,"span",1),Ie(3,1),k(),Ie(4,2),Q(5,"span",2)(6,"span",3)),2&n&&Se("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return r})(),wr=(()=>{class r extends mj{constructor(i,n,s,l){super(i,n,s,l),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Po),T(et),T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(n,s){2&n&&(ge("disabled",s.disabled||null),Se("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ae],attrs:SKe,ngContentSelectors:TKe,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,s){1&n&&(pt(),Q(0,"span",0),Ie(1),Q(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return r})(),w5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Hp,Ai]})}return r})();const OKe=["*"];let x5;function ES(r){return function FKe(){if(void 0===x5&&(x5=null,typeof window<"u")){const r=window;void 0!==r.trustedTypes&&(x5=r.trustedTypes.createPolicy("angular#components",{createHTML:a=>a}))}return x5}()?.createHTML(r)||r}function Koe(r){return Error(`Unable to find icon with the name "${r}"`)}function Yoe(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function Qoe(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}class _b{constructor(a,i,n){this.url=a,this.svgText=i,this.options=n}}let k5=(()=>{class r{constructor(i,n,s,l){this._httpClient=i,this._sanitizer=n,this._errorHandler=l,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=s}addSvgIcon(i,n,s){return this.addSvgIconInNamespace("",i,n,s)}addSvgIconLiteral(i,n,s){return this.addSvgIconLiteralInNamespace("",i,n,s)}addSvgIconInNamespace(i,n,s,l){return this._addSvgIconConfig(i,n,new _b(s,null,l))}addSvgIconResolver(i){return this._resolvers.push(i),this}addSvgIconLiteralInNamespace(i,n,s,l){const d=this._sanitizer.sanitize(Tr.HTML,s);if(!d)throw Qoe(s);const p=ES(d);return this._addSvgIconConfig(i,n,new _b("",p,l))}addSvgIconSet(i,n){return this.addSvgIconSetInNamespace("",i,n)}addSvgIconSetLiteral(i,n){return this.addSvgIconSetLiteralInNamespace("",i,n)}addSvgIconSetInNamespace(i,n,s){return this._addSvgIconSetConfig(i,new _b(n,null,s))}addSvgIconSetLiteralInNamespace(i,n,s){const l=this._sanitizer.sanitize(Tr.HTML,n);if(!l)throw Qoe(n);const d=ES(l);return this._addSvgIconSetConfig(i,new _b("",d,s))}registerFontClassAlias(i,n=i){return this._fontCssClassesByAlias.set(i,n),this}classNameForFontAlias(i){return this._fontCssClassesByAlias.get(i)||i}setDefaultFontSetClass(...i){return this._defaultFontSetClass=i,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(i){const n=this._sanitizer.sanitize(Tr.RESOURCE_URL,i);if(!n)throw Yoe(i);const s=this._cachedIconsByUrl.get(n);return s?Dt(D5(s)):this._loadSvgIconFromConfig(new _b(i,null)).pipe(Or(l=>this._cachedIconsByUrl.set(n,l)),Rt(l=>D5(l)))}getNamedSvgIcon(i,n=""){const s=Xoe(n,i);let l=this._svgIconConfigs.get(s);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(n,i),l)return this._svgIconConfigs.set(s,l),this._getSvgFromConfig(l);const d=this._iconSetConfigs.get(n);return d?this._getSvgFromIconSetConfigs(i,d):DC(Koe(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(i){return i.svgText?Dt(D5(this._svgElementFromConfig(i))):this._loadSvgIconFromConfig(i).pipe(Rt(n=>D5(n)))}_getSvgFromIconSetConfigs(i,n){const s=this._extractIconWithNameFromAnySet(i,n);return s?Dt(s):zX(n.filter(d=>!d.svgText).map(d=>this._loadSvgIconSetFromConfig(d).pipe(xm(p=>{const v=`Loading icon set URL: ${this._sanitizer.sanitize(Tr.RESOURCE_URL,d.url)} failed: ${p.message}`;return this._errorHandler.handleError(new Error(v)),Dt(null)})))).pipe(Rt(()=>{const d=this._extractIconWithNameFromAnySet(i,n);if(!d)throw Koe(i);return d}))}_extractIconWithNameFromAnySet(i,n){for(let s=n.length-1;s>=0;s--){const l=n[s];if(l.svgText&&l.svgText.toString().indexOf(i)>-1){const d=this._svgElementFromConfig(l),p=this._extractSvgIconFromSet(d,i,l.options);if(p)return p}}return null}_loadSvgIconFromConfig(i){return this._fetchIcon(i).pipe(Or(n=>i.svgText=n),Rt(()=>this._svgElementFromConfig(i)))}_loadSvgIconSetFromConfig(i){return i.svgText?Dt(null):this._fetchIcon(i).pipe(Or(n=>i.svgText=n))}_extractSvgIconFromSet(i,n,s){const l=i.querySelector(`[id="${n}"]`);if(!l)return null;const d=l.cloneNode(!0);if(d.removeAttribute("id"),"svg"===d.nodeName.toLowerCase())return this._setSvgAttributes(d,s);if("symbol"===d.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(d),s);const p=this._svgElementFromString(ES(""));return p.appendChild(d),this._setSvgAttributes(p,s)}_svgElementFromString(i){const n=this._document.createElement("DIV");n.innerHTML=i;const s=n.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(i){const n=this._svgElementFromString(ES("")),s=i.attributes;for(let l=0;lES(v)),IC(()=>this._inProgressUrlFetches.delete(d)),bd());return this._inProgressUrlFetches.set(d,f),f}_addSvgIconConfig(i,n,s){return this._svgIconConfigs.set(Xoe(i,n),s),this}_addSvgIconSetConfig(i,n){const s=this._iconSetConfigs.get(i);return s?s.push(n):this._iconSetConfigs.set(i,[n]),this}_svgElementFromConfig(i){if(!i.svgElement){const n=this._svgElementFromString(i.svgText);this._setSvgAttributes(n,i.options),i.svgElement=n}return i.svgElement}_getIconConfigFromResolvers(i,n){for(let s=0;sa?a.pathname+a.search:""}}}),Zoe=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],jKe=Zoe.map(r=>`[${r}]`).join(", "),$Ke=/^url\(['"]?#(.*?)['"]?\)$/;let Fo=(()=>{class r extends VKe{get inline(){return this._inline}set inline(i){this._inline=Et(i)}get svgIcon(){return this._svgIcon}set svgIcon(i){i!==this._svgIcon&&(i?this._updateSvgIcon(i):this._svgIcon&&this._clearSvgElement(),this._svgIcon=i)}get fontSet(){return this._fontSet}set fontSet(i){const n=this._cleanupFontValue(i);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(i){const n=this._cleanupFontValue(i);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(i,n,s,l,d,p){super(i),this._iconRegistry=n,this._location=l,this._errorHandler=d,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ce.EMPTY,p&&(p.color&&(this.color=this.defaultColor=p.color),p.fontSet&&(this.fontSet=p.fontSet)),s||i.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(i){if(!i)return["",""];const n=i.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${i}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const i=this._elementsWithExternalReferences;if(i&&i.size){const n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(i){this._clearSvgElement();const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(i),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(i)}_clearSvgElement(){const i=this._elementRef.nativeElement;let n=i.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){const s=i.childNodes[n];(1!==s.nodeType||"svg"===s.nodeName.toLowerCase())&&s.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const i=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(s=>s.length>0);this._previousFontSetClass.forEach(s=>i.classList.remove(s)),n.forEach(s=>i.classList.add(s)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&i.classList.remove(this._previousFontIconClass),this.fontIcon&&i.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(i){return"string"==typeof i?i.trim().split(" ")[0]:i}_prependPathToReferences(i){const n=this._elementsWithExternalReferences;n&&n.forEach((s,l)=>{s.forEach(d=>{l.setAttribute(d.name,`url('${i}#${d.value}')`)})})}_cacheChildrenWithExternalReferences(i){const n=i.querySelectorAll(jKe),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const p=n[l],f=p.getAttribute(d),v=f?f.match($Ke):null;if(v){let D=s.get(p);D||(D=[],s.set(p,D)),D.push({name:d,value:v[1]})}})}_updateSvgIcon(i){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),i){const[n,s]=this._splitIconName(i);n&&(this._svgNamespace=n),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,n).pipe(An(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${n}:${s}! ${l.message}`))})}}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(k5),Ns("aria-hidden"),T(HKe),T(Nl),T(zKe,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(n,s){2&n&&(ge("data-mat-icon-type",s._usingFontIcon()?"font":"svg")("data-mat-icon-name",s._svgName||s.fontIcon)("data-mat-icon-namespace",s._svgNamespace||s.fontSet)("fontIcon",s._usingFontIcon()?s.fontIcon:null),Se("mat-icon-inline",s.inline)("mat-icon-no-color","primary"!==s.color&&"accent"!==s.color&&"warn"!==s.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Ae],ngContentSelectors:OKe,decls:1,vars:0,template:function(n,s){1&n&&(pt(),Ie(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return r})(),Joe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Ai]})}return r})(),UKe=(()=>{class r{constructor(i,n,s,l){this.builder=i,this.toastr=n,this.service=s,this.router=l,this.hide=!0,this.registerform=this.builder.group({email:this.builder.control("",Nt.compose([Nt.required,Nt.email])),password:this.builder.control("",Nt.compose([Nt.required,Nt.pattern("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*_=+-/]).{6,16}$")])),confirmPassword:this.builder.control("",Nt.required)})}proceedregisteration(){if(this.registerform.valid)this.registerform.value.password===this.registerform.value.confirmPassword?this.service.ProceedRegister(this.registerform.value).subscribe(i=>{this.toastr.success("Vui l\xf2ng nh\u1eadp m\xe3 x\xe1c nh\u1eadn \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn email c\u1ee7a b\u1ea1n","\u0110\u0103ng k\xfd th\xe0nh c\xf4ng"),this.router.navigate(["/login"])},i=>{const n=i.error.message;this.toastr.error(null==n?"L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y":n)}):this.toastr.warning("M\u1eadt kh\u1ea9u kh\xf4ng kh\u1edbp!");else{const i=this.registerform.get("email")??null,n=this.registerform.get("password")??null;i&&i.hasError("email")?this.toastr.warning("Email kh\xf4ng h\u1ee3p l\u1ec7. H\xe3y nh\u1eadp m\u1ed9t \u0111\u1ecba ch\u1ec9 email h\u1ee3p l\u1ec7."):n&&n.hasError("pattern")?this.toastr.warning("M\u1eadt kh\u1ea9u \xedt nh\u1ea5t ph\u1ea3i c\xf3 6 k\xfd t\u1ef1 v\xe0 bao g\u1ed3m: Hoa, th\u01b0\u1eddng, s\u1ed1 v\xe0 k\xfd t\u1ef1 \u0111\u1eb7c bi\u1ec7t"):this.toastr.warning("Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin!")}}togglePasswordVisibility(){this.hide=!this.hide}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(Mi),T(Qu),T(di))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-register"]],decls:30,vars:5,consts:[[1,"form-register",2,"width","100%","margin-top","100px"],[1,"form-register","font"],[1,"font",3,"formGroup","ngSubmit"],[1,"example-full-width"],["matInput","","autocomplete","email","placeholder","V\xed d\u1ee5: 'admin@gmail.com'","formControlName","email"],["matInput","","type","password","placeholder","V\xed d\u1ee5: 'Mk5manh/'","autocomplete","password","formControlName","password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["type","password","matInput","","formControlName","confirmPassword"],[2,"justify-content","space-around","display","flex"],["mat-raised-button","","color","primary"],["routerLink","/login","color","accent"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"mat-card",1)(2,"mat-card-header")(3,"h5"),P(4,"B\u1eaft \u0111\u1ea7u th\xf4i \u{1f680}"),k()(),C(5,"mat-card-subtitle")(6,"p"),P(7,"\u0110\u0103ng k\xfd t\xe0i kho\u1ea3n"),k()(),C(8,"mat-card-content")(9,"form",2),B("ngSubmit",function(){return s.proceedregisteration()}),C(10,"mat-form-field",3)(11,"mat-label"),P(12,"Email"),k(),Q(13,"input",4),k(),C(14,"mat-form-field",3)(15,"mat-label"),P(16,"M\u1eadt kh\u1ea9u"),k(),Q(17,"input",5),C(18,"button",6),B("click",function(){return s.hide=!s.hide}),C(19,"mat-icon"),P(20),k()()(),C(21,"mat-form-field",3)(22,"mat-label"),P(23,"Nh\u1eadp l\u1ea1i m\u1eadt kh\u1ea9u"),k(),Q(24,"input",7),k(),C(25,"div",8)(26,"button",9),P(27,"\u0110\u0103ng k\xfd"),k(),C(28,"a",10),P(29,"Quay l\u1ea1i \u0111\u0103ng nh\u1eadp"),k()()()()()()),2&n&&(y(9),x("formGroup",s.registerform),y(8),x("type",s.hide?"password":"text"),y(1),ge("aria-label","Hide password")("aria-pressed",s.hide),y(2),_e(s.hide?"visibility_off":"visibility"))},dependencies:[js,cl,Sn,gn,Qr,hs,ml,ud,Us,v5,b5,C5,y5,Cr,wr,Fo,jo,ba],styles:[".form-register[_ngcontent-%COMP%]{width:40%;display:flex;align-items:center;justify-content:center;padding:0}.example-full-width[_ngcontent-%COMP%]{display:flex;width:300px}"]})}return r})();function WKe(r,a){}class A5{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let ere=(()=>{class r extends Z6{constructor(i,n,s,l,d,p,f,v){super(),this._elementRef=i,this._focusTrapFactory=n,this._config=l,this._interactivityChecker=d,this._ngZone=p,this._overlayRef=f,this._focusMonitor=v,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=D=>{this._portalOutlet.hasAttached();const E=this._portalOutlet.attachDomPortal(D);return this._contentAttached(),E},this._document=s,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),n}attachTemplatePortal(i){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,n){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const s=()=>{i.removeEventListener("blur",s),i.removeEventListener("mousedown",s),i.removeAttribute("tabindex")};i.addEventListener("blur",s),i.addEventListener("mousedown",s)})),i.focus(n)}_focusByCssSelector(i,n){let s=this._elementRef.nativeElement.querySelector(i);s&&this._forceFocus(s,n)}_trapFocus(){const i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const i=this._config.restoreFocus;let n=null;if("string"==typeof i?n=this._document.querySelector(i):"boolean"==typeof i?n=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(n=i),this._config.restoreFocus&&n&&"function"==typeof n.focus){const s=UC(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const i=this._elementRef.nativeElement,n=UC();return i===n||i.contains(n)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=UC())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(I3),T(Tt,8),T(A5),T(A3),T(et),T(rI),T(al))};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-dialog-container"]],viewQuery:function(n,s){if(1&n&&oe(ZC,7),2&n){let l;G(l=j())&&(s._portalOutlet=l.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,s){2&n&&ge("id",s._config.id||null)("role",s._config.role)("aria-modal",s._config.ariaModal)("aria-labelledby",s._config.ariaLabel?null:s._ariaLabelledByQueue[0])("aria-label",s._config.ariaLabel)("aria-describedby",s._config.ariaDescribedBy||null)},features:[Ae],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,s){1&n&&I(0,WKe,0,0,"ng-template",0)},dependencies:[ZC],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return r})();class fj{constructor(a,i){this.overlayRef=a,this.config=i,this.closed=new Ge,this.disableClose=i.disableClose,this.backdropClick=a.backdropClick(),this.keydownEvents=a.keydownEvents(),this.outsidePointerEvents=a.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(n=>{27===n.keyCode&&!this.disableClose&&!Nr(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=a.detachments().subscribe(()=>{!1!==i.closeOnOverlayDetachments&&this.close()})}close(a,i){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(a),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(a="",i=""){return this.overlayRef.updateSize({width:a,height:i}),this}addPanelClass(a){return this.overlayRef.addPanelClass(a),this}removePanelClass(a){return this.overlayRef.removePanelClass(a),this}}const tre=new $e("DialogScrollStrategy"),qKe=new $e("DialogData"),KKe=new $e("DefaultDialogConfig"),QKe={provide:tre,deps:[_a],useFactory:function YKe(r){return()=>r.scrollStrategies.block()}};let XKe=0,ire=(()=>{class r{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(i,n,s,l,d,p){this._overlay=i,this._injector=n,this._defaultOptions=s,this._parentDialog=l,this._overlayContainer=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ge,this._afterOpenedAtThisLevel=new Ge,this._ariaHiddenElements=new Map,this.afterAllClosed=mv(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(go(void 0))),this._scrollStrategy=p}open(i,n){(n={...this._defaultOptions||new A5,...n}).id=n.id||"cdk-dialog-"+XKe++,n.id&&this.getDialogById(n.id);const l=this._getOverlayConfig(n),d=this._overlay.create(l),p=new fj(d,n),f=this._attachContainer(d,p,n);return p.containerInstance=f,this._attachDialogContent(i,p,f,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(p),p.closed.subscribe(()=>this._removeOpenDialog(p,!0)),this.afterOpened.next(p),p}closeAll(){_j(this.openDialogs,i=>i.close())}getDialogById(i){return this.openDialogs.find(n=>n.id===i)}ngOnDestroy(){_j(this._openDialogsAtThisLevel,i=>{!1===i.config.closeOnDestroy&&this._removeOpenDialog(i,!1)}),_j(this._openDialogsAtThisLevel,i=>i.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(i){const n=new JC({positionStrategy:i.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:i.scrollStrategy||this._scrollStrategy(),panelClass:i.panelClass,hasBackdrop:i.hasBackdrop,direction:i.direction,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,width:i.width,height:i.height,disposeOnNavigation:i.closeOnNavigation});return i.backdropClass&&(n.backdropClass=i.backdropClass),n}_attachContainer(i,n,s){const l=s.injector||s.viewContainerRef?.injector,d=[{provide:A5,useValue:s},{provide:fj,useValue:n},{provide:rI,useValue:i}];let p;s.container?"function"==typeof s.container?p=s.container:(p=s.container.type,d.push(...s.container.providers(s))):p=ere;const f=new QC(p,s.viewContainerRef,Jt.create({parent:l||this._injector,providers:d}),s.componentFactoryResolver);return i.attach(f).instance}_attachDialogContent(i,n,s,l){if(i instanceof je){const d=this._createInjector(l,n,s,void 0);let p={$implicit:l.data,dialogRef:n};l.templateContext&&(p={...p,..."function"==typeof l.templateContext?l.templateContext():l.templateContext}),s.attachTemplatePortal(new XC(i,null,p,d))}else{const d=this._createInjector(l,n,s,this._injector),p=s.attachComponentPortal(new QC(i,l.viewContainerRef,d,l.componentFactoryResolver));n.componentRef=p,n.componentInstance=p.instance}}_createInjector(i,n,s,l){const d=i.injector||i.viewContainerRef?.injector,p=[{provide:qKe,useValue:i.data},{provide:fj,useValue:n}];return i.providers&&("function"==typeof i.providers?p.push(...i.providers(n,i,s)):p.push(...i.providers)),i.direction&&(!d||!d.get(Yr,null,{optional:!0}))&&p.push({provide:Yr,useValue:{value:i.direction,change:Dt()}}),Jt.create({parent:d||l,providers:p})}_removeOpenDialog(i,n){const s=this.openDialogs.indexOf(i);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((l,d)=>{l?d.setAttribute("aria-hidden",l):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const i=this._overlayContainer.getContainerElement();if(i.parentElement){const n=i.parentElement.children;for(let s=n.length-1;s>-1;s--){const l=n[s];l!==i&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(n){return new(n||r)(De(_a),De(Jt),De(KKe,8),De(r,12),De(M3),De(tre))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function _j(r,a){let i=r.length;for(;i--;)a(r[i])}let ZKe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[ire,QKe],imports:[Pm,Dv,iI,Dv]})}return r})();function JKe(r,a){}class MS{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const vj="mdc-dialog--open",nre="mdc-dialog--opening",ore="mdc-dialog--closing";let iYe=(()=>{class r extends ere{constructor(i,n,s,l,d,p,f,v){super(i,n,s,l,d,p,f,v),this._animationStateChanged=new X}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(i){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(I3),T(Tt,8),T(MS),T(A3),T(et),T(rI),T(al))};static#t=this.\u0275cmp=de({type:r,selectors:[["ng-component"]],features:[Ae],decls:0,vars:0,template:function(n,s){},encapsulation:2})}return r})();const rre="--mat-dialog-transition-duration";function sre(r){return null==r?null:"number"==typeof r?r:r.endsWith("ms")?Ba(r.substring(0,r.length-2)):r.endsWith("s")?1e3*Ba(r.substring(0,r.length-1)):"0"===r?0:null}let nYe=(()=>{class r extends iYe{constructor(i,n,s,l,d,p,f,v,D){super(i,n,s,l,d,p,f,D),this._animationMode=v,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?sre(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?sre(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(rre,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(nre,vj)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(vj),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(vj),this._animationsEnabled?(this._hostElement.style.setProperty(rre,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ore)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(nre,ore)}_waitForAnimationToComplete(i,n){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,i)}_requestAnimationFrame(i){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(i):i()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(I3),T(Tt,8),T(MS),T(A3),T(et),T(rI),T(Eo,8),T(al))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(n,s){2&n&&(ur("id",s._config.id),ge("aria-modal",s._config.ariaModal)("role",s._config.role)("aria-labelledby",s._config.ariaLabel?null:s._ariaLabelledByQueue[0])("aria-label",s._config.ariaLabel)("aria-describedby",s._config.ariaDescribedBy||null),Se("_mat-animation-noopable",!s._animationsEnabled))},features:[Ae],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1),I(2,JKe,0,0,"ng-template",2),k()())},dependencies:[ZC],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return r})();class hd{constructor(a,i,n){this._ref=a,this._containerInstance=n,this._afterOpened=new Ge,this._beforeClosed=new Ge,this._state=0,this.disableClose=i.disableClose,this.id=a.id,n._animationStateChanged.pipe(xi(s=>"opened"===s.state),An(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(xi(s=>"closed"===s.state),An(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),rn(this.backdropClick(),this.keydownEvents().pipe(xi(s=>27===s.keyCode&&!this.disableClose&&!Nr(s)))).subscribe(s=>{this.disableClose||(s.preventDefault(),function oYe(r,a,i){r._closeInteractionType=a,r.close(i)}(this,"keydown"===s.type?"keyboard":"mouse"))})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe(xi(i=>"closing"===i.state),An(1)).subscribe(i=>{this._beforeClosed.next(a),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(a){let i=this._ref.config.positionStrategy;return a&&(a.left||a.right)?a.left?i.left(a.left):i.right(a.right):i.centerHorizontally(),a&&(a.top||a.bottom)?a.top?i.top(a.top):i.bottom(a.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(a="",i=""){return this._ref.updateSize(a,i),this}addPanelClass(a){return this._ref.addPanelClass(a),this}removePanelClass(a){return this._ref.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const RS=new $e("MatMdcDialogData"),rYe=new $e("mat-mdc-dialog-default-options"),are=new $e("mat-mdc-dialog-scroll-strategy"),aYe={provide:are,deps:[_a],useFactory:function sYe(r){return()=>r.scrollStrategies.block()}};let lYe=0,cYe=(()=>{class r{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(i,n,s,l,d,p,f,v,D,E){this._overlay=i,this._defaultOptions=s,this._parentDialog=l,this._dialogRefConstructor=f,this._dialogContainerType=v,this._dialogDataToken=D,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ge,this._afterOpenedAtThisLevel=new Ge,this._idPrefix="mat-dialog-",this.dialogConfigClass=MS,this.afterAllClosed=mv(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(go(void 0))),this._scrollStrategy=p,this._dialog=n.get(ire)}open(i,n){let s;(n={...this._defaultOptions||new MS,...n}).id=n.id||`${this._idPrefix}${lYe++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();const l=this._dialog.open(i,{...n,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:A5,useValue:n}]},templateContext:()=>({dialogRef:s}),providers:(d,p,f)=>(s=new this._dialogRefConstructor(d,n,f),s.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:f},{provide:this._dialogDataToken,useValue:p.data},{provide:this._dialogRefConstructor,useValue:s}])});return s.componentRef=l.componentRef,s.componentInstance=l.componentInstance,this.openDialogs.push(s),this.afterOpened.next(s),s.afterClosed().subscribe(()=>{const d=this.openDialogs.indexOf(s);d>-1&&(this.openDialogs.splice(d,1),this.openDialogs.length||this._getAfterAllClosed().next())}),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(i){return this.openDialogs.find(n=>n.id===i)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(i){let n=i.length;for(;n--;)i[n].close()}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),Dc=(()=>{class r extends cYe{constructor(i,n,s,l,d,p,f,v){super(i,n,l,p,f,d,hd,nYe,RS,v),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(n){return new(n||r)(De(_a),De(Jt),De(Gu,8),De(rYe,8),De(are),De(r,12),De(M3),De(Eo,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),dYe=0,uYe=(()=>{class r{constructor(i,n,s){this._dialogRef=i,this._elementRef=n,this._dialog=s,this.id="mat-mdc-dialog-title-"+dYe++}ngOnInit(){this._dialogRef||(this._dialogRef=function pYe(r,a){let i=r.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?a.find(n=>n.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const i=this._dialogRef?._containerInstance?._ariaLabelledByQueue;i&&Promise.resolve().then(()=>{const n=i.indexOf(this.id);n>-1&&i.splice(n,1)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(hd,8),T(ke),T(Dc))};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,s){2&n&&ur("id",s.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return r})(),lre=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]})}return r})(),hYe=(()=>{class r{constructor(){this.align="start"}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(n,s){2&n&&Se("mat-mdc-dialog-actions-align-center","center"===s.align)("mat-mdc-dialog-actions-align-end","end"===s.align)},inputs:{align:"align"}})}return r})(),gYe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[Dc,aYe],imports:[ZKe,Pm,Dv,Ai,Ai]})}return r})();function mYe(r,a){1&r&&Ie(0)}const fYe=["*"];let dre=(()=>{class r{constructor(i){this._elementRef=i}focus(){this._elementRef.nativeElement.focus()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return r})(),ure=(()=>{class r{constructor(i){this.template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkStepLabel",""]]})}return r})(),_Ye=0;const hre=new $e("STEPPER_GLOBAL_OPTIONS");let bj=(()=>{class r{get editable(){return this._editable}set editable(i){this._editable=Et(i)}get optional(){return this._optional}set optional(i){this._optional=Et(i)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(i){this._completedOverride=Et(i)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(i){this._customError=Et(i)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(i,n){this._stepper=i,this.interacted=!1,this.interactedStream=new X,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=n||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#e=this.\u0275fac=function(n){return new(n||r)(T(J(()=>PS)),T(hre,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-step"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,ure,5),2&n){let d;G(d=j())&&(s.stepLabel=d.first)}},viewQuery:function(n,s){if(1&n&&oe(je,7),2&n){let l;G(l=j())&&(s.content=l.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[ci],ngContentSelectors:fYe,decls:1,vars:0,template:function(n,s){1&n&&(pt(),I(0,mYe,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return r})(),PS=(()=>{class r{get linear(){return this._linear}set linear(i){this._linear=Et(i)}get selectedIndex(){return this._selectedIndex}set selectedIndex(i){const n=Ba(i);this.steps&&this._steps?(this._isValidIndex(n),this.selected?._markAsInteracted(),this._selectedIndex!==n&&!this._anyControlsInvalidOrPending(n)&&(n>=this._selectedIndex||this.steps.toArray()[n].editable)&&this._updateSelectedItemIndex(n)):this._selectedIndex=n}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(i){this.selectedIndex=i&&this.steps?this.steps.toArray().indexOf(i):-1}get orientation(){return this._orientation}set orientation(i){this._orientation=i,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===i)}constructor(i,n,s){this._dir=i,this._changeDetectorRef=n,this._elementRef=s,this._destroyed=new Ge,this.steps=new zo,this._sortedHeaders=new zo,this._linear=!1,this._selectedIndex=0,this.selectionChange=new X,this.selectedIndexChange=new X,this._orientation="horizontal",this._groupId=_Ye++}ngAfterContentInit(){this._steps.changes.pipe(go(this._steps),xe(this._destroyed)).subscribe(i=>{this.steps.reset(i.filter(n=>n._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(go(this._stepHeader),xe(this._destroyed)).subscribe(i=>{this._sortedHeaders.reset(i.toArray().sort((n,s)=>n._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new D3(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Dt()).pipe(go(this._layoutDirection()),xe(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(i=>i.reset()),this._stateChanged()}_getStepLabelId(i){return`cdk-step-label-${this._groupId}-${i}`}_getStepContentId(i){return`cdk-step-content-${this._groupId}-${i}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(i){const n=i-this._selectedIndex;return n<0?"rtl"===this._layoutDirection()?"next":"previous":n>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(i,n="number"){const s=this.steps.toArray()[i],l=this._isCurrentStep(i);return s._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(s,l):this._getGuidelineLogic(s,l,n)}_getDefaultIndicatorLogic(i,n){return i._showError()&&i.hasError&&!n?"error":!i.completed||n?"number":i.editable?"edit":"done"}_getGuidelineLogic(i,n,s="number"){return i._showError()&&i.hasError&&!n?"error":i.completed&&!n?"done":i.completed&&n?s:i.editable&&n?"edit":s}_isCurrentStep(i){return this._selectedIndex===i}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(i){const n=this.steps.toArray();this.selectionChange.emit({selectedIndex:i,previouslySelectedIndex:this._selectedIndex,selectedStep:n[i],previouslySelectedStep:n[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(i):this._keyManager.updateActiveItem(i),this._selectedIndex=i,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(i){const n=Nr(i),s=i.keyCode,l=this._keyManager;null==l.activeItemIndex||n||32!==s&&13!==s?l.setFocusOrigin("keyboard").onKeydown(i):(this.selectedIndex=l.activeItemIndex,i.preventDefault())}_anyControlsInvalidOrPending(i){return!!(this._linear&&i>=0)&&this.steps.toArray().slice(0,i).some(n=>{const s=n.stepControl;return(s?s.invalid||s.pending||!n.interacted:!n.completed)&&!n.optional&&!n._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const i=this._elementRef.nativeElement,n=UC();return i===n||i.contains(n)}_isValidIndex(i){return i>-1&&(!this.steps||i{class r{constructor(i){this._stepper=i,this.type="submit"}static#e=this.\u0275fac=function(n){return new(n||r)(T(PS))};static#t=this.\u0275dir=re({type:r,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(n,s){1&n&&B("click",function(){return s._stepper.next()}),2&n&&ur("type",s.type)},inputs:{type:"type"}})}return r})(),bYe=(()=>{class r{constructor(i){this._stepper=i,this.type="button"}static#e=this.\u0275fac=function(n){return new(n||r)(T(PS))};static#t=this.\u0275dir=re({type:r,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(n,s){1&n&&B("click",function(){return s._stepper.previous()}),2&n&&ur("type",s.type)},inputs:{type:"type"}})}return r})(),yYe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[YC]})}return r})();function CYe(r,a){if(1&r&&ye(0,8),2&r){const i=S();x("ngTemplateOutlet",i.iconOverrides[i.state])("ngTemplateOutletContext",i._getIconContext())}}function wYe(r,a){if(1&r&&(C(0,"span",13),P(1),k()),2&r){const i=S(2);y(1),_e(i._getDefaultTextForState(i.state))}}function xYe(r,a){if(1&r&&(C(0,"span",14),P(1),k()),2&r){const i=S(2);y(1),_e(i._intl.completedLabel)}}function kYe(r,a){if(1&r&&(C(0,"span",14),P(1),k()),2&r){const i=S(2);y(1),_e(i._intl.editableLabel)}}function DYe(r,a){if(1&r&&(C(0,"mat-icon",13),P(1),k()),2&r){const i=S(2);y(1),_e(i._getDefaultTextForState(i.state))}}function AYe(r,a){if(1&r&&(be(0,9),I(1,wYe,2,1,"span",10),I(2,xYe,2,1,"span",11),I(3,kYe,2,1,"span",11),I(4,DYe,2,1,"mat-icon",12),ve()),2&r){const i=S();x("ngSwitch",i.state),y(1),x("ngSwitchCase","number"),y(1),x("ngIf","done"===i.state),y(1),x("ngIf","edit"===i.state)}}function IYe(r,a){if(1&r&&(C(0,"div",15),ye(1,16),k()),2&r){const i=S();y(1),x("ngTemplateOutlet",i._templateLabel().template)}}function SYe(r,a){if(1&r&&(C(0,"div",15),P(1),k()),2&r){const i=S();y(1),_e(i.label)}}function TYe(r,a){if(1&r&&(C(0,"div",17),P(1),k()),2&r){const i=S();y(1),_e(i._intl.optionalLabel)}}function EYe(r,a){if(1&r&&(C(0,"div",18),P(1),k()),2&r){const i=S();y(1),_e(i.errorMessage)}}function MYe(r,a){}function RYe(r,a){if(1&r&&(Ie(0),I(1,MYe,0,0,"ng-template",0)),2&r){const i=S();y(1),x("cdkPortalOutlet",i._portal)}}const PYe=["*"];function OYe(r,a){1&r&&Q(0,"div",11)}const pre=function(r,a){return{step:r,i:a}};function FYe(r,a){if(1&r&&(be(0),ye(1,9),I(2,OYe,1,0,"div",10),ve()),2&r){const i=a.$implicit,n=a.index,s=a.last;S(2);const l=ee(4);y(1),x("ngTemplateOutlet",l)("ngTemplateOutletContext",Un(3,pre,i,n)),y(1),x("ngIf",!s)}}const gre=function(r){return{animationDuration:r}},mre=function(r,a){return{value:r,params:a}};function NYe(r,a){if(1&r){const i=ce();C(0,"div",12),B("@horizontalStepTransition.done",function(s){return z(i),H(S(2)._animationDone.next(s))}),ye(1,13),k()}if(2&r){const i=a.$implicit,n=a.index,s=S(2);Se("mat-horizontal-stepper-content-inactive",s.selectedIndex!==n),x("@horizontalStepTransition",Un(8,mre,s._getAnimationDirection(n),Wt(6,gre,s._getAnimationDuration())))("id",s._getStepContentId(n)),ge("aria-labelledby",s._getStepLabelId(n)),y(1),x("ngTemplateOutlet",i.content)}}function LYe(r,a){if(1&r&&(C(0,"div",4)(1,"div",5),I(2,FYe,3,6,"ng-container",6),k(),C(3,"div",7),I(4,NYe,2,11,"div",8),k()()),2&r){const i=S();y(2),x("ngForOf",i.steps),y(2),x("ngForOf",i.steps)}}function BYe(r,a){if(1&r){const i=ce();C(0,"div",15),ye(1,9),C(2,"div",16)(3,"div",17),B("@verticalStepTransition.done",function(s){return z(i),H(S(2)._animationDone.next(s))}),C(4,"div",18),ye(5,13),k()()()()}if(2&r){const i=a.$implicit,n=a.index,s=a.last,l=S(2),d=ee(4);y(1),x("ngTemplateOutlet",d)("ngTemplateOutletContext",Un(10,pre,i,n)),y(1),Se("mat-stepper-vertical-line",!s),y(1),Se("mat-vertical-stepper-content-inactive",l.selectedIndex!==n),x("@verticalStepTransition",Un(15,mre,l._getAnimationDirection(n),Wt(13,gre,l._getAnimationDuration())))("id",l._getStepContentId(n)),ge("aria-labelledby",l._getStepLabelId(n)),y(2),x("ngTemplateOutlet",i.content)}}function VYe(r,a){if(1&r&&(be(0),I(1,BYe,6,18,"div",14),ve()),2&r){const i=S();y(1),x("ngForOf",i.steps)}}function zYe(r,a){if(1&r){const i=ce();C(0,"mat-step-header",19),B("click",function(){return H(z(i).step.select())})("keydown",function(s){return z(i),H(S()._onKeydown(s))}),k()}if(2&r){const i=a.step,n=a.i,s=S();Se("mat-horizontal-stepper-header","horizontal"===s.orientation)("mat-vertical-stepper-header","vertical"===s.orientation),x("tabIndex",s._getFocusIndex()===n?0:-1)("id",s._getStepLabelId(n))("index",n)("state",s._getIndicatorType(n,i.state))("label",i.stepLabel||i.label)("selected",s.selectedIndex===n)("active",s._stepIsNavigable(n,i))("optional",i.optional)("errorMessage",i.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple||!s._stepIsNavigable(n,i))("color",i.color||s.color),ge("aria-posinset",n+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(n))("aria-selected",s.selectedIndex==n)("aria-label",i.ariaLabel||null)("aria-labelledby",!i.ariaLabel&&i.ariaLabelledby?i.ariaLabelledby:null)("aria-disabled",!s._stepIsNavigable(n,i)||null)}}let $w=(()=>{class r extends ure{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matStepLabel",""]],features:[Ae]})}return r})(),I5=(()=>{class r{constructor(){this.changes=new Ge,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const GYe={provide:I5,deps:[[new da,new Ml,I5]],useFactory:function HYe(r){return r||new I5}},jYe=Iv(class extends dre{constructor(a){super(a)}},"primary");let fre=(()=>{class r extends jYe{constructor(i,n,s,l){super(s),this._intl=i,this._focusMonitor=n,this._intlSubscription=i.changes.subscribe(()=>l.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(i,n){i?this._focusMonitor.focusVia(this._elementRef,i,n):this._elementRef.nativeElement.focus(n)}_stringLabel(){return this.label instanceof $w?null:this.label}_templateLabel(){return this.label instanceof $w?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(i){return"number"==i?`${this.index+1}`:"edit"==i?"create":"error"==i?"warning":i}static#e=this.\u0275fac=function(n){return new(n||r)(T(I5),T(al),T(ke),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[Ae],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(n,s){1&n&&(Q(0,"div",0),C(1,"div")(2,"div",1),I(3,CYe,1,2,"ng-container",2),I(4,AYe,5,4,"ng-container",3),k()(),C(5,"div",4),I(6,IYe,2,1,"div",5),I(7,SYe,2,1,"div",5),I(8,TYe,2,1,"div",6),I(9,EYe,2,1,"div",7),k()),2&n&&(x("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disableRipple),y(1),Wd("mat-step-icon-state-",s.state," mat-step-icon"),Se("mat-step-icon-selected",s.selected),y(1),x("ngSwitch",!(!s.iconOverrides||!s.iconOverrides[s.state])),y(1),x("ngSwitchCase",!0),y(2),Se("mat-step-label-active",s.active)("mat-step-label-selected",s.selected)("mat-step-label-error","error"==s.state),y(1),x("ngIf",s._templateLabel()),y(1),x("ngIf",s._stringLabel()),y(1),x("ngIf",s.optional&&"error"!=s.state),y(1),x("ngIf","error"==s.state))},dependencies:[Qe,Kt,ed,ju,yC,Fo,zp],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}return r})();const bre={horizontalStepTransition:hr("horizontalStepTransition",[yn("previous",gt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),yn("current",gt({transform:"none",visibility:"inherit"})),yn("next",gt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Fi("* => *",YA([Di("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),GC("@*",HC(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:hr("verticalStepTransition",[yn("previous",gt({height:"0px",visibility:"hidden"})),yn("next",gt({height:"0px",visibility:"hidden"})),yn("current",gt({height:"*",visibility:"inherit"})),Fi("* <=> current",YA([Di("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),GC("@*",HC(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let $Ye=(()=>{class r{constructor(i){this.templateRef=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}return r})(),UYe=(()=>{class r{constructor(i){this._template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["ng-template","matStepContent",""]]})}return r})(),S5=(()=>{class r extends bj{constructor(i,n,s,l){super(i,l),this._errorStateMatcher=n,this._viewContainerRef=s,this._isSelected=Ce.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Jn(()=>this._stepper.selectionChange.pipe(Rt(i=>i.selectedStep===this),go(this._stepper.selected===this)))).subscribe(i=>{i&&this._lazyContent&&!this._portal&&(this._portal=new XC(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(i,n){return this._errorStateMatcher.isErrorState(i,n)||!!(i&&i.invalid&&this.interacted)}static#e=this.\u0275fac=function(n){return new(n||r)(T(J(()=>T5)),T(Ev,4),T(ei),T(hre,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-step"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,$w,5),Fe(l,UYe,5)),2&n){let d;G(d=j())&&(s.stepLabel=d.first),G(d=j())&&(s._lazyContent=d.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[Ye([{provide:Ev,useExisting:r},{provide:bj,useExisting:r}]),Ae],ngContentSelectors:PYe,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(n,s){1&n&&(pt(),I(0,RYe,2,1,"ng-template"))},dependencies:[ZC],encapsulation:2,changeDetection:0})}return r})(),T5=(()=>{class r extends PS{get animationDuration(){return this._animationDuration}set animationDuration(i){this._animationDuration=/^\d+$/.test(i)?i+"ms":i}constructor(i,n,s){super(i,n,s),this._stepHeader=void 0,this._steps=void 0,this.steps=new zo,this.animationDone=new X,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new Ge,this._animationDuration="";const l=s.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===l?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:i,templateRef:n})=>this._iconOverrides[i]=n),this.steps.changes.pipe(xe(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(Qs((i,n)=>i.fromState===n.fromState&&i.toState===n.toState),xe(this._destroyed)).subscribe(i=>{"current"===i.toState&&this.animationDone.emit()})}_stepIsNavigable(i,n){return n.completed||this.selectedIndex===i||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static#e=this.\u0275fac=function(n){return new(n||r)(T(Yr,8),T(rt),T(ke))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,S5,5),Fe(l,$Ye,5)),2&n){let d;G(d=j())&&(s._steps=d),G(d=j())&&(s._icons=d)}},viewQuery:function(n,s){if(1&n&&oe(fre,5),2&n){let l;G(l=j())&&(s._stepHeader=l)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(n,s){2&n&&(ge("aria-orientation",s.orientation),Se("mat-stepper-horizontal","horizontal"===s.orientation)("mat-stepper-vertical","vertical"===s.orientation)("mat-stepper-label-position-end","horizontal"===s.orientation&&"end"==s.labelPosition)("mat-stepper-label-position-bottom","horizontal"===s.orientation&&"bottom"==s.labelPosition)("mat-stepper-header-position-bottom","bottom"===s.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Ye([{provide:PS,useExisting:r}]),Ae],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(n,s){1&n&&(be(0,0),I(1,LYe,5,2,"div",1),I(2,VYe,2,1,"ng-container",2),ve(),I(3,zYe,1,23,"ng-template",null,3,pe)),2&n&&(x("ngSwitch",s.orientation),y(1),x("ngSwitchCase","horizontal"),y(1),x("ngSwitchCase","vertical"))},dependencies:[Vt,Qe,Kt,ed,ju,fre],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[bre.horizontalStepTransition,bre.verticalStepTransition]},changeDetection:0})}return r})(),yj=(()=>{class r extends vYe{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(n,s){2&n&&ur("type",s.type)},inputs:{type:"type"},features:[Ae]})}return r})(),Cj=(()=>{class r extends bYe{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(n,s){2&n&&ur("type",s.type)},inputs:{type:"type"},features:[Ae]})}return r})(),WYe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[GYe,Ev],imports:[Ai,Gs,Dv,yYe,Joe,Hp,Ai]})}return r})();const qYe=["stepper"];function KYe(r,a){1&r&&P(0,"Nh\u1eadp email c\u1ee7a t\xe0i kho\u1ea3n")}function YYe(r,a){1&r&&P(0,"Nh\u1eadp m\xe3 x\xe1c nh\u1eadn")}function QYe(r,a){1&r&&P(0,"C\xe0i l\u1ea1i m\u1eadt kh\u1ea9u")}const XYe=function(){return{standalone:!0}};function ZYe(r,a){if(1&r){const i=ce();C(0,"mat-step",11)(1,"form",4),I(2,QYe,1,0,"ng-template",5),C(3,"mat-form-field",6)(4,"mat-label"),P(5,"M\u1eadt kh\u1ea9u m\u1edbi"),k(),Q(6,"input",18),C(7,"button",19),B("click",function(){z(i);const s=S();return H(s.hide=!s.hide)}),C(8,"mat-icon"),P(9),k()()(),C(10,"mat-form-field",6)(11,"mat-label"),P(12,"Nh\u1eadp l\u1ea1i m\u1eadt kh\u1ea9u"),k(),C(13,"input",20),B("ngModelChange",function(s){return z(i),H(S().confirmPass=s)}),k()(),C(14,"div")(15,"button",13),P(16,"Quay l\u1ea1i"),k(),C(17,"button",14),B("click",function(){return z(i),H(S().ResetPassword())}),P(18,"C\xe0i l\u1ea1i m\u1eadt kh\u1ea9u"),k()()()()}if(2&r){const i=S();x("stepControl",i.thirdFormGroup)("completed",i.step2Completed),y(1),x("formGroup",i.thirdFormGroup),y(5),x("type",i.hide?"password":"text"),y(1),ge("aria-label","Hide password")("aria-pressed",i.hide),y(2),_e(i.hide?"visibility_off":"visibility"),y(4),x("ngModel",i.confirmPass)("ngModelOptions",Dn(9,XYe))}}let JYe=(()=>{class r{constructor(i,n,s,l,d){this.service=i,this.dialogRef=n,this._formBuilder=s,this.toastr=l,this.router=d,this.email="",this.hide=!0,this.lockUntil=null,this.numberOfAttemptsRemaining=5,this.step1Completed=!1,this.step2Completed=!1,this.firstFormGroup=this._formBuilder.group({email:this._formBuilder.control("",Nt.compose([Nt.required,Nt.email]))}),this.secondFormGroup=this._formBuilder.group({code:["",Nt.required]}),this.thirdFormGroup=this._formBuilder.group({password:this._formBuilder.control("",Nt.compose([Nt.required,Nt.pattern("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*_=+-]).{6,16}$")])),token:this._formBuilder.control(""),email:this._formBuilder.control(this.email)}),this.isLinear=!0}onNoClick(){this.dialogRef.close()}Step(){this.stepper.next()}GetCode(){this.firstFormGroup.valid?this.service.ForgetPassword(this.firstFormGroup.value.email).subscribe(i=>{this.password=i.resultObj.password,this.toastr.info("Nh\u1eadp m\xe3 x\xe1c nh\u1eadn \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn email c\u1ee7a b\u1ea1n"),this.step1Completed=!0},i=>{this.toastr.error(i.error.message)}):this.toastr.warning("\u0110\u1ecba ch\u1ec9 email kh\xf4ng \u0111\xfang!")}ConfirmCode(){if(this.secondFormGroup.valid){if(1!=this.step2Completed)return this.password!==this.secondFormGroup.value.code?(this.numberOfAttemptsRemaining--,void this.toastr.warning("M\xe3 x\xe1c nh\u1eadn kh\xf4ng \u0111\xfang! S\u1ed1 l\u1ea7n th\u1eed c\xf2n l\u1ea1i l\xe0: "+this.numberOfAttemptsRemaining)):void this.service.ConfirmCode(this.firstFormGroup.value.email).subscribe(i=>{this.token=i.resultObj.token,this.step2Completed=!0,this.stepper.next()},i=>{this.toastr.error(i.message)});this.stepper.next()}else this.toastr.warning("Vui l\xf2ng nh\u1eadp m\xe3 x\xe1c nh\u1eadn!")}ResetPassword(){this.thirdFormGroup.valid?(this.thirdFormGroup.value.email=this.firstFormGroup.value.email,this.thirdFormGroup.value.token=this.token,this.thirdFormGroup.value.password===this.confirmPass?this.service.ResetPassword(this.thirdFormGroup.value).subscribe(i=>{this.toastr.success("\u0110\u1eb7t l\u1ea1i m\u1eadt kh\u1ea9u th\xe0nh c\xf4ng! H\xe3y quay l\u1ea1i \u0111\u0103ng nh\u1eadp"),this.onNoClick()},i=>{this.toastr.error(i.error.message)}):this.toastr.warning("M\u1eadt kh\u1ea9u kh\xf4ng kh\u1edbp!")):this.toastr.warning("Vui l\xf2ng \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin!")}static#e=this.\u0275fac=function(n){return new(n||r)(T(Qu),T(hd),T(za),T(Mi),T(di))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forgetpass"]],viewQuery:function(n,s){if(1&n&&oe(qYe,5),2&n){let l;G(l=j())&&(s.stepper=l.first)}},decls:33,vars:8,consts:[["mat-dialog-title","",2,"text-align","center"],["orientation","vertical",1,"font",3,"linear"],["stepper",""],[3,"stepControl"],[3,"formGroup"],["matStepLabel",""],[1,"w-100"],["type","email","matInput","","formControlName","email"],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","",3,"disabled","click"],["continue",""],[3,"stepControl","completed"],["matInput","","formControlName","code","placeholder","12345","required",""],["mat-raised-button","","matStepperPrevious",""],["mat-raised-button","","color","primary","matStepperNext","",3,"click"],[3,"stepControl","completed",4,"ngIf"],["mat-dialog-actions","",2,"justify-content","end"],["mat-raised-button","",3,"click"],["matInput","","type","password","placeholder","V\xed d\u1ee5: 'Mk5manh/'","formControlName","password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["type","password","matInput","",3,"ngModel","ngModelOptions","ngModelChange"]],template:function(n,s){1&n&&(C(0,"h1",0),P(1,"Qu\xean m\u1eadt kh\u1ea9u"),k(),C(2,"mat-stepper",1,2)(4,"mat-step",3)(5,"form",4),I(6,KYe,1,0,"ng-template",5),C(7,"mat-form-field",6)(8,"mat-label"),P(9,"Email"),k(),Q(10,"input",7),k(),C(11,"div")(12,"button",8),B("click",function(){return s.GetCode()}),P(13,"G\u1eedi"),k(),C(14,"button",9,10),B("click",function(){return s.Step()}),P(16,"Ti\u1ebfp theo"),k()()()(),C(17,"mat-step",11)(18,"form",4),I(19,YYe,1,0,"ng-template",5),C(20,"mat-form-field",6)(21,"mat-label"),P(22,"M\xe3 x\xe1c nh\u1eadn"),k(),Q(23,"input",12),k(),C(24,"div")(25,"button",13),P(26,"Quay l\u1ea1i"),k(),C(27,"button",14),B("click",function(){return s.ConfirmCode()}),P(28,"Ti\u1ebfp theo"),k()()()(),I(29,ZYe,19,10,"mat-step",15),k(),C(30,"div",16)(31,"button",17),B("click",function(){return s.onNoClick()}),P(32,"H\u1ee7y"),k()()),2&n&&(y(2),x("linear",s.isLinear),y(2),x("stepControl",s.firstFormGroup),y(1),x("formGroup",s.firstFormGroup),y(9),x("disabled",!s.step1Completed),y(3),x("stepControl",s.secondFormGroup)("completed",s.step1Completed),y(1),x("formGroup",s.secondFormGroup),y(11),x("ngIf",s.step2Completed))},dependencies:[Qe,cl,Sn,gn,Qr,vc,ss,hs,ml,ud,Us,uYe,hYe,Cr,wr,Fo,S5,$w,T5,yj,Cj,jo,ba],styles:[".mat-stepper-vertical[_ngcontent-%COMP%]{margin-top:8px}.mat-mdc-form-field[_ngcontent-%COMP%]{margin-top:16px}"]})}return r})(),wj=(()=>{class r{constructor(i,n){this.http=i,this.authservice=n,this.apiurl=this.authservice.getApiUrl()}GetImage(){return this.http.get(this.apiurl+"/user/image")}UpdateAvatar(i){return this.http.post(this.apiurl+"/user/image",i,{responseType:"text"})}GetUserDetail(){return this.http.get(this.apiurl+"/user")}UpdateUser(i){return this.http.put(this.apiurl+"/user",i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(bv),De(Qu))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const xj=new $e("JWT_OPTIONS");let kj=(()=>{class r{constructor(i=null){this.tokenGetter=i&&i.tokenGetter||function(){}}urlBase64Decode(i){let n=i.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(n)}b64decode(i){let s="";if((i=String(i).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let d,p,l=0,f=0;p=i.charAt(f++);~p&&(d=l%4?64*d+p:p,l++%4)?s+=String.fromCharCode(255&d>>(-2*l&6)):0)p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(p);return s}b64DecodeUnicode(i){return decodeURIComponent(Array.prototype.map.call(this.b64decode(i),n=>"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(i=this.tokenGetter()){return i instanceof Promise?i.then(n=>this._decodeToken(n)):this._decodeToken(i)}_decodeToken(i){if(!i||""===i)return null;const n=i.split(".");if(3!==n.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const s=this.urlBase64Decode(n[1]);if(!s)throw new Error("Cannot decode the token.");return JSON.parse(s)}getTokenExpirationDate(i=this.tokenGetter()){return i instanceof Promise?i.then(n=>this._getTokenExpirationDate(n)):this._getTokenExpirationDate(i)}_getTokenExpirationDate(i){let n;if(n=this.decodeToken(i),!n||!n.hasOwnProperty("exp"))return null;const s=new Date(0);return s.setUTCSeconds(n.exp),s}isTokenExpired(i=this.tokenGetter(),n){return i instanceof Promise?i.then(s=>this._isTokenExpired(s,n)):this._isTokenExpired(i,n)}_isTokenExpired(i,n){if(!i||""===i)return!0;const s=this.getTokenExpirationDate(i);return n=n||0,null!==s&&!(s.valueOf()>(new Date).valueOf()+1e3*n)}getAuthScheme(i,n){return"function"==typeof i?i(n):i}}return r.\u0275fac=function(i){return new(i||r)(De(xj))},r.\u0275prov=He({token:r,factory:r.\u0275fac}),r})();const yre=r=>r instanceof Promise?mv(()=>r):Dt(r);let eQe=(()=>{class r{constructor(i,n,s){this.jwtHelper=n,this.document=s,this.standardPorts=["80","443"],this.tokenGetter=i.tokenGetter,this.headerName=i.headerName||"Authorization",this.authScheme=i.authScheme||""===i.authScheme?i.authScheme:"Bearer ",this.allowedDomains=i.allowedDomains||[],this.disallowedRoutes=i.disallowedRoutes||[],this.throwNoTokenError=i.throwNoTokenError||!1,this.skipWhenExpired=i.skipWhenExpired}isAllowedDomain(i){const n=new URL(i.url,this.document.location.origin);if(n.host===this.document.location.host)return!0;const s=`${n.hostname}${n.port&&!this.standardPorts.includes(n.port)?":"+n.port:""}`;return this.allowedDomains.findIndex(l=>"string"==typeof l?l===s:l instanceof RegExp&&l.test(s))>-1}isDisallowedRoute(i){const n=new URL(i.url,this.document.location.origin);return this.disallowedRoutes.findIndex(s=>{if("string"==typeof s){const l=new URL(s,this.document.location.origin);return l.hostname===n.hostname&&l.pathname===n.pathname}return s instanceof RegExp&&s.test(i.url)})>-1}handleInterception(i,n,s){const l=this.jwtHelper.getAuthScheme(this.authScheme,n);if(!i&&this.throwNoTokenError)throw new Error("Could not get token from tokenGetter function.");let d=Dt(!1);return this.skipWhenExpired&&(d=i?yre(this.jwtHelper.isTokenExpired(i)):Dt(!0)),i?d.pipe(Rt(p=>p&&this.skipWhenExpired?n.clone():n.clone({setHeaders:{[this.headerName]:`${l}${i}`}})),vo(p=>s.handle(p))):s.handle(n)}intercept(i,n){if(!this.isAllowedDomain(i)||this.isDisallowedRoute(i))return n.handle(i);const s=this.tokenGetter(i);return yre(s).pipe(vo(l=>this.handleInterception(l,i,n)))}}return r.\u0275fac=function(i){return new(i||r)(De(xj),De(kj),De(Tt))},r.\u0275prov=He({token:r,factory:r.\u0275fac}),r})(),tQe=(()=>{class r{constructor(i){if(i)throw new Error("JwtModule is already loaded. It should only be imported in your application's main module.")}static forRoot(i){return{ngModule:r,providers:[{provide:M6,useClass:eQe,multi:!0},i.jwtOptionsProvider||{provide:xj,useValue:i.config},kj]}}}return r.\u0275fac=function(i){return new(i||r)(De(r,12))},r.\u0275mod=Ht({type:r}),r.\u0275inj=zt({}),r})(),iQe=(()=>{class r{constructor(i,n,s,l,d,p,f,v,D,E){this.builder=i,this.toastr=n,this.userService=s,this.service=l,this.router=d,this.jwtHelper=p,this.dialog=f,this.sessionService=v,this.location=D,this.dataService=E,this.hide=!0,this.loginform=this.builder.group({Email:this.builder.control("",Nt.required),Password:this.builder.control("",Nt.required)})}proceedlogin(){this.loginform.valid?this.service.Login(this.loginform.value).subscribe(i=>{if(this.sessionService.setToken(i.resultObj),i.isSuccessed){const s=this.jwtHelper.decodeToken(i.resultObj),d=s["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"],p=s["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"],f=s["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"];this.sessionService.setEmail(s["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"]),this.sessionService.setName(p),this.sessionService.setRole(d),this.sessionService.setUserId(f),this.userService.GetImage().subscribe(E=>{""!==E&&sessionStorage.setItem("avatar",E.resultObj)},E=>{console.error("L\u1ed7i khi g\u1ecdi API",E),console.log(E),console.log(E.message)}),this.service.login();const v=this.location.getState();this.router.navigateByUrl(""!==v.redirect?v.redirect:"/home")}else this.toastr.error(i.message)},i=>{this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y")}):this.toastr.warning("Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin!")}togglePasswordVisibility(){this.hide=!this.hide}forgetPassword(){this.openDialog("100ms","600ms")}openDialog(i,n){this.dialog.open(JYe,{enterAnimationDuration:i,exitAnimationDuration:n,width:"30%"})}loginWithFacebookProxy(){this.service.loginWithFacebook(),sessionStorage.getItem("access_token")}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(Mi),T(wj),T(Qu),T(di),T(kj),T(Dc),T(Rn),T(Gu),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-login"]],decls:34,vars:5,consts:[[1,"form-register",2,"width","100%","margin-top","100px"],[1,"form-register","font"],[3,"formGroup","ngSubmit"],[1,"example-full-width"],["matInput","","placeholder","V\xed d\u1ee5: 'luongxuannhat'","autocomplete","email","formControlName","Email"],["matInput","","type","password","autocomplete","password","formControlName","Password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],[1,"po-re",2,"justify-content","space-between","display","flex","top","-24px"],["color","accent",1,"underline-none","text-black",2,"cursor","pointer",3,"click"],["routerLink","/register","color","accent",1,"underline-none","text-black"],[1,"mt-1",2,"justify-content","space-around","display","flex"],["mat-raised-button","","color","primary"],["title","\u0110\u0103ng nh\u1eadp b\u1eb1ng facebook",2,"background-color","transparent","border","none",3,"click"],["src","assets/Icon/facebook.png"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"mat-card",1)(2,"mat-card-header")(3,"h5"),P(4,"\u0110\u0103ng nh\u1eadp"),k()(),C(5,"mat-card-subtitle")(6,"span"),P(7,"admin@gmail.com"),k()(),C(8,"mat-card-content")(9,"form",2),B("ngSubmit",function(){return s.proceedlogin()}),C(10,"mat-form-field",3)(11,"mat-label"),P(12,"T\xean t\xe0i kho\u1ea3n"),k(),Q(13,"input",4),k(),C(14,"mat-form-field",3)(15,"mat-label"),P(16,"M\u1eadt kh\u1ea9u"),k(),Q(17,"input",5),C(18,"button",6),B("click",function(){return s.hide=!s.hide}),C(19,"mat-icon"),P(20),k()()(),C(21,"div",7)(22,"a",8),B("click",function(){return s.forgetPassword()}),P(23,"Qu\xean m\u1eadt kh\u1ea9u"),k(),C(24,"a",9),P(25,"Quay l\u1ea1i \u0111\u0103ng k\xfd"),k()(),C(26,"div",10)(27,"button",11),P(28,"\u0110\u0103ng nh\u1eadp"),k()(),C(29,"span"),P(30,"ho\u1eb7c"),k()(),C(31,"div",10)(32,"button",12),B("click",function(){return s.loginWithFacebookProxy()}),Q(33,"img",13),k()()()()()),2&n&&(y(9),x("formGroup",s.loginform),y(8),x("type",s.hide?"password":"text"),y(1),ge("aria-label","Hide password")("aria-pressed",s.hide),y(2),_e(s.hide?"visibility_off":"visibility"))},dependencies:[js,cl,Sn,gn,Qr,hs,ml,ud,Us,v5,b5,C5,y5,Cr,wr,Fo,jo,ba],styles:[".form-register[_ngcontent-%COMP%]{width:40%;display:flex;align-items:center;justify-content:center;padding:0}.example-full-width[_ngcontent-%COMP%]{display:flex;width:300px}"]})}return r})(),nQe=(()=>{class r{intercept(i,n){if(i.url.includes("/public")||i.url.includes("/login"))return n.handle(i);const s=sessionStorage.getItem("access_token");return s&&(i=i.clone({setHeaders:{Authorization:`Bearer ${s}`}})),n.handle(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function oQe(r,a){1&r&&Q(0,"img",14),2&r&&ri("src",S().avatar,oi)}function rQe(r,a){1&r&&Q(0,"img",15)}let Cre=(()=>{class r{constructor(i,n,s,l){this.userService=i,this.toastr=n,this.fb=s,this.sessionService=l,this.form=this.fb.group({})}ngOnInit(){this.sessionService.email$.subscribe(i=>{this.username=i}),this.sessionService.descriptionUser$.subscribe(i=>{this.description=i}),this.avatar=this.sessionService.getAvatar(),this.username=this.sessionService.getEmail(),this.description=this.sessionService.getDescriptionUser()}checkSize(i){return i.size>1048576&&(this.toastr.warning("K\xedch th\u01b0\u1edbc \u1ea3nh kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 1MB."),!0)}onFileSelected(i){const n=i.target.files[0];if(this.checkSize(n))return;const s=new FormData;s.append("image",n),this.userService.UpdateAvatar(s).subscribe(l=>{this.userService.GetImage().subscribe(d=>{if(""!==d){const p=d.resultObj;this.sessionService.setAvatar(p),this.avatar=p}}),this.toastr.success(l)},l=>{this.toastr.error(l),console.log(l)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(wj),T(Mi),T(za),T(Rn))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-introduce"]],decls:37,vars:5,consts:[[1,"font"],[1,"pb"],[1,"example-card",2,"width","400px"],[2,"display","block","text-align","center"],["class","boder-50 img-user",3,"src",4,"ngIf","ngIfElse"],["avatarBig",""],["enctype","multipart/form-data",3,"formGroup"],[1,"po-re",2,"height","8px"],["for","fileInput",1,"po-ab","custom-file-upload","btn-image"],["type","file","id","fileInput",3,"change"],["type","submit",2,"display","none"],[1,"co-primary"],[1,"bb","pb-1"],["mat-button",""],[1,"boder-50","img-user",3,"src"],["src","assets/Icon/user-l.png"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"h5",1),P(2,"C\xe0i \u0111\u1eb7t t\xe0i kho\u1ea3n"),k(),C(3,"mat-card",2)(4,"mat-card-header",3),I(5,oQe,1,1,"img",4),I(6,rQe,1,0,"ng-template",null,5,pe),C(8,"form",6)(9,"div",7)(10,"label",8)(11,"input",9),B("change",function(d){return s.onFileSelected(d)}),k(),C(12,"mat-icon"),P(13,"add_a_photo"),k()()(),Q(14,"button",10),k(),C(15,"div")(16,"mat-card-title",11),P(17),k(),Q(18,"mat-card-subtitle",12),k()(),C(19,"mat-card-content")(20,"p"),P(21),k(),C(22,"p"),P(23,"223 b\xe0i vi\u1ebft"),k(),C(24,"p"),P(25,"2k l\u01b0\u1ee3t th\xedch"),k(),C(26,"p"),P(27,"223k l\u01b0\u1ee3t xem"),k(),C(28,"p"),P(29,"3 kh\xf3a h\u1ecdc"),k(),C(30,"p"),P(31,"13 t\xe0i li\u1ec7u"),k()(),C(32,"mat-card-actions")(33,"button",13),P(34,"LIKE"),k(),C(35,"button",13),P(36,"SHARE"),k()()()()),2&n){const l=ee(7);y(5),x("ngIf",s.avatar)("ngIfElse",l),y(3),x("formGroup",s.form),y(9),_e(s.username),y(4),me(" ",s.description," ")}},dependencies:[Qe,cl,Qr,v5,joe,b5,C5,y5,Goe,Cr,Fo,jo],styles:[".custom-file-upload[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{display:none}.custom-file-upload[_ngcontent-%COMP%]{cursor:pointer;right:118px;top:-25px;border:transparent;background-color:transparent}.btn-image[_ngcontent-%COMP%]{transition:border-color .3s;border-bottom:1px solid transparent}.btn-image[_ngcontent-%COMP%]:hover{border-color:#3768e3!important}.img-user[_ngcontent-%COMP%]{border-radius:50%;width:128px!important;height:128px!important;object-fit:cover;overflow:hidden}"]})}return r})();const Dj=["*"],sQe=["tabListContainer"],aQe=["tabList"],lQe=["tabListInner"],cQe=["nextPaginator"],dQe=["previousPaginator"],gQe=["mat-tab-nav-bar",""],mQe=["mat-tab-link",""],Aj="mdc-tab-indicator--active",wre="mdc-tab-indicator--no-transition";class fQe{constructor(a){this._items=a}hide(){this._items.forEach(a=>a.deactivateInkBar())}alignToElement(a){const i=this._items.find(s=>s.elementRef.nativeElement===a),n=this._currentItem;if(i!==n&&(n?.deactivateInkBar(),i)){const s=n?.elementRef.nativeElement.getBoundingClientRect?.();i.activateInkBar(s),this._currentItem=i}}}function _Qe(r){return class extends r{constructor(...a){super(...a),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(a){const i=Et(a);this._fitToContent!==i&&(this._fitToContent=i,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(a){const i=this.elementRef.nativeElement;if(!a||!i.getBoundingClientRect||!this._inkBarContentElement)return void i.classList.add(Aj);const n=i.getBoundingClientRect(),s=a.width/n.width,l=a.left-n.left;i.classList.add(wre),this._inkBarContentElement.style.setProperty("transform",`translateX(${l}px) scaleX(${s})`),i.getBoundingClientRect(),i.classList.remove(wre),i.classList.add(Aj),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Aj)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const a=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=a.createElement("span"),this._inkBarContentElement=a.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const xre=eu({passive:!0});let CQe=(()=>{class r{get disablePagination(){return this._disablePagination}set disablePagination(i){this._disablePagination=Et(i)}get selectedIndex(){return this._selectedIndex}set selectedIndex(i){i=Ba(i),this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}constructor(i,n,s,l,d,p,f){this._elementRef=i,this._changeDetectorRef=n,this._viewportRuler=s,this._dir=l,this._ngZone=d,this._platform=p,this._animationMode=f,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ge,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ge,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new X,this.indexFocused=new X,d.runOutsideAngular(()=>{Ri(i.nativeElement,"mouseleave").pipe(xe(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Ri(this._previousPaginator.nativeElement,"touchstart",xre).pipe(xe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ri(this._nextPaginator.nativeElement,"touchstart",xre).pipe(xe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const i=this._dir?this._dir.change:Dt("ltr"),n=this._viewportRuler.change(150),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new D3(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(An(1)).subscribe(s),rn(i,n,this._items.changes,this._itemsResized()).pipe(xe(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),s()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return"function"!=typeof ResizeObserver?Jr:this._items.changes.pipe(go(this._items),Jn(i=>new _n(n=>this._ngZone.runOutsideAngular(()=>{const s=new ResizeObserver(l=>n.next(l));return i.forEach(l=>s.observe(l.elementRef.nativeElement)),()=>{s.disconnect()}}))),H6(1),xi(i=>i.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(i){if(!Nr(i))switch(i.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(i))}break;default:this._keyManager.onKeydown(i)}}_onContentChanges(){const i=this._elementRef.nativeElement.textContent;i!==this._currentTextContent&&(this._currentTextContent=i||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(i){!this._isValidIndex(i)||this.focusIndex===i||!this._keyManager||this._keyManager.setActiveItem(i)}_isValidIndex(i){return!this._items||!!this._items.toArray()[i]}_setTabFocus(i){if(this._showPaginationControls&&this._scrollToLabel(i),this._items&&this._items.length){this._items.toArray()[i].focus();const n=this._tabListContainer.nativeElement;n.scrollLeft="ltr"==this._getLayoutDirection()?0:n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const i=this.scrollDistance,n="ltr"===this._getLayoutDirection()?-i:i;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(i){this._scrollTo(i)}_scrollHeader(i){return this._scrollTo(this._scrollDistance+("before"==i?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(i){this._stopInterval(),this._scrollHeader(i)}_scrollToLabel(i){if(this.disablePagination)return;const n=this._items?this._items.toArray()[i]:null;if(!n)return;const s=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:d}=n.elementRef.nativeElement;let p,f;"ltr"==this._getLayoutDirection()?(p=l,f=p+d):(f=this._tabListInner.nativeElement.offsetWidth-l,p=f-d);const v=this.scrollDistance,D=this.scrollDistance+s;pD&&(this.scrollDistance+=Math.min(f-D,p-v))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const i=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;i||(this.scrollDistance=0),i!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=i}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const i=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=i?i.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(i,n){n&&null!=n.button&&0!==n.button||(this._stopInterval(),xv(650,100).pipe(xe(rn(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:s,distance:l}=this._scrollHeader(i);(0===l||l>=s)&&this._stopInterval()}))}_scrollTo(i){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,i)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(Rm),T(Yr,8),T(et),T(Po),T(Eo,8))};static#t=this.\u0275dir=re({type:r,inputs:{disablePagination:"disablePagination"}})}return r})();const wQe=new $e("MAT_TABS_CONFIG");let kre=0,Dre=(()=>{class r extends CQe{get backgroundColor(){return this._backgroundColor}set backgroundColor(i){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),i&&n.add("mat-tabs-with-background",`mat-background-${i}`),this._backgroundColor=i}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=Et(i)}constructor(i,n,s,l,d,p,f){super(i,l,d,n,s,p,f),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(go(null),xe(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const i=this._items.toArray();for(let n=0;n{class r extends xQe{get active(){return this._isActive}set active(i){const n=Et(i);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(i,n,s,l,d,p){super(),this._tabNavBar=i,this.elementRef=n,this._focusMonitor=d,this._isActive=!1,this.id="mat-tab-link-"+kre++,this.rippleConfig=s||{},this.tabIndex=parseInt(l)||0,"NoopAnimations"===p&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(i){(32===i.keyCode||13===i.keyCode)&&(this.disabled?i.preventDefault():this._tabNavBar.tabPanel&&this.elementRef.nativeElement.click())}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function(n){return new(n||r)(T(Dre),T(ke),T(ew,8),Ns("tabindex"),T(al),T(Eo,8))};static#t=this.\u0275dir=re({type:r,inputs:{active:"active",id:"id"},features:[Ae]})}return r})());let E5=(()=>{class r extends Dre{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(i){this._fitInkBarToContent.next(Et(i)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(i){this._stretchTabs=Et(i)}get animationDuration(){return this._animationDuration}set animationDuration(i){this._animationDuration=/^\d+$/.test(i+"")?i+"ms":i}constructor(i,n,s,l,d,p,f,v){super(i,n,s,l,d,p,f),this._fitInkBarToContent=new Pn(!1),this._stretchTabs=!0,this.disablePagination=!(!v||null==v.disablePagination)&&v.disablePagination,this.fitInkBarToContent=!(!v||null==v.fitInkBarToContent)&&v.fitInkBarToContent,this.stretchTabs=!v||null==v.stretchTabs||v.stretchTabs}ngAfterContentInit(){this._inkBar=new fQe(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Yr,8),T(et),T(rt),T(Rm),T(Po),T(Eo,8),T(wQe,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(n,s,l){if(1&n&&Fe(l,M5,5),2&n){let d;G(d=j())&&(s._items=d)}},viewQuery:function(n,s){if(1&n&&(oe(sQe,7),oe(aQe,7),oe(lQe,7),oe(cQe,5),oe(dQe,5)),2&n){let l;G(l=j())&&(s._tabListContainer=l.first),G(l=j())&&(s._tabList=l.first),G(l=j())&&(s._tabListInner=l.first),G(l=j())&&(s._nextPaginator=l.first),G(l=j())&&(s._previousPaginator=l.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(n,s){2&n&&(ge("role",s._getRole()),Pe("--mat-tab-animation-duration",s.animationDuration),Se("mat-mdc-tab-header-pagination-controls-enabled",s._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==s._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",s.stretchTabs)("mat-primary","warn"!==s.color&&"accent"!==s.color)("mat-accent","accent"===s.color)("mat-warn","warn"===s.color)("_mat-animation-noopable","NoopAnimations"===s._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],animationDuration:"animationDuration"},exportAs:["matTabNavBar","matTabNav"],features:[Ae],attrs:gQe,ngContentSelectors:Dj,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(n,s){1&n&&(pt(),C(0,"button",0,1),B("click",function(){return s._handlePaginatorClick("before")})("mousedown",function(d){return s._handlePaginatorPress("before",d)})("touchend",function(){return s._stopInterval()}),Q(2,"div",2),k(),C(3,"div",3,4),B("keydown",function(d){return s._handleKeydown(d)}),C(5,"div",5,6),B("cdkObserveContent",function(){return s._onContentChanges()}),C(7,"div",7,8),Ie(9),k()()(),C(10,"button",9,10),B("mousedown",function(d){return s._handlePaginatorPress("after",d)})("click",function(){return s._handlePaginatorClick("after")})("touchend",function(){return s._stopInterval()}),Q(12,"div",2),k()),2&n&&(Se("mat-mdc-tab-header-pagination-disabled",s._disableScrollBefore),x("matRippleDisabled",s._disableScrollBefore||s.disableRipple)("disabled",s._disableScrollBefore||null),y(10),Se("mat-mdc-tab-header-pagination-disabled",s._disableScrollAfter),x("matRippleDisabled",s._disableScrollAfter||s.disableRipple)("disabled",s._disableScrollAfter||null))},dependencies:[zp,Vve],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return r})(),M5=(()=>{class r extends kQe{constructor(i,n,s,l,d,p){super(i,n,s,l,d,p),this._destroyed=new Ge,i._fitInkBarToContent.pipe(xe(this._destroyed)).subscribe(f=>{this.fitInkBarToContent=f})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}static#e=this.\u0275fac=function(n){return new(n||r)(T(E5),T(ke),T(ew,8),Ns("tabindex"),T(al),T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(n,s){1&n&&B("focus",function(){return s._handleFocus()})("keydown",function(d){return s._handleKeydown(d)}),2&n&&(ge("aria-controls",s._getAriaControls())("aria-current",s._getAriaCurrent())("aria-disabled",s.disabled)("aria-selected",s._getAriaSelected())("id",s.id)("tabIndex",s._getTabIndex())("role",s._getRole()),Se("mat-mdc-tab-disabled",s.disabled)("mdc-tab--active",s.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[Ae],attrs:mQe,ngContentSelectors:Dj,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(n,s){1&n&&(pt(),Q(0,"span",0)(1,"div",1),C(2,"span",2)(3,"span",3),Ie(4),k()()),2&n&&(y(1),x("matRippleTrigger",s.elementRef.nativeElement)("matRippleDisabled",s.rippleDisabled))},dependencies:[zp],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return r})(),Ij=(()=>{class r{constructor(){this.id="mat-tab-nav-panel-"+kre++}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(n,s){2&n&&ge("aria-labelledby",s._activeTabId)("id",s.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Dj,decls:1,vars:0,template:function(n,s){1&n&&(pt(),Ie(0))},encapsulation:2,changeDetection:0})}return r})(),DQe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Gs,Ai,Dv,Hp,G6,iI,Ai]})}return r})();const AQe=function(r){return[r]},IQe=function(){return{exact:!0}};function SQe(r,a){if(1&r&&(C(0,"a",4,5),P(2),k()),2&r){const i=a.$implicit,n=ee(1);x("routerLink",Wt(4,AQe,i.url))("routerLinkActiveOptions",Dn(6,IQe))("active",n.isActive),y(2),me(" ",i.categoryname," ")}}let TQe=(()=>{class r{constructor(i){this.router=i,this.objectList=[{categoryname:"Th\xf4ng tin c\xe1 nh\xe2n",url:"updateuserinfor"},{categoryname:"C\u1eadp nh\u1eadp t\xe0i kho\u1ea3n",url:"updateaccount"}],this.defaultLink=this.objectList[0].url}static#e=this.\u0275fac=function(n){return new(n||r)(T(di))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-category"]],decls:6,vars:2,consts:[[1,"w-40"],["mat-tab-nav-bar","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active",4,"ngFor","ngForOf"],["tabPanel",""],["mat-tab-link","","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active"],["rla","routerLinkActive"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"nav",1),I(2,SQe,3,7,"a",2),k()(),C(3,"mat-tab-nav-panel",null,3),Q(5,"router-outlet"),k()),2&n){const l=ee(4);y(1),x("tabPanel",l),y(1),x("ngForOf",s.objectList)}},dependencies:[RC,js,o3,Vt,E5,Ij,M5],styles:[".mat-mdc-tab-header[_ngcontent-%COMP%] .mat-mdc-tab[_ngcontent-%COMP%]{flex-grow:0!important}"]})}return r})(),EQe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["app-account"]],decls:6,vars:0,consts:[[2,"height","50px"],[1,"dis-flex"],[1,"pl-3"],[1,"pl-2","w-100"]],template:function(n,s){1&n&&(Q(0,"div",0),C(1,"div",1)(2,"div",2),Q(3,"app-introduce"),k(),C(4,"div",3),Q(5,"app-category"),k()())},dependencies:[Cre,TQe]})}return r})();const MQe=["mat-calendar-body",""];function RQe(r,a){if(1&r&&(C(0,"tr",3)(1,"td",4),P(2),k()()),2&r){const i=S();y(1),Pe("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),ge("colspan",i.numCols),y(1),me(" ",i.label," ")}}function PQe(r,a){if(1&r&&(C(0,"td",4),P(1),k()),2&r){const i=S(2);Pe("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),ge("colspan",i._firstRowOffset),y(1),me(" ",i._firstRowOffset>=i.labelMinRequiredCells?i.label:""," ")}}function OQe(r,a){if(1&r){const i=ce();C(0,"td",8)(1,"button",9),B("click",function(s){const d=z(i).$implicit;return H(S(2)._cellClicked(d,s))})("focus",function(s){const d=z(i).$implicit;return H(S(2)._emitActiveDateChange(d,s))}),C(2,"span",10),P(3),k(),Q(4,"span",11),k()()}if(2&r){const i=a.$implicit,n=a.index,s=S().index,l=S();Pe("width",l._cellWidth)("padding-top",l._cellPadding)("padding-bottom",l._cellPadding),ge("data-mat-row",s)("data-mat-col",n),y(1),Se("mat-calendar-body-disabled",!i.enabled)("mat-calendar-body-active",l._isActiveCell(s,n))("mat-calendar-body-range-start",l._isRangeStart(i.compareValue))("mat-calendar-body-range-end",l._isRangeEnd(i.compareValue))("mat-calendar-body-in-range",l._isInRange(i.compareValue))("mat-calendar-body-comparison-bridge-start",l._isComparisonBridgeStart(i.compareValue,s,n))("mat-calendar-body-comparison-bridge-end",l._isComparisonBridgeEnd(i.compareValue,s,n))("mat-calendar-body-comparison-start",l._isComparisonStart(i.compareValue))("mat-calendar-body-comparison-end",l._isComparisonEnd(i.compareValue))("mat-calendar-body-in-comparison-range",l._isInComparisonRange(i.compareValue))("mat-calendar-body-preview-start",l._isPreviewStart(i.compareValue))("mat-calendar-body-preview-end",l._isPreviewEnd(i.compareValue))("mat-calendar-body-in-preview",l._isInPreview(i.compareValue)),x("ngClass",i.cssClasses)("tabindex",l._isActiveCell(s,n)?0:-1),ge("aria-label",i.ariaLabel)("aria-disabled",!i.enabled||null)("aria-pressed",l._isSelected(i.compareValue))("aria-current",l.todayValue===i.compareValue?"date":null)("aria-describedby",l._getDescribedby(i.compareValue)),y(1),Se("mat-calendar-body-selected",l._isSelected(i.compareValue))("mat-calendar-body-comparison-identical",l._isComparisonIdentical(i.compareValue))("mat-calendar-body-today",l.todayValue===i.compareValue),y(1),me(" ",i.displayValue," ")}}function FQe(r,a){if(1&r&&(C(0,"tr",5),I(1,PQe,2,6,"td",6),I(2,OQe,5,48,"td",7),k()),2&r){const i=a.$implicit,n=a.index,s=S();y(1),x("ngIf",0===n&&s._firstRowOffset),y(1),x("ngForOf",i)}}function NQe(r,a){if(1&r&&(C(0,"th",5)(1,"span",6),P(2),k(),C(3,"span",7),P(4),k()()),2&r){const i=a.$implicit;y(2),_e(i.long),y(2),_e(i.narrow)}}const LQe=["*"];function BQe(r,a){}function VQe(r,a){if(1&r){const i=ce();C(0,"mat-month-view",5),B("activeDateChange",function(s){return z(i),H(S().activeDate=s)})("_userSelection",function(s){return z(i),H(S()._dateSelected(s))})("dragStarted",function(s){return z(i),H(S()._dragStarted(s))})("dragEnded",function(s){return z(i),H(S()._dragEnded(s))}),k()}if(2&r){const i=S();x("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)("startDateAccessibleName",i.startDateAccessibleName)("endDateAccessibleName",i.endDateAccessibleName)("activeDrag",i._activeDrag)}}function zQe(r,a){if(1&r){const i=ce();C(0,"mat-year-view",6),B("activeDateChange",function(s){return z(i),H(S().activeDate=s)})("monthSelected",function(s){return z(i),H(S()._monthSelectedInYearView(s))})("selectedChange",function(s){return z(i),H(S()._goToDateInView(s,"month"))}),k()}if(2&r){const i=S();x("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function HQe(r,a){if(1&r){const i=ce();C(0,"mat-multi-year-view",7),B("activeDateChange",function(s){return z(i),H(S().activeDate=s)})("yearSelected",function(s){return z(i),H(S()._yearSelectedInMultiYearView(s))})("selectedChange",function(s){return z(i),H(S()._goToDateInView(s,"year"))}),k()}if(2&r){const i=S();x("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function GQe(r,a){}const jQe=["button"];function $Qe(r,a){1&r&&(mr(),C(0,"svg",3),Q(1,"path",4),k())}const UQe=[[["","matDatepickerToggleIcon",""]]],WQe=["[matDatepickerToggleIcon]"];let OS=(()=>{class r{constructor(){this.changes=new Ge,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(i,n){return`${i} \u2013 ${n}`}formatYearRangeLabel(i,n){return`${i} to ${n}`}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class Sj{constructor(a,i,n,s,l={},d=a,p){this.value=a,this.displayValue=i,this.ariaLabel=n,this.enabled=s,this.cssClasses=l,this.compareValue=d,this.rawValue=p}}let qQe=1;const Are=eu({passive:!1,capture:!0}),wf=eu({passive:!0,capture:!0}),R5=eu({passive:!0});let Uw=(()=>{class r{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(i,n){this._elementRef=i,this._ngZone=n,this._platform=st(Po),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new X,this.previewChange=new X,this.activeDateChange=new X,this.dragStarted=new X,this.dragEnded=new X,this._didDragSinceMouseDown=!1,this._enterHandler=s=>{if(this._skipNextFocus&&"focus"===s.type)this._skipNextFocus=!1;else if(s.target&&this.isRange){const l=this._getCellFromElement(s.target);l&&this._ngZone.run(()=>this.previewChange.emit({value:l.enabled?l:null,event:s}))}},this._touchmoveHandler=s=>{if(!this.isRange)return;const l=Ire(s),d=l?this._getCellFromElement(l):null;l!==s.target&&(this._didDragSinceMouseDown=!0),Ej(s.target)&&s.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:d?.enabled?d:null,event:s}))},this._leaveHandler=s=>{null!==this.previewEnd&&this.isRange&&("blur"!==s.type&&(this._didDragSinceMouseDown=!0),s.target&&this._getCellFromElement(s.target)&&(!s.relatedTarget||!this._getCellFromElement(s.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:s})))},this._mousedownHandler=s=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const l=s.target&&this._getCellFromElement(s.target);!l||!this._isInRange(l.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:l.rawValue,event:s})})},this._mouseupHandler=s=>{if(!this.isRange)return;const l=Ej(s.target);l?l.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const d=this._getCellFromElement(l);this.dragEnded.emit({value:d?.rawValue??null,event:s})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:s})})},this._touchendHandler=s=>{const l=Ire(s);l&&this._mouseupHandler({target:l})},this._id="mat-calendar-body-"+qQe++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,n.runOutsideAngular(()=>{const s=i.nativeElement;s.addEventListener("touchmove",this._touchmoveHandler,Are),s.addEventListener("mouseenter",this._enterHandler,wf),s.addEventListener("focus",this._enterHandler,wf),s.addEventListener("mouseleave",this._leaveHandler,wf),s.addEventListener("blur",this._leaveHandler,wf),s.addEventListener("mousedown",this._mousedownHandler,R5),s.addEventListener("touchstart",this._mousedownHandler,R5),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(i,n){this._didDragSinceMouseDown||i.enabled&&this.selectedValueChange.emit({value:i.value,event:n})}_emitActiveDateChange(i,n){i.enabled&&this.activeDateChange.emit({value:i.value,event:n})}_isSelected(i){return this.startValue===i||this.endValue===i}ngOnChanges(i){const n=i.numCols,{rows:s,numCols:l}=this;(i.rows||n)&&(this._firstRowOffset=s&&s.length&&s[0].length?l-s[0].length:0),(i.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/l+"%"),(n||!this._cellWidth)&&(this._cellWidth=100/l+"%")}ngOnDestroy(){const i=this._elementRef.nativeElement;i.removeEventListener("touchmove",this._touchmoveHandler,Are),i.removeEventListener("mouseenter",this._enterHandler,wf),i.removeEventListener("focus",this._enterHandler,wf),i.removeEventListener("mouseleave",this._leaveHandler,wf),i.removeEventListener("blur",this._leaveHandler,wf),i.removeEventListener("mousedown",this._mousedownHandler,R5),i.removeEventListener("touchstart",this._mousedownHandler,R5),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(i,n){let s=i*this.numCols+n;return i&&(s-=this._firstRowOffset),s==this.activeCell}_focusActiveCell(i=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(An(1)).subscribe(()=>{setTimeout(()=>{const n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(i||(this._skipNextFocus=!0),n.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(i){return Mj(i,this.startValue,this.endValue)}_isRangeEnd(i){return Rj(i,this.startValue,this.endValue)}_isInRange(i){return Pj(i,this.startValue,this.endValue,this.isRange)}_isComparisonStart(i){return Mj(i,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(i,n,s){if(!this._isComparisonStart(i)||this._isRangeStart(i)||!this._isInRange(i))return!1;let l=this.rows[n][s-1];if(!l){const d=this.rows[n-1];l=d&&d[d.length-1]}return l&&!this._isRangeEnd(l.compareValue)}_isComparisonBridgeEnd(i,n,s){if(!this._isComparisonEnd(i)||this._isRangeEnd(i)||!this._isInRange(i))return!1;let l=this.rows[n][s+1];if(!l){const d=this.rows[n+1];l=d&&d[0]}return l&&!this._isRangeStart(l.compareValue)}_isComparisonEnd(i){return Rj(i,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(i){return Pj(i,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(i){return this.comparisonStart===this.comparisonEnd&&i===this.comparisonStart}_isPreviewStart(i){return Mj(i,this.previewStart,this.previewEnd)}_isPreviewEnd(i){return Rj(i,this.previewStart,this.previewEnd)}_isInPreview(i){return Pj(i,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(i){return this.isRange?this.startValue===i&&this.endValue===i?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===i?this._startDateLabelId:this.endValue===i?this._endDateLabelId:null:null}_getCellFromElement(i){const n=Ej(i);if(n){const s=n.getAttribute("data-mat-row"),l=n.getAttribute("data-mat-col");if(s&&l)return this.rows[parseInt(s)][parseInt(l)]}return null}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et))};static#t=this.\u0275cmp=de({type:r,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[ci],attrs:MQe,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(n,s){1&n&&(I(0,RQe,3,6,"tr",0),I(1,FQe,3,2,"tr",1),C(2,"label",2),P(3),k(),C(4,"label",2),P(5),k()),2&n&&(x("ngIf",s._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return r})();function Tj(r){return"TD"===r?.nodeName}function Ej(r){let a;return Tj(r)?a=r:Tj(r.parentNode)?a=r.parentNode:Tj(r.parentNode?.parentNode)&&(a=r.parentNode.parentNode),null!=a?.getAttribute("data-mat-row")?a:null}function Mj(r,a,i){return null!==i&&a!==i&&r=a&&r===i}function Pj(r,a,i,n){return n&&null!==a&&null!==i&&a!==i&&r>=a&&r<=i}function Ire(r){const a=r.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)}class fl{constructor(a,i){this.start=a,this.end=i}}let xf=(()=>{class r{constructor(i,n){this.selection=i,this._adapter=n,this._selectionChanged=new Ge,this.selectionChanged=this._selectionChanged,this.selection=i}updateSelection(i,n){const s=this.selection;this.selection=i,this._selectionChanged.next({selection:i,source:n,oldValue:s})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(i){return this._adapter.isDateInstance(i)&&this._adapter.isValid(i)}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),KQe=(()=>{class r extends xf{constructor(i){super(null,i)}add(i){super.updateSelection(i,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const i=new r(this._adapter);return i.updateSelection(this.selection,this),i}static#e=this.\u0275fac=function(n){return new(n||r)(De(va))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const Sre={provide:xf,deps:[[new da,new Ml,xf],va],useFactory:function QQe(r,a){return r||new KQe(a)}},P5=new $e("MAT_DATE_RANGE_SELECTION_STRATEGY");let Tre=(()=>{class r{get activeDate(){return this._activeDate}set activeDate(i){const n=this._activeDate,s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}get selected(){return this._selected}set selected(i){this._selected=i instanceof fl?i:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}constructor(i,n,s,l,d){this._changeDetectorRef=i,this._dateFormats=n,this._dateAdapter=s,this._dir=l,this._rangeStrategy=d,this._rerenderSubscription=Ce.EMPTY,this.activeDrag=null,this.selectedChange=new X,this._userSelection=new X,this.dragStarted=new X,this.dragEnded=new X,this.activeDateChange=new X,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(go(null)).subscribe(()=>this._init())}ngOnChanges(i){const n=i.comparisonStart||i.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),i.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(i){const n=i.value,s=this._getDateFromDayOfMonth(n);let l,d;this._selected instanceof fl?(l=this._getDateInCurrentMonth(this._selected.start),d=this._getDateInCurrentMonth(this._selected.end)):l=d=this._getDateInCurrentMonth(this._selected),(l!==n||d!==n)&&this.selectedChange.emit(s),this._userSelection.emit({value:s,event:i.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(i){const s=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(i.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(i){const n=this._activeDate,s=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&i.preventDefault());case 27:return void(null!=this._previewEnd&&!Nr(i)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:i}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:i})),i.preventDefault(),i.stopPropagation()));default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(32===i.keyCode||13===i.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(i)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(i){this._matCalendarBody._focusActiveCell(i)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:i,value:n}){if(this._rangeStrategy){const s=n?n.rawValue:null,l=this._rangeStrategy.createPreview(s,this.selected,i);if(this._previewStart=this._getCellCompareValue(l.start),this._previewEnd=this._getCellCompareValue(l.end),this.activeDrag&&s){const d=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,s,i);d&&(this._previewStart=this._getCellCompareValue(d.start),this._previewEnd=this._getCellCompareValue(d.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(i){if(this.activeDrag)if(i.value){const n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,i.value,i.event);this.dragEnded.emit({value:n??null,event:i.event})}else this.dragEnded.emit({value:null,event:i.event})}_getDateFromDayOfMonth(i){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i)}_initWeekdays(){const i=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow");let l=this._dateAdapter.getDayOfWeekNames("long").map((d,p)=>({long:d,narrow:n[p]}));this._weekdays=l.slice(i).concat(l.slice(0,i))}_createWeekCells(){const i=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames();this._weeks=[[]];for(let s=0,l=this._firstWeekOffset;s=0)&&(!this.maxDate||this._dateAdapter.compareDate(i,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(i))}_getDateInCurrentMonth(i){return i&&this._hasSameMonthAndYear(i,this.activeDate)?this._dateAdapter.getDate(i):null}_hasSameMonthAndYear(i,n){return!(!i||!n||this._dateAdapter.getMonth(i)!=this._dateAdapter.getMonth(n)||this._dateAdapter.getYear(i)!=this._dateAdapter.getYear(n))}_getCellCompareValue(i){if(i){const n=this._dateAdapter.getYear(i),s=this._dateAdapter.getMonth(i),l=this._dateAdapter.getDate(i);return new Date(n,s,l).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(i){i instanceof fl?(this._rangeStart=this._getCellCompareValue(i.start),this._rangeEnd=this._getCellCompareValue(i.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(i),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(i){return!this.dateFilter||this.dateFilter(i)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(Tv,8),T(va,8),T(Yr,8),T(P5,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-month-view"]],viewQuery:function(n,s){if(1&n&&oe(Uw,5),2&n){let l;G(l=j())&&(s._matCalendarBody=l.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[ci],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(n,s){1&n&&(C(0,"table",0)(1,"thead",1)(2,"tr"),I(3,NQe,5,2,"th",2),k(),C(4,"tr"),Q(5,"th",3),k()(),C(6,"tbody",4),B("selectedValueChange",function(d){return s._dateSelected(d)})("activeDateChange",function(d){return s._updateActiveDate(d)})("previewChange",function(d){return s._previewChanged(d)})("dragStarted",function(d){return s.dragStarted.emit(d)})("dragEnded",function(d){return s._dragEnded(d)})("keyup",function(d){return s._handleCalendarBodyKeyup(d)})("keydown",function(d){return s._handleCalendarBodyKeydown(d)}),k()()),2&n&&(y(3),x("ngForOf",s._weekdays),y(3),x("label",s._monthLabel)("rows",s._weeks)("todayValue",s._todayDate)("startValue",s._rangeStart)("endValue",s._rangeEnd)("comparisonStart",s._comparisonRangeStart)("comparisonEnd",s._comparisonRangeEnd)("previewStart",s._previewStart)("previewEnd",s._previewEnd)("isRange",s._isRange)("labelMinRequiredCells",3)("activeCell",s._dateAdapter.getDate(s.activeDate)-1)("startDateAccessibleName",s.startDateAccessibleName)("endDateAccessibleName",s.endDateAccessibleName))},dependencies:[Vt,Uw],encapsulation:2,changeDetection:0})}return r})();const Ac=24;let Ere=(()=>{class r{get activeDate(){return this._activeDate}set activeDate(i){let n=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),Mre(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(i){this._selected=i instanceof fl?i:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedYear(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}constructor(i,n,s){this._changeDetectorRef=i,this._dateAdapter=n,this._dir=s,this._rerenderSubscription=Ce.EMPTY,this.selectedChange=new X,this.yearSelected=new X,this.activeDateChange=new X,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(go(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const n=this._dateAdapter.getYear(this._activeDate)-FS(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let s=0,l=[];sthis._createCellForYear(d))),l=[]);this._changeDetectorRef.markForCheck()}_yearSelected(i){const n=i.value,s=this._dateAdapter.createDate(n,0,1),l=this._getDateFromYear(n);this.yearSelected.emit(s),this.selectedChange.emit(l)}_updateActiveDate(i){const s=this._activeDate;this.activeDate=this._getDateFromYear(i.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){const n=this._activeDate,s=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-FS(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ac-FS(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10*-Ac:-Ac);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10*Ac:Ac);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),i.preventDefault()}_handleCalendarBodyKeyup(i){(32===i.keyCode||13===i.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_getActiveCell(){return FS(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(i){const n=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(i,n,1));return this._dateAdapter.createDate(i,n,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForYear(i){const n=this._dateAdapter.createDate(i,0,1),s=this._dateAdapter.getYearName(n),l=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new Sj(i,s,s,this._shouldEnableYear(i),l)}_shouldEnableYear(i){if(null==i||this.maxDate&&i>this._dateAdapter.getYear(this.maxDate)||this.minDate&&i{class r{get activeDate(){return this._activeDate}set activeDate(i){let n=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(i){this._selected=i instanceof fl?i:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedMonth(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}constructor(i,n,s,l){this._changeDetectorRef=i,this._dateFormats=n,this._dateAdapter=s,this._dir=l,this._rerenderSubscription=Ce.EMPTY,this.selectedChange=new X,this.monthSelected=new X,this.activeDateChange=new X,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(go(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(i){const n=i.value,s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(s);const l=this._getDateFromMonth(n);this.selectedChange.emit(l)}_updateActiveDate(i){const s=this._activeDate;this.activeDate=this._getDateFromMonth(i.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){const n=this._activeDate,s=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(32===i.keyCode||13===i.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let i=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(s=>this._createCellForMonth(s,i[s]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(i){return i&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(i):null}_getDateFromMonth(i){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),s=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForMonth(i,n){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),l=this._dateAdapter.format(s,this._dateFormats.display.monthYearA11yLabel),d=this.dateClass?this.dateClass(s,"year"):void 0;return new Sj(i,n.toLocaleUpperCase(),l,this._shouldEnableMonth(i),d)}_shouldEnableMonth(i){const n=this._dateAdapter.getYear(this.activeDate);if(null==i||this._isYearAndMonthAfterMaxDate(n,i)||this._isYearAndMonthBeforeMinDate(n,i))return!1;if(!this.dateFilter)return!0;for(let l=this._dateAdapter.createDate(n,i,1);this._dateAdapter.getMonth(l)==i;l=this._dateAdapter.addCalendarDays(l,1))if(this.dateFilter(l))return!0;return!1}_isYearAndMonthAfterMaxDate(i,n){if(this.maxDate){const s=this._dateAdapter.getYear(this.maxDate),l=this._dateAdapter.getMonth(this.maxDate);return i>s||i===s&&n>l}return!1}_isYearAndMonthBeforeMinDate(i,n){if(this.minDate){const s=this._dateAdapter.getYear(this.minDate),l=this._dateAdapter.getMonth(this.minDate);return i{class r{constructor(i,n,s,l,d){this._intl=i,this.calendar=n,this._dateAdapter=s,this._dateFormats=l,this._id="mat-calendar-header-"+tXe++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>d.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-Ac)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:Ac)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(i,n){return"month"==this.calendar.currentView?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(n):"year"==this.calendar.currentView?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(n):Mre(this._dateAdapter,i,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const n=this._dateAdapter.getYear(this.calendar.activeDate)-FS(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),s=n+Ac-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1))]}static#e=this.\u0275fac=function(n){return new(n||r)(T(OS),T(J(()=>Nj)),T(va,8),T(Tv,8),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:LQe,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(n,s){1&n&&(pt(),C(0,"div",0)(1,"div",1)(2,"button",2),B("click",function(){return s.currentPeriodClicked()}),C(3,"span",3),P(4),k(),mr(),C(5,"svg",4),Q(6,"polygon",5),k()(),vt(),Q(7,"div",6),Ie(8),C(9,"button",7),B("click",function(){return s.previousClicked()}),k(),C(10,"button",8),B("click",function(){return s.nextClicked()}),k()()(),C(11,"label",9),P(12),k()),2&n&&(y(2),ge("aria-label",s.periodButtonLabel)("aria-describedby",s._periodButtonLabelId),y(2),_e(s.periodButtonText),y(1),Se("mat-calendar-invert","month"!==s.calendar.currentView),y(4),x("disabled",!s.previousEnabled()),ge("aria-label",s.prevButtonLabel),y(1),x("disabled",!s.nextEnabled()),ge("aria-label",s.nextButtonLabel),y(1),x("id",s._periodButtonLabelId),y(1),_e(s.periodButtonDescription))},dependencies:[Cr,wr],encapsulation:2,changeDetection:0})}return r})(),Nj=(()=>{class r{get startAt(){return this._startAt}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get selected(){return this._selected}set selected(i){this._selected=i instanceof fl?i:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get activeDate(){return this._clampedActiveDate}set activeDate(i){this._clampedActiveDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(i){const n=this._currentView!==i?i:null;this._currentView=i,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&this.viewChanged.emit(n)}constructor(i,n,s,l){this._dateAdapter=n,this._dateFormats=s,this._changeDetectorRef=l,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new X,this.yearSelected=new X,this.monthSelected=new X,this.viewChanged=new X(!0),this._userSelection=new X,this._userDragDrop=new X,this._activeDrag=null,this.stateChanges=new Ge,this._intlChanges=i.changes.subscribe(()=>{l.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new QC(this.headerComponent||iXe),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(i){const n=i.minDate&&!this._dateAdapter.sameDate(i.minDate.previousValue,i.minDate.currentValue)?i.minDate:void 0,s=i.maxDate&&!this._dateAdapter.sameDate(i.maxDate.previousValue,i.maxDate.currentValue)?i.maxDate:void 0,l=n||s||i.dateFilter;if(l&&!l.firstChange){const d=this._getCurrentViewComponent();d&&(this._changeDetectorRef.detectChanges(),d._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(i){const n=i.value;(this.selected instanceof fl||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(i)}_yearSelectedInMultiYearView(i){this.yearSelected.emit(i)}_monthSelectedInYearView(i){this.monthSelected.emit(i)}_goToDateInView(i,n){this.activeDate=i,this.currentView=n}_dragStarted(i){this._activeDrag=i}_dragEnded(i){this._activeDrag&&(i.value&&this._userDragDrop.emit(i),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(n){return new(n||r)(T(OS),T(va,8),T(Tv,8),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-calendar"]],viewQuery:function(n,s){if(1&n&&(oe(Tre,5),oe(Pre,5),oe(Ere,5)),2&n){let l;G(l=j())&&(s.monthView=l.first),G(l=j())&&(s.yearView=l.first),G(l=j())&&(s.multiYearView=l.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Ye([Sre]),ci],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(n,s){1&n&&(I(0,BQe,0,0,"ng-template",0),C(1,"div",1),I(2,VQe,1,11,"mat-month-view",2),I(3,zQe,1,6,"mat-year-view",3),I(4,HQe,1,6,"mat-multi-year-view",4),k()),2&n&&(x("cdkPortalOutlet",s._calendarHeaderPortal),y(1),x("ngSwitch",s.currentView),y(1),x("ngSwitchCase","month"),y(1),x("ngSwitchCase","year"),y(1),x("ngSwitchCase","multi-year"))},dependencies:[ed,ju,dbe,ZC,Tre,Pre,Ere],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return r})();const Ore={transformPanel:hr("transformPanel",[Fi("void => enter-dropdown",Di("120ms cubic-bezier(0, 0, 0.2, 1)",Zd([gt({opacity:0,transform:"scale(1, 0.8)"}),gt({opacity:1,transform:"scale(1, 1)"})]))),Fi("void => enter-dialog",Di("150ms cubic-bezier(0, 0, 0.2, 1)",Zd([gt({opacity:0,transform:"scale(0.7)"}),gt({transform:"none",opacity:1})]))),Fi("* => void",Di("100ms linear",gt({opacity:0})))]),fadeInCalendar:hr("fadeInCalendar",[yn("void",gt({opacity:0})),yn("enter",gt({opacity:1})),Fi("void => *",Di("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let nXe=0;const Fre=new $e("mat-datepicker-scroll-strategy"),rXe={provide:Fre,deps:[_a],useFactory:function oXe(r){return()=>r.scrollStrategies.reposition()}},sXe=Iv(class{constructor(r){this._elementRef=r}});let aXe=(()=>{class r extends sXe{constructor(i,n,s,l,d,p){super(i),this._changeDetectorRef=n,this._globalModel=s,this._dateAdapter=l,this._rangeSelectionStrategy=d,this._subscriptions=new Ce,this._animationDone=new Ge,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=p.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(i){const n=this._model.selection,s=i.value,l=n instanceof fl;if(l&&this._rangeSelectionStrategy){const d=this._rangeSelectionStrategy.selectionFinished(s,n,i.event);this._model.updateSelection(d,this)}else s&&(l||!this._dateAdapter.sameDate(s,n))&&this._model.add(s);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(i){this._model.updateSelection(i.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(i){this._isAnimating="start"===i.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(i,n){this._model=i?this._globalModel.clone():this._globalModel,this._actionsPortal=i,n&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(xf),T(va),T(P5,8),T(OS))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-datepicker-content"]],viewQuery:function(n,s){if(1&n&&oe(Nj,5),2&n){let l;G(l=j())&&(s._calendar=l.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(n,s){1&n&&gp("@transformPanel.start",function(d){return s._handleAnimationEvent(d)})("@transformPanel.done",function(d){return s._handleAnimationEvent(d)}),2&n&&(nv("@transformPanel",s._animationState),Se("mat-datepicker-content-touch",s.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[Ae],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"mat-calendar",1),B("yearSelected",function(d){return s.datepicker._selectYear(d)})("monthSelected",function(d){return s.datepicker._selectMonth(d)})("viewChanged",function(d){return s.datepicker._viewChanged(d)})("_userSelection",function(d){return s._handleUserSelection(d)})("_userDragDrop",function(d){return s._handleUserDragDrop(d)}),k(),I(2,GQe,0,0,"ng-template",2),C(3,"button",3),B("focus",function(){return s._closeButtonFocused=!0})("blur",function(){return s._closeButtonFocused=!1})("click",function(){return s.datepicker.close()}),P(4),k()()),2&n){let l;Se("mat-datepicker-content-container-with-custom-header",s.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",s._actionsPortal),ge("aria-modal",!0)("aria-labelledby",null!==(l=s._dialogLabelId)&&void 0!==l?l:void 0),y(1),x("id",s.datepicker.id)("ngClass",s.datepicker.panelClass)("startAt",s.datepicker.startAt)("startView",s.datepicker.startView)("minDate",s.datepicker._getMinDate())("maxDate",s.datepicker._getMaxDate())("dateFilter",s.datepicker._getDateFilter())("headerComponent",s.datepicker.calendarHeaderComponent)("selected",s._getSelected())("dateClass",s.datepicker.dateClass)("comparisonStart",s.comparisonStart)("comparisonEnd",s.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",s.startDateAccessibleName)("endDateAccessibleName",s.endDateAccessibleName),y(1),x("cdkPortalOutlet",s._actionsPortal),y(1),Se("cdk-visually-hidden",!s._closeButtonFocused),x("color",s.color||"primary"),y(1),_e(s._closeButtonText)}},dependencies:[Xt,Cr,tbe,ZC,Nj],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Ore.transformPanel,Ore.fadeInCalendar]},changeDetection:0})}return r})(),Nre=(()=>{class r{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(i){this._color=i}get touchUi(){return this._touchUi}set touchUi(i){this._touchUi=Et(i)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(i){const n=Et(i);n!==this._disabled&&(this._disabled=n,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(i){this._restoreFocus=Et(i)}get panelClass(){return this._panelClass}set panelClass(i){this._panelClass=BQ(i)}get opened(){return this._opened}set opened(i){Et(i)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(i,n,s,l,d,p,f){this._overlay=i,this._ngZone=n,this._viewContainerRef=s,this._dateAdapter=d,this._dir=p,this._model=f,this._inputStateChanges=Ce.EMPTY,this._document=st(Tt),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new X,this.monthSelected=new X,this.viewChanged=new X(!0),this.openedStream=new X,this.closedStream=new X,this._opened=!1,this.id="mat-datepicker-"+nXe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Ge,this._scrollStrategy=l}ngOnChanges(i){const n=i.xPosition||i.yPosition;if(n&&!n.firstChange&&this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;s instanceof pX&&(this._setConnectedPositions(s),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(i){this._model.add(i)}_selectYear(i){this.yearSelected.emit(i)}_selectMonth(i){this.monthSelected.emit(i)}_viewChanged(i){this.viewChanged.emit(i)}registerInput(i){return this._inputStateChanges.unsubscribe(),this.datepickerInput=i,this._inputStateChanges=i.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(i){this._actionsPortal=i,this._componentRef?.instance._assignActions(i,!0)}removeActions(i){i===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=UC(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const i=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:s,location:l}=this._componentRef;s._startExitAnimation(),s._animationDone.pipe(An(1)).subscribe(()=>{const d=this._document.activeElement;i&&(!d||d===this._document.activeElement||l.nativeElement.contains(d))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}i?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(i){i.datepicker=this,i.color=this.color,i._dialogLabelId=this.datepickerInput.getOverlayLabelId(),i._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const i=this.touchUi,n=new QC(aXe,this._viewContainerRef),s=this._overlayRef=this._overlay.create(new JC({positionStrategy:i?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[i?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:i?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(i?"dialog":"popup")}));this._getCloseStream(s).subscribe(l=>{l&&l.preventDefault(),this.close()}),s.keydownEvents().subscribe(l=>{const d=l.keyCode;(38===d||40===d||37===d||39===d||33===d||34===d)&&l.preventDefault()}),this._componentRef=s.attach(n),this._forwardContentValues(this._componentRef.instance),i||this._ngZone.onStable.pipe(An(1)).subscribe(()=>s.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const i=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(i)}_setConnectedPositions(i){const n="end"===this.xPosition?"end":"start",s="start"===n?"end":"start",l="above"===this.yPosition?"bottom":"top",d="top"===l?"bottom":"top";return i.withPositions([{originX:n,originY:d,overlayX:n,overlayY:l},{originX:n,originY:l,overlayX:n,overlayY:d},{originX:s,originY:d,overlayX:s,overlayY:l},{originX:s,originY:l,overlayX:s,overlayY:d}])}_getCloseStream(i){const n=["ctrlKey","shiftKey","metaKey"];return rn(i.backdropClick(),i.detachments(),i.keydownEvents().pipe(xi(s=>27===s.keyCode&&!Nr(s)||this.datepickerInput&&Nr(s,"altKey")&&38===s.keyCode&&n.every(l=>!Nr(s,l)))))}static#e=this.\u0275fac=function(n){return new(n||r)(T(_a),T(et),T(ei),T(Fre),T(va,8),T(Yr,8),T(xf))};static#t=this.\u0275dir=re({type:r,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[ci]})}return r})(),lXe=(()=>{class r extends Nre{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Ye([Sre,{provide:Nre,useExisting:r}]),Ae],decls:0,vars:0,template:function(n,s){},encapsulation:2,changeDetection:0})}return r})();class O5{constructor(a,i){this.target=a,this.targetElement=i,this.value=this.target.value}}let cXe=(()=>{class r{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(i){this._assignValueProgrammatically(i)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(i){const n=Et(i),s=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&s.blur&&s.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(i){this._model=i,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){const s=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(s),this._cvaOnChange(s),this._onTouched(),this._formatValue(s),this.dateInput.emit(new O5(this,this._elementRef.nativeElement)),this.dateChange.emit(new O5(this,this._elementRef.nativeElement))}})}constructor(i,n,s){this._elementRef=i,this._dateAdapter=n,this._dateFormats=s,this.dateChange=new X,this.dateInput=new X,this.stateChanges=new Ge,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Ce.EMPTY,this._localeSubscription=Ce.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value));return!d||this._matchesFilter(d)?null:{matDatepickerFilter:!0}},this._minValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),p=this._getMinDate();return!p||!d||this._dateAdapter.compareDate(p,d)<=0?null:{matDatepickerMin:{min:p,actual:d}}},this._maxValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),p=this._getMaxDate();return!p||!d||this._dateAdapter.compareDate(p,d)>=0?null:{matDatepickerMax:{max:p,actual:d}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(i){(function dXe(r,a){const i=Object.keys(r);for(let n of i){const{previousValue:s,currentValue:l}=r[n];if(!a.isDateInstance(s)||!a.isDateInstance(l))return!0;if(!a.sameDate(s,l))return!0}return!1})(i,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(i){this._validatorOnChange=i}validate(i){return this._validator?this._validator(i):null}writeValue(i){this._assignValueProgrammatically(i)}registerOnChange(i){this._cvaOnChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_onKeydown(i){Nr(i,"altKey")&&40===i.keyCode&&["ctrlKey","shiftKey","metaKey"].every(l=>!Nr(i,l))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),i.preventDefault())}_onInput(i){const n=this._lastValueValid;let s=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(s),s=this._dateAdapter.getValidDateOrNull(s);const l=!this._dateAdapter.sameDate(s,this.value);!s||l?this._cvaOnChange(s):(i&&!this.value&&this._cvaOnChange(s),n!==this._lastValueValid&&this._validatorOnChange()),l&&(this._assignValue(s),this.dateInput.emit(new O5(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new O5(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(i){this._elementRef.nativeElement.value=null!=i?this._dateAdapter.format(i,this._dateFormats.display.dateInput):""}_assignValue(i){this._model?(this._assignValueToModel(i),this._pendingValue=null):this._pendingValue=i}_isValidValue(i){return!i||this._dateAdapter.isValid(i)}_parentDisabled(){return!1}_assignValueProgrammatically(i){i=this._dateAdapter.deserialize(i),this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._assignValue(i),this._formatValue(i)}_matchesFilter(i){const n=this._getDateFilter();return!n||n(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(va,8),T(Tv,8))};static#t=this.\u0275dir=re({type:r,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ci]})}return r})();const uXe={provide:Yn,useExisting:J(()=>Lj),multi:!0},hXe={provide:io,useExisting:J(()=>Lj),multi:!0};let Lj=(()=>{class r extends cXe{set matDatepicker(i){i&&(this._datepicker=i,this._closedSubscription=i.closedStream.subscribe(()=>this._onTouched()),this._registerModel(i.registerInput(this)))}get min(){return this._min}set min(i){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}get max(){return this._max}set max(i){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(i){const n=this._matchesFilter(this.value);this._dateFilter=i,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}constructor(i,n,s,l){super(i,n,s),this._formField=l,this._closedSubscription=Ce.EMPTY,this._validator=Nt.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(i){return i}_assignValueToModel(i){this._model&&this._model.updateSelection(i,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(i){return i.source!==this}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(va,8),T(Tv,8),T(Gw,8))};static#t=this.\u0275dir=re({type:r,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(n,s){1&n&&B("input",function(d){return s._onInput(d.target.value)})("change",function(){return s._onChange()})("blur",function(){return s._onBlur()})("keydown",function(d){return s._onKeydown(d)}),2&n&&(ur("disabled",s.disabled),ge("aria-haspopup",s._datepicker?"dialog":null)("aria-owns",(null==s._datepicker?null:s._datepicker.opened)&&s._datepicker.id||null)("min",s.min?s._dateAdapter.toIso8601(s.min):null)("max",s.max?s._dateAdapter.toIso8601(s.max):null)("data-mat-calendar",s._datepicker?s._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[Ye([uXe,hXe,{provide:Hoe,useExisting:r}]),Ae]})}return r})(),pXe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","matDatepickerToggleIcon",""]]})}return r})(),gXe=(()=>{class r{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(i){this._disabled=Et(i)}constructor(i,n,s){this._intl=i,this._changeDetectorRef=n,this._stateChanges=Ce.EMPTY;const l=Number(s);this.tabIndex=l||0===l?l:null}ngOnChanges(i){i.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(i){this.datepicker&&!this.disabled&&(this.datepicker.open(),i.stopPropagation())}_watchStateChanges(){const i=this.datepicker?this.datepicker.stateChanges:Dt(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Dt(),s=this.datepicker?rn(this.datepicker.openedStream,this.datepicker.closedStream):Dt();this._stateChanges.unsubscribe(),this._stateChanges=rn(this._intl.changes,i,n,s).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(n){return new(n||r)(T(OS),T(rt),Ns("tabindex"))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-datepicker-toggle"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,pXe,5),2&n){let d;G(d=j())&&(s._customIcon=d.first)}},viewQuery:function(n,s){if(1&n&&oe(jQe,5),2&n){let l;G(l=j())&&(s._button=l.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(n,s){1&n&&B("click",function(d){return s._open(d)}),2&n&&(ge("tabindex",null)("data-mat-calendar",s.datepicker?s.datepicker.id:null),Se("mat-datepicker-toggle-active",s.datepicker&&s.datepicker.opened)("mat-accent",s.datepicker&&"accent"===s.datepicker.color)("mat-warn",s.datepicker&&"warn"===s.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[ci],ngContentSelectors:WQe,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(n,s){1&n&&(pt(UQe),C(0,"button",0,1),I(2,$Qe,2,0,"svg",2),Ie(3),k()),2&n&&(x("disabled",s.disabled)("disableRipple",s.disableRipple),ge("aria-haspopup",s.datepicker?"dialog":null)("aria-label",s.ariaLabel||s._intl.openCalendarLabel)("tabindex",s.disabled?-1:s.tabIndex),y(2),x("ngIf",!s._customIcon))},dependencies:[Qe,wr],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return r})(),_Xe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[OS,rXe],imports:[Gs,w5,Pm,iI,Dv,Ai,kv]})}return r})();function Bre(r,a){return a?i=>EA(a.pipe(An(1),function vXe(){return Cn((r,a)=>{r.subscribe(qt(a,te))})}()),i.pipe(Bre(r))):vo((i,n)=>Ar(r(i,n)).pipe(An(1),eY(i)))}function Vj(r,a=WC){const i=xv(r,a);return Bre(()=>i)}const bXe=["panel"];function yXe(r,a){if(1&r){const i=ce();C(0,"div",0,1),B("@panelAnimation.done",function(s){return z(i),H(S()._animationDone.next(s))}),Ie(2),k()}if(2&r){const i=a.id,n=S();x("id",n.id)("ngClass",n._classList)("@panelAnimation",n.isOpen?"visible":"hidden"),ge("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(i))}}const CXe=["*"],wXe=hr("panelAnimation",[yn("void, hidden",gt({opacity:0,transform:"scaleY(0.8)"})),Fi(":enter, hidden => visible",[YA([Di("0.03s linear",gt({opacity:1})),Di("0.12s cubic-bezier(0, 0, 0.2, 1)",gt({transform:"scaleY(1)"}))])]),Fi(":leave, visible => hidden",[Di("0.075s linear",gt({opacity:0}))])]);let xXe=0;class kXe{constructor(a,i){this.source=a,this.option=i}}const DXe=Om(class{}),Vre=new $e("mat-autocomplete-default-options",{providedIn:"root",factory:function AXe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let IXe=(()=>{class r extends DXe{get isOpen(){return this._isOpen&&this.showPanel}_setColor(i){this._color=i,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(i){this._autoActiveFirstOption=Et(i)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(i){this._autoSelectActiveOption=Et(i)}get requireSelection(){return this._requireSelection}set requireSelection(i){this._requireSelection=Et(i)}set classList(i){this._classList=i&&i.length?BQ(i).reduce((n,s)=>(n[s]=!0,n),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(i,n,s,l){super(),this._changeDetectorRef=i,this._elementRef=n,this._defaults=s,this._activeOptionChanges=Ce.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new X,this.opened=new X,this.closed=new X,this.optionActivated=new X,this._classList={},this.id="mat-autocomplete-"+xXe++,this.inertGroups=l?.SAFARI||!1,this._autoActiveFirstOption=!!s.autoActiveFirstOption,this._autoSelectActiveOption=!!s.autoSelectActiveOption,this._requireSelection=!!s.requireSelection}ngAfterContentInit(){this._keyManager=new XQ(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(i=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[i]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(i){this.panel&&(this.panel.nativeElement.scrollTop=i)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(i){const n=new kXe(this,i);this.optionSelected.emit(n)}_getPanelAriaLabelledby(i){return this.ariaLabel?null:this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_setVisibilityClasses(i){i[this._visibleClass]=this.showPanel,i[this._hiddenClass]=!this.showPanel}_setThemeClasses(i){i["mat-primary"]="primary"===this._color,i["mat-warn"]="warn"===this._color,i["mat-accent"]="accent"===this._color}_skipPredicate(i){return i.disabled}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(Vre),T(Po))};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&(oe(je,7),oe(bXe,5)),2&n){let l;G(l=j())&&(s.template=l.first),G(l=j())&&(s.panel=l.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[Ae]})}return r})(),NS=(()=>{class r extends IXe{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new X,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=Et(i),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const i of this.options)i._changeDetectorRef.markForCheck()}ngOnDestroy(){super.ngOnDestroy(),this._animationDone.complete()}_skipPredicate(i){return!1}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-autocomplete"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,s8,5),Fe(l,Fm,5)),2&n){let d;G(d=j())&&(s.optionGroups=d),G(d=j())&&(s.options=d)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Ye([{provide:r8,useExisting:r}]),Ae],ngContentSelectors:CXe,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(n,s){1&n&&(pt(),I(0,yXe,3,5,"ng-template"))},dependencies:[Xt],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[wXe]},changeDetection:0})}return r})();const SXe={provide:Yn,useExisting:J(()=>Ww),multi:!0},zre=new $e("mat-autocomplete-scroll-strategy"),EXe={provide:zre,deps:[_a],useFactory:function TXe(r){return()=>r.scrollStrategies.reposition()}};let MXe=(()=>{class r{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(i){this._autocompleteDisabled=Et(i)}constructor(i,n,s,l,d,p,f,v,D,E,F){this._element=i,this._overlay=n,this._viewContainerRef=s,this._zone=l,this._changeDetectorRef=d,this._dir=f,this._formField=v,this._document=D,this._viewportRuler=E,this._defaults=F,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Ce.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ge,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=mv(()=>{const L=this.autocomplete?this.autocomplete.options:null;return L?L.changes.pipe(go(L),Jn(()=>rn(...L.map($=>$.onSelectionChange)))):this._zone.onStable.pipe(An(1),Jn(()=>this.optionSelections))}),this._handlePanelKeydown=L=>{(27===L.keyCode&&!Nr(L)||38===L.keyCode&&Nr(L,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),L.stopPropagation(),L.preventDefault())},this._trackedModal=null,this._scrollStrategy=p}ngAfterViewInit(){const i=this._getWindow();typeof i<"u"&&this._zone.runOutsideAngular(()=>i.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(i){i.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const i=this._getWindow();typeof i<"u"&&i.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&w3(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&qC(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return rn(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(xi(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(xi(()=>this._overlayAttached)):Dt()).pipe(Rt(i=>i instanceof TX?i:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return rn(Ri(this._document,"click"),Ri(this._document,"auxclick"),Ri(this._document,"touchend")).pipe(xi(i=>{const n=Np(i),s=this._formField?this._formField._elementRef.nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!s||!s.contains(n))&&(!l||!l.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(i){Promise.resolve(null).then(()=>this._assignOptionValue(i))}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this._element.nativeElement.disabled=i}_handleKeydown(i){const n=i.keyCode,s=Nr(i);if(27===n&&!s&&i.preventDefault(),this.activeOption&&13===n&&this.panelOpen&&!s)this.activeOption._selectViaInteraction(),this._resetActiveItem(),i.preventDefault();else if(this.autocomplete){const l=this.autocomplete._keyManager.activeItem,d=38===n||40===n;9===n||d&&!s&&this.panelOpen?this.autocomplete._keyManager.onKeydown(i):d&&this._canOpen()&&this.openPanel(),(d||this.autocomplete._keyManager.activeItem!==l)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(i){let n=i.target,s=n.value;"number"===n.type&&(s=""==s?null:parseFloat(s)),this._previousValue!==s&&(this._previousValue=s,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(s),s||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===i.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(i=!1){this._formField&&"auto"===this._formField.floatLabel&&(i?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return rn(this._zone.onStable.pipe(An(1)),this.autocomplete.options.changes.pipe(Or(()=>this._positionStrategy.reapplyLastPosition()),Vj(0))).pipe(Jn(()=>(this._zone.run(()=>{const s=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),s!==this.panelOpen&&(this.panelOpen?(this._captureValueOnAttach(),this._emitOpened()):this.autocomplete.closed.emit())}),this.panelClosingActions)),An(1)).subscribe(s=>this._setValueAndClose(s))}_emitOpened(){this.autocomplete.opened.emit()}_captureValueOnAttach(){this._valueOnAttach=this._element.nativeElement.value}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(i){const n=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(i):i;this._updateNativeInputValue(n??"")}_updateNativeInputValue(i){this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}_setValueAndClose(i){const n=this.autocomplete,s=i?i.source:this._pendingAutoselectedOption;s?(this._clearPreviousSelectedOption(s),this._assignOptionValue(s.value),this._onChange(s.value),n._emitSelectEvent(s),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),n._animationDone?n._animationDone.pipe(An(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(i,n){this.autocomplete?.options?.forEach(s=>{s!==i&&s.selected&&s.deselect(n)})}_attachOverlay(){let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new XC(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this._captureValueOnAttach(),this.panelOpen&&n!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const i=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=i.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=i.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new JC({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const i=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(i),this._positionStrategy=i,i}_setStrategyPositions(i){const n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],s=this._aboveClass,l=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:s},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:s}];let d;d="above"===this.position?l:"below"===this.position?n:[...n,...l],i.withPositions(d)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const i=this.autocomplete;if(i.autoActiveFirstOption){let n=-1;for(let s=0;s .cdk-overlay-container [aria-modal="true"]');if(!i)return;const n=this.autocomplete.id;this._trackedModal&&qC(this._trackedModal,"aria-owns",n),w3(i,"aria-owns",n),this._trackedModal=i}_clearFromModal(){this._trackedModal&&(qC(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(_a),T(ei),T(et),T(rt),T(zre),T(Yr,8),T(Gw,9),T(Tt,8),T(Rm),T(Vre,8))};static#t=this.\u0275dir=re({type:r,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[ci]})}return r})(),Ww=(()=>{class r extends MXe{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,s){1&n&&B("focusin",function(){return s._handleFocus()})("blur",function(){return s._onTouched()})("input",function(d){return s._handleInput(d)})("keydown",function(d){return s._handleKeydown(d)})("click",function(){return s._handleClick()}),2&n&&ge("autocomplete",s.autocompleteAttribute)("role",s.autocompleteDisabled?null:"combobox")("aria-autocomplete",s.autocompleteDisabled?null:"list")("aria-activedescendant",s.panelOpen&&s.activeOption?s.activeOption.id:null)("aria-expanded",s.autocompleteDisabled?null:s.panelOpen.toString())("aria-controls",s.autocompleteDisabled||!s.panelOpen||null==s.autocomplete?null:s.autocomplete.id)("aria-haspopup",s.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Ye([SXe]),Ae]})}return r})(),RXe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[EXe],imports:[Pm,P3,Ai,Gs,kv,P3,Ai]})}return r})();function PXe(r,a){1&r&&Q(0,"mat-datepicker-toggle",25),2&r&&(S(),x("for",ee(26)))}function OXe(r,a){1&r&&(C(0,"button",26),P(1,"C\u1eadp nh\u1eadp"),k())}let FXe=(()=>{class r{constructor(i,n,s,l){this.builder=i,this.toastr=n,this.userService=s,this.sessionService=l,this.isEditMode=!1,this.userform=this.builder.group({Email:this.builder.control("",Nt.required),Fullname:this.builder.control(""),Sex:this.builder.control(""),Gender:this.builder.control(0),DateOfBirth:this.builder.control(new Date),PhoneNumber:this.builder.control(""),Introduction:this.builder.control("")})}ngOnInit(){this.GetUserInfor()}GetUserInfor(){this.userService.GetUserDetail().subscribe(i=>{const n=i.resultObj;this.userform.patchValue({Email:n.email,Fullname:n.fullname,DateOfBirth:n.dateOfBirth,PhoneNumber:n.phoneNumber,Introduction:n.introduction,Gender:n.gender,Sex:this.CheckGender(n.gender)}),this.UserName=n.email,this.Fullname=n.fullname,this.DateOfBirth=n.dateOfBirth,this.Gender=this.CheckGender(n.gender),this.Introduction=n.introduction,this.PhoneNumber=n.phoneNumber,this.sessionService.setDescriptionUser(this.Introduction)},i=>{console.error("L\u1ed7i khi g\u1ecdi API",i)})}CheckGender(i){return 0==i?"Nam":1==i?"N\u1eef":"Kh\xf4ng"}ResvertGender(){const i=this.userform.get("Sex"),n=this.userform.get("Gender");i&&n&&n.setValue("Nam"===i.value?0:"N\u1eef"===i.value?1:2)}cancelEdit(){this.userform.patchValue({Email:this.UserName,Fullname:this.Fullname,DateOfBirth:this.DateOfBirth,PhoneNumber:this.PhoneNumber,Introduction:this.Introduction,Sex:this.Gender})}toggleEditMode(){this.isEditMode?(this.cancelEdit(),this.isEditMode=!this.isEditMode):this.isEditMode=!this.isEditMode}updateuserinfor(){this.ResvertGender(),this.userService.UpdateUser(this.userform.value).subscribe(i=>{const n=i.resultObj;this.userform.patchValue({Email:n.email,Fullname:n.fullname,Gender:n.Gender,DateOfBirth:n.dateOfBirth,PhoneNumber:n.phoneNumber,Introduction:n.introduction}),this.UserName=n.email,this.Fullname=n.fullname,this.DateOfBirth=n.dateOfBirth,this.Gender=n.gender,this.Introduction=n.introduction,this.PhoneNumber=n.phoneNumber,this.toastr.success("\u0110\xe3 c\u1eadp nh\u1eadp"),this.sessionService.setDescriptionUser(this.Introduction)},i=>{console.error("L\u1ed7i khi g\u1ecdi API",i)}),this.isEditMode=!1}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(Mi),T(wj),T(Rn))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updateuserinfor"]],decls:50,vars:12,consts:[[1,"font"],[2,"max-width","700px"],[1,"dis-flex",2,"justify-content","space-between","align-items","center"],[1,"pb"],["mat-button","",1,"pl-1",2,"top","3px",3,"title","click"],[3,"formGroup","ngSubmit"],[1,"w-100"],["matInput","","formControlName","Email","readonly",""],[1,"flex-center"],["matInput","","formControlName","Fullname",3,"readonly"],[1,"pl-1","w-40"],["matInput","","formControlName","DateOfBirth",3,"matDatepicker","readonly"],["matIconSuffix","",3,"for",4,"ngIf"],["picker",""],[1,"w-40"],["type","text","matInput","","placeholder","Ch\u1ecdn gi\u1edbi t\xednh","formControlName","Sex",3,"readonly","matAutocomplete"],["auto","matAutocomplete"],["value","Nam"],["value","N\u1eef"],["value","Kh\xf4ng"],[1,"pl-1","w-100"],["matInput","","formControlName","PhoneNumber",3,"readonly"],["matInput","","formControlName","Introduction",3,"readonly"],[1,"mt-1",2,"justify-content","flex-end","display","flex"],["mat-raised-button","","color","primary",4,"ngIf"],["matIconSuffix","",3,"for"],["mat-raised-button","","color","primary"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2)(3,"h5",3),P(4,"C\u1eadp nh\u1eadp th\xf4ng tin"),k(),C(5,"button",4),B("click",function(){return s.toggleEditMode()}),C(6,"mat-icon"),P(7),k()()(),C(8,"form",5),B("ngSubmit",function(){return s.updateuserinfor()}),C(9,"mat-form-field",6)(10,"mat-label"),P(11,"T\xean t\xe0i kho\u1ea3n (m\u1eb7c \u0111\u1ecbnh)"),k(),Q(12,"input",7),k(),C(13,"div",8)(14,"mat-form-field",6)(15,"mat-label"),P(16,"H\u1ecd v\xe0 t\xean"),k(),Q(17,"input",9),k(),C(18,"mat-form-field",10)(19,"mat-label"),P(20,"Ng\xe0y sinh"),k(),Q(21,"input",11),C(22,"mat-hint"),P(23,"dd/MM/yyyy"),k(),I(24,PXe,1,1,"mat-datepicker-toggle",12),Q(25,"mat-datepicker",null,13),k()(),C(27,"div",8)(28,"mat-form-field",14)(29,"mat-label"),P(30,"Gi\u1edbi t\xednh"),k(),Q(31,"input",15),C(32,"mat-autocomplete",null,16)(34,"mat-option",17),P(35," Nam "),k(),C(36,"mat-option",18),P(37," N\u1eef "),k(),C(38,"mat-option",19),P(39," Kh\xf4ng "),k()()(),C(40,"mat-form-field",20)(41,"mat-label"),P(42,"S\u1ed1 \u0111i\u1ec7n tho\u1ea1i"),k(),Q(43,"input",21),k()(),C(44,"mat-form-field",6)(45,"mat-label"),P(46,"Gi\u1edbi thi\u1ec7u"),k(),Q(47,"textarea",22),k(),C(48,"div",23),I(49,OXe,2,0,"button",24),k()()()()),2&n){const l=ee(26),d=ee(33);y(5),x("title",s.isEditMode?"H\u1ee7y":"Ch\u1ec9nh s\u1eeda"),y(2),_e(s.isEditMode?"cancel":"edit"),y(1),x("formGroup",s.userform),y(9),x("readonly",!s.isEditMode),y(4),x("matDatepicker",l)("readonly",!s.isEditMode),y(3),x("ngIf",s.isEditMode),y(7),x("readonly",!s.isEditMode)("matAutocomplete",d),y(12),x("readonly",!s.isEditMode),y(4),x("readonly",!s.isEditMode),y(2),x("ngIf",s.isEditMode)}},dependencies:[Qe,cl,Sn,gn,Qr,hs,ml,ud,gj,Us,Fm,Cr,Fo,lXe,Lj,gXe,NS,Ww,jo,ba]})}return r})();function NXe(r,a){if(1&r){const i=ce();C(0,"button",9),B("click",function(){return z(i),H(S().changeemail())}),P(1,"C\u1eadp nh\u1eadp"),k()}}let Hre=(()=>{class r{constructor(i,n,s,l){this.toastr=i,this.router=n,this.service=s,this.sessionService=l,this.isEditMode=!1,this.email="",this.emailcurrent=l.getEmail()}toggleEditMode(){this.isEditMode?(this.cancelEdit(),this.isEditMode=!this.isEditMode):this.isEditMode=!this.isEditMode}cancelEdit(){this.email=""}changeemail(){null!=this.email?this.service.ChangeEmail(this.email).subscribe(i=>{const n=i.resultObj;this.toastr.success("Vui l\xf2ng nh\u1eadp m\xe3 x\xe1c nh\u1eadn \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn email c\u1ee7a b\u1ea1n","Thay \u0111\u1ed5i email th\xe0nh c\xf4ng"),this.sessionService.setEmail(this.email),this.sessionService.setName(this.email),this.sessionService.setToken(n),this.emailcurrent=this.email,this.cancelEdit()},i=>{const n=i.error.message;this.toastr.error(null==n?"L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y":n)}):this.toastr.warning("Vui l\xf2ng nh\u1eadp \u0111\xfang email!")}static#e=this.\u0275fac=function(n){return new(n||r)(T(Mi),T(di),T(Qu),T(Rn))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-changeemail"]],decls:17,vars:6,consts:[[1,"dis-block","w-50","font"],[1,"dis-flex",2,"justify-content","space-between","align-items","center"],["mat-button","",1,"pl-1",2,"top","3px",3,"title","click"],[1,"w-100"],["matInput","","readonly","",3,"value"],[1,"w-100","dis-block"],["matInput","","type","email",3,"ngModel","readonly","ngModelChange"],[2,"justify-content","flex-end","display","flex"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"h6"),P(3,"Thay \u0111\u1ed5i email"),k(),C(4,"button",2),B("click",function(){return s.toggleEditMode()}),C(5,"mat-icon"),P(6),k()()(),C(7,"mat-form-field",3)(8,"mat-label"),P(9,"Email hi\u1ec7n t\u1ea1i"),k(),Q(10,"input",4),k(),C(11,"mat-form-field",5)(12,"mat-label"),P(13,"Email m\u1edbi"),k(),C(14,"input",6),B("ngModelChange",function(d){return s.email=d}),k()(),C(15,"div",7),I(16,NXe,2,0,"button",8),k()()),2&n&&(y(4),x("title",s.isEditMode?"H\u1ee7y":"Ch\u1ec9nh s\u1eeda"),y(2),_e(s.isEditMode?"cancel":"edit"),y(4),x("value",s.emailcurrent),y(4),x("ngModel",s.email)("readonly",!s.isEditMode),y(2),x("ngIf",s.isEditMode))},dependencies:[Qe,Sn,gn,ss,hs,ml,ud,Cr,Fo]})}return r})();function LXe(r,a){if(1&r){const i=ce();C(0,"button",12),B("click",function(){return z(i),H(S().changepass())}),P(1,"C\u1eadp nh\u1eadp"),k()}}let Gre=(()=>{class r{constructor(i,n,s){this.builder=i,this.toastr=n,this.service=s,this.isEditMode=!1,this.hide=!0,this.passform=this.builder.group({Email:this.builder.control("",Nt.required),Password:this.builder.control("",Nt.required),Confirm:this.builder.control(""),NewPassword:this.builder.control("",Nt.compose([Nt.required,Nt.pattern("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*_=+-/]).{6,16}$")]))}),this.passform.patchValue({Email:sessionStorage.getItem("email")})}toggleEditMode(){this.isEditMode?(this.cancelEdit(),this.isEditMode=!this.isEditMode):this.isEditMode=!this.isEditMode}cancelEdit(){this.passform.patchValue({Password:"",NewPassword:"",Confirm:""})}changepass(){if(this.passform.valid)this.passform.value.NewPassword===this.passform.value.Confirm?this.service.ChangePassword(this.passform.value).subscribe(i=>{this.toastr.success("Thay \u0111\u1ed5i m\u1eadt kh\u1ea9u th\xe0nh c\xf4ng"),this.cancelEdit()},i=>{const n=i.error.message;this.toastr.error(null==n?"L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y":n)}):this.toastr.warning("M\u1eadt kh\u1ea9u m\u1edbi kh\xf4ng kh\u1edbp!");else{const i=this.passform.get("NewPassword")??null;i&&i.hasError("pattern")?this.toastr.warning("V\xed d\u1ee5: Manh5/","M\u1eadt kh\u1ea9u \xedt nh\u1ea5t ph\u1ea3i c\xf3 6 k\xfd t\u1ef1, bao g\u1ed3m: Hoa, th\u01b0\u1eddng, s\u1ed1 v\xe0 k\xfd t\u1ef1 \u0111\u1eb7c bi\u1ec7t",{timeOut:5e3}):this.toastr.warning("Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin!")}}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(Mi),T(Qu))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-changepassword"]],decls:28,vars:15,consts:[[1,"dis-block","w-50","font"],[1,"dis-flex",2,"justify-content","space-between","align-items","center"],["mat-button","",1,"pl-1",2,"top","3px",3,"title","click"],[3,"formGroup","ngSubmit"],[1,"w-100"],["matInput","","type","password","placeholder","V\xed d\u1ee5: 'Mk5manh/'","formControlName","Password","autocomplete","password",3,"type","readonly"],["type","button","mat-icon-button","","matSuffix","",3,"click"],[1,"w-100","dis-block"],["matInput","","type","password","placeholder","V\xed d\u1ee5: 'Mk5manh/'","formControlName","NewPassword","autocomplete","new-password",3,"type","readonly"],["matInput","","formControlName","Confirm","autocomplete","new-password",3,"readonly"],[2,"justify-content","flex-end","display","flex"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"h6"),P(3,"Thay \u0111\u1ed5i m\u1eadt kh\u1ea9u"),k(),C(4,"button",2),B("click",function(){return s.toggleEditMode()}),C(5,"mat-icon"),P(6),k()()(),C(7,"form",3),B("ngSubmit",function(){return s.changepass()}),C(8,"mat-form-field",4)(9,"mat-label"),P(10,"M\u1eadt kh\u1ea9u hi\u1ec7n t\u1ea1i"),k(),Q(11,"input",5),C(12,"button",6),B("click",function(){return s.hide=!s.hide}),C(13,"mat-icon"),P(14),k()()(),C(15,"mat-form-field",7)(16,"mat-label"),P(17,"M\u1eadt kh\u1ea9u m\u1edbi"),k(),Q(18,"input",8),C(19,"button",6),B("click",function(){return s.hide=!s.hide}),C(20,"mat-icon"),P(21),k()()(),C(22,"mat-form-field",4)(23,"mat-label"),P(24,"Nh\u1eadp l\u1ea1i m\u1eadt kh\u1ea9u m\u1edbi"),k(),Q(25,"input",9),k(),C(26,"div",10),I(27,LXe,2,0,"button",11),k()()()),2&n&&(y(4),x("title",s.isEditMode?"H\u1ee7y":"Ch\u1ec9nh s\u1eeda"),y(2),_e(s.isEditMode?"cancel":"edit"),y(1),x("formGroup",s.passform),y(4),x("type",s.hide?"password":"text")("readonly",!s.isEditMode),y(1),ge("aria-label","Hide password")("aria-pressed",s.hide),y(2),_e(s.hide?"visibility_off":"visibility"),y(4),x("type",s.hide?"password":"text")("readonly",!s.isEditMode),y(1),ge("aria-label","Hide password")("aria-pressed",s.hide),y(2),_e(s.hide?"visibility_off":"visibility"),y(4),x("readonly",!s.isEditMode),y(2),x("ngIf",s.isEditMode))},dependencies:[Qe,cl,Sn,gn,Qr,hs,ml,ud,Us,Cr,wr,Fo,jo,ba]})}return r})(),BXe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updateaccount"]],decls:3,vars:0,consts:[[1,"pl-2"]],template:function(n,s){1&n&&(C(0,"div",0),Q(1,"app-changeemail")(2,"app-changepassword"),k())},dependencies:[Hre,Gre]})}return r})(),jre=(()=>{class r{constructor(i,n,s){this.service=i,this.router=n,this.toastr=s}canActivate(i,n){return!!this.service.isAuthenticated()||(this.toastr.warning("B\u1ea1n ch\u01b0a \u0111\u0103ng nh\u1eadp"),this.router.navigate(["/login"]),!1)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Qu),De(di),De(Mi))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class VXe{}function zj(r){return r&&"function"==typeof r.connect&&!(r instanceof o6)}class $re{applyChanges(a,i,n,s,l){a.forEachOperation((d,p,f)=>{let v,D;if(null==d.previousIndex){const E=n(d,p,f);v=i.createEmbeddedView(E.templateRef,E.context,E.index),D=1}else null==f?(i.remove(p),D=3):(v=i.get(p),i.move(v,f),D=2);l&&l({context:v?.context,operation:D,record:d})})}detach(){}}class zXe{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(a=!1,i,n=!0,s){this._multiple=a,this._emitChanges=n,this.compareWith=s,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ge,i&&i.length&&(a?i.forEach(l=>this._markSelected(l)):this._markSelected(i[0]),this._selectedToEmit.length=0)}select(...a){this._verifyValueAssignment(a),a.forEach(n=>this._markSelected(n));const i=this._hasQueuedChanges();return this._emitChangeEvent(),i}deselect(...a){this._verifyValueAssignment(a),a.forEach(n=>this._unmarkSelected(n));const i=this._hasQueuedChanges();return this._emitChangeEvent(),i}setSelection(...a){this._verifyValueAssignment(a);const i=this.selected,n=new Set(a);a.forEach(l=>this._markSelected(l)),i.filter(l=>!n.has(l)).forEach(l=>this._unmarkSelected(l));const s=this._hasQueuedChanges();return this._emitChangeEvent(),s}toggle(a){return this.isSelected(a)?this.deselect(a):this.select(a)}clear(a=!0){this._unmarkAll();const i=this._hasQueuedChanges();return a&&this._emitChangeEvent(),i}isSelected(a){return this._selection.has(this._getConcreteValue(a))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(a){this._multiple&&this.selected&&this._selected.sort(a)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(a){a=this._getConcreteValue(a),this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))}_unmarkSelected(a){a=this._getConcreteValue(a),this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))}_unmarkAll(){this.isEmpty()||this._selection.forEach(a=>this._unmarkSelected(a))}_verifyValueAssignment(a){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(a){if(this.compareWith){for(let i of this._selection)if(this.compareWith(a,i))return i;return a}return a}}let HXe=(()=>{class r{constructor(){this._listeners=[]}notify(i,n){for(let s of this._listeners)s(i,n)}listen(i){return this._listeners.push(i),()=>{this._listeners=this._listeners.filter(n=>i!==n)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const LS=new $e("_ViewRepeater"),GXe=["input"],jXe=["*"];let Wre=0;class qre{constructor(a,i){this.source=a,this.value=i}}const $Xe={provide:Yn,useExisting:J(()=>F5),multi:!0},Kre=new $e("MatRadioGroup"),UXe=new $e("mat-radio-default-options",{providedIn:"root",factory:function WXe(){return{color:"accent"}}});let qXe=(()=>{class r{get name(){return this._name}set name(i){this._name=i,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(i){this._labelPosition="before"===i?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(i){this._value!==i&&(this._value=i,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(i){this._selected=i,this.value=i?i.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._markRadiosForCheck()}get required(){return this._required}set required(i){this._required=Et(i),this._markRadiosForCheck()}constructor(i){this._changeDetector=i,this._value=null,this._name="mat-radio-group-"+Wre++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new X}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(i=>i===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(i=>{i.name=this.name,i._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(n=>{n.checked=this.value===n.value,n.checked&&(this._selected=n)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new qre(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(i=>i._markForCheck())}writeValue(i){this.value=i,this._changeDetector.markForCheck()}registerOnChange(i){this._controlValueAccessorChangeFn=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.disabled=i,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt))};static#t=this.\u0275dir=re({type:r,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}})}return r})();class KXe{constructor(a){this._elementRef=a}}const YXe=Om(Sv(KXe));let QXe=(()=>{class r extends YXe{get checked(){return this._checked}set checked(i){const n=Et(i);this._checked!==n&&(this._checked=n,n&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!n&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),n&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(i){this._value!==i&&(this._value=i,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===i),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(i){this._labelPosition=i}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(i){this._setDisabled(Et(i))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(i){this._required=Et(i)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(i){this._color=i}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(i,n,s,l,d,p,f,v){super(n),this._changeDetector=s,this._focusMonitor=l,this._radioDispatcher=d,this._providerOverride=f,this._uniqueId="mat-radio-"+ ++Wre,this.id=this._uniqueId,this.change=new X,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=i,this._noopAnimations="NoopAnimations"===p,v&&(this.tabIndex=Ba(v,0))}focus(i,n){n?this._focusMonitor.focusVia(this._inputElement,n,i):this._inputElement.nativeElement.focus(i)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((i,n)=>{i!==this.id&&n===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{!i&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new qre(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(i){i.stopPropagation()}_onInputInteraction(i){if(i.stopPropagation(),!this.checked&&!this.disabled){const n=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),n&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(i){this._onInputInteraction(i),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(i){this._disabled!==i&&(this._disabled=i,this._changeDetector.markForCheck())}_updateTabIndex(){const i=this.radioGroup;let n;if(n=i&&i.selected&&!this.disabled?i.selected===this?this.tabIndex:-1:this.tabIndex,n!==this._previousTabIndex){const s=this._inputElement?.nativeElement;s&&(s.setAttribute("tabindex",n+""),this._previousTabIndex=n)}}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&oe(GXe,5),2&n){let l;G(l=j())&&(s._inputElement=l.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[Ae]})}return r})(),F5=(()=>{class r extends qXe{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["mat-radio-group"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,N5,5),2&n){let d;G(d=j())&&(s._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[Ye([$Xe,{provide:Kre,useExisting:r}]),Ae]})}return r})(),N5=(()=>{class r extends QXe{constructor(i,n,s,l,d,p,f,v){super(i,n,s,l,d,p,f,v)}static#e=this.\u0275fac=function(n){return new(n||r)(T(Kre,8),T(ke),T(rt),T(al),T(HXe),T(Eo,8),T(UXe,8),Ns("tabindex"))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(n,s){1&n&&B("focus",function(){return s._inputElement.nativeElement.focus()}),2&n&&(ge("id",s.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Se("mat-primary","primary"===s.color)("mat-accent","accent"===s.color)("mat-warn","warn"===s.color)("mat-mdc-radio-checked",s.checked)("_mat-animation-noopable",s._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[Ae],ngContentSelectors:jXe,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(n,s){if(1&n&&(pt(),C(0,"div",0,1)(2,"div",2)(3,"div",3),B("click",function(d){return s._onTouchTargetClick(d)}),k(),C(4,"input",4,5),B("change",function(d){return s._onInputInteraction(d)}),k(),C(6,"div",6),Q(7,"div",7)(8,"div",8),k(),C(9,"div",9),Q(10,"div",10),k()(),C(11,"label",11),Ie(12),k()()),2&n){const l=ee(1);Se("mdc-form-field--align-end","before"==s.labelPosition),y(2),Se("mdc-radio--disabled",s.disabled),y(2),x("id",s.inputId)("checked",s.checked)("disabled",s.disabled)("required",s.required),ge("name",s.name)("value",s.value)("aria-label",s.ariaLabel)("aria-labelledby",s.ariaLabelledby)("aria-describedby",s.ariaDescribedby),y(5),x("matRippleTrigger",l)("matRippleDisabled",s._isRippleDisabled())("matRippleCentered",!0),y(2),x("for",s.inputId)}},dependencies:[zp],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-opacity:0.38;--mdc-radio-disabled-unselected-icon-opacity:0.38;--mdc-radio-state-layer-size:40px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return r})(),XXe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Gs,Hp,Ai]})}return r})();function ZXe(r,a){if(1&r&&(C(0,"mat-radio-button",9),P(1),k()),2&r){const i=a.$implicit;x("value",i.id),y(1),_e(i.title)}}let JXe=(()=>{class r{constructor(i,n,s,l,d,p){this.data=i,this.builder=n,this.session=s,this.service=l,this.toastr=d,this.dialogRef=p,this.reportform=this.builder.group({PostId:[""],UserId:[this.session.getUserId()],ReportId:["",Nt.required],Description:["",Nt.maxLength(500)],ReportDate:[new Date],Checked:[!1]}),this.reports=null,this.reportform.get("PostId")?.setValue(i.SubId),this.GetReportPost()}GetReportPost(){this.service.getReport().subscribe(i=>{this.reports=i.resultObj})}onSubmit(){console.log(this.reportform.value),this.reportform.valid?this.service.ReportPost(this.reportform.value).subscribe(i=>{this.toastr.success("\u0110\xe3 g\u1eedi b\xe1o c\xe1o! B\u1ea1n s\u1ebd s\u1edbm nh\u1eadn \u0111\u01b0\u1ee3c ph\u1ea3n h\u1ed3i!"),this.dialogRef.close()}):this.toastr.info("B\u1ea1n c\u1ea7n ch\u1ecdn n\u1ed9i dung b\xe1o c\xe1o!")}static#e=this.\u0275fac=function(n){return new(n||r)(T(RS),T(za),T(Rn),T(In),T(Mi),T(hd))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-reportpost"]],decls:14,vars:2,consts:[[3,"formGroup"],[1,"flex-center-sb","plr-24","mt-1"],[1,"flex-center",2,"font-size","1.4rem","font-weight","500"],["mat-raised-button","",3,"click"],["mat-dialog-content","",2,"height","300px"],["formControlName","ReportId"],["class","dis-block",3,"value",4,"ngFor","ngForOf"],[1,"pt-1","ml-2"],["matLine","2","formControlName","Description",1,"ml-2","font",2,"max-width","90%","width","90%","; border-radius","4px","font-size","1rem","max-height","100px"],[1,"dis-block",3,"value"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"span",2),P(3,"B\xe1o c\xe1o b\xe0i \u0111\u1ecdc"),k(),C(4,"button",3),B("click",function(){return s.onSubmit()}),P(5,"G\u1eedi"),k()(),C(6,"div",4)(7,"mat-radio-group",5),I(8,ZXe,2,2,"mat-radio-button",6),k()(),C(9,"span",7),P(10,"M\xf4 t\u1ea3 th\xeam"),k(),C(11,"div")(12,"textarea",8),P(13," "),k()()()),2&n&&(x("formGroup",s.reportform),y(8),x("ngForOf",s.reports))},dependencies:[Vt,Sn,gn,Qr,F5,N5,lre,Cr,o8,jo,ba]})}return r})();var eZe=bl(930),qw=bl.n(eZe);const tZe=[0,2e3,1e4,3e4,null];class Yre{constructor(a){this._retryDelays=void 0!==a?[...a,null]:tZe}nextRetryDelayInMilliseconds(a){return this._retryDelays[a.previousRetryCount]}}let BS=(()=>{class r{}return r.Authorization="Authorization",r.Cookie="Cookie",r})();class Qre{constructor(a,i,n){this.statusCode=a,this.statusText=i,this.content=n}}class L5{get(a,i){return this.send({...i,method:"GET",url:a})}post(a,i){return this.send({...i,method:"POST",url:a})}delete(a,i){return this.send({...i,method:"DELETE",url:a})}getCookieString(a){return""}}class iZe extends L5{constructor(a,i){super(),this._innerClient=a,this._accessTokenFactory=i}send(a){var i=this;return qi(function*(){let n=!0;i._accessTokenFactory&&(!i._accessToken||a.url&&a.url.indexOf("/negotiate?")>0)&&(n=!1,i._accessToken=yield i._accessTokenFactory()),i._setAuthorizationHeader(a);const s=yield i._innerClient.send(a);return n&&401===s.statusCode&&i._accessTokenFactory?(i._accessToken=yield i._accessTokenFactory(),i._setAuthorizationHeader(a),yield i._innerClient.send(a)):s})()}_setAuthorizationHeader(a){a.headers||(a.headers={}),this._accessToken?a.headers[BS.Authorization]=`Bearer ${this._accessToken}`:this._accessTokenFactory&&a.headers[BS.Authorization]&&delete a.headers[BS.Authorization]}getCookieString(a){return this._innerClient.getCookieString(a)}}class vb extends Error{constructor(a,i){const n=new.target.prototype;super(`${a}: Status code '${i}'`),this.statusCode=i,this.__proto__=n}}class Hj extends Error{constructor(a="A timeout occurred."){const i=new.target.prototype;super(a),this.__proto__=i}}class pu extends Error{constructor(a="An abort occurred."){const i=new.target.prototype;super(a),this.__proto__=i}}class nZe extends Error{constructor(a,i){const n=new.target.prototype;super(a),this.transport=i,this.errorType="UnsupportedTransportError",this.__proto__=n}}class oZe extends Error{constructor(a,i){const n=new.target.prototype;super(a),this.transport=i,this.errorType="DisabledTransportError",this.__proto__=n}}class rZe extends Error{constructor(a,i){const n=new.target.prototype;super(a),this.transport=i,this.errorType="FailedToStartTransportError",this.__proto__=n}}class Xre extends Error{constructor(a){const i=new.target.prototype;super(a),this.errorType="FailedToNegotiateWithServerError",this.__proto__=i}}class sZe extends Error{constructor(a,i){const n=new.target.prototype;super(a),this.innerErrors=i,this.__proto__=n}}var tt=function(r){return r[r.Trace=0]="Trace",r[r.Debug=1]="Debug",r[r.Information=2]="Information",r[r.Warning=3]="Warning",r[r.Error=4]="Error",r[r.Critical=5]="Critical",r[r.None=6]="None",r}(tt||{});class VS{constructor(){}log(a,i){}}VS.instance=new VS;const aZe="8.0.0";class ps{static isRequired(a,i){if(null==a)throw new Error(`The '${i}' argument is required.`)}static isNotEmpty(a,i){if(!a||a.match(/^\s*$/))throw new Error(`The '${i}' argument should not be empty.`)}static isIn(a,i,n){if(!(a in i))throw new Error(`Unknown ${n} value: ${a}.`)}}class xr{static get isBrowser(){return!xr.isNode&&"object"==typeof window&&"object"==typeof window.document}static get isWebWorker(){return!xr.isNode&&"object"==typeof self&&"importScripts"in self}static get isReactNative(){return!xr.isNode&&"object"==typeof window&&typeof window.document>"u"}static get isNode(){return typeof process<"u"&&process.release&&"node"===process.release.name}}function zS(r,a){let i="";return bb(r)?(i=`Binary data of length ${r.byteLength}`,a&&(i+=`. Content: '${function lZe(r){const a=new Uint8Array(r);let i="";return a.forEach(n=>{i+=`0x${n<16?"0":""}${n.toString(16)} `}),i.substr(0,i.length-1)}(r)}'`)):"string"==typeof r&&(i=`String data of length ${r.length}`,a&&(i+=`. Content: '${r}'`)),i}function bb(r){return r&&typeof ArrayBuffer<"u"&&(r instanceof ArrayBuffer||r.constructor&&"ArrayBuffer"===r.constructor.name)}function Zre(r,a,i,n,s,l){return Gj.apply(this,arguments)}function Gj(){return Gj=qi(function*(r,a,i,n,s,l){const d={},[p,f]=Kw();d[p]=f,r.log(tt.Trace,`(${a} transport) sending data. ${zS(s,l.logMessageContent)}.`);const v=bb(s)?"arraybuffer":"text",D=yield i.post(n,{content:s,headers:{...d,...l.headers},responseType:v,timeout:l.timeout,withCredentials:l.withCredentials});r.log(tt.Trace,`(${a} transport) request complete. Response status: ${D.statusCode}.`)}),Gj.apply(this,arguments)}class dZe{constructor(a,i){this._subject=a,this._observer=i}dispose(){const a=this._subject.observers.indexOf(this._observer);a>-1&&this._subject.observers.splice(a,1),0===this._subject.observers.length&&this._subject.cancelCallback&&this._subject.cancelCallback().catch(i=>{})}}class B5{constructor(a){this._minLevel=a,this.out=console}log(a,i){if(a>=this._minLevel){const n=`[${(new Date).toISOString()}] ${tt[a]}: ${i}`;switch(a){case tt.Critical:case tt.Error:this.out.error(n);break;case tt.Warning:this.out.warn(n);break;case tt.Information:this.out.info(n);break;default:this.out.log(n)}}}}function Kw(){let r="X-SignalR-User-Agent";return xr.isNode&&(r="User-Agent"),[r,uZe(aZe,hZe(),xr.isNode?"NodeJS":"Browser",pZe())]}function uZe(r,a,i,n){let s="Microsoft SignalR/";const l=r.split(".");return s+=`${l[0]}.${l[1]}`,s+=` (${r}; `,s+=a&&""!==a?`${a}; `:"Unknown OS; ",s+=`${i}`,s+=n?`; ${n}`:"; Unknown Runtime Version",s+=")",s}function hZe(){if(!xr.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function pZe(){if(xr.isNode)return process.versions.node}function Jre(r){return r.stack?r.stack:r.message?r.message:`${r}`}class yZe extends L5{constructor(a){super(),this._logger=a;const i={_fetchType:void 0,_jar:void 0};!function fZe(r){return!!(typeof fetch>"u"||xr.isNode)&&(r._jar=new(bl(333).CookieJar),r._fetchType=typeof fetch>"u"?bl(190):fetch,r._fetchType=bl(45)(r._fetchType,r._jar),!0)}(i)?this._fetchType=fetch.bind(function mZe(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("could not find global")}()):(this._fetchType=i._fetchType,this._jar=i._jar),this._abortControllerType=AbortController;const n={_abortControllerType:this._abortControllerType};(function _Ze(r){return typeof AbortController>"u"&&(r._abortControllerType=bl(771),!0)})(n)&&(this._abortControllerType=n._abortControllerType)}send(a){var i=this;return qi(function*(){if(a.abortSignal&&a.abortSignal.aborted)throw new pu;if(!a.method)throw new Error("No method defined.");if(!a.url)throw new Error("No url defined.");const n=new i._abortControllerType;let s;a.abortSignal&&(a.abortSignal.onabort=()=>{n.abort(),s=new pu});let d,l=null;a.timeout&&(l=setTimeout(()=>{n.abort(),i._logger.log(tt.Warning,"Timeout from HTTP request."),s=new Hj},a.timeout)),""===a.content&&(a.content=void 0),a.content&&(a.headers=a.headers||{},a.headers["Content-Type"]=bb(a.content)?"application/octet-stream":"text/plain;charset=UTF-8");try{d=yield i._fetchType(a.url,{body:a.content,cache:"no-cache",credentials:!0===a.withCredentials?"include":"same-origin",headers:{"X-Requested-With":"XMLHttpRequest",...a.headers},method:a.method,mode:"cors",redirect:"follow",signal:n.signal})}catch(v){throw s||(i._logger.log(tt.Warning,`Error from HTTP request. ${v}.`),v)}finally{l&&clearTimeout(l),a.abortSignal&&(a.abortSignal.onabort=null)}if(!d.ok){const v=yield ese(d,"text");throw new vb(v||d.statusText,d.status)}const f=yield ese(d,a.responseType);return new Qre(d.status,d.statusText,f)})()}getCookieString(a){let i="";return xr.isNode&&this._jar&&this._jar.getCookies(a,(n,s)=>i=s.join("; ")),i}}function ese(r,a){let i;switch(a){case"arraybuffer":i=r.arrayBuffer();break;case"text":default:i=r.text();break;case"blob":case"document":case"json":throw new Error(`${a} is not supported.`)}return i}class CZe extends L5{constructor(a){super(),this._logger=a}send(a){return a.abortSignal&&a.abortSignal.aborted?Promise.reject(new pu):a.method?a.url?new Promise((i,n)=>{const s=new XMLHttpRequest;s.open(a.method,a.url,!0),s.withCredentials=void 0===a.withCredentials||a.withCredentials,s.setRequestHeader("X-Requested-With","XMLHttpRequest"),""===a.content&&(a.content=void 0),a.content&&(bb(a.content)?s.setRequestHeader("Content-Type","application/octet-stream"):s.setRequestHeader("Content-Type","text/plain;charset=UTF-8"));const l=a.headers;l&&Object.keys(l).forEach(d=>{s.setRequestHeader(d,l[d])}),a.responseType&&(s.responseType=a.responseType),a.abortSignal&&(a.abortSignal.onabort=()=>{s.abort(),n(new pu)}),a.timeout&&(s.timeout=a.timeout),s.onload=()=>{a.abortSignal&&(a.abortSignal.onabort=null),s.status>=200&&s.status<300?i(new Qre(s.status,s.statusText,s.response||s.responseText)):n(new vb(s.response||s.responseText||s.statusText,s.status))},s.onerror=()=>{this._logger.log(tt.Warning,`Error from HTTP request. ${s.status}: ${s.statusText}.`),n(new vb(s.statusText,s.status))},s.ontimeout=()=>{this._logger.log(tt.Warning,"Timeout from HTTP request."),n(new Hj)},s.send(a.content)}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}}class wZe extends L5{constructor(a){if(super(),typeof fetch<"u"||xr.isNode)this._httpClient=new yZe(a);else{if(!(typeof XMLHttpRequest<"u"))throw new Error("No usable HttpClient found.");this._httpClient=new CZe(a)}}send(a){return a.abortSignal&&a.abortSignal.aborted?Promise.reject(new pu):a.method?a.url?this._httpClient.send(a):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(a){return this._httpClient.getCookieString(a)}}var Ws=function(r){return r[r.None=0]="None",r[r.WebSockets=1]="WebSockets",r[r.ServerSentEvents=2]="ServerSentEvents",r[r.LongPolling=4]="LongPolling",r}(Ws||{}),_l=function(r){return r[r.Text=1]="Text",r[r.Binary=2]="Binary",r}(_l||{});class xZe{constructor(){this._isAborted=!1,this.onabort=null}abort(){this._isAborted||(this._isAborted=!0,this.onabort&&this.onabort())}get signal(){return this}get aborted(){return this._isAborted}}class tse{get pollAborted(){return this._pollAbort.aborted}constructor(a,i,n){this._httpClient=a,this._logger=i,this._pollAbort=new xZe,this._options=n,this._running=!1,this.onreceive=null,this.onclose=null}connect(a,i){var n=this;return qi(function*(){if(ps.isRequired(a,"url"),ps.isRequired(i,"transferFormat"),ps.isIn(i,_l,"transferFormat"),n._url=a,n._logger.log(tt.Trace,"(LongPolling transport) Connecting."),i===_l.Binary&&typeof XMLHttpRequest<"u"&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");const[s,l]=Kw(),d={[s]:l,...n._options.headers},p={abortSignal:n._pollAbort.signal,headers:d,timeout:1e5,withCredentials:n._options.withCredentials};i===_l.Binary&&(p.responseType="arraybuffer");const f=`${a}&_=${Date.now()}`;n._logger.log(tt.Trace,`(LongPolling transport) polling: ${f}.`);const v=yield n._httpClient.get(f,p);200!==v.statusCode?(n._logger.log(tt.Error,`(LongPolling transport) Unexpected response code: ${v.statusCode}.`),n._closeError=new vb(v.statusText||"",v.statusCode),n._running=!1):n._running=!0,n._receiving=n._poll(n._url,p)})()}_poll(a,i){var n=this;return qi(function*(){try{for(;n._running;)try{const s=`${a}&_=${Date.now()}`;n._logger.log(tt.Trace,`(LongPolling transport) polling: ${s}.`);const l=yield n._httpClient.get(s,i);204===l.statusCode?(n._logger.log(tt.Information,"(LongPolling transport) Poll terminated by server."),n._running=!1):200!==l.statusCode?(n._logger.log(tt.Error,`(LongPolling transport) Unexpected response code: ${l.statusCode}.`),n._closeError=new vb(l.statusText||"",l.statusCode),n._running=!1):l.content?(n._logger.log(tt.Trace,`(LongPolling transport) data received. ${zS(l.content,n._options.logMessageContent)}.`),n.onreceive&&n.onreceive(l.content)):n._logger.log(tt.Trace,"(LongPolling transport) Poll timed out, reissuing.")}catch(s){n._running?s instanceof Hj?n._logger.log(tt.Trace,"(LongPolling transport) Poll timed out, reissuing."):(n._closeError=s,n._running=!1):n._logger.log(tt.Trace,`(LongPolling transport) Poll errored after shutdown: ${s.message}`)}}finally{n._logger.log(tt.Trace,"(LongPolling transport) Polling complete."),n.pollAborted||n._raiseOnClose()}})()}send(a){var i=this;return qi(function*(){return i._running?Zre(i._logger,"LongPolling",i._httpClient,i._url,a,i._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){var a=this;return qi(function*(){a._logger.log(tt.Trace,"(LongPolling transport) Stopping polling."),a._running=!1,a._pollAbort.abort();try{yield a._receiving,a._logger.log(tt.Trace,`(LongPolling transport) sending DELETE request to ${a._url}.`);const i={},[n,s]=Kw();i[n]=s;const l={headers:{...i,...a._options.headers},timeout:a._options.timeout,withCredentials:a._options.withCredentials};let d;try{yield a._httpClient.delete(a._url,l)}catch(p){d=p}d?d instanceof vb&&a._logger.log(tt.Trace,404===d.statusCode?"(LongPolling transport) A 404 response was returned from sending a DELETE request.":`(LongPolling transport) Error sending a DELETE request: ${d}`):a._logger.log(tt.Trace,"(LongPolling transport) DELETE request accepted.")}finally{a._logger.log(tt.Trace,"(LongPolling transport) Stop finished."),a._raiseOnClose()}})()}_raiseOnClose(){if(this.onclose){let a="(LongPolling transport) Firing onclose event.";this._closeError&&(a+=" Error: "+this._closeError),this._logger.log(tt.Trace,a),this.onclose(this._closeError)}}}class kZe{constructor(a,i,n,s){this._httpClient=a,this._accessToken=i,this._logger=n,this._options=s,this.onreceive=null,this.onclose=null}connect(a,i){var n=this;return qi(function*(){return ps.isRequired(a,"url"),ps.isRequired(i,"transferFormat"),ps.isIn(i,_l,"transferFormat"),n._logger.log(tt.Trace,"(SSE transport) Connecting."),n._url=a,n._accessToken&&(a+=(a.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(n._accessToken)}`),new Promise((s,l)=>{let p,d=!1;if(i===_l.Text){if(xr.isBrowser||xr.isWebWorker)p=new n._options.EventSource(a,{withCredentials:n._options.withCredentials});else{const f=n._httpClient.getCookieString(a),v={};v.Cookie=f;const[D,E]=Kw();v[D]=E,p=new n._options.EventSource(a,{withCredentials:n._options.withCredentials,headers:{...v,...n._options.headers}})}try{p.onmessage=f=>{if(n.onreceive)try{n._logger.log(tt.Trace,`(SSE transport) data received. ${zS(f.data,n._options.logMessageContent)}.`),n.onreceive(f.data)}catch(v){return void n._close(v)}},p.onerror=f=>{d?n._close():l(new Error("EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky sessions are enabled."))},p.onopen=()=>{n._logger.log(tt.Information,`SSE connected to ${n._url}`),n._eventSource=p,d=!0,s()}}catch(f){return void l(f)}}else l(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})})()}send(a){var i=this;return qi(function*(){return i._eventSource?Zre(i._logger,"SSE",i._httpClient,i._url,a,i._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){return this._close(),Promise.resolve()}_close(a){this._eventSource&&(this._eventSource.close(),this._eventSource=void 0,this.onclose&&this.onclose(a))}}class DZe{constructor(a,i,n,s,l,d){this._logger=n,this._accessTokenFactory=i,this._logMessageContent=s,this._webSocketConstructor=l,this._httpClient=a,this.onreceive=null,this.onclose=null,this._headers=d}connect(a,i){var n=this;return qi(function*(){let s;return ps.isRequired(a,"url"),ps.isRequired(i,"transferFormat"),ps.isIn(i,_l,"transferFormat"),n._logger.log(tt.Trace,"(WebSockets transport) Connecting."),n._accessTokenFactory&&(s=yield n._accessTokenFactory()),new Promise((l,d)=>{let p;a=a.replace(/^http/,"ws");const f=n._httpClient.getCookieString(a);let v=!1;if(xr.isNode||xr.isReactNative){const D={},[E,F]=Kw();D[E]=F,s&&(D[BS.Authorization]=`Bearer ${s}`),f&&(D[BS.Cookie]=f),p=new n._webSocketConstructor(a,void 0,{headers:{...D,...n._headers}})}else s&&(a+=(a.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(s)}`);p||(p=new n._webSocketConstructor(a)),i===_l.Binary&&(p.binaryType="arraybuffer"),p.onopen=D=>{n._logger.log(tt.Information,`WebSocket connected to ${a}.`),n._webSocket=p,v=!0,l()},p.onerror=D=>{let E=null;E=typeof ErrorEvent<"u"&&D instanceof ErrorEvent?D.error:"There was an error with the transport",n._logger.log(tt.Information,`(WebSockets transport) ${E}.`)},p.onmessage=D=>{if(n._logger.log(tt.Trace,`(WebSockets transport) data received. ${zS(D.data,n._logMessageContent)}.`),n.onreceive)try{n.onreceive(D.data)}catch(E){return void n._close(E)}},p.onclose=D=>{if(v)n._close(D);else{let E=null;E=typeof ErrorEvent<"u"&&D instanceof ErrorEvent?D.error:"WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",d(new Error(E))}}})})()}send(a){return this._webSocket&&this._webSocket.readyState===this._webSocketConstructor.OPEN?(this._logger.log(tt.Trace,`(WebSockets transport) sending data. ${zS(a,this._logMessageContent)}.`),this._webSocket.send(a),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")}stop(){return this._webSocket&&this._close(void 0),Promise.resolve()}_close(a){this._webSocket&&(this._webSocket.onclose=()=>{},this._webSocket.onmessage=()=>{},this._webSocket.onerror=()=>{},this._webSocket.close(),this._webSocket=void 0),this._logger.log(tt.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this._isCloseEvent(a)||!1!==a.wasClean&&1e3===a.code?a instanceof Error?this.onclose(a):this.onclose():this.onclose(new Error(`WebSocket closed with status code: ${a.code} (${a.reason||"no reason given"}).`)))}_isCloseEvent(a){return a&&"boolean"==typeof a.wasClean&&"number"==typeof a.code}}class AZe{constructor(a,i={}){if(this._stopPromiseResolver=()=>{},this.features={},this._negotiateVersion=1,ps.isRequired(a,"url"),this._logger=function cZe(r){return void 0===r?new B5(tt.Information):null===r?VS.instance:void 0!==r.log?r:new B5(r)}(i.logger),this.baseUrl=this._resolveUrl(a),(i=i||{}).logMessageContent=void 0!==i.logMessageContent&&i.logMessageContent,"boolean"!=typeof i.withCredentials&&void 0!==i.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");i.withCredentials=void 0===i.withCredentials||i.withCredentials,i.timeout=void 0===i.timeout?1e5:i.timeout;let n=null,s=null;xr.isNode&&(n=function vZe(){return bl(139)}(),s=function bZe(){return bl(22)}()),!xr.isNode&&typeof WebSocket<"u"&&!i.WebSocket?i.WebSocket=WebSocket:xr.isNode&&!i.WebSocket&&n&&(i.WebSocket=n),!xr.isNode&&typeof EventSource<"u"&&!i.EventSource?i.EventSource=EventSource:xr.isNode&&!i.EventSource&&typeof s<"u"&&(i.EventSource=s),this._httpClient=new iZe(i.httpClient||new wZe(this._logger),i.accessTokenFactory),this._connectionState="Disconnected",this._connectionStarted=!1,this._options=i,this.onreceive=null,this.onclose=null}start(a){var i=this;return qi(function*(){if(ps.isIn(a=a||_l.Binary,_l,"transferFormat"),i._logger.log(tt.Debug,`Starting connection with transfer format '${_l[a]}'.`),"Disconnected"!==i._connectionState)return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));if(i._connectionState="Connecting",i._startInternalPromise=i._startInternal(a),yield i._startInternalPromise,"Disconnecting"===i._connectionState){const n="Failed to start the HttpConnection before stop() was called.";return i._logger.log(tt.Error,n),yield i._stopPromise,Promise.reject(new pu(n))}if("Connected"!==i._connectionState){const n="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";return i._logger.log(tt.Error,n),Promise.reject(new pu(n))}i._connectionStarted=!0})()}send(a){return"Connected"!==this._connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this._sendQueue||(this._sendQueue=new jj(this.transport)),this._sendQueue.send(a))}stop(a){var i=this;return qi(function*(){return"Disconnected"===i._connectionState?(i._logger.log(tt.Debug,`Call to HttpConnection.stop(${a}) ignored because the connection is already in the disconnected state.`),Promise.resolve()):"Disconnecting"===i._connectionState?(i._logger.log(tt.Debug,`Call to HttpConnection.stop(${a}) ignored because the connection is already in the disconnecting state.`),i._stopPromise):(i._connectionState="Disconnecting",i._stopPromise=new Promise(n=>{i._stopPromiseResolver=n}),yield i._stopInternal(a),void(yield i._stopPromise))})()}_stopInternal(a){var i=this;return qi(function*(){i._stopError=a;try{yield i._startInternalPromise}catch{}if(i.transport){try{yield i.transport.stop()}catch(n){i._logger.log(tt.Error,`HttpConnection.transport.stop() threw error '${n}'.`),i._stopConnection()}i.transport=void 0}else i._logger.log(tt.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.")})()}_startInternal(a){var i=this;return qi(function*(){let n=i.baseUrl;i._accessTokenFactory=i._options.accessTokenFactory,i._httpClient._accessTokenFactory=i._accessTokenFactory;try{if(i._options.skipNegotiation){if(i._options.transport!==Ws.WebSockets)throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");i.transport=i._constructTransport(Ws.WebSockets),yield i._startTransport(n,a)}else{let s=null,l=0;do{if(s=yield i._getNegotiationResponse(n),"Disconnecting"===i._connectionState||"Disconnected"===i._connectionState)throw new pu("The connection was stopped during negotiation.");if(s.error)throw new Error(s.error);if(s.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");if(s.url&&(n=s.url),s.accessToken){const d=s.accessToken;i._accessTokenFactory=()=>d,i._httpClient._accessToken=d,i._httpClient._accessTokenFactory=void 0}l++}while(s.url&&l<100);if(100===l&&s.url)throw new Error("Negotiate redirection limit exceeded.");yield i._createTransport(n,i._options.transport,s,a)}i.transport instanceof tse&&(i.features.inherentKeepAlive=!0),"Connecting"===i._connectionState&&(i._logger.log(tt.Debug,"The HttpConnection connected successfully."),i._connectionState="Connected")}catch(s){return i._logger.log(tt.Error,"Failed to start the connection: "+s),i._connectionState="Disconnected",i.transport=void 0,i._stopPromiseResolver(),Promise.reject(s)}})()}_getNegotiationResponse(a){var i=this;return qi(function*(){const n={},[s,l]=Kw();n[s]=l;const d=i._resolveNegotiateUrl(a);i._logger.log(tt.Debug,`Sending negotiation request: ${d}.`);try{const p=yield i._httpClient.post(d,{content:"",headers:{...n,...i._options.headers},timeout:i._options.timeout,withCredentials:i._options.withCredentials});if(200!==p.statusCode)return Promise.reject(new Error(`Unexpected status code returned from negotiate '${p.statusCode}'`));const f=JSON.parse(p.content);return(!f.negotiateVersion||f.negotiateVersion<1)&&(f.connectionToken=f.connectionId),f.useStatefulReconnect&&!0!==i._options._useStatefulReconnect?Promise.reject(new Xre("Client didn't negotiate Stateful Reconnect but the server did.")):f}catch(p){let f="Failed to complete negotiation with the server: "+p;return p instanceof vb&&404===p.statusCode&&(f+=" Either this is not a SignalR endpoint or there is a proxy blocking the connection."),i._logger.log(tt.Error,f),Promise.reject(new Xre(f))}})()}_createConnectUrl(a,i){return i?a+(-1===a.indexOf("?")?"?":"&")+`id=${i}`:a}_createTransport(a,i,n,s){var l=this;return qi(function*(){let d=l._createConnectUrl(a,n.connectionToken);if(l._isITransport(i))return l._logger.log(tt.Debug,"Connection was provided an instance of ITransport, using that directly."),l.transport=i,yield l._startTransport(d,s),void(l.connectionId=n.connectionId);const p=[],f=n.availableTransports||[];let v=n;for(const D of f){const E=l._resolveTransportOrError(D,i,s,!0===v?.useStatefulReconnect);if(E instanceof Error)p.push(`${D.transport} failed:`),p.push(E);else if(l._isITransport(E)){if(l.transport=E,!v){try{v=yield l._getNegotiationResponse(a)}catch(F){return Promise.reject(F)}d=l._createConnectUrl(a,v.connectionToken)}try{return yield l._startTransport(d,s),void(l.connectionId=v.connectionId)}catch(F){if(l._logger.log(tt.Error,`Failed to start the transport '${D.transport}': ${F}`),v=void 0,p.push(new rZe(`${D.transport} failed: ${F}`,Ws[D.transport])),"Connecting"!==l._connectionState){const L="Failed to select transport before stop() was called.";return l._logger.log(tt.Debug,L),Promise.reject(new pu(L))}}}}return Promise.reject(p.length>0?new sZe(`Unable to connect to the server with any of the available transports. ${p.join(" ")}`,p):new Error("None of the transports supported by the client are supported by the server."))})()}_constructTransport(a){switch(a){case Ws.WebSockets:if(!this._options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new DZe(this._httpClient,this._accessTokenFactory,this._logger,this._options.logMessageContent,this._options.WebSocket,this._options.headers||{});case Ws.ServerSentEvents:if(!this._options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new kZe(this._httpClient,this._httpClient._accessToken,this._logger,this._options);case Ws.LongPolling:return new tse(this._httpClient,this._logger,this._options);default:throw new Error(`Unknown transport: ${a}.`)}}_startTransport(a,i){var n=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=this.features.reconnect?function(){var s=qi(function*(l){let d=!1;if(n.features.reconnect){try{n.features.disconnected(),yield n.transport.connect(a,i),yield n.features.resend()}catch{d=!0}d&&n._stopConnection(l)}else n._stopConnection(l)});return function(l){return s.apply(this,arguments)}}():s=>this._stopConnection(s),this.transport.connect(a,i)}_resolveTransportOrError(a,i,n,s){const l=Ws[a.transport];if(null==l)return this._logger.log(tt.Debug,`Skipping transport '${a.transport}' because it is not supported by this client.`),new Error(`Skipping transport '${a.transport}' because it is not supported by this client.`);if(!function IZe(r,a){return!r||0!=(a&r)}(i,l))return this._logger.log(tt.Debug,`Skipping transport '${Ws[l]}' because it was disabled by the client.`),new oZe(`'${Ws[l]}' is disabled by the client.`,l);if(!(a.transferFormats.map(p=>_l[p]).indexOf(n)>=0))return this._logger.log(tt.Debug,`Skipping transport '${Ws[l]}' because it does not support the requested transfer format '${_l[n]}'.`),new Error(`'${Ws[l]}' does not support ${_l[n]}.`);if(l===Ws.WebSockets&&!this._options.WebSocket||l===Ws.ServerSentEvents&&!this._options.EventSource)return this._logger.log(tt.Debug,`Skipping transport '${Ws[l]}' because it is not supported in your environment.'`),new nZe(`'${Ws[l]}' is not supported in your environment.`,l);this._logger.log(tt.Debug,`Selecting transport '${Ws[l]}'.`);try{return this.features.reconnect=l===Ws.WebSockets?s:void 0,this._constructTransport(l)}catch(p){return p}}_isITransport(a){return a&&"object"==typeof a&&"connect"in a}_stopConnection(a){if(this._logger.log(tt.Debug,`HttpConnection.stopConnection(${a}) called while in state ${this._connectionState}.`),this.transport=void 0,a=this._stopError||a,this._stopError=void 0,"Disconnected"!==this._connectionState){if("Connecting"===this._connectionState)throw this._logger.log(tt.Warning,`Call to HttpConnection.stopConnection(${a}) was ignored because the connection is still in the connecting state.`),new Error(`HttpConnection.stopConnection(${a}) was called while the connection is still in the connecting state.`);if("Disconnecting"===this._connectionState&&this._stopPromiseResolver(),a?this._logger.log(tt.Error,`Connection disconnected with error '${a}'.`):this._logger.log(tt.Information,"Connection disconnected."),this._sendQueue&&(this._sendQueue.stop().catch(i=>{this._logger.log(tt.Error,`TransportSendQueue.stop() threw error '${i}'.`)}),this._sendQueue=void 0),this.connectionId=void 0,this._connectionState="Disconnected",this._connectionStarted){this._connectionStarted=!1;try{this.onclose&&this.onclose(a)}catch(i){this._logger.log(tt.Error,`HttpConnection.onclose(${a}) threw error '${i}'.`)}}}else this._logger.log(tt.Debug,`Call to HttpConnection.stopConnection(${a}) was ignored because the connection is already in the disconnected state.`)}_resolveUrl(a){if(0===a.lastIndexOf("https://",0)||0===a.lastIndexOf("http://",0))return a;if(!xr.isBrowser)throw new Error(`Cannot resolve '${a}'.`);const i=window.document.createElement("a");return i.href=a,this._logger.log(tt.Information,`Normalizing '${a}' to '${i.href}'.`),i.href}_resolveNegotiateUrl(a){const i=new URL(a);i.pathname.endsWith("/")?i.pathname+="negotiate":i.pathname+="/negotiate";const n=new URLSearchParams(i.searchParams);return n.has("negotiateVersion")||n.append("negotiateVersion",this._negotiateVersion.toString()),n.has("useStatefulReconnect")?"true"===n.get("useStatefulReconnect")&&(this._options._useStatefulReconnect=!0):!0===this._options._useStatefulReconnect&&n.append("useStatefulReconnect","true"),i.search=n.toString(),i.toString()}}class jj{constructor(a){this._transport=a,this._buffer=[],this._executing=!0,this._sendBufferedData=new V5,this._transportResult=new V5,this._sendLoopPromise=this._sendLoop()}send(a){return this._bufferData(a),this._transportResult||(this._transportResult=new V5),this._transportResult.promise}stop(){return this._executing=!1,this._sendBufferedData.resolve(),this._sendLoopPromise}_bufferData(a){if(this._buffer.length&&typeof this._buffer[0]!=typeof a)throw new Error(`Expected data to be of type ${typeof this._buffer} but was of type ${typeof a}`);this._buffer.push(a),this._sendBufferedData.resolve()}_sendLoop(){var a=this;return qi(function*(){for(;;){if(yield a._sendBufferedData.promise,!a._executing){a._transportResult&&a._transportResult.reject("Connection stopped.");break}a._sendBufferedData=new V5;const i=a._transportResult;a._transportResult=void 0;const n="string"==typeof a._buffer[0]?a._buffer.join(""):jj._concatBuffers(a._buffer);a._buffer.length=0;try{yield a._transport.send(n),i.resolve()}catch(s){i.reject(s)}}})()}static _concatBuffers(a){const i=a.map(l=>l.byteLength).reduce((l,d)=>l+d),n=new Uint8Array(i);let s=0;for(const l of a)n.set(new Uint8Array(l),s),s+=l.byteLength;return n.buffer}}class V5{constructor(){this.promise=new Promise((a,i)=>[this._resolver,this._rejecter]=[a,i])}resolve(){this._resolver()}reject(a){this._rejecter(a)}}class Ic{static write(a){return`${a}${Ic.RecordSeparator}`}static parse(a){if(a[a.length-1]!==Ic.RecordSeparator)throw new Error("Message is incomplete.");const i=a.split(Ic.RecordSeparator);return i.pop(),i}}Ic.RecordSeparatorCode=30,Ic.RecordSeparator=String.fromCharCode(Ic.RecordSeparatorCode);class SZe{writeHandshakeRequest(a){return Ic.write(JSON.stringify(a))}parseHandshakeResponse(a){let i,n;if(bb(a)){const p=new Uint8Array(a),f=p.indexOf(Ic.RecordSeparatorCode);if(-1===f)throw new Error("Message is incomplete.");const v=f+1;i=String.fromCharCode.apply(null,Array.prototype.slice.call(p.slice(0,v))),n=p.byteLength>v?p.slice(v).buffer:null}else{const p=a,f=p.indexOf(Ic.RecordSeparator);if(-1===f)throw new Error("Message is incomplete.");const v=f+1;i=p.substring(0,v),n=p.length>v?p.substring(v):null}const s=Ic.parse(i),l=JSON.parse(s[0]);if(l.type)throw new Error("Expected a handshake response from the server.");return[n,l]}}var Li=function(r){return r[r.Invocation=1]="Invocation",r[r.StreamItem=2]="StreamItem",r[r.Completion=3]="Completion",r[r.StreamInvocation=4]="StreamInvocation",r[r.CancelInvocation=5]="CancelInvocation",r[r.Ping=6]="Ping",r[r.Close=7]="Close",r[r.Ack=8]="Ack",r[r.Sequence=9]="Sequence",r}(Li||{});class TZe{constructor(){this.observers=[]}next(a){for(const i of this.observers)i.next(a)}error(a){for(const i of this.observers)i.error&&i.error(a)}complete(){for(const a of this.observers)a.complete&&a.complete()}subscribe(a){return this.observers.push(a),new dZe(this,a)}}class EZe{constructor(a,i,n){this._bufferSize=1e5,this._messages=[],this._totalMessageCount=0,this._waitForSequenceMessage=!1,this._nextReceivingSequenceId=1,this._latestReceivedSequenceId=0,this._bufferedByteCount=0,this._reconnectInProgress=!1,this._protocol=a,this._connection=i,this._bufferSize=n}_send(a){var i=this;return qi(function*(){const n=i._protocol.writeMessage(a);let s=Promise.resolve();if(i._isInvocationMessage(a)){i._totalMessageCount++;let l=()=>{},d=()=>{};bb(n)?i._bufferedByteCount+=n.byteLength:i._bufferedByteCount+=n.length,i._bufferedByteCount>=i._bufferSize&&(s=new Promise((p,f)=>{l=p,d=f})),i._messages.push(new MZe(n,i._totalMessageCount,l,d))}try{i._reconnectInProgress||(yield i._connection.send(n))}catch{i._disconnected()}yield s})()}_ack(a){let i=-1;for(let n=0;nthis._nextReceivingSequenceId?this._connection.stop(new Error("Sequence ID greater than amount of messages we've received.")):this._nextReceivingSequenceId=a.sequenceId}_disconnected(){this._reconnectInProgress=!0,this._waitForSequenceMessage=!0}_resend(){var a=this;return qi(function*(){const i=0!==a._messages.length?a._messages[0]._id:a._totalMessageCount+1;yield a._connection.send(a._protocol.writeMessage({type:Li.Sequence,sequenceId:i}));const n=a._messages;for(const s of n)yield a._connection.send(s._message);a._reconnectInProgress=!1})()}_dispose(a){a??(a=new Error("Unable to reconnect to server."));for(const i of this._messages)i._rejector(a)}_isInvocationMessage(a){switch(a.type){case Li.Invocation:case Li.StreamItem:case Li.Completion:case Li.StreamInvocation:case Li.CancelInvocation:return!0;case Li.Close:case Li.Sequence:case Li.Ping:case Li.Ack:return!1}}_ackTimer(){var a=this;void 0===this._ackTimerHandle&&(this._ackTimerHandle=setTimeout(qi(function*(){try{a._reconnectInProgress||(yield a._connection.send(a._protocol.writeMessage({type:Li.Ack,sequenceId:a._latestReceivedSequenceId})))}catch{}clearTimeout(a._ackTimerHandle),a._ackTimerHandle=void 0}),1e3))}}class MZe{constructor(a,i,n,s){this._message=a,this._id=i,this._resolver=n,this._rejector=s}}var kr=function(r){return r.Disconnected="Disconnected",r.Connecting="Connecting",r.Connected="Connected",r.Disconnecting="Disconnecting",r.Reconnecting="Reconnecting",r}(kr||{});class $j{static create(a,i,n,s,l,d,p){return new $j(a,i,n,s,l,d,p)}constructor(a,i,n,s,l,d,p){this._nextKeepAlive=0,this._freezeEventListener=()=>{this._logger.log(tt.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep")},ps.isRequired(a,"connection"),ps.isRequired(i,"logger"),ps.isRequired(n,"protocol"),this.serverTimeoutInMilliseconds=l??3e4,this.keepAliveIntervalInMilliseconds=d??15e3,this._statefulReconnectBufferSize=p??1e5,this._logger=i,this._protocol=n,this.connection=a,this._reconnectPolicy=s,this._handshakeProtocol=new SZe,this.connection.onreceive=f=>this._processIncomingData(f),this.connection.onclose=f=>this._connectionClosed(f),this._callbacks={},this._methods={},this._closedCallbacks=[],this._reconnectingCallbacks=[],this._reconnectedCallbacks=[],this._invocationId=0,this._receivedHandshakeResponse=!1,this._connectionState=kr.Disconnected,this._connectionStarted=!1,this._cachedPingMessage=this._protocol.writeMessage({type:Li.Ping})}get state(){return this._connectionState}get connectionId(){return this.connection&&this.connection.connectionId||null}get baseUrl(){return this.connection.baseUrl||""}set baseUrl(a){if(this._connectionState!==kr.Disconnected&&this._connectionState!==kr.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!a)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=a}start(){return this._startPromise=this._startWithStateTransitions(),this._startPromise}_startWithStateTransitions(){var a=this;return qi(function*(){if(a._connectionState!==kr.Disconnected)return Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."));a._connectionState=kr.Connecting,a._logger.log(tt.Debug,"Starting HubConnection.");try{yield a._startInternal(),xr.isBrowser&&window.document.addEventListener("freeze",a._freezeEventListener),a._connectionState=kr.Connected,a._connectionStarted=!0,a._logger.log(tt.Debug,"HubConnection connected successfully.")}catch(i){return a._connectionState=kr.Disconnected,a._logger.log(tt.Debug,`HubConnection failed to start successfully because of error '${i}'.`),Promise.reject(i)}})()}_startInternal(){var a=this;return qi(function*(){a._stopDuringStartError=void 0,a._receivedHandshakeResponse=!1;const i=new Promise((n,s)=>{a._handshakeResolver=n,a._handshakeRejecter=s});yield a.connection.start(a._protocol.transferFormat);try{let n=a._protocol.version;a.connection.features.reconnect||(n=1);const s={protocol:a._protocol.name,version:n};if(a._logger.log(tt.Debug,"Sending handshake request."),yield a._sendMessage(a._handshakeProtocol.writeHandshakeRequest(s)),a._logger.log(tt.Information,`Using HubProtocol '${a._protocol.name}'.`),a._cleanupTimeout(),a._resetTimeoutPeriod(),a._resetKeepAliveInterval(),yield i,a._stopDuringStartError)throw a._stopDuringStartError;!!a.connection.features.reconnect&&(a._messageBuffer=new EZe(a._protocol,a.connection,a._statefulReconnectBufferSize),a.connection.features.disconnected=a._messageBuffer._disconnected.bind(a._messageBuffer),a.connection.features.resend=()=>{if(a._messageBuffer)return a._messageBuffer._resend()}),a.connection.features.inherentKeepAlive||(yield a._sendMessage(a._cachedPingMessage))}catch(n){throw a._logger.log(tt.Debug,`Hub handshake failed with error '${n}' during start(). Stopping HubConnection.`),a._cleanupTimeout(),a._cleanupPingTimer(),yield a.connection.stop(n),n}})()}stop(){var a=this;return qi(function*(){const i=a._startPromise;a.connection.features.reconnect=!1,a._stopPromise=a._stopInternal(),yield a._stopPromise;try{yield i}catch{}})()}_stopInternal(a){if(this._connectionState===kr.Disconnected)return this._logger.log(tt.Debug,`Call to HubConnection.stop(${a}) ignored because it is already in the disconnected state.`),Promise.resolve();if(this._connectionState===kr.Disconnecting)return this._logger.log(tt.Debug,`Call to HttpConnection.stop(${a}) ignored because the connection is already in the disconnecting state.`),this._stopPromise;const i=this._connectionState;return this._connectionState=kr.Disconnecting,this._logger.log(tt.Debug,"Stopping HubConnection."),this._reconnectDelayHandle?(this._logger.log(tt.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this._reconnectDelayHandle),this._reconnectDelayHandle=void 0,this._completeClose(),Promise.resolve()):(i===kr.Connected&&this._sendCloseMessage(),this._cleanupTimeout(),this._cleanupPingTimer(),this._stopDuringStartError=a||new pu("The connection was stopped before the hub handshake could complete."),this.connection.stop(a))}_sendCloseMessage(){var a=this;return qi(function*(){try{yield a._sendWithProtocol(a._createCloseMessage())}catch{}})()}stream(a,...i){const[n,s]=this._replaceStreamingParams(i),l=this._createStreamInvocation(a,i,s);let d;const p=new TZe;return p.cancelCallback=()=>{const f=this._createCancelInvocation(l.invocationId);return delete this._callbacks[l.invocationId],d.then(()=>this._sendWithProtocol(f))},this._callbacks[l.invocationId]=(f,v)=>{v?p.error(v):f&&(f.type===Li.Completion?f.error?p.error(new Error(f.error)):p.complete():p.next(f.item))},d=this._sendWithProtocol(l).catch(f=>{p.error(f),delete this._callbacks[l.invocationId]}),this._launchStreams(n,d),p}_sendMessage(a){return this._resetKeepAliveInterval(),this.connection.send(a)}_sendWithProtocol(a){return this._messageBuffer?this._messageBuffer._send(a):this._sendMessage(this._protocol.writeMessage(a))}send(a,...i){const[n,s]=this._replaceStreamingParams(i),l=this._sendWithProtocol(this._createInvocation(a,i,!0,s));return this._launchStreams(n,l),l}invoke(a,...i){const[n,s]=this._replaceStreamingParams(i),l=this._createInvocation(a,i,!1,s);return new Promise((p,f)=>{this._callbacks[l.invocationId]=(D,E)=>{E?f(E):D&&(D.type===Li.Completion?D.error?f(new Error(D.error)):p(D.result):f(new Error(`Unexpected message type: ${D.type}`)))};const v=this._sendWithProtocol(l).catch(D=>{f(D),delete this._callbacks[l.invocationId]});this._launchStreams(n,v)})}on(a,i){!a||!i||(a=a.toLowerCase(),this._methods[a]||(this._methods[a]=[]),-1===this._methods[a].indexOf(i)&&this._methods[a].push(i))}off(a,i){if(!a)return;a=a.toLowerCase();const n=this._methods[a];if(n)if(i){const s=n.indexOf(i);-1!==s&&(n.splice(s,1),0===n.length&&delete this._methods[a])}else delete this._methods[a]}onclose(a){a&&this._closedCallbacks.push(a)}onreconnecting(a){a&&this._reconnectingCallbacks.push(a)}onreconnected(a){a&&this._reconnectedCallbacks.push(a)}_processIncomingData(a){if(this._cleanupTimeout(),this._receivedHandshakeResponse||(a=this._processHandshakeResponse(a),this._receivedHandshakeResponse=!0),a){const i=this._protocol.parseMessages(a,this._logger);for(const n of i)if(!this._messageBuffer||this._messageBuffer._shouldProcessMessage(n))switch(n.type){case Li.Invocation:this._invokeClientMethod(n);break;case Li.StreamItem:case Li.Completion:{const s=this._callbacks[n.invocationId];if(s){n.type===Li.Completion&&delete this._callbacks[n.invocationId];try{s(n)}catch(l){this._logger.log(tt.Error,`Stream callback threw error: ${Jre(l)}`)}}break}case Li.Ping:break;case Li.Close:{this._logger.log(tt.Information,"Close message received from server.");const s=n.error?new Error("Server returned an error on close: "+n.error):void 0;!0===n.allowReconnect?this.connection.stop(s):this._stopPromise=this._stopInternal(s);break}case Li.Ack:this._messageBuffer&&this._messageBuffer._ack(n);break;case Li.Sequence:this._messageBuffer&&this._messageBuffer._resetSequence(n);break;default:this._logger.log(tt.Warning,`Invalid message type: ${n.type}.`)}}this._resetTimeoutPeriod()}_processHandshakeResponse(a){let i,n;try{[n,i]=this._handshakeProtocol.parseHandshakeResponse(a)}catch(s){const l="Error parsing handshake response: "+s;this._logger.log(tt.Error,l);const d=new Error(l);throw this._handshakeRejecter(d),d}if(i.error){const s="Server returned handshake error: "+i.error;this._logger.log(tt.Error,s);const l=new Error(s);throw this._handshakeRejecter(l),l}return this._logger.log(tt.Debug,"Server handshake complete."),this._handshakeResolver(),n}_resetKeepAliveInterval(){this.connection.features.inherentKeepAlive||(this._nextKeepAlive=(new Date).getTime()+this.keepAliveIntervalInMilliseconds,this._cleanupPingTimer())}_resetTimeoutPeriod(){var a=this;if(!(this.connection.features&&this.connection.features.inherentKeepAlive||(this._timeoutHandle=setTimeout(()=>this.serverTimeout(),this.serverTimeoutInMilliseconds),void 0!==this._pingServerHandle))){let i=this._nextKeepAlive-(new Date).getTime();i<0&&(i=0),this._pingServerHandle=setTimeout(qi(function*(){if(a._connectionState===kr.Connected)try{yield a._sendMessage(a._cachedPingMessage)}catch{a._cleanupPingTimer()}}),i)}}serverTimeout(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))}_invokeClientMethod(a){var i=this;return qi(function*(){const n=a.target.toLowerCase(),s=i._methods[n];if(!s)return i._logger.log(tt.Warning,`No client method with the name '${n}' found.`),void(a.invocationId&&(i._logger.log(tt.Warning,`No result given for '${n}' method and invocation ID '${a.invocationId}'.`),yield i._sendWithProtocol(i._createCompletionMessage(a.invocationId,"Client didn't provide a result.",null))));const l=s.slice(),d=!!a.invocationId;let p,f,v;for(const D of l)try{const E=p;p=yield D.apply(i,a.arguments),d&&p&&E&&(i._logger.log(tt.Error,`Multiple results provided for '${n}'. Sending error to server.`),v=i._createCompletionMessage(a.invocationId,"Client provided multiple results.",null)),f=void 0}catch(E){f=E,i._logger.log(tt.Error,`A callback for the method '${n}' threw error '${E}'.`)}v?yield i._sendWithProtocol(v):d?(f?v=i._createCompletionMessage(a.invocationId,`${f}`,null):void 0!==p?v=i._createCompletionMessage(a.invocationId,null,p):(i._logger.log(tt.Warning,`No result given for '${n}' method and invocation ID '${a.invocationId}'.`),v=i._createCompletionMessage(a.invocationId,"Client didn't provide a result.",null)),yield i._sendWithProtocol(v)):p&&i._logger.log(tt.Error,`Result given for '${n}' method but server is not expecting a result.`)})()}_connectionClosed(a){this._logger.log(tt.Debug,`HubConnection.connectionClosed(${a}) called while in state ${this._connectionState}.`),this._stopDuringStartError=this._stopDuringStartError||a||new pu("The underlying connection was closed before the hub handshake could complete."),this._handshakeResolver&&this._handshakeResolver(),this._cancelCallbacksWithError(a||new Error("Invocation canceled due to the underlying connection being closed.")),this._cleanupTimeout(),this._cleanupPingTimer(),this._connectionState===kr.Disconnecting?this._completeClose(a):this._connectionState===kr.Connected&&this._reconnectPolicy?this._reconnect(a):this._connectionState===kr.Connected&&this._completeClose(a)}_completeClose(a){if(this._connectionStarted){this._connectionState=kr.Disconnected,this._connectionStarted=!1,this._messageBuffer&&(this._messageBuffer._dispose(a??new Error("Connection closed.")),this._messageBuffer=void 0),xr.isBrowser&&window.document.removeEventListener("freeze",this._freezeEventListener);try{this._closedCallbacks.forEach(i=>i.apply(this,[a]))}catch(i){this._logger.log(tt.Error,`An onclose callback called with error '${a}' threw error '${i}'.`)}}}_reconnect(a){var i=this;return qi(function*(){const n=Date.now();let s=0,l=void 0!==a?a:new Error("Attempting to reconnect due to a unknown error."),d=i._getNextRetryDelay(s++,0,l);if(null===d)return i._logger.log(tt.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),void i._completeClose(a);if(i._connectionState=kr.Reconnecting,i._logger.log(tt.Information,a?`Connection reconnecting because of error '${a}'.`:"Connection reconnecting."),0!==i._reconnectingCallbacks.length){try{i._reconnectingCallbacks.forEach(p=>p.apply(i,[a]))}catch(p){i._logger.log(tt.Error,`An onreconnecting callback called with error '${a}' threw error '${p}'.`)}if(i._connectionState!==kr.Reconnecting)return void i._logger.log(tt.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.")}for(;null!==d;){if(i._logger.log(tt.Information,`Reconnect attempt number ${s} will start in ${d} ms.`),yield new Promise(p=>{i._reconnectDelayHandle=setTimeout(p,d)}),i._reconnectDelayHandle=void 0,i._connectionState!==kr.Reconnecting)return void i._logger.log(tt.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting.");try{if(yield i._startInternal(),i._connectionState=kr.Connected,i._logger.log(tt.Information,"HubConnection reconnected successfully."),0!==i._reconnectedCallbacks.length)try{i._reconnectedCallbacks.forEach(p=>p.apply(i,[i.connection.connectionId]))}catch(p){i._logger.log(tt.Error,`An onreconnected callback called with connectionId '${i.connection.connectionId}; threw error '${p}'.`)}return}catch(p){if(i._logger.log(tt.Information,`Reconnect attempt failed because of error '${p}'.`),i._connectionState!==kr.Reconnecting)return i._logger.log(tt.Debug,`Connection moved to the '${i._connectionState}' from the reconnecting state during reconnect attempt. Done reconnecting.`),void(i._connectionState===kr.Disconnecting&&i._completeClose());l=p instanceof Error?p:new Error(p.toString()),d=i._getNextRetryDelay(s++,Date.now()-n,l)}}i._logger.log(tt.Information,`Reconnect retries have been exhausted after ${Date.now()-n} ms and ${s} failed attempts. Connection disconnecting.`),i._completeClose()})()}_getNextRetryDelay(a,i,n){try{return this._reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:i,previousRetryCount:a,retryReason:n})}catch(s){return this._logger.log(tt.Error,`IRetryPolicy.nextRetryDelayInMilliseconds(${a}, ${i}) threw error '${s}'.`),null}}_cancelCallbacksWithError(a){const i=this._callbacks;this._callbacks={},Object.keys(i).forEach(n=>{const s=i[n];try{s(null,a)}catch(l){this._logger.log(tt.Error,`Stream 'error' callback called with '${a}' threw error: ${Jre(l)}`)}})}_cleanupPingTimer(){this._pingServerHandle&&(clearTimeout(this._pingServerHandle),this._pingServerHandle=void 0)}_cleanupTimeout(){this._timeoutHandle&&clearTimeout(this._timeoutHandle)}_createInvocation(a,i,n,s){if(n)return 0!==s.length?{arguments:i,streamIds:s,target:a,type:Li.Invocation}:{arguments:i,target:a,type:Li.Invocation};{const l=this._invocationId;return this._invocationId++,0!==s.length?{arguments:i,invocationId:l.toString(),streamIds:s,target:a,type:Li.Invocation}:{arguments:i,invocationId:l.toString(),target:a,type:Li.Invocation}}}_launchStreams(a,i){if(0!==a.length){i||(i=Promise.resolve());for(const n in a)a[n].subscribe({complete:()=>{i=i.then(()=>this._sendWithProtocol(this._createCompletionMessage(n)))},error:s=>{let l;l=s instanceof Error?s.message:s&&s.toString?s.toString():"Unknown error",i=i.then(()=>this._sendWithProtocol(this._createCompletionMessage(n,l)))},next:s=>{i=i.then(()=>this._sendWithProtocol(this._createStreamItemMessage(n,s)))}})}}_replaceStreamingParams(a){const i=[],n=[];for(let s=0;s0?s+" n\u1eefa":s+" tr\u01b0\u1edbc":s},formatLong:WZe,formatRelative:function(a,i,n,s){return KZe[a]},localize:{ordinalNumber:function(a,i){var n=Number(a),s=i?.unit;if("quarter"===s)switch(n){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if("day"===s)switch(n){case 1:return"th\u1ee9 2";case 2:return"th\u1ee9 3";case 3:return"th\u1ee9 4";case 4:return"th\u1ee9 5";case 5:return"th\u1ee9 6";case 6:return"th\u1ee9 7";case 7:return"ch\u1ee7 nh\u1eadt"}else{if("week"===s)return 1===n?"th\u1ee9 nh\u1ea5t":"th\u1ee9 "+n;if("dayOfYear"===s)return 1===n?"\u0111\u1ea7u ti\xean":"th\u1ee9 "+n}return String(n)},era:qu({values:{narrow:["TCN","SCN"],abbreviated:["tr\u01b0\u1edbc CN","sau CN"],wide:["tr\u01b0\u1edbc C\xf4ng Nguy\xean","sau C\xf4ng Nguy\xean"]},defaultWidth:"wide"}),quarter:qu({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Qu\xfd 1","Qu\xfd 2","Qu\xfd 3","Qu\xfd 4"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["qu\xfd I","qu\xfd II","qu\xfd III","qu\xfd IV"]},defaultFormattingWidth:"wide",argumentCallback:function(a){return a-1}}),month:qu({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Th\xe1ng M\u1ed9t","Th\xe1ng Hai","Th\xe1ng Ba","Th\xe1ng T\u01b0","Th\xe1ng N\u0103m","Th\xe1ng S\xe1u","Th\xe1ng B\u1ea3y","Th\xe1ng T\xe1m","Th\xe1ng Ch\xedn","Th\xe1ng M\u01b0\u1eddi","Th\xe1ng M\u01b0\u1eddi M\u1ed9t","Th\xe1ng M\u01b0\u1eddi Hai"]},defaultWidth:"wide",formattingValues:{narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["th\xe1ng 01","th\xe1ng 02","th\xe1ng 03","th\xe1ng 04","th\xe1ng 05","th\xe1ng 06","th\xe1ng 07","th\xe1ng 08","th\xe1ng 09","th\xe1ng 10","th\xe1ng 11","th\xe1ng 12"]},defaultFormattingWidth:"wide"}),day:qu({values:{narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Th\u1ee9 2","Th\u1ee9 3","Th\u1ee9 4","Th\u1ee9 5","Th\u1ee9 6","Th\u1ee9 7"],wide:["Ch\u1ee7 Nh\u1eadt","Th\u1ee9 Hai","Th\u1ee9 Ba","Th\u1ee9 T\u01b0","Th\u1ee9 N\u0103m","Th\u1ee9 S\xe1u","Th\u1ee9 B\u1ea3y"]},defaultWidth:"wide"}),dayPeriod:qu({values:{narrow:{am:"am",pm:"pm",midnight:"n\u1eeda \u0111\xeam",noon:"tr",morning:"sg",afternoon:"ch",evening:"t\u1ed1i",night:"\u0111\xeam"},abbreviated:{am:"AM",pm:"PM",midnight:"n\u1eeda \u0111\xeam",noon:"tr\u01b0a",morning:"s\xe1ng",afternoon:"chi\u1ec1u",evening:"t\u1ed1i",night:"\u0111\xeam"},wide:{am:"SA",pm:"CH",midnight:"n\u1eeda \u0111\xeam",noon:"tr\u01b0a",morning:"s\xe1ng",afternoon:"chi\u1ec1u",evening:"t\u1ed1i",night:"\u0111\xeam"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"n\u1eeda \u0111\xeam",noon:"tr",morning:"sg",afternoon:"ch",evening:"t\u1ed1i",night:"\u0111\xeam"},abbreviated:{am:"AM",pm:"PM",midnight:"n\u1eeda \u0111\xeam",noon:"tr\u01b0a",morning:"s\xe1ng",afternoon:"chi\u1ec1u",evening:"t\u1ed1i",night:"\u0111\xeam"},wide:{am:"SA",pm:"CH",midnight:"n\u1eeda \u0111\xeam",noon:"gi\u1eefa tr\u01b0a",morning:"v\xe0o bu\u1ed5i s\xe1ng",afternoon:"v\xe0o bu\u1ed5i chi\u1ec1u",evening:"v\xe0o bu\u1ed5i t\u1ed1i",night:"v\xe0o ban \u0111\xeam"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:gQ({matchPattern:/^(\d+)/i,parsePattern:/\d+/i,valueCallback:function(a){return parseInt(a,10)}}),era:Ku({matchPatterns:{narrow:/^(tcn|scn)/i,abbreviated:/^(tr\u01b0\u1edbc CN|sau CN)/i,wide:/^(tr\u01b0\u1edbc C\xf4ng Nguy\xean|sau C\xf4ng Nguy\xean)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^t/i,/^s/i]},defaultParseWidth:"any"}),quarter:Ku({matchPatterns:{narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^qu\xfd ([1234]|i{1,3}v?)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:Ku({matchPatterns:{narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^th\xe1ng ?(M\u1ed9t|Hai|Ba|T\u01b0|N\u0103m|S\xe1u|B\u1ea3y|T\xe1m|Ch\xedn|M\u01b0\u1eddi|M\u01b0\u1eddi ?M\u1ed9t|M\u01b0\u1eddi ?Hai|0?[1-9](?!\d)|10|11|12)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^th\xe1ng ?(M\u1ed9t|0?1(?!\d))/i,/^th\xe1ng ?(Hai|0?2)/i,/^th\xe1ng ?(Ba|0?3)/i,/^th\xe1ng ?(T\u01b0|0?4)/i,/^th\xe1ng ?(N\u0103m|0?5)/i,/^th\xe1ng ?(S\xe1u|0?6)/i,/^th\xe1ng ?(B\u1ea3y|0?7)/i,/^th\xe1ng ?(T\xe1m|0?8)/i,/^th\xe1ng ?(Ch\xedn|0?9)/i,/^th\xe1ng ?(M\u01b0\u1eddi|10)/i,/^th\xe1ng ?(M\u01b0\u1eddi ?M\u1ed9t|11)/i,/^th\xe1ng ?(M\u01b0\u1eddi ?Hai|12)/i]},defaultParseWidth:"wide"}),day:Ku({matchPatterns:{narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Ch\u1ee7 ?Nh\u1eadt|Ch\xfaa ?Nh\u1eadt|th\u1ee9 ?Hai|th\u1ee9 ?Ba|th\u1ee9 ?T\u01b0|th\u1ee9 ?N\u0103m|th\u1ee9 ?S\xe1u|th\u1ee9 ?B\u1ea3y)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Ch\u1ee7|Ch\xfaa) ?Nh\u1eadt/i,/Hai/i,/Ba/i,/T\u01b0/i,/N\u0103m/i,/S\xe1u/i,/B\u1ea3y/i]},defaultParseWidth:"wide"}),dayPeriod:Ku({matchPatterns:{narrow:/^(a|p|n\u1eeda \u0111\xeam|tr\u01b0a|(gi\u1edd) (s\xe1ng|chi\u1ec1u|t\u1ed1i|\u0111\xeam))/i,abbreviated:/^(am|pm|n\u1eeda \u0111\xeam|tr\u01b0a|(gi\u1edd) (s\xe1ng|chi\u1ec1u|t\u1ed1i|\u0111\xeam))/i,wide:/^(ch[^i]*|sa|n\u1eeda \u0111\xeam|tr\u01b0a|(gi\u1edd) (s\xe1ng|chi\u1ec1u|t\u1ed1i|\u0111\xeam))/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/n\u1eeda \u0111\xeam/i,noon:/tr\u01b0a/i,morning:/s\xe1ng/i,afternoon:/chi\u1ec1u/i,evening:/t\u1ed1i/i,night:/^\u0111\xeam/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},wJe=["mat-menu-item",""];function xJe(r,a){1&r&&(mr(),C(0,"svg",3),Q(1,"polygon",4),k())}const kJe=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],DJe=["mat-icon, [matMenuItemIcon]","*"];function AJe(r,a){if(1&r){const i=ce();C(0,"div",0),B("keydown",function(s){return z(i),H(S()._handleKeydown(s))})("click",function(){return z(i),H(S().closed.emit("click"))})("@transformMenu.start",function(s){return z(i),H(S()._onAnimationStart(s))})("@transformMenu.done",function(s){return z(i),H(S()._onAnimationDone(s))}),C(1,"div",1),Ie(2),k()()}if(2&r){const i=S();x("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),ge("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}const IJe=["*"],Wj=new $e("MAT_MENU_PANEL"),SJe=Om(Vp(class{}));let yb=(()=>{class r extends SJe{constructor(i,n,s,l,d){super(),this._elementRef=i,this._document=n,this._focusMonitor=s,this._parentMenu=l,this._changeDetectorRef=d,this.role="menuitem",this._hovered=new Ge,this._focused=new Ge,this._highlighted=!1,this._triggersSubmenu=!1,l?.addItem?.(this)}focus(i,n){this._focusMonitor&&i?this._focusMonitor.focusVia(this._getHostElement(),i,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s enter",Di("120ms cubic-bezier(0, 0, 0.2, 1)",gt({opacity:1,transform:"scale(1)"}))),Fi("* => void",Di("100ms 25ms linear",gt({opacity:0})))]),fadeInItems:hr("fadeInItems",[yn("showing",gt({opacity:1})),Fi("void => *",[gt({opacity:0}),Di("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let EJe=0;const nse=new $e("mat-menu-default-options",{providedIn:"root",factory:function MJe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let HS=(()=>{class r{get xPosition(){return this._xPosition}set xPosition(i){this._xPosition=i,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(i){this._yPosition=i,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(i){this._overlapTrigger=Et(i)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(i){this._hasBackdrop=Et(i)}set panelClass(i){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=i,i&&i.length&&(i.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(i){this.panelClass=i}constructor(i,n,s,l){this._elementRef=i,this._ngZone=n,this._changeDetectorRef=l,this._directDescendantItems=new zo,this._classList={},this._panelAnimationState="void",this._animationDone=new Ge,this.closed=new X,this.close=this.closed,this.panelId="mat-menu-panel-"+EJe++,this.overlayPanelClass=s.overlayPanelClass||"",this._xPosition=s.xPosition,this._yPosition=s.yPosition,this.backdropClass=s.backdropClass,this._overlapTrigger=s.overlapTrigger,this._hasBackdrop=s.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new D3(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(go(this._directDescendantItems),Jn(i=>rn(...i.map(n=>n._focused)))).subscribe(i=>this._keyManager.updateActiveItem(i)),this._directDescendantItems.changes.subscribe(i=>{const n=this._keyManager;if("enter"===this._panelAnimationState&&n.activeItem?._hasFocus()){const s=i.toArray(),l=Math.max(0,Math.min(s.length-1,n.activeItemIndex||0));s[l]&&!s[l].disabled?n.setActiveItem(l):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(go(this._directDescendantItems),Jn(n=>rn(...n.map(s=>s._hovered))))}addItem(i){}removeItem(i){}_handleKeydown(i){const n=i.keyCode,s=this._keyManager;switch(n){case 27:Nr(i)||(i.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===n||40===n)&&s.setFocusOrigin("keyboard"),void s.onKeydown(i)}i.stopPropagation()}focusFirstItem(i="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(An(1)).subscribe(()=>{let n=null;if(this._directDescendantItems.length&&(n=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!n||!n.contains(document.activeElement)){const s=this._keyManager;s.setFocusOrigin(i).setFirstItemActive(),!s.activeItem&&n&&n.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(i){const n=Math.min(this._baseElevation+i,24),s=`${this._elevationPrefix}${n}`,l=Object.keys(this._classList).find(d=>d.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(i=this.xPosition,n=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===i,s["mat-menu-after"]="after"===i,s["mat-menu-above"]="above"===n,s["mat-menu-below"]="below"===n,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(i){this._animationDone.next(i),this._isAnimating=!1}_onAnimationStart(i){this._isAnimating=!0,"enter"===i.toState&&0===this._keyManager.activeItemIndex&&(i.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(go(this._allItems)).subscribe(i=>{this._directDescendantItems.reset(i.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et),T(nse),T(rt))};static#t=this.\u0275dir=re({type:r,contentQueries:function(n,s,l){if(1&n&&(Fe(l,TJe,5),Fe(l,yb,5),Fe(l,yb,4)),2&n){let d;G(d=j())&&(s.lazyContent=d.first),G(d=j())&&(s._allItems=d),G(d=j())&&(s.items=d)}},viewQuery:function(n,s){if(1&n&&oe(je,5),2&n){let l;G(l=j())&&(s.templateRef=l.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}return r})(),H5=(()=>{class r extends HS{constructor(i,n,s,l){super(i,n,s,l),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et),T(nse),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(n,s){2&n&&ge("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ye([{provide:Wj,useExisting:r}]),Ae],ngContentSelectors:IJe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(n,s){1&n&&(pt(),I(0,AJe,3,6,"ng-template"))},dependencies:[Xt],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[z5.transformMenu,z5.fadeInItems]},changeDetection:0})}return r})();const ose=new $e("mat-menu-scroll-strategy"),PJe={provide:ose,deps:[_a],useFactory:function RJe(r){return()=>r.scrollStrategies.reposition()}},rse=eu({passive:!0});let OJe=(()=>{class r{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(i){this.menu=i}get menu(){return this._menu}set menu(i){i!==this._menu&&(this._menu=i,this._menuCloseSubscription.unsubscribe(),i&&(this._menuCloseSubscription=i.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(i,n,s,l,d,p,f,v,D){this._overlay=i,this._element=n,this._viewContainerRef=s,this._menuItemInstance=p,this._dir=f,this._focusMonitor=v,this._ngZone=D,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Ce.EMPTY,this._hoverSubscription=Ce.EMPTY,this._menuCloseSubscription=Ce.EMPTY,this._changeDetectorRef=st(rt),this._handleTouchStart=E=>{W6(E)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new X,this.onMenuOpen=this.menuOpened,this.menuClosed=new X,this.onMenuClose=this.menuClosed,this._scrollStrategy=l,this._parentMaterialMenu=d instanceof HS?d:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,rse)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,rse),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const i=this.menu;if(this._menuOpen||!i)return;const n=this._createOverlay(i),s=n.getConfig(),l=s.positionStrategy;this._setPosition(i,l),s.hasBackdrop=null==i.hasBackdrop?!this.triggersSubmenu():i.hasBackdrop,n.attach(this._getPortal(i)),i.lazyContent&&i.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(i),i instanceof HS&&(i._startAnimation(),i._directDescendantItems.changes.pipe(xe(i.close)).subscribe(()=>{l.withLockedPosition(!1).reapplyLastPosition(),l.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(i,n){this._focusMonitor&&i?this._focusMonitor.focusVia(this._element,i,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(i){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===i||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof HS?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(xi(s=>"void"===s.toState),An(1),xe(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n?.lazyContent?.detach())}_initMenu(i){i.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,i.direction=this.dir,this._setMenuElevation(i),i.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(i){if(i.setElevation){let n=0,s=i.parentMenu;for(;s;)n++,s=s.parentMenu;i.setElevation(n)}}_setIsMenuOpen(i){i!==this._menuOpen&&(this._menuOpen=i,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(i),this._changeDetectorRef.markForCheck())}_createOverlay(i){if(!this._overlayRef){const n=this._getOverlayConfig(i);this._subscribeToPositions(i,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(i){return new JC({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:i.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:i.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(i,n){i.setPositionClasses&&n.positionChanges.subscribe(s=>{const l="start"===s.connectionPair.overlayX?"after":"before",d="top"===s.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>i.setPositionClasses(l,d)):i.setPositionClasses(l,d)})}_setPosition(i,n){let[s,l]="before"===i.xPosition?["end","start"]:["start","end"],[d,p]="above"===i.yPosition?["bottom","top"]:["top","bottom"],[f,v]=[d,p],[D,E]=[s,l],F=0;if(this.triggersSubmenu()){if(E=s="before"===i.xPosition?"start":"end",l=D="end"===s?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const L=this._parentMaterialMenu.items.first;this._parentInnerPadding=L?L._getHostElement().offsetTop:0}F="bottom"===d?this._parentInnerPadding:-this._parentInnerPadding}}else i.overlapTrigger||(f="top"===d?"bottom":"top",v="top"===p?"bottom":"top");n.withPositions([{originX:s,originY:f,overlayX:D,overlayY:d,offsetY:F},{originX:l,originY:f,overlayX:E,overlayY:d,offsetY:F},{originX:s,originY:v,overlayX:D,overlayY:p,offsetY:-F},{originX:l,originY:v,overlayX:E,overlayY:p,offsetY:-F}])}_menuClosingActions(){const i=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return rn(i,this._parentMaterialMenu?this._parentMaterialMenu.closed:Dt(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(xi(d=>d!==this._menuItemInstance),xi(()=>this._menuOpen)):Dt(),n)}_handleMousedown(i){U6(i)||(this._openedBy=0===i.button?"mouse":void 0,this.triggersSubmenu()&&i.preventDefault())}_handleKeydown(i){const n=i.keyCode;(13===n||32===n)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===n&&"ltr"===this.dir||37===n&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(i){this.triggersSubmenu()?(i.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(xi(i=>i===this._menuItemInstance&&!i.disabled),Vj(0,Y6)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof HS&&this.menu._isAnimating?this.menu._animationDone.pipe(An(1),Vj(0,Y6),xe(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(i){return(!this._portal||this._portal.templateRef!==i.templateRef)&&(this._portal=new XC(i.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(n){return new(n||r)(T(_a),T(ke),T(ei),T(ose),T(Wj,8),T(yb,10),T(Yr,8),T(al),T(et))};static#t=this.\u0275dir=re({type:r,hostVars:3,hostBindings:function(n,s){1&n&&B("click",function(d){return s._handleClick(d)})("mousedown",function(d){return s._handleMousedown(d)})("keydown",function(d){return s._handleKeydown(d)}),2&n&&ge("aria-haspopup",s.menu?"menu":null)("aria-expanded",s.menuOpen)("aria-controls",s.menuOpen?s.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}return r})(),G5=(()=>{class r extends OJe{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[Ae]})}return r})(),FJe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[PJe],imports:[Gs,Hp,Ai,Pm,kv,Ai]})}return r})();function ase(r,a=new Set){const i=[r],n=new Set;let s=0;for(;i.length>s;){const l=i[s++];if(!n.has(l)&&LJe(l)&&!a.has(l))if(n.add(l),Symbol.iterator in l)try{for(const d of l)i.push(d)}catch{}else for(const d in l)"defaultValue"!==d&&i.push(l[d])}return n}function LJe(r){const a=Object.prototype.toString.call(r),i=typeof r;return!("number"===i||"boolean"===i||"string"===i||"symbol"===i||"function"===i||"[object Date]"===a||"[object RegExp]"===a||"[object Module]"===a||null==r||r._watchdogExcluded||r instanceof EventTarget||r instanceof Event)}Symbol("MainQueueId");class zJe{constructor(a){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof a.crashNumberLimit?a.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof a.minimumNonErrorTimePeriod?a.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=i=>{const n="error"in i?i.error:i.reason;n instanceof Error&&this._handleError(n,i)},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(a,i){this._listeners[a]||(this._listeners[a]=[]),this._listeners[a].push(i)}off(a,i){this._listeners[a]=this._listeners[a].filter(n=>n!==i)}_fire(a,...i){const n=this._listeners[a]||[];for(const s of n)s.apply(this,[null,...i])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(a,i){if(this._shouldReactToError(a)){this.crashes.push({message:a.message,stack:a.stack,filename:i instanceof ErrorEvent?i.filename:void 0,lineno:i instanceof ErrorEvent?i.lineno:void 0,colno:i instanceof ErrorEvent?i.colno:void 0,date:this._now()});const n=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:a,causesRestart:n}),n?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(a){return a.is&&a.is("CKEditorError")&&null!=a.context&&"ready"===this.state&&this._isErrorComingFromThisItem(a)}_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}}const qj=function(){return iu.Date.now()};var GJe=/\s/;var UJe=/^\s+/;const qJe=function WJe(r){return r&&r.slice(0,function jJe(r){for(var a=r.length;a--&&GJe.test(r.charAt(a)););return a}(r)+1).replace(UJe,"")};var XJe=/^[-+]0x[0-9a-f]+$/i,ZJe=/^0b[01]+$/i,JJe=/^0o[0-7]+$/i,eet=parseInt;const cse=function tet(r){if("number"==typeof r)return r;if(function YJe(r){return"symbol"==typeof r||Gp(r)&&"[object Symbol]"==Fv(r)}(r))return NaN;if(td(r)){var a="function"==typeof r.valueOf?r.valueOf():r;r=td(a)?a+"":a}if("string"!=typeof r)return 0===r?r:+r;r=qJe(r);var i=ZJe.test(r);return i||JJe.test(r)?eet(r.slice(2),i?2:8):XJe.test(r)?NaN:+r};var net=Math.max,oet=Math.min;const det=function cet(r,a,i){var n=!0,s=!0;if("function"!=typeof r)throw new TypeError("Expected a function");return td(i)&&(n="leading"in i?!!i.leading:n,s="trailing"in i?!!i.trailing:s),function ret(r,a,i){var n,s,l,d,p,f,v=0,D=!1,E=!1,F=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function L(it){var yt=n,xt=s;return n=s=void 0,v=it,d=r.apply(xt,yt)}function Z(it){var yt=it-f;return void 0===f||yt>=a||yt<0||E&&it-v>=l}function se(){var it=qj();if(Z(it))return ue(it);p=setTimeout(se,function q(it){var Si=a-(it-f);return E?oet(Si,l-(it-v)):Si}(it))}function ue(it){return p=void 0,F&&n?L(it):(n=s=void 0,d)}function Ze(){var it=qj(),yt=Z(it);if(n=arguments,s=this,f=it,yt){if(void 0===p)return function $(it){return v=it,p=setTimeout(se,a),D?L(it):d}(f);if(E)return clearTimeout(p),p=setTimeout(se,a),L(f)}return void 0===p&&(p=setTimeout(se,a)),d}return a=cse(a)||0,td(i)&&(D=!!i.leading,l=(E="maxWait"in i)?net(cse(i.maxWait)||0,a):l,F="trailing"in i?!!i.trailing:F),Ze.cancel=function Oe(){void 0!==p&&clearTimeout(p),v=0,n=f=s=p=void 0},Ze.flush=function ze(){return void 0===p?d:ue(qj())},Ze}(r,a,{leading:n,maxWait:a,trailing:s})},dse=function uet(r){return Gp(r)&&1===r.nodeType&&!lJ(r)},met=JZ(Object.keys,Object);var _et=Object.prototype.hasOwnProperty;const Kj=function yet(r){return X3(r)?gJ(r):function vet(r){if(!V8(r))return met(r);var a=[];for(var i in Object(r))_et.call(r,i)&&"constructor"!=i&&a.push(i);return a}(r)},use=function Iet(){return[]};var Eet=Object.prototype.propertyIsEnumerable,hse=Object.getOwnPropertySymbols,Met=hse?function(r){return null==r?[]:(r=Object(r),function Det(r,a){for(var i=-1,n=null==r?0:r.length,s=0,l=[];++ia.create(n,s)),this._destructor=n=>n.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(a){this._creator=a}setDestructor(a){this._destructor=a}_restart(){return Promise.resolve().then(()=>(this.state="initializing",this._fire("stateChange"),this._destroy())).catch(a=>{console.error("An error happened during the editor destroying.",a)}).then(()=>{const a={},i=[],n=this._config.rootsAttributes||{},s={};for(const[d,p]of Object.entries(this._data.roots))p.isLoaded?(a[d]="",s[d]=n[d]||{}):i.push(d);const l={...this._config,extraPlugins:this._config.extraPlugins||[],lazyRoots:i,rootsAttributes:s,_watchdogInitialData:this._data};return delete l.initialData,l.extraPlugins.push(yit),this._initUsingData?this.create(a,l,l.context):dse(this._elementOrData)?this.create(this._elementOrData,l,l.context):this.create(this._editables,l,l.context)}).then(()=>{this._fire("restart")})}create(a=this._elementOrData,i=this._config,n){return Promise.resolve().then(()=>(super._startErrorHandling(),this._elementOrData=a,this._initUsingData="string"==typeof a||Object.keys(a).length>0&&"string"==typeof Object.values(a)[0],this._config=this._cloneEditorConfiguration(i)||{},this._config.context=n,this._creator(a,this._config))).then(s=>{this._editor=s,s.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=s.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 a=this._editor;return this._editor=null,a.model.document.off("change:data",this._throttledSave),this._destructor(a)})}_save(){const a=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=a}catch(i){console.error(i,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(a){this._excludedProps=a}_getData(){const a=this._editor,i=a.model.document.roots.filter(p=>p.isAttached()&&"$graveyard"!=p.rootName),{plugins:n}=a,s=n.has("CommentsRepository")&&n.get("CommentsRepository"),l=n.has("TrackChanges")&&n.get("TrackChanges"),d={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};i.forEach(p=>{d.roots[p.rootName]={content:JSON.stringify(Array.from(p.getChildren())),attributes:JSON.stringify(Array.from(p.getAttributes())),isLoaded:p._isLoaded}});for(const p of a.model.markers)p._affectsData&&(d.markers[p.name]={rangeJSON:p.getRange().toJSON(),usingOperation:p._managedUsingOperations,affectsData:p._affectsData});return s&&(d.commentThreads=JSON.stringify(s.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),l&&(d.suggestions=JSON.stringify(l.getSuggestions({toJSON:!0,skipNotAttached:!0}))),d}_getEditables(){const a={};for(const i of this.editor.model.document.getRootNames()){const n=this.editor.ui.getEditableElement(i);n&&(a[i]=n)}return a}_isErrorComingFromThisItem(a){return function BJe(r,a,i=new Set){if(r===a&&function VJe(r){return"object"==typeof r&&null!==r}(r))return!0;const n=ase(r,i),s=ase(a,i);for(const l of n)if(s.has(l))return!0;return!1}(this._editor,a.context,this._excludedProps)}_cloneEditorConfiguration(a){return function _it(r,a){return git(r,5,a="function"==typeof a?a:void 0)}(a,(i,n)=>{if(dse(i)||"context"===n)return i})}}class yit{constructor(a){this.editor=a,this._data=a.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",a=>{a.stop(),this.editor.model.enqueueChange({isUndoable:!1},i=>{this._restoreCollaborationData(),this._restoreEditorData(i)}),this.editor.data.fire("ready")},{priority:999})}_createNode(a,i){if("name"in i){const n=a.createElement(i.name,i.attributes);if(i.children)for(const s of i.children)n._appendChild(this._createNode(a,s));return n}return a.createText(i.data,i.attributes)}_restoreEditorData(a){const i=this.editor;Object.entries(this._data.roots).forEach(([n,{content:s,attributes:l}])=>{const d=JSON.parse(s),p=JSON.parse(l),f=i.model.document.getRoot(n);for(const[v,D]of p)a.setAttribute(v,D,f);for(const v of d){const D=this._createNode(a,v);a.insert(D,f,"end")}}),Object.entries(this._data.markers).forEach(([n,s])=>{const{document:l}=i.model,{rangeJSON:{start:d,end:p},...f}=s,v=l.getRoot(d.root),D=a.createPositionFromPath(v,d.path,d.stickiness),E=a.createPositionFromPath(v,p.path,p.stickiness),F=a.createRange(D,E);a.addMarker(n,{range:F,...f})})}_restoreCollaborationData(){const a=JSON.parse(this._data.commentThreads),i=JSON.parse(this._data.suggestions);a.forEach(n=>{const s=this.editor.config.get("collaboration.channelId"),l=this.editor.plugins.get("CommentsRepository");l.hasCommentThread(n.threadId)&&l.getCommentThread(n.threadId).remove(),l.addCommentThread({channelId:s,...n})}),i.forEach(n=>{const s=this.editor.plugins.get("TrackChangesEditing");s.hasSuggestion(n.id)?s.getSuggestion(n.id).attributes=n.attributes:s.addSuggestionData(n)})}}function Cit(r,a){}const Ka=new Array(256).fill(0).map((r,a)=>("0"+a.toString(16)).slice(-2)),t$="Lock from Angular integration (@ckeditor/ckeditor5-angular)";let Yw=(()=>{class r{constructor(i,n){this.config={},this.data="",this.tagName="div",this.disableTwoWayDataBinding=!1,this.ready=new X,this.change=new X,this.blur=new X,this.focus=new X,this.error=new X,this.initiallyDisabled=!1,this.isEditorSettingData=!1,this.id=function wit(){const r=4294967296*Math.random()>>>0,a=4294967296*Math.random()>>>0,i=4294967296*Math.random()>>>0,n=4294967296*Math.random()>>>0;return"e"+Ka[r>>0&255]+Ka[r>>8&255]+Ka[r>>16&255]+Ka[r>>24&255]+Ka[a>>0&255]+Ka[a>>8&255]+Ka[a>>16&255]+Ka[a>>24&255]+Ka[i>>0&255]+Ka[i>>8&255]+Ka[i>>16&255]+Ka[i>>24&255]+Ka[n>>0&255]+Ka[n>>8&255]+Ka[n>>16&255]+Ka[n>>24&255]}(),this.ngZone=n,this.elementRef=i;const{CKEDITOR_VERSION:s}=window;if(s){const[l]=s.split(".").map(Number);l<37&&console.warn("The component requires using CKEditor 5 in version 37 or higher.")}else console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.')}set disabled(i){this.setDisabledState(i)}get disabled(){return this.editorInstance?this.editorInstance.isReadOnly:this.initiallyDisabled}get editorInstance(){let i=this.editorWatchdog;return this.watchdog&&(i=this.watchdog._watchdogs.get(this.id)),i?i.editor:null}getId(){return this.id}ngOnChanges(i){Object.prototype.hasOwnProperty.call(i,"data")&&i.data&&!i.data.isFirstChange()&&this.writeValue(i.data.currentValue)}ngAfterViewInit(){this.attachToWatchdog()}ngOnDestroy(){var i=this;return qi(function*(){i.watchdog?yield i.watchdog.remove(i.id):i.editorWatchdog&&i.editorWatchdog.editor&&(yield i.editorWatchdog.destroy(),i.editorWatchdog=void 0)})()}writeValue(i){null===i&&(i=""),this.editorInstance?(this.isEditorSettingData=!0,this.editorInstance.data.set(i),this.isEditorSettingData=!1):(this.data=i,this.ready.pipe(mi()).subscribe(n=>{n.data.set(this.data)}))}registerOnChange(i){this.cvaOnChange=i}registerOnTouched(i){this.cvaOnTouched=i}setDisabledState(i){this.editorInstance&&(i?this.editorInstance.enableReadOnlyMode(t$):this.editorInstance.disableReadOnlyMode(t$)),this.initiallyDisabled=i}attachToWatchdog(){var i=this;const n=(f,v)=>this.ngZone.runOutsideAngular(qi(function*(){i.elementRef.nativeElement.appendChild(f);const D=yield i.editor.create(f,v);return i.initiallyDisabled&&D.enableReadOnlyMode(t$),i.ngZone.run(()=>{i.ready.emit(D)}),i.setUpEditorEvents(D),D})),s=function(){var f=qi(function*(v){yield v.destroy(),i.elementRef.nativeElement.removeChild(i.editorElement)});return function(D){return f.apply(this,arguments)}}(),l=f=>{(function xit(r){return r.observed||r.observers.length>0})(this.error)&&this.ngZone.run(()=>this.error.emit(f))},d=document.createElement(this.tagName),p=this.getConfig();if(this.editorElement=d,this.watchdog)this.watchdog.add({id:this.id,type:"editor",creator:n,destructor:s,sourceElementOrData:d,config:p}).catch(f=>{l(f)}),this.watchdog.on("itemError",(f,{itemId:v})=>{v===this.id&&l()});else{const f=new bit(this.editor,this.editorWatchdogConfig);f.setCreator(n),f.setDestructor(s),f.on("error",l),this.editorWatchdog=f,this.ngZone.runOutsideAngular(()=>{f.create(d,p).catch(v=>{l(v)})})}}getConfig(){if(this.data&&this.config.initialData)throw new Error("Editor data should be provided either using `config.initialData` or `data` properties.");const i={...this.config},n=this.config.initialData||this.data;return n&&(i.initialData=n),i}setUpEditorEvents(i){const s=i.editing.view.document;i.model.document.on("change:data",l=>{this.ngZone.run(()=>{if(!this.disableTwoWayDataBinding){if(this.cvaOnChange&&!this.isEditorSettingData){const d=i.data.get();this.cvaOnChange(d)}this.change.emit({event:l,editor:i})}})}),s.on("focus",l=>{this.ngZone.run(()=>{this.focus.emit({event:l,editor:i})})}),s.on("blur",l=>{this.ngZone.run(()=>{this.cvaOnTouched&&this.cvaOnTouched(),this.blur.emit({event:l,editor:i})})})}}return r.\u0275fac=function(i){return new(i||r)(T(ke),T(et))},r.\u0275cmp=de({type:r,selectors:[["ckeditor"]],inputs:{editor:"editor",config:"config",data:"data",tagName:"tagName",watchdog:"watchdog",editorWatchdogConfig:"editorWatchdogConfig",disableTwoWayDataBinding:"disableTwoWayDataBinding",disabled:"disabled"},outputs:{ready:"ready",change:"change",blur:"blur",focus:"focus",error:"error"},features:[Ye([{provide:Yn,useExisting:J(()=>r),multi:!0}]),ci],decls:1,vars:0,template:function(i,n){1&i&&I(0,Cit,0,0,"ng-template")},encapsulation:2}),r})(),kit=(()=>{class r{}return r.\u0275fac=function(i){return new(i||r)},r.\u0275mod=Ht({type:r}),r.\u0275inj=zt({imports:[[Zu,Gs]]}),r})();function Dit(r,a){if(1&r){const i=ce();C(0,"button",16),B("click",function(){return z(i),H(S(2).sendComment())}),P(1,"\u0110\u0103ng"),k()}}function Ait(r,a){if(1&r){const i=ce();C(0,"button",17),B("click",function(){return z(i),H(S(2).cancelComment())}),P(1,"H\u1ee7y"),k()}}function Iit(r,a){if(1&r){const i=ce();C(0,"div",7)(1,"div",8),Q(2,"img",9),C(3,"strong",10),P(4),k()(),C(5,"div",11)(6,"ckeditor",12),B("ngModelChange",function(s){return z(i),H(S().createCommentContent=s)})("change",function(s){return z(i),H(S().onEditorChange(s))})("paste",function(s){return z(i),H(S().onPaste(s))}),k()(),C(7,"div",13),I(8,Dit,2,0,"button",14),I(9,Ait,2,0,"button",15),k()()}if(2&r){const i=S();y(2),x("src",i.imgUser||"assets/Icon/user.png",oi),y(2),_e(i.userName),y(2),x("editor",i.Editor)("config",i.editorConfig)("ngModel",i.createCommentContent),y(2),x("ngIf",i.isCheckCommented()),y(1),x("ngIf",i.isCheckCommented())}}function Sit(r,a){if(1&r){const i=ce();C(0,"span",18),P(1,"\u0110\u0103ng nh\u1eadp \u0111\u1ec3 b\xecnh lu\u1eadn "),k(),C(2,"button",16),B("click",function(){return z(i),H(S().loginUser())}),P(3,"\u0110\u0103ng nh\u1eadp"),k()}}function Tit(r,a){1&r&&(C(0,"button",30)(1,"span",31),P(2," more_horiz "),k()()),2&r&&(S(),x("matMenuTriggerFor",ee(11)))}function Eit(r,a){if(1&r){const i=ce();C(0,"button",16),B("click",function(){return z(i),H(S(4).submitEdited())}),P(1,"C\u1eadp nh\u1eadp"),k()}}function Mit(r,a){if(1&r){const i=ce();C(0,"button",17),B("click",function(){return z(i),H(S(4).cancelEditComment())}),P(1,"H\u1ee7y"),k()}}function Rit(r,a){if(1&r){const i=ce();C(0,"div",7)(1,"div",8),Q(2,"img",9),C(3,"strong",10),P(4),k()(),C(5,"div",11)(6,"ckeditor",12),B("ngModelChange",function(s){return z(i),H(S(3).contentUpdate=s)})("change",function(s){return z(i),H(S(3).onEditChange(s))})("paste",function(s){return z(i),H(S(3).onPaste(s))}),k()(),C(7,"div",13),I(8,Eit,2,0,"button",14),I(9,Mit,2,0,"button",15),k()()}if(2&r){const i=S().$implicit,n=S(2);let s;y(2),x("src",n.imgUser||"assets/Icon/user.png",oi),y(2),_e(n.userName),y(2),x("editor",n.Editor)("config",n.editorConfig)("ngModel",n.contentUpdate),y(2),x("ngIf",n.isUpdateCommented),y(1),x("ngIf",n.isCheckEdit(null!==(s=i.id)&&void 0!==s?s:""))}}function Pit(r,a){if(1&r){const i=ce();C(0,"div",11)(1,"div",20)(2,"div")(3,"div",21)(4,"div",22),Q(5,"img",9),C(6,"strong",10),P(7),k()(),I(8,Tit,3,1,"button",23),C(9,"div",24)(10,"mat-menu",null,25)(12,"button",26),B("click",function(){const l=z(i).$implicit;let p;return H(S(2).editComment(null!==(p=l.id)&&void 0!==p?p:""))}),C(13,"mat-icon"),P(14,"edit"),k(),C(15,"span"),P(16,"S\u1eeda"),k()(),C(17,"button",26),B("click",function(){const l=z(i).$implicit;let p;return H(S(2).deleteComment(null!==(p=l.id)&&void 0!==p?p:""))}),C(18,"mat-icon"),P(19,"delete"),k(),C(20,"span"),P(21,"X\xf3a"),k()()()()(),C(22,"div",27),P(23),k()(),Q(24,"div",28),k(),I(25,Rit,10,7,"div",29),k()}if(2&r){const i=a.$implicit,n=S(2);let s,l;y(5),x("src",(null==i.userShort?null:i.userShort.image)||"assets/Icon/user.png",oi),y(2),_e(null==i.userShort?null:i.userShort.fullName),y(1),x("ngIf",(null==i.userShort?null:i.userShort.id)===n.userId),y(14),ri("matTooltip",i.updatedAt?"Ng\xe0y c\u1eadp nh\u1eadp":"Ng\xe0y t\u1ea1o"),y(1),_e(null!==(s=i.updatedAt)&&void 0!==s?s:i.createdAt),y(1),x("innerHTML",i.content,il),y(1),x("ngIf",n.isCheckEdit(null!==(l=i.id)&&void 0!==l?l:""))}}function Oit(r,a){if(1&r&&(C(0,"div"),I(1,Pit,26,7,"div",19),k()),2&r){const i=S();y(1),x("ngForOf",i.comments)}}let Fit=(()=>{class r{constructor(i,n,s,l,d){this.data=i,this.session=n,this.service=s,this.toastr=l,this.router=d,this.isCommented=!1,this.isUpdateCommented=!1,this.isEdit="",this.Editor=qw(),this.userName=null,this.imgUser=null,this.userId=null,this.postId="",this.comments=null,this.createComment={userId:"",postId:"",userShort:null,content:"",createdAt:new Date,updatedAt:null,subComment:null},this.updateComment={userId:"",postId:"",userShort:null,content:"",createdAt:new Date,updatedAt:null,subComment:null},this.createCommentContent="",this.contentUpdate="",this.editorConfig={toolbar:{items:["heading","bold","italic","blockQuote","bulletedList","numberedList","link"]},placeholder:"Vi\u1ebft b\xecnh lu\u1eadn...",language:"vi"},this.postId=i.SubId,this.userId=n.getUserId(),this.userName=n.getName(),this.imgUser=n.getAvatar(),this.GetChatPost(),this.hubConnection=(new Uj).withUrl(s.getChatSignRl()).build(),this.hubConnection.start().then(()=>{console.log("K\u1ebft n\u1ed1i th\xe0nh c\xf4ng!")}).catch(p=>console.error("L\u1ed7i khi thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i:",p)),this.hubConnection.on("ReceiveComment",p=>{this.comments=this.ConvertChatDate(p.resultObj)})}GetChatPost(){this.service.getPostComment(this.postId).subscribe(i=>{this.comments=this.ConvertChatDate(i.resultObj)})}ConvertChatDate(i){return i?.forEach(n=>{const s=fi(n.createdAt.toString()),l=fi(n.updatedAt?.toString()??"");isNaN(s.getTime())||(n.createdAt=_i(s,"dd-MM-yyyy hh:mm",{locale:kf})),isNaN(l.getTime())||(n.updatedAt=_i(l,"dd-MM-yyyy hh:mm",{locale:kf}))}),i}onEditorChange(i){this.isCommented=!0,this.createCommentContent=i.editor.getData(),this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")}onEditChange(i){this.isUpdateCommented=!0,this.contentUpdate=i.editor.getData(),this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")}hasImage(i){return!!/]+src\s*=\s*['"]([^'"]+)['"][^>]*>/g.test(i)}sendComment(){this.hasImage(this.createCommentContent)?this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!"):(this.createComment.postId=this.postId,this.createComment.userId=this.userId??"",this.createComment.content=this.createCommentContent.trim(),this.service.CreatePostComment(this.createComment).subscribe(i=>{this.cancelComment()},i=>{console.log(i)}))}submitEdited(){this.hasImage(this.contentUpdate)?this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!"):(this.updateComment.content=this.contentUpdate?.trim(),this.updateComment.createdAt=new Date,this.updateComment.updatedAt=new Date,""!=this.contentUpdate.trim()?this.service.UpdatePostComment(this.updateComment).subscribe(i=>{this.contentUpdate="",this.cancelEditComment()},i=>{console.log(i)}):this.toastr.info("Vui l\xf2ng kh\xf4ng \u0111\u1ec3 tr\u1ed1ng b\xecnh lu\u1eadn"))}cancelComment(){this.isCommented=!1,this.createCommentContent=""}isCheckCommented(){return this.isCommented}cancelEditComment(){this.isUpdateCommented=!1,this.contentUpdate="",this.isEdit="-1"}editComment(i){var n=this.comments?.find(s=>s.id===i);n&&(this.updateComment=n,this.contentUpdate=n.content,this.isEdit=i)}deleteComment(i){this.service.deleteComment(i).subscribe(n=>{},n=>{this.toastr.error("L\u1ed7i: "+n)})}isCheckEdit(i){return this.isEdit==i}loginUser(){this.router.navigate(["/login"],{state:{redirect:this.router.url}})}onPaste(i){const n=i.clipboardData||i.originalEvent&&i.originalEvent.clipboardData;if(n){const s=n.items;console.log(1);for(let l=0;l.ck-editor__editable:not(.ck-focused){border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{box-shadow:none!important}#btn-comment[_ngcontent-%COMP%]{margin-right:16px!important;right:16px!important}"]})}return r})();function Nit(r,a){1&r&&(C(0,"span",7),Ie(1,1),k())}function Lit(r,a){1&r&&(C(0,"span",8),Ie(1,2),k())}const Sse=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Tse=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Bit(r,a){1&r&&(C(0,"span",8),Ie(1,1),C(2,"span",9),mr(),C(3,"svg",10),Q(4,"path",11),k()()())}function Vit(r,a){1&r&&(C(0,"span",12),Ie(1,2),k())}const Ese='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function zit(r,a){1&r&&(be(0),Q(1,"span",8),ve())}function Hit(r,a){1&r&&(C(0,"span",9),Ie(1),k())}function Git(r,a){1&r&&(be(0),Ie(1,1),ve())}function jit(r,a){1&r&&Ie(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function $it(r,a){1&r&&Q(0,"span",12)}function Uit(r,a){if(1&r&&(be(0),I(1,jit,1,0,"ng-content",10),I(2,$it,1,0,"ng-template",null,11,pe),ve()),2&r){const i=ee(3),n=S();y(1),x("ngIf",n.contentEditInput)("ngIfElse",i)}}function Wit(r,a){1&r&&(C(0,"span",13),Ie(1,3),k())}const qit=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Kit=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],i$=["*"],$5=new $e("mat-chips-default-options"),n$=new $e("MatChipAvatar"),o$=new $e("MatChipTrailingIcon"),r$=new $e("MatChipRemove"),U5=new $e("MatChip");class Yit{}const Qit=Sv(Yit,-1);let Qw=(()=>{class r extends Qit{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(i){this._disabled=Et(i)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(i,n){super(),this._elementRef=i,this._parentChip=n,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(13===i.keyCode||32===i.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(U5))};static#t=this.\u0275dir=re({type:r,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(n,s){1&n&&B("click",function(d){return s._handleClick(d)})("keydown",function(d){return s._handleKeydown(d)}),2&n&&(ge("tabindex",s._getTabindex())("disabled",s._getDisabledAttribute())("aria-disabled",s.disabled),Se("mdc-evolution-chip__action--primary",s._isPrimary)("mdc-evolution-chip__action--presentational",!s.isInteractive)("mdc-evolution-chip__action--trailing",!s._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[Ae]})}return r})(),jS=(()=>{class r extends Qw{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(i){this.disabled||(i.stopPropagation(),i.preventDefault(),this._parentChip.remove())}_handleKeydown(i){(13===i.keyCode||32===i.keyCode)&&!this.disabled&&(i.stopPropagation(),i.preventDefault(),this._parentChip.remove())}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(n,s){2&n&&ge("aria-hidden",null)},features:[Ye([{provide:r$,useExisting:r}]),Ae]})}return r})(),Jit=0;const ent=Sv(Iv(Om(Vp(class{constructor(r){this._elementRef=r}})),"primary"),-1);let ph=(()=>{class r extends ent{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get removable(){return this._removable}set removable(i){this._removable=Et(i)}get highlighted(){return this._highlighted}set highlighted(i){this._highlighted=Et(i)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}constructor(i,n,s,l,d,p,f,v){super(n),this._changeDetectorRef=i,this._ngZone=s,this._focusMonitor=l,this._globalRippleOptions=f,this._onFocus=new Ge,this._onBlur=new Ge,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+Jit++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new X,this.destroyed=new X,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=st(FX),this._document=d,this._animationsDisabled="NoopAnimations"===p,null!=v&&(this.tabIndex=parseInt(v)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=rn(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(i){(8===i.keyCode||46===i.keyCode)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(n=>{const s=n._elementRef.nativeElement;return s===i||s.contains(i)})}_getActions(){const i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{const n=null!==i;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(An(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(et),T(al),T(Tt),T(Eo,8),T(ew,8),Ns("tabindex"))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,n$,5),Fe(l,o$,5),Fe(l,r$,5),Fe(l,n$,5),Fe(l,o$,5),Fe(l,r$,5)),2&n){let d;G(d=j())&&(s.leadingIcon=d.first),G(d=j())&&(s.trailingIcon=d.first),G(d=j())&&(s.removeIcon=d.first),G(d=j())&&(s._allLeadingIcons=d),G(d=j())&&(s._allTrailingIcons=d),G(d=j())&&(s._allRemoveIcons=d)}},viewQuery:function(n,s){if(1&n&&oe(Qw,5),2&n){let l;G(l=j())&&(s.primaryAction=l.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(n,s){1&n&&B("keydown",function(d){return s._handleKeydown(d)}),2&n&&(ur("id",s.id),ge("role",s.role)("tabindex",s.role?s.tabIndex:null)("aria-label",s.ariaLabel),Se("mdc-evolution-chip",!s._isBasicChip)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",s.leadingIcon)("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-basic-chip",s._isBasicChip)("mat-mdc-standard-chip",!s._isBasicChip)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon())("_mat-animation-noopable",s._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Ye([{provide:U5,useExisting:r}]),Ae],ngContentSelectors:Tse,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,s){1&n&&(pt(Sse),Q(0,"span",0),C(1,"span",1)(2,"span",2),I(3,Nit,2,0,"span",3),C(4,"span",4),Ie(5),Q(6,"span",5),k()()(),I(7,Lit,2,0,"span",6)),2&n&&(y(2),x("isInteractive",!1),y(1),x("ngIf",s.leadingIcon),y(4),x("ngIf",s._hasTrailingIcon()))},dependencies:[Qe,Qw],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return r})(),$S=(()=>{class r extends ph{constructor(){super(...arguments),this._defaultOptions=st($5,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new X}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(i){this._selectable=Et(i),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(i){this._setSelectedState(Et(i),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(i=!1){return this._setSelectedState(!this.selected,i,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(i,n,s){i!==this.selected&&(this._selected=i,s&&this.selectionChange.emit({source:this,isUserInput:n,selected:this.selected}),this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(n,s){2&n&&(ur("id",s.id),ge("tabindex",null)("aria-label",null)("aria-description",null)("role",s.role),Se("mdc-evolution-chip",!s._isBasicChip)("mdc-evolution-chip--filter",!s._isBasicChip)("mdc-evolution-chip--selectable",!s._isBasicChip)("mat-mdc-chip-selected",s.selected)("mat-mdc-chip-multiple",s._chipListMultiple)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-chip-with-avatar",s.leadingIcon)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--selected",s.selected)("mdc-evolution-chip--selecting",!s._animationsDisabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-primary-graphic",s._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[Ye([{provide:ph,useExisting:r},{provide:U5,useExisting:r}]),Ae],ngContentSelectors:Tse,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,s){1&n&&(pt(Sse),Q(0,"span",0),C(1,"span",1)(2,"button",2),I(3,Bit,5,0,"span",3),C(4,"span",4),Ie(5),Q(6,"span",5),k()()(),I(7,Vit,2,0,"span",6),C(8,"span",7),P(9),k()),2&n&&(y(2),x("tabIndex",s.tabIndex)("_allowFocusWhenDisabled",!0),ge("aria-selected",s.ariaSelected)("aria-label",s.ariaLabel)("aria-describedby",s._ariaDescriptionId),y(1),x("ngIf",s._hasLeadingGraphic()),y(4),x("ngIf",s._hasTrailingIcon()),y(1),x("id",s._ariaDescriptionId),y(1),_e(s.ariaDescription))},dependencies:[Qe,Qw],styles:[Ese],encapsulation:2,changeDetection:0})}return r})(),W5=(()=>{class r{constructor(i,n){this._elementRef=i,this._document=n}initialize(i){this.getNativeElement().focus(),this.setValue(i)}getNativeElement(){return this._elementRef.nativeElement}setValue(i){this.getNativeElement().textContent=i,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const i=this._document.createRange();i.selectNodeContents(this.getNativeElement()),i.collapse(!1);const n=window.getSelection();n.removeAllRanges(),n.addRange(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Tt))};static#t=this.\u0275dir=re({type:r,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return r})(),Xw=(()=>{class r extends ph{constructor(i,n,s,l,d,p,f,v){super(i,n,s,l,d,p,f,v),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new X,this._isEditing=!1,this.role="row",this._onBlur.pipe(xe(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(i){13!==i.keyCode||this.disabled?this._isEditing?i.stopPropagation():super._handleKeydown(i):this._isEditing?(i.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(i)}_handleDoubleclick(i){!this.disabled&&this.editable&&this._startEditing(i)}_startEditing(i){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(i.target)===this.removeIcon)return;const n=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(n),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(et),T(al),T(Tt),T(Eo,8),T(ew,8),Ns("tabindex"))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(n,s,l){if(1&n&&Fe(l,W5,5),2&n){let d;G(d=j())&&(s.contentEditInput=d.first)}},viewQuery:function(n,s){if(1&n&&oe(W5,5),2&n){let l;G(l=j())&&(s.defaultEditInput=l.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(n,s){1&n&&B("focus",function(d){return s._handleFocus(d)})("dblclick",function(d){return s._handleDoubleclick(d)}),2&n&&(ur("id",s.id),ge("tabindex",s.disabled?null:-1)("aria-label",null)("aria-description",null)("role",s.role),Se("mat-mdc-chip-with-avatar",s.leadingIcon)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-chip-editing",s._isEditing)("mat-mdc-chip-editable",s.editable)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",s.leadingIcon)("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Ye([{provide:ph,useExisting:r},{provide:U5,useExisting:r}]),Ae],ngContentSelectors:Kit,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,s){1&n&&(pt(qit),I(0,zit,2,0,"ng-container",0),C(1,"span",1),I(2,Hit,2,0,"span",2),C(3,"span",3),I(4,Git,2,0,"ng-container",4),I(5,Uit,4,2,"ng-container",4),Q(6,"span",5),k()(),I(7,Wit,2,0,"span",6),C(8,"span",7),P(9),k()),2&n&&(x("ngIf",!s._isEditing),y(1),x("tabIndex",s.tabIndex)("disabled",s.disabled),ge("aria-label",s.ariaLabel)("aria-describedby",s._ariaDescriptionId),y(1),x("ngIf",s.leadingIcon),y(1),x("ngSwitch",s._isEditing),y(1),x("ngSwitchCase",!1),y(1),x("ngSwitchCase",!0),y(2),x("ngIf",s._hasTrailingIcon()),y(1),x("id",s._ariaDescriptionId),y(1),_e(s.ariaDescription))},dependencies:[Qe,ed,ju,Qw,W5],styles:[Ese],encapsulation:2,changeDetection:0})}return r})();class tnt{constructor(a){}}const int=Sv(tnt);let wb=(()=>{class r extends int{get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}constructor(i,n,s){super(i),this._elementRef=i,this._changeDetectorRef=n,this._dir=s,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new Ge,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new zo}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(i=>{i.disabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&ithis.tabIndex=i)}}_getChipStream(i){return this._chips.changes.pipe(go(null),Jn(()=>rn(...this._chips.map(i))))}_originatesFromChip(i){let n=i.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList.contains("mat-mdc-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(go(this._chips)).subscribe(i=>{const n=[];i.forEach(s=>s._getActions().forEach(l=>n.push(l))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new D3(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(xe(this._destroyed)).subscribe(({chip:i})=>{const n=i._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe(xe(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(go(null),xe(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(xe(this._destroyed)).subscribe(i=>{const s=this._chips.toArray().indexOf(i.chip);this._isValidIndex(s)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=s)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[i];n.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(Yr,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-chip-set"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,ph,5),2&n){let d;G(d=j())&&(s._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(n,s){1&n&&B("keydown",function(d){return s._handleKeydown(d)}),2&n&&ge("role",s.role)},inputs:{disabled:"disabled",role:"role"},features:[Ae],ngContentSelectors:i$,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,s){1&n&&(pt(),C(0,"div",0),Ie(1),k())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return r})();class rnt{constructor(a,i){this.source=a,this.value=i}}class snt extends wb{constructor(a,i,n,s,l,d,p){super(a,i,n),this._defaultErrorStateMatcher=s,this._parentForm=l,this._parentFormGroup=d,this.ngControl=p,this.stateChanges=new Ge}}const ant=i8(snt);let US=(()=>{class r extends ant{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(i){this._disabled=Et(i),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(i){this._placeholder=i,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Nt.required)??!1}set required(i){this._required=Et(i),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(i){this._value=i}get chipBlurChanges(){return this._getChipStream(i=>i._onBlur)}constructor(i,n,s,l,d,p,f){super(i,n,s,p,l,d,f),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new X,this.valueChange=new X,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(xe(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),rn(this.chipFocusChanges,this._chips.changes).pipe(xe(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(i){this._chipInput=i,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(i){!this.disabled&&!this._originatesFromChip(i)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(i){this._ariaDescribedbyIds=i,this._chipInput?.setDescribedByIds(i)}writeValue(i){this._value=i}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(i){9===i.keyCode?this._chipInput.focused&&Nr(i,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(i.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(i),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const i=this._chips.length?this._chips.toArray().map(n=>n.value):[];this._value=i,this.change.emit(new rnt(this,i)),this.valueChange.emit(i),this._onChange(i),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(Yr,8),T(iw,8),T(jo,8),T(Ev),T(ws,10))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-chip-grid"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,Xw,5),2&n){let d;G(d=j())&&(s._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(n,s){1&n&&B("focus",function(){return s.focus()})("blur",function(){return s._blur()}),2&n&&(ur("tabIndex",s._chips&&0===s._chips.length?-1:s.tabIndex),ge("role",s.role)("aria-disabled",s.disabled.toString())("aria-invalid",s.errorState),Se("mat-mdc-chip-list-disabled",s.disabled)("mat-mdc-chip-list-invalid",s.errorState)("mat-mdc-chip-list-required",s.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Ye([{provide:f5,useExisting:r}]),Ae],ngContentSelectors:i$,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,s){1&n&&(pt(),C(0,"div",0),Ie(1),k())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return r})(),lnt=0,WS=(()=>{class r{set chipGrid(i){i&&(this._chipGrid=i,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(i){this._addOnBlur=Et(i)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(i){this._disabled=Et(i)}get empty(){return!this.inputElement.value}constructor(i,n,s){this._elementRef=i,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new X,this.placeholder="",this.id="mat-mdc-chip-list-input-"+lnt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=n.separatorKeyCodes,s&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(i){if(i){if(8===i.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void i.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(i)}_keyup(i){!this._focusLastChipOnBackspace&&8===i.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,i.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(i){(!i||this._isSeparatorKey(i))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),i?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(i){const n=this._elementRef.nativeElement;i.length?n.setAttribute("aria-describedby",i.join(" ")):n.removeAttribute("aria-describedby")}_isSeparatorKey(i){return!Nr(i)&&new Set(this.separatorKeyCodes).has(i.keyCode)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T($5),T(Gw,8))};static#t=this.\u0275dir=re({type:r,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(n,s){1&n&&B("keydown",function(d){return s._keydown(d)})("keyup",function(d){return s._keyup(d)})("blur",function(){return s._blur()})("focus",function(){return s._focus()})("input",function(){return s._onInput()}),2&n&&(ur("id",s.id),ge("disabled",s.disabled||null)("placeholder",s.placeholder||null)("aria-invalid",s._chipGrid&&s._chipGrid.ngControl?s._chipGrid.ngControl.invalid:null)("aria-required",s._chipGrid&&s._chipGrid.required||null)("required",s._chipGrid&&s._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[ci]})}return r})(),cnt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[Ev,{provide:$5,useValue:{separatorKeyCodes:[13]}}],imports:[Ai,Gs,Hp,Ai]})}return r})();const dnt=["topicInput"],unt=["TagInput"];function hnt(r,a){1&r&&P(0,"N\u1ed9i dung c\xe2u chuy\u1ec7n")}function pnt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function gnt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 255 k\xfd t\u1ef1 "),k())}function mnt(r,a){1&r&&P(0,"Trang tr\xed")}function fnt(r,a){1&r&&Q(0,"img",41),2&r&&x("src",S().selectedImage,oi)}function _nt(r,a){1&r&&Q(0,"img",41),2&r&&x("src",S().updatepostform.value.Image,oi)}function vnt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",42),B("removed",function(){const l=z(i).$implicit;return H(S().removeTopic(l))}),P(1),C(2,"button",43)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function bnt(r,a){if(1&r&&(C(0,"mat-option",44),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function ynt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",42),B("removed",function(){const l=z(i).$implicit;return H(S().removeTag(l))}),P(1),C(2,"button",43)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function Cnt(r,a){if(1&r&&(C(0,"mat-option",44),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function wnt(r,a){1&r&&P(0,"Ho\xe0n th\xe0nh")}function xnt(r,a){if(1&r&&(C(0,"mat-chip",47),P(1),k()),2&r){const i=a.$implicit;y(1),_e(i)}}function knt(r,a){if(1&r&&(C(0,"div")(1,"div",45)(2,"mat-chip-set",46)(3,"mat-chip",47),P(4),k()(),C(5,"span"),P(6),k()(),C(7,"div")(8,"h5"),P(9),k(),C(10,"div"),Q(11,"div",48),k()(),C(12,"div")(13,"mat-chip-set",49),I(14,xnt,2,1,"mat-chip",50),k()()()),2&r){const i=S();let n,s,l;y(4),_e(null==(n=i.updatepostform.get("TopicName"))?null:n.value),y(2),me(" ",i.currentDate," "),y(3),_e(null==(s=i.updatepostform.get("Title"))?null:s.value),y(2),x("innerHTML",null==(l=i.updatepostform.get("Content"))?null:l.value,il),y(3),x("ngForOf",i.chooseTag)}}function Dnt(r,a){1&r&&(C(0,"i",51),P(1,"*Vui l\xf2ng \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin y\xeau c\u1ea7u!"),k())}let Pse=(()=>{class r{onEditorChange({}){}constructor(i,n,s,l,d,p){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.dataService=p,this.postId="",this.subId="",this.updatepostform=this._formBuilder.group({Title:["",[Nt.required,Nt.maxLength(255)]],Content:[" ",Nt.required],Image:[""],TopicId:["",Nt.required],TopicName:["",Nt.required],Tag:[[]]}),this.currentDate=this.service.getCurrentDate(),this.isEditable=!0,this.Editor=qw(),this.selectedImage=null,this.topics=[],this.listTopic=[],this.choosetopic=[],this.topicCtrl=new Hl(""),this.announcer=st(Lp),this.separatorKeysCodes=[13,188],this.listTag=[],this.chooseTag=[],this.tagCtrl=new Hl(""),this.announcerTag=st(Lp),this.separatorKeysCodesTag=[13,188],this.editorConfig={toolbar:["undo","redo","|","heading","|","bold","italic","bulletedList","numberedList","link","insertTable","blockQuote","mediaEmbed"],placeholder:"Nh\u1eadp n\u1ed9i dung \u1edf \u0111\xe2y...",language:"vi"},this.GetAllTopic(),this.GetAllTag(),this.filteredTopics=this.topicCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTopic(f):this.listTopic.slice())),this.filteredTags=this.tagCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTag(f):this.listTag.slice()))}ngOnInit(){this.dataService.currentSubId.subscribe(i=>{this.subId=i??this.subId,this.dataService.isRequestInProgress||(this.dataService.isRequestInProgress=!0,this.getDetail(this.subId),this.dataService.isRequestInProgress=!1)})}getDetail(i){this.service.GetPostDetail(this.subId).subscribe(n=>{console.log(n.resultObj),this.postData=n.resultObj,this.updatepostform.patchValue({Tag:this.postData.tags.map(s=>s.name),Title:this.postData.title,Content:this.postData.content,Image:this.postData.image,TopicName:this.postData.topicName}),this.choosetopic.push(this.postData.topicName),this.chooseTag=this.updatepostform.value.Tag})}addTopic(i){const n=i.value;n&&this.isValueInList(n)&&(this.choosetopic.length>0?this.choosetopic[0]=n:this.choosetopic.push(n)),i.chipInput.clear(),this.topicCtrl.setValue(null)}isValueInList(i){return-1!==this.listTopic.indexOf(i)}addTag(i){const n=i.value;n&&this.isDupplication(n)&&this.chooseTag.length<=5&&this.chooseTag.push(n.trim()),i.chipInput.clear(),this.tagCtrl.setValue(null)}isDupplication(i){return!(""==i||i.trim().length>31||this.chooseTag.includes(i))}removeTag(i){const n=this.chooseTag.indexOf(i);n>=0&&(this.chooseTag.splice(n,1),this.announcerTag.announce(`Removed ${i}`))}removeTopic(i){const n=this.listTopic.indexOf(i);n>=0&&(this.choosetopic.splice(n,1),this.announcer.announce(`Removed ${i}`))}selectedTopic(i){this.choosetopic.length>0?this.choosetopic[0]=i.option.viewValue:(this.choosetopic.push(i.option.viewValue),this.topicInput.nativeElement.value="",this.topicCtrl.setValue(null))}selectedTag(i){this.isDupplication(i.option.viewValue)&&(this.chooseTag.push(i.option.viewValue),this.TagInput.nativeElement.value="",this.tagCtrl.setValue(null))}_filterTopic(i){const n=i.toLowerCase();return this.listTopic.filter(s=>s.toLowerCase().includes(n))}_filterTag(i){const n=i.toLowerCase();return this.listTag.filter(s=>s.toLowerCase().includes(n))}GetAllTopic(){this.service.GetTopic().subscribe(i=>{this.topics=i.resultObj,this.topics.forEach(n=>{this.listTopic.push(n.title),this.listTag.push(n.title)})})}GetAllTag(){this.service.GetAllTag().subscribe(i=>{this.listTag=i.resultObj})}onFileSelected(i){const n=i.files[0];if(n){if(this.checkSize(n))return;const s=new FileReader;s.onload=()=>{this.selectedImage=s.result,this.updatepostform.get("Image")?.setValue(n)},s.readAsDataURL(n)}}checkSize(i){return i.size>2097152&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 2MB."),!0)}Check(){if(this.choosetopic.length>0){const n=this.topics.find(s=>s.title===this.choosetopic[0]);n&&(this.updatepostform.get("TopicId")?.setValue(n.id),this.updatepostform.get("TopicName")?.setValue(n.title))}const i=this.updatepostform.get("Tag");return i&&i.setValue(this.chooseTag),!!this.updatepostform.valid}UpdatePost(){const i=new FormData,n=this.updatepostform;this.updatepostform.get("Image")?.value==this.postData.image&&this.updatepostform.get("Image")?.setValue(null),i.append("Id",this.postData.id||""),i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Content",n.get("Content")?.value?.trim()||""),i.append("Image",n.get("Image")?.value||""),i.append("TopicId",n.get("TopicId")?.value||"");const l=n.get("Tag")?.value;Array.isArray(l)&&l.forEach((d,p)=>{i.append(`Tag[${p}]`,d)}),this.service.UpdatePost(i).subscribe(d=>{this.router.navigate(["/discover",d.resultObj.subId]),setTimeout(()=>{this.triggerReloadDetailPage()},0),this.dialogRef.close(),this.toastr.success("\u0110\xe3 c\u1eadp nh\u1eadp b\xe0i vi\u1ebft")},d=>{const p=d.error.message;null==p?this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y"):(this.toastr.error(p),console.log(d))})}triggerReloadDetailPage(){this.dataService.triggerReloadDetailPage(this.postId)}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updatepost"]],viewQuery:function(n,s){if(1&n&&(oe(dnt,5),oe(unt,5)),2&n){let l;G(l=j())&&(s.topicInput=l.first),G(l=j())&&(s.TagInput=l.first)}},decls:71,vars:30,consts:[[1,"Post-Create-Card"],["linear",""],["stepper",""],[3,"editable"],[2,"margin-top","8px"],[3,"formGroup"],["matStepLabel",""],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.4em","line-height","0"],[4,"ngIf"],["formControlName","Content",2,"max-height","650px","overflow","auto",3,"editor","config","change"],[1,"mt-1"],["mat-raised-button","","color","primary","matStepperNext",""],[1,"image-upload-container","btn","btn-bwm","font"],[1,"mb"],["type","file","accept","image/*",1,"font",3,"change"],["imageInput",""],[1,"image-card"],["class","img-cover","alt","Selected Image",3,"src",4,"ngIf","ngIfElse"],["style","height: 300px;"],["imageCurent",""],[1,"w-100","mt-1"],["aria-label","Ch\u1ecdn 1 ch\u1ee7 \u0111\u1ec1"],["chipGrid",""],[3,"removed",4,"ngFor","ngForOf"],["matSuffix",""],["placeholder","T\xecm ki\u1ebfm ch\u1ee7 \u0111\u1ec1...",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["topicInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["aria-label","Hashtag l\xe0m cho c\xe1c b\xe0i vi\u1ebft c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c d\u1ec5 t\xecm th\u1ea5y h\u01a1n"],["chipGridTag",""],["placeholder","G\u1eafn th\u1ebb (kh\xf4ng b\u1eaft bu\u1ed9c)",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["TagInput",""],["autoTag","matAutocomplete"],["mat-button","","matStepperPrevious",""],[3,"stepControl"],[4,"ngIf","ngIfElse"],["Invalid",""],["mat-raised-button","","color","primary",3,"disabled","click"],["alt","Selected Image",1,"img-cover",3,"src"],[3,"removed"],["matChipRemove",""],[3,"value"],[1,"flex-center-sb"],["cdkDropListOrientation","horizontal"],["cdkDrag",""],[3,"innerHTML"],["cdkDropList","","cdkDropListOrientation","horizontal"],["cdkDrag","",4,"ngFor","ngForOf"],[1,"text-red"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"mat-stepper",1,2)(3,"mat-step",3),Q(4,"div",4),C(5,"form",5),I(6,hnt,1,0,"ng-template",6),C(7,"mat-form-field",7),Q(8,"input",8),I(9,pnt,2,0,"mat-error",9),I(10,gnt,2,0,"mat-error",9),k(),C(11,"div")(12,"ckeditor",10),B("change",function(p){return s.onEditorChange(p)}),k()(),C(13,"div",11)(14,"button",12),P(15,"Ti\u1ebfp theo"),k()()()(),C(16,"mat-step",3),I(17,mnt,1,0,"ng-template",6),C(18,"form",5),Q(19,"div",4),C(20,"label",13)(21,"span",14),P(22,"Ch\u1ecdn \u1ea3nh b\xeca"),k(),C(23,"input",15,16),B("change",function(){z(l);const p=ee(24);return H(s.onFileSelected(p))}),k()(),C(25,"div",17),I(26,fnt,1,1,"img",18),I(27,_nt,1,1,"ng-template",19,20,pe),k(),C(29,"mat-form-field",21)(30,"mat-chip-grid",22,23),I(32,vnt,5,2,"mat-chip-row",24),k(),C(33,"mat-label")(34,"mat-icon",25),P(35,"new_label"),k()(),C(36,"input",26,27),B("matChipInputTokenEnd",function(p){return s.addTopic(p)}),k(),C(38,"mat-autocomplete",28,29),B("optionSelected",function(p){return s.selectedTopic(p)}),I(40,bnt,2,2,"mat-option",30),le(41,"async"),k()(),C(42,"mat-form-field",7)(43,"mat-chip-grid",31,32),I(45,ynt,5,2,"mat-chip-row",24),k(),C(46,"mat-label")(47,"mat-icon",25),P(48,"tag"),k()(),C(49,"input",33,34),B("matChipInputTokenEnd",function(p){return s.addTag(p)}),k(),C(51,"mat-autocomplete",28,35),B("optionSelected",function(p){return s.selectedTag(p)}),I(53,Cnt,2,2,"mat-option",30),le(54,"async"),k()(),C(55,"div")(56,"button",36),P(57,"Quay l\u1ea1i"),k(),C(58,"button",12),P(59,"Ti\u1ebfp theo"),k()()()(),C(60,"mat-step",37),Q(61,"div",4),I(62,wnt,1,0,"ng-template",6),I(63,knt,15,5,"div",38),I(64,Dnt,2,0,"ng-template",null,39,pe),C(66,"div")(67,"button",36),P(68,"Quay l\u1ea1i"),k(),C(69,"button",40),B("click",function(){return s.UpdatePost()}),P(70,"C\u1eadp nh\u1eadp"),k()()()()()}if(2&n){const l=ee(28),d=ee(31),p=ee(39),f=ee(44),v=ee(52),D=ee(65);let E,F;y(3),x("editable",s.isEditable),y(2),x("formGroup",s.updatepostform),y(4),x("ngIf",null==(E=s.updatepostform.get("Title"))?null:E.hasError("required")),y(1),x("ngIf",null==(F=s.updatepostform.get("Title"))?null:F.hasError("maxlength")),y(2),x("editor",s.Editor)("config",s.editorConfig),y(4),x("editable",s.isEditable),y(2),x("formGroup",s.updatepostform),y(8),x("ngIf",s.selectedImage)("ngIfElse",l),y(6),x("ngForOf",s.choosetopic),y(4),x("formControl",s.topicCtrl)("matChipInputFor",d)("matAutocomplete",p)("matChipInputSeparatorKeyCodes",s.separatorKeysCodes),y(4),x("ngForOf",ln(41,26,s.filteredTopics)),y(5),x("ngForOf",s.chooseTag),y(4),x("formControl",s.tagCtrl)("matChipInputFor",f)("matAutocomplete",v)("matChipInputSeparatorKeyCodes",s.separatorKeysCodesTag),y(4),x("ngForOf",ln(54,28,s.filteredTags)),y(7),x("stepControl",s.updatepostform),y(3),x("ngIf",s.Check())("ngIfElse",D),y(6),x("disabled",!s.Check())}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,ud,Cf,Us,Fm,Cr,Fo,S5,$w,T5,yj,Cj,NS,Ww,ph,US,WS,jS,Xw,wb,tu,jo,ba,Yw,hv],styles:[".Post-Create-Card[_ngcontent-%COMP%]{max-height:650px;height:620px;min-height:100px;overflow:auto}.image-upload-container[_ngcontent-%COMP%]{position:absolute;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:#007bff;color:#fff;cursor:pointer;padding:8px 10px}.image-upload-container[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%]{background-color:#0056b3}.image-card[_ngcontent-%COMP%]{width:100%;height:300px;min-height:50px;border:8px dashed #ccc;border-width:1px;border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden}.img-cover[_ngcontent-%COMP%]{max-width:600px;object-fit:cover;max-height:300px}[_nghost-%COMP%] .ck.ck-editor{border:none!important;outline:none!important}[_nghost-%COMP%] .ck.ck-toolbar{border:none!important}[_nghost-%COMP%] .ck.ck-content{outline:none!important}[_nghost-%COMP%] .ck.ck-input{outline:none!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{box-shadow:none!important}"]})}return r})();const Ant=new $e("WindowToken",typeof window<"u"&&window.document?{providedIn:"root",factory:()=>window}:{providedIn:"root",factory:()=>{}});let q5=(()=>{class r{constructor(i,n,s){this.ngZone=i,this.document=n,this.window=s,this.copySubject=new Ge,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(i){this.config=i}copy(i){if(!this.isSupported||!i)return this.pushCopyResponse({isSuccess:!1,content:i});const n=this.copyFromContent(i);return this.pushCopyResponse(n?{content:i,isSuccess:n}:{isSuccess:!1,content:i})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}isTargetValid(i){if(i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement){if(i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}copyFromInputElement(i,n=!0){try{this.selectTarget(i);const s=this.copyText();return this.clearSelection(n?i:void 0,this.window),s&&this.isCopySuccessInIE11()}catch{return!1}}isCopySuccessInIE11(){const i=this.window.clipboardData;return!(i&&i.getData&&!i.getData("Text"))}copyFromContent(i,n=this.document.body){if(this.tempTextArea&&!n.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{n.appendChild(this.tempTextArea)}catch{throw new Error("Container should be a Dom element")}}this.tempTextArea.value=i;const s=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),s}destroy(i=this.document.body){this.tempTextArea&&(i.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(i){return i.select(),i.setSelectionRange(0,i.value.length),i.value.length}copyText(){return this.document.execCommand("copy")}clearSelection(i,n){i&&i.focus(),n.getSelection()?.removeAllRanges()}createTempTextArea(i,n){const s="rtl"===i.documentElement.getAttribute("dir");let l;return l=i.createElement("textarea"),l.style.fontSize="12pt",l.style.border="0",l.style.padding="0",l.style.margin="0",l.style.position="absolute",l.style[s?"right":"left"]="-9999px",l.style.top=(n.pageYOffset||i.documentElement.scrollTop)+"px",l.setAttribute("readonly",""),l}pushCopyResponse(i){this.copySubject.observers.length>0&&this.ngZone.run(()=>{this.copySubject.next(i)})}pushCopyReponse(i){this.pushCopyResponse(i)}}return r.\u0275fac=function(i){return new(i||r)(De(et),De(Tt),De(Ant,8))},r.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Int=(()=>{class r{}return r.\u0275fac=function(i){return new(i||r)},r.\u0275mod=Ht({type:r}),r.\u0275inj=zt({imports:[Gs]}),r})();function Snt(r,a){if(1&r){const i=ce();C(0,"button",32),B("click",function(){return z(i),H(S().toggleThumb())}),C(1,"span",6),P(2," thumb_up "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.likeNumber," ")}}function Tnt(r,a){if(1&r){const i=ce();C(0,"button",33),B("click",function(){return z(i),H(S().toggleThumb())}),C(1,"span",34),P(2," thumb_up "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.likeNumber," ")}}function Ent(r,a){if(1&r){const i=ce();C(0,"button",35),B("click",function(){return z(i),H(S().IsSave())}),C(1,"span",6),P(2," bookmark_add "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.saveNumber," ")}}function Mnt(r,a){if(1&r){const i=ce();C(0,"button",36),B("click",function(){return z(i),H(S().IsSave())}),C(1,"span",34),P(2," bookmark_added "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.saveNumber," ")}}function Rnt(r,a){if(1&r){const i=ce();C(0,"div")(1,"button",37),B("click",function(){return z(i),H(S().updatePost())}),C(2,"span",6),P(3," edit "),k()(),C(4,"button",38),B("click",function(){return z(i),H(S().deletePost())}),C(5,"span",6),P(6," delete "),k()()()}}function Pnt(r,a){1&r&&Q(0,"img",39)}function Ont(r,a){if(1&r&&Q(0,"img",40),2&r){const i=S();ri("src",null==i.postData||null==i.postData.userShort?null:i.postData.userShort.image,oi)}}function Fnt(r,a){if(1&r){const i=ce();C(0,"mat-chip",43),B("click",function(){const l=z(i).$implicit;return H(S(2).findByTag(l.name))}),C(1,"span",44),P(2),k()()}if(2&r){const i=a.$implicit;y(2),me(" ",i.name," ")}}function Nnt(r,a){if(1&r&&(C(0,"div",41)(1,"mat-icon",25),P(2,"tag"),k(),I(3,Fnt,3,1,"mat-chip",42),k()),2&r){const i=S();y(3),x("ngForOf",null==i.postData?null:i.postData.tags)}}function Lnt(r,a){if(1&r){const i=ce();C(0,"div",45)(1,"a",46),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),Q(2,"img",47),C(3,"div",48)(4,"span",49),P(5),k()()()()}if(2&r){const i=a.$implicit;y(2),ri("src",i.image,oi),y(3),_e(i.title)}}let Bnt=(()=>{class r{constructor(i,n,s,l,d,p,f,v,D,E){this.route=i,this.router=n,this.service=s,this.dataService=l,this.dialog=d,this.session=p,this.toastr=f,this.overlay=v,this.clipboardService=D,this.location=E,this.reloadSubscription=null,this.postData=null,this.posts=[],this.postId="",this.isThumbUp=null,this.isSave=null,this.currentUrl="",this.likeNumber=0,this.saveNumber=0,this.commentNum=0,this.userIdOfPost="",this.route.params.subscribe(F=>{this.postId=F.postId??""}),this.getDetail(),this.getInteract(),this.currentUrl=this.location.path()}ngOnInit(){this.reloadSubscription=this.dataService.reloadDetailPage$.subscribe(i=>{""!=i&&i&&(this.postId=i,this.router.navigate([],{relativeTo:this.route}),this.getDetail())})}getDetail(){this.service.GetPostDetail(this.postId).subscribe(i=>{if(this.postData=i.resultObj,this.likeNumber=i.resultObj.likeNumber,this.saveNumber=i.resultObj.saveNumber,this.commentNum=i.resultObj.commentNumber,this.userIdOfPost=i.resultObj.userShort.id,this.postData){const n=fi(this.postData.createdAt),s=fi(this.postData.updatedAt??"");isNaN(n.getTime())||(this.postData.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(this.postData.updatedAt=_i(s,"dd-MM-yyyy"))}this.getPosts()})}postDetail(i){const n=i.subId;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate(["/discover",n])}getInteract(){this.session.getUserId()&&(this.service.getLike(this.postId,this.session.getUserId()||"").subscribe(i=>{this.isThumbUp=i.resultObj.check},i=>{console.error(i)}),this.service.getSave(this.postId,this.session.getUserId()||"").subscribe(i=>{this.isSave=i.resultObj.check},i=>{console.error(i)}))}getPosts(){this.service.getRandomPost(8).subscribe(i=>{this.posts=i.resultObj.filter(s=>s.id!==this.postData?.id)},i=>{console.error("L\u1ed7i: ",i)})}findByTag(i){this.dataService.changeKeyword("#"+i),this.router.navigate(["/searchposts"])}toggleThumb(){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const i=new FormData;i.append("PostId",this.postId),i.append("UserId",this.session.getUserId()??""),this.service.LikeOrUnlike(i).subscribe(n=>{const s=n.resultObj;this.isThumbUp=s.check,this.likeNumber=s.quantity})}IsSave(){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const i=new FormData;i.append("PostId",this.postId),i.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSave(i).subscribe(n=>{const s=n.resultObj;this.isSave=s.check,this.saveNumber=s.quantity})}Report(){this.session.getUserId()?this.openDialog("10ms","10ms"):this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!")}openDialog(i,n){this.dialog.open(JXe,{enterAnimationDuration:i,exitAnimationDuration:n,width:"900px",height:"500px",data:{SubId:this.postId}})}comment(){this.openDialogComment("10ms","10ms")}openDialogComment(i,n){(new MS).hasBackdrop=!1,this.dialog.open(Fit,{enterAnimationDuration:i,exitAnimationDuration:n,width:"414px",height:"100%",data:{SubId:this.postId},panelClass:"right-aligned-dialog",backdropClass:"custom-backdrop",scrollStrategy:this.overlay.scrollStrategies.noop()})}getComment(){this.service.getPostComment(this.postId).subscribe(i=>{this.commentNum=i.resultObj.length})}updatePost(){this.dataService.changeSubId(this.postId),this.openDialogUpdatePost("100ms","600ms")}openDialogUpdatePost(i,n){this.dialog.open(Pse,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}deletePost(){this.service.DeletePost(this.postData?.id??"").subscribe(i=>{i.isSuccessed?(this.toastr.success("X\xf3a b\xe0i th\xe0nh c\xf4ng"),this.router.navigate(["/discover"])):this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}copyToClipboard(){this.clipboardService.copy(this.service.getUrl()+this.currentUrl),this.toastr.info("\u0110\xe3 sao ch\xe9p \u0111\u01b0\u1eddng link")}canEditDelete(){return this.session.getUserId()==this.userIdOfPost}static#e=this.\u0275fac=function(n){return new(n||r)(T(_c),T(di),T(In),T(Fr),T(Dc),T(Rn),T(Mi),T(_a),T(q5),T(Gu))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-postdetail"]],decls:56,vars:17,consts:[[1,"po-re"],[2,"position","fixed"],[1,"interact"],["mat-icon-button","","matTooltip","Th\xedch","matTooltipPosition","left","class","btn-interact",3,"click",4,"ngIf","ngIfElse"],["liked",""],["matTooltip","B\xecnh lu\u1eadn","matTooltipPosition","left","mat-icon-button","",1,"btn-interact",3,"click"],[1,"material-symbols-outlined"],[1,"likeNumber"],["matTooltip","L\u01b0u xem sau","matTooltipPosition","left","mat-icon-button","","class","btn-interact",3,"click",4,"ngIf","ngIfElse"],["saved",""],["matTooltip","B\xe1o c\xe1o","matTooltipPosition","left","mat-icon-button","",1,"dis-flex",3,"click"],["matTooltip","Copy","matTooltipPosition","left","mat-icon-button","","title","Chia s\u1ebb link b\xe0i vi\u1ebft",1,"dis-flex",3,"click"],[4,"ngIf"],[1,"mt-50","plr-200","dis-flex","mh-page"],[1,"font",2,"flex-grow","1"],[1,"flex-center-sb"],["cdkDropListOrientation","horizontal"],["cdkDrag",""],[1,"dis-flex"],["avaterdefault",""],[1,"pr"],["alt","","class","icon-24","style","margin-left: 8px;",3,"src",4,"ngIf","ngIfElse"],[1,"font"],[1,"font",2,"margin","16px 0px",3,"innerHTML"],["matTooltipPosition","left",1,"flex-center-h","cursor-d",3,"matTooltip"],["matSuffix",""],["cdkDropList","","cdkDropListOrientation","horizontal"],["class","flex-center-h",4,"ngIf"],[1,"card_more"],[2,"text-align","center"],[2,"margin-top","4px"],["style","display:flex;",4,"ngFor","ngForOf"],["mat-icon-button","","matTooltip","Th\xedch","matTooltipPosition","left",1,"btn-interact",3,"click"],["mat-icon-button","","matTooltip","B\u1ecf th\xedch","matTooltipPosition","left",1,"selected","btn-interact",3,"click"],[1,"material-symbols-outlined","selected-icon"],["matTooltip","L\u01b0u xem sau","matTooltipPosition","left","mat-icon-button","",1,"btn-interact",3,"click"],["matTooltip","B\u1ecf l\u01b0u","matTooltipPosition","left","mat-icon-button","",1,"selected","btn-interact",3,"click"],["matTooltip","S\u1eeda b\xe0i","matTooltipPosition","left","mat-icon-button","",1,"dis-flex",3,"click"],["matTooltip","X\xf3a b\xe0i","matTooltipPosition","left","mat-icon-button","",1,"dis-flex",2,"display","block",3,"click"],["src","assets/Icon/user.png","alt","",1,"icon-24"],["alt","",1,"icon-24",2,"margin-left","8px",3,"src"],[1,"flex-center-h"],["matTooltip","T\xecm ki\u1ebfm tag n\xe0y","matTooltipPosition","below","cdkDrag","",3,"click",4,"ngFor","ngForOf"],["matTooltip","T\xecm ki\u1ebfm tag n\xe0y","matTooltipPosition","below","cdkDrag","",3,"click"],[2,"cursor","pointer"],[2,"display","flex"],[1,"small-post-card","plr-12","font","pt","pb",3,"click"],["alt","","loading","lazy",1,"post-img",3,"src"],[1,"pl",2,"display","inline-block"],[1,"text-3-line"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2),I(3,Snt,5,1,"button",3),I(4,Tnt,5,1,"ng-template",null,4,pe),C(6,"button",5),B("click",function(){return s.comment()}),C(7,"span",6),P(8," forum "),k(),C(9,"div",7),P(10),k()(),I(11,Ent,5,1,"button",8),I(12,Mnt,5,1,"ng-template",null,9,pe),C(14,"button",10),B("click",function(){return s.Report()}),C(15,"span",6),P(16," error "),k()(),C(17,"button",11),B("click",function(){return s.copyToClipboard()}),C(18,"span",6),P(19," content_copy "),k()(),I(20,Rnt,7,0,"div",12),k()()(),C(21,"div",13)(22,"div",14)(23,"div",15)(24,"mat-chip-set",16)(25,"mat-chip",17),P(26),k()(),C(27,"div",18),I(28,Pnt,1,0,"ng-template",null,19,pe),C(30,"span",20),P(31),k(),I(32,Ont,1,1,"img",21),k()(),C(33,"div")(34,"h5",22),P(35),k(),C(36,"div"),Q(37,"div",23),C(38,"div",15)(39,"div")(40,"strong"),P(41),k()(),C(42,"div",24)(43,"mat-icon",25),P(44,"today"),k(),P(45),k()()()(),C(46,"div")(47,"mat-chip-set",26),I(48,Nnt,4,1,"div",27),k()()(),C(49,"div",28)(50,"div",29)(51,"p",30)(52,"strong"),P(53,"C\xe1c b\xe0i vi\u1ebft li\xean quan"),k()()(),C(54,"div"),I(55,Lnt,6,2,"div",31),k()()()),2&n){const l=ee(5),d=ee(13),p=ee(29);let f;y(3),x("ngIf",!s.isThumbUp)("ngIfElse",l),y(7),me(" ",s.commentNum," "),y(1),x("ngIf",!s.isSave)("ngIfElse",d),y(9),x("ngIf",s.canEditDelete()),y(6),_e(null==s.postData?null:s.postData.topicName),y(5),_e(null==s.postData||null==s.postData.userShort?null:s.postData.userShort.fullName),y(1),x("ngIf",""!==(null==s.postData||null==s.postData.userShort?null:s.postData.userShort.image))("ngIfElse",p),y(3),_e(null==s.postData?null:s.postData.title),y(2),x("innerHTML",null==s.postData?null:s.postData.content,il),y(4),me("L\u01b0\u1ee3t xem: ",null==s.postData?null:s.postData.viewNumber,""),y(1),ri("matTooltip",null!=s.postData&&s.postData.updatedAt?"Ng\xe0y c\u1eadp nh\u1eadp":"Ng\xe0y t\u1ea1o"),y(3),me(" ",null!==(f=null==s.postData?null:s.postData.updatedAt)&&void 0!==f?f:null==s.postData?null:s.postData.createdAt," "),y(3),x("ngIf",null==s.postData||null==s.postData.tags?null:s.postData.tags.length),y(7),x("ngForOf",s.posts)}},dependencies:[Vt,Qe,Us,wr,Fo,ph,wb,er]})}return r})();const Vnt=["trigger"],znt=["panel"];function Hnt(r,a){if(1&r&&(C(0,"span",10),P(1),k()),2&r){const i=S();y(1),_e(i.placeholder)}}function Gnt(r,a){if(1&r&&(C(0,"span",14),P(1),k()),2&r){const i=S(2);y(1),_e(i.triggerValue)}}function jnt(r,a){1&r&&Ie(0,0,["*ngSwitchCase","true"])}function $nt(r,a){1&r&&(C(0,"span",11),I(1,Gnt,2,1,"span",12),I(2,jnt,1,0,"ng-content",13),k()),2&r&&(x("ngSwitch",!!S().customTrigger),y(2),x("ngSwitchCase",!0))}function Unt(r,a){if(1&r){const i=ce();mr(),vt(),C(0,"div",15,16),B("@transformPanel.done",function(s){return z(i),H(S()._panelDoneAnimatingStream.next(s.toState))})("keydown",function(s){return z(i),H(S()._handleKeydown(s))}),Ie(2,1),k()}if(2&r){const i=S();Wd("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",i._getPanelTheme(),""),x("ngClass",i.panelClass)("@transformPanel","showing"),ge("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}const Wnt=[[["mat-select-trigger"]],"*"],qnt=["mat-select-trigger","*"],Knt={transformPanelWrap:hr("transformPanelWrap",[Fi("* => void",GC("@transformPanel",[HC()],{optional:!0}))]),transformPanel:hr("transformPanel",[yn("void",gt({opacity:0,transform:"scale(1, 0.8)"})),Fi("void => showing",Di("120ms cubic-bezier(0, 0, 0.2, 1)",gt({opacity:1,transform:"scale(1, 1)"}))),Fi("* => void",Di("100ms linear",gt({opacity:0})))])};let Ose=0;const Fse=new $e("mat-select-scroll-strategy"),Qnt=new $e("MAT_SELECT_CONFIG"),Xnt={provide:Fse,deps:[_a],useFactory:function Ynt(r){return()=>r.scrollStrategies.reposition()}},Znt=new $e("MatSelectTrigger");class Jnt{constructor(a,i){this.source=a,this.value=i}}const eot=Om(Sv(Vp(i8(class{constructor(r,a,i,n,s){this._elementRef=r,this._defaultErrorStateMatcher=a,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s,this.stateChanges=new Ge}}))));let tot=(()=>{class r extends eot{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(i){this._placeholder=i,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Nt.required)??!1}set required(i){this._required=Et(i),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(i){this._multiple=Et(i)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(i){this._disableOptionCentering=Et(i)}get compareWith(){return this._compareWith}set compareWith(i){this._compareWith=i,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(i){this._assignValue(i)&&this._onChange(i)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(i){this._typeaheadDebounceInterval=Ba(i)}get id(){return this._id}set id(i){this._id=i||this._uid,this.stateChanges.next()}constructor(i,n,s,l,d,p,f,v,D,E,F,L,$,q){super(d,l,f,v,E),this._viewportRuler=i,this._changeDetectorRef=n,this._ngZone=s,this._dir=p,this._parentFormField=D,this._liveAnnouncer=$,this._defaultOptions=q,this._panelOpen=!1,this._compareWith=(Z,se)=>Z===se,this._uid="mat-select-"+Ose++,this._triggerAriaLabelledBy=null,this._destroy=new Ge,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Ose++,this._panelDoneAnimatingStream=new Ge,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=mv(()=>{const Z=this.options;return Z?Z.changes.pipe(go(Z),Jn(()=>rn(...Z.map(se=>se.onSelectionChange)))):this._ngZone.onStable.pipe(An(1),Jn(()=>this.optionSelectionChanges))}),this.openedChange=new X,this._openedStream=this.openedChange.pipe(xi(Z=>Z),Rt(()=>{})),this._closedStream=this.openedChange.pipe(xi(Z=>!Z),Rt(()=>{})),this.selectionChange=new X,this.valueChange=new X,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=q?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=q.typeaheadDebounceInterval),this._scrollStrategyFactory=L,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(F)||0,this.id=this.id}ngOnInit(){this._selectionModel=new zXe(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Qs(),xe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(xe(this._destroy)).subscribe(i=>{i.added.forEach(n=>n.select()),i.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(go(null),xe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const i=this._getTriggerAriaLabelledby(),n=this.ngControl;if(i!==this._triggerAriaLabelledBy){const s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=i,i?s.setAttribute("aria-labelledby",i):s.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(void 0!==this._previousControl&&null!==n.disabled&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(i){(i.disabled||i.userAriaDescribedBy)&&this.stateChanges.next(),i.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const i=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!i)return;const n=`${this.id}-panel`;this._trackedModal&&qC(this._trackedModal,"aria-owns",n),w3(i,"aria-owns",n),this._trackedModal=i}_clearFromModal(){this._trackedModal&&(qC(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(i){this._assignValue(i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const i=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&i.reverse(),i.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(i){this.disabled||(this.panelOpen?this._handleOpenKeydown(i):this._handleClosedKeydown(i))}_handleClosedKeydown(i){const n=i.keyCode,s=40===n||38===n||37===n||39===n,l=13===n||32===n,d=this._keyManager;if(!d.isTyping()&&l&&!Nr(i)||(this.multiple||i.altKey)&&s)i.preventDefault(),this.open();else if(!this.multiple){const p=this.selected;d.onKeydown(i);const f=this.selected;f&&p!==f&&this._liveAnnouncer.announce(f.viewValue,1e4)}}_handleOpenKeydown(i){const n=this._keyManager,s=i.keyCode,l=40===s||38===s,d=n.isTyping();if(l&&i.altKey)i.preventDefault(),this.close();else if(d||13!==s&&32!==s||!n.activeItem||Nr(i))if(!d&&this._multiple&&65===s&&i.ctrlKey){i.preventDefault();const p=this.options.some(f=>!f.disabled&&!f.selected);this.options.forEach(f=>{f.disabled||(p?f.select():f.deselect())})}else{const p=n.activeItemIndex;n.onKeydown(i),this._multiple&&l&&i.shiftKey&&n.activeItem&&n.activeItemIndex!==p&&n.activeItem._selectViaInteraction()}else i.preventDefault(),n.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(An(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(i){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&i)Array.isArray(i),i.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{const n=this._selectOptionByValue(i);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(i){const n=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,i)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(i){return!!(i!==this._value||this._multiple&&Array.isArray(i))&&(this.options&&this._setSelectionByValue(i),this._value=i,!0)}_skipPredicate(i){return i.disabled}_initKeyManager(){this._keyManager=new XQ(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const i=rn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(xe(i)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),rn(...this.options.map(n=>n._stateChanges)).pipe(xe(i)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(i,n){const s=this._selectionModel.isSelected(i);null!=i.value||this._multiple?(s!==i.selected&&(i.selected?this._selectionModel.select(i):this._selectionModel.deselect(i)),n&&this._keyManager.setActiveItem(i),this.multiple&&(this._sortValues(),n&&this.focus())):(i.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(i.value)),s!==this._selectionModel.isSelected(i)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const i=this.options.toArray();this._selectionModel.sort((n,s)=>this.sortComparator?this.sortComparator(n,s,i):i.indexOf(n)-i.indexOf(s)),this.stateChanges.next()}}_propagateChanges(i){let n=null;n=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:i,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let i=-1;for(let n=0;n0}focus(i){this._elementRef.nativeElement.focus(i)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const i=this._parentFormField?.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const i=this._parentFormField?.getLabelId();let n=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(i){this.openedChange.emit(i)}setDescribedByIds(i){i.length?this._elementRef.nativeElement.setAttribute("aria-describedby",i.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(n){return new(n||r)(T(Rm),T(rt),T(et),T(Ev),T(ke),T(Yr,8),T(iw,8),T(jo,8),T(Gw,8),T(ws,10),Ns("tabindex"),T(Fse),T(Lp),T(Qnt,8))};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&(oe(Vnt,5),oe(znt,5),oe(vX,5)),2&n){let l;G(l=j())&&(s.trigger=l.first),G(l=j())&&(s.panel=l.first),G(l=j())&&(s._overlayDir=l.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[Ae,ci]})}return r})(),iot=(()=>{class r extends tot{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=i=>!this.panelOpen&&i.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(xe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(i){const n=this.options.toArray()[i];if(n){const s=this.panel.nativeElement,l=EX(i,this.options,this.optionGroups),d=n._getHostElement();s.scrollTop=0===i&&1===l?0:MX(d.offsetTop,d.offsetHeight,s.scrollTop,s.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(i){return new Jnt(this,i)}_getOverlayWidth(i){return"auto"===this.panelWidth?(i instanceof t8?i.elementRef:i||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=Et(i),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const i of this.options)i._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-select"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,Znt,5),Fe(l,Fm,5),Fe(l,s8,5)),2&n){let d;G(d=j())&&(s.customTrigger=d.first),G(d=j())&&(s.options=d),G(d=j())&&(s.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,s){1&n&&B("keydown",function(d){return s._handleKeydown(d)})("focus",function(){return s._onFocus()})("blur",function(){return s._onBlur()}),2&n&&(ge("id",s.id)("tabindex",s.tabIndex)("aria-controls",s.panelOpen?s.id+"-panel":null)("aria-expanded",s.panelOpen)("aria-label",s.ariaLabel||null)("aria-required",s.required.toString())("aria-disabled",s.disabled.toString())("aria-invalid",s.errorState)("aria-activedescendant",s._getAriaActiveDescendant()),Se("mat-mdc-select-disabled",s.disabled)("mat-mdc-select-invalid",s.errorState)("mat-mdc-select-required",s.required)("mat-mdc-select-empty",s.empty)("mat-mdc-select-multiple",s.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Ye([{provide:f5,useExisting:r},{provide:r8,useExisting:r}]),Ae],ngContentSelectors:qnt,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(n,s){if(1&n&&(pt(Wnt),C(0,"div",0,1),B("click",function(){return s.toggle()}),C(3,"div",2),I(4,Hnt,2,1,"span",3),I(5,$nt,3,2,"span",4),k(),C(6,"div",5)(7,"div",6),mr(),C(8,"svg",7),Q(9,"path",8),k()()()(),I(10,Unt,3,9,"ng-template",9),B("backdropClick",function(){return s.close()})("attach",function(){return s._onAttached()})("detach",function(){return s.close()})),2&n){const l=ee(1);y(3),x("ngSwitch",s.empty),ge("id",s._valueId),y(1),x("ngSwitchCase",!0),y(1),x("ngSwitchCase",!1),y(5),x("cdkConnectedOverlayPanelClass",s._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",s._scrollStrategy)("cdkConnectedOverlayOrigin",s._preferredOverlayOrigin||l)("cdkConnectedOverlayOpen",s.panelOpen)("cdkConnectedOverlayPositions",s._positions)("cdkConnectedOverlayWidth",s._overlayWidth)}},dependencies:[Xt,ed,ju,yC,vX,t8],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Knt.transformPanel]},changeDetection:0})}return r})(),Nse=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[Xnt],imports:[Gs,Pm,P3,Ai,kv,_5,P3,Ai]})}return r})();function not(r,a){if(1&r&&(C(0,"mat-option",19),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function oot(r,a){if(1&r){const i=ce();C(0,"mat-form-field",16)(1,"mat-select",17),B("selectionChange",function(s){return z(i),H(S(2)._changePageSize(s.value))}),I(2,not,2,2,"mat-option",18),k()()}if(2&r){const i=S(2);x("appearance",i._formFieldAppearance)("color",i.color),y(1),x("value",i.pageSize)("disabled",i.disabled)("aria-labelledby",i._pageSizeLabelId)("panelClass",i.selectConfig.panelClass||"")("disableOptionCentering",i.selectConfig.disableOptionCentering),y(1),x("ngForOf",i._displayedPageSizeOptions)}}function rot(r,a){if(1&r&&(C(0,"div",20),P(1),k()),2&r){const i=S(2);y(1),_e(i.pageSize)}}function sot(r,a){if(1&r&&(C(0,"div",12)(1,"div",13),P(2),k(),I(3,oot,3,8,"mat-form-field",14),I(4,rot,2,1,"div",15),k()),2&r){const i=S();y(1),ri("id",i._pageSizeLabelId),y(1),me(" ",i._intl.itemsPerPageLabel," "),y(1),x("ngIf",i._displayedPageSizeOptions.length>1),y(1),x("ngIf",i._displayedPageSizeOptions.length<=1)}}function aot(r,a){if(1&r){const i=ce();C(0,"button",21),B("click",function(){return z(i),H(S().firstPage())}),mr(),C(1,"svg",7),Q(2,"path",22),k()()}if(2&r){const i=S();x("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),ge("aria-label",i._intl.firstPageLabel)}}function lot(r,a){if(1&r){const i=ce();mr(),vt(),C(0,"button",23),B("click",function(){return z(i),H(S().lastPage())}),mr(),C(1,"svg",7),Q(2,"path",24),k()()}if(2&r){const i=S();x("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),ge("aria-label",i._intl.lastPageLabel)}}let Zw=(()=>{class r{constructor(){this.changes=new Ge,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(i,n,s)=>{if(0==s||0==n)return`0 of ${s}`;const l=i*n;return`${l+1} \u2013 ${l<(s=Math.max(s,0))?Math.min(l+n,s):l+n} of ${s}`}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const dot={provide:Zw,deps:[[new da,new Ml,Zw]],useFactory:function cot(r){return r||new Zw}},hot=new $e("MAT_PAGINATOR_DEFAULT_OPTIONS"),pot=Vp(CX(class{}));let got=(()=>{class r extends pot{get pageIndex(){return this._pageIndex}set pageIndex(i){this._pageIndex=Math.max(Ba(i),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(i){this._length=Ba(i),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(i){this._pageSize=Math.max(Ba(i),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(i){this._pageSizeOptions=(i||[]).map(n=>Ba(n)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(i){this._hidePageSize=Et(i)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(i){this._showFirstLastButtons=Et(i)}constructor(i,n,s){if(super(),this._intl=i,this._changeDetectorRef=n,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new X,this._intlChanges=i.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:l,pageSizeOptions:d,hidePageSize:p,showFirstLastButtons:f}=s;null!=l&&(this._pageSize=l),null!=d&&(this._pageSizeOptions=d),null!=p&&(this._hidePageSize=p),null!=f&&(this._showFirstLastButtons=f)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const i=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(i)}previousPage(){if(!this.hasPreviousPage())return;const i=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(i)}firstPage(){if(!this.hasPreviousPage())return;const i=this.pageIndex;this.pageIndex=0,this._emitPageEvent(i)}lastPage(){if(!this.hasNextPage())return;const i=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(i)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const i=this.getNumberOfPages()-1;return this.pageIndexi-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(i){this.page.emit({previousPageIndex:i,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[Ae]})}return r})(),mot=0,xb=(()=>{class r extends got{constructor(i,n,s){super(i,n,s),this._pageSizeLabelId="mat-paginator-page-size-label-"+mot++,this._formFieldAppearance=s?.formFieldAppearance||"outline"}static#e=this.\u0275fac=function(n){return new(n||r)(T(Zw),T(rt),T(hot,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[Ae],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1),I(2,sot,5,4,"div",2),C(3,"div",3)(4,"div",4),P(5),k(),I(6,aot,3,5,"button",5),C(7,"button",6),B("click",function(){return s.previousPage()}),mr(),C(8,"svg",7),Q(9,"path",8),k()(),vt(),C(10,"button",9),B("click",function(){return s.nextPage()}),mr(),C(11,"svg",7),Q(12,"path",10),k()(),I(13,lot,3,5,"button",11),k()()()),2&n&&(y(2),x("ngIf",!s.hidePageSize),y(3),me(" ",s._intl.getRangeLabel(s.pageIndex,s.pageSize,s.length)," "),y(1),x("ngIf",s.showFirstLastButtons),y(1),x("matTooltip",s._intl.previousPageLabel)("matTooltipDisabled",s._previousButtonsDisabled())("matTooltipPosition","above")("disabled",s._previousButtonsDisabled()),ge("aria-label",s._intl.previousPageLabel),y(3),x("matTooltip",s._intl.nextPageLabel)("matTooltipDisabled",s._nextButtonsDisabled())("matTooltipPosition","above")("disabled",s._nextButtonsDisabled()),ge("aria-label",s._intl.nextPageLabel),y(3),x("ngIf",s.showFirstLastButtons))},dependencies:[Vt,Qe,wr,ml,iot,Fm,er],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return r})(),fot=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[dot],imports:[Gs,w5,Nse,c8]})}return r})();const _ot=["innerContainer"];function vot(r,a){if(1&r){const i=ce();C(0,"mat-chip-option",17),B("click",function(){const l=z(i).$implicit;return H(S().selectTag(l))}),P(1),k()}if(2&r){const i=a.$implicit;x("selected",S().selectedTag===i),y(1),_e(i)}}function bot(r,a){if(1&r){const i=ce();C(0,"button",32),B("click",function(s){z(i);const l=S().$implicit;return H(S().IsSave(l,s))}),C(1,"mat-icon",33),P(2," bookmark_add "),k()()}}function yot(r,a){if(1&r){const i=ce();C(0,"button",34),B("click",function(s){z(i);const l=S().$implicit;return H(S().IsSave(l,s))}),C(1,"mat-icon",35),P(2," bookmark_added "),k()()}}function Cot(r,a){if(1&r&&(C(0,"span",36),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.userShort.fullName)}}function wot(r,a){1&r&&P(0),2&r&&_e(S().$implicit.userShort.fullName)}function xot(r,a){if(1&r&&(C(0,"div"),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.createdAt)}}function kot(r,a){1&r&&P(0),2&r&&_e(S().$implicit.updatedAt)}function Dot(r,a){if(1&r){const i=ce();C(0,"div",18)(1,"div"),I(2,bot,3,0,"button",19),I(3,yot,3,0,"ng-template",null,20,pe),k(),C(5,"a",21),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),Q(6,"img",22),C(7,"strong",23),P(8),k(),C(9,"div",24),Q(10,"img",25),I(11,Cot,2,1,"span",26),I(12,wot,1,1,"ng-template",27,28,pe),k(),C(14,"div",29)(15,"div"),P(16),k(),C(17,"div"),I(18,xot,2,1,"div",30),I(19,kot,1,1,"ng-template",null,31,pe),k()()()()}if(2&r){const i=a.$implicit,n=ee(4),s=ee(13),l=ee(20);y(2),x("ngIf",!i.isSaved)("ngIfElse",n),y(4),ri("src",i.image,oi),y(2),_e(i.title),y(2),ri("src",""===i.userShort.image?"assets/Icon/user.png":i.userShort.image,oi),y(1),x("ngIf",""!==i.userShort.fullName)("ngIfElse",s),y(5),me(" ",i.viewNumber," l\u01b0\u1ee3t xem "),y(2),x("ngIf",null==i.updatedAt)("ngIfElse",l)}}const Aot=function(){return[12,24,36]};let Iot=(()=>{class r{constructor(i,n,s,l,d){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.posts=[],this.tags=[],this.selectedTag=null,this.isSave=null,this.postFpk={userId:this.session.getUserId()??"",postId:""},this.postSaved=[],this.postNews=[],this.currentPage=1,this.pageSize=12,this.getPosts(),this.getTags(20),this.session.getUserId()&&this.GetSaved()}selectTag(i){this.selectedTag===i?(this.selectedTag=null,this.getPosts()):(this.selectedTag=i,this.service.getpostbytag(i).subscribe(n=>{this.posts=n.resultObj,this.updatePagedPosts(),this.posts.forEach(s=>{if(s){const l=fi(s.createdAt),d=fi(s.updatedAt??"");isNaN(l.getTime())||(s.createdAt=_i(l,"dd-MM-yyyy")),isNaN(d.getTime())||(s.updatedAt=_i(d,"dd-MM-yyyy"))}})},n=>{console.error("Error fetching posts:",n)}))}getTags(i){this.service.GetTopTags(i).subscribe(n=>{this.tags=n.resultObj})}scrollLeft(){this.innerContainer&&(this.innerContainer.nativeElement.scrollLeft-=900)}scrollRight(){this.innerContainer&&(this.innerContainer.nativeElement.scrollLeft+=900)}postDetail(i){this.router.navigate(["/discover",i.subId])}getPosts(){this.service.GetPost().subscribe(i=>{this.posts=i.resultObj,this.ConvertDate(),this.updatePagedPosts()},i=>{console.error("Error fetching posts:",i)})}ConvertDate(){this.posts.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}IsSave(i,n){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const s=new FormData;s.append("PostId",i.subId),s.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSave(s).subscribe(l=>{i.isSaved=!i.isSaved}),n.stopPropagation()}GetSaved(){this.service.GetMyPostSaved().subscribe(i=>{this.postSaved=i.resultObj,this.posts.forEach(n=>{n.isSaved=this.checkSave(n)})})}checkSave(i){return!!this.postSaved.some(n=>n.id===i.id)&&(i.isSaved=!0,!0)}search(){this.keyWord?.trim()&&(this.dataService.changeKeyword(this.keyWord),this.router.navigate(["/searchposts"]))}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedPosts()}updatePagedPosts(){const i=(this.currentPage-1)*this.pageSize;this.postNews=this.posts.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-discover"]],viewQuery:function(n,s){if(1&n&&oe(_ot,5),2&n){let l;G(l=j())&&(s.innerContainer=l.first)}},decls:23,vars:8,consts:[[1,"mt-60"],[1,"plr-200"],[1,"flex-center","font"],[1,"search-container"],["type","text","matInput","","placeholder","T\xecm ki\u1ebfm",1,"input-search","font",3,"ngModel","ngModelChange","keyup.enter"],[1,"btn-search",3,"click"],["matSuffix","","matRipple","",1,"mr","btn-search-icon"],[1,"flex-container"],["mat-icon-button","",1,"scroll-button",3,"click"],[1,"material-symbols-outlined"],["mat-chip-listbox","",1,"inner-container"],["innerContainer",""],["style","margin-bottom: 4px;","class","ml-1 mat-chip-tag",3,"selected","click",4,"ngFor","ngForOf"],["mat-icon-button","",1,"scroll-button",2,"margin-left","8px",3,"click"],[2,"text-align","center"],["style","display: inline-flex;",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],[1,"ml-1","mat-chip-tag",2,"margin-bottom","4px",3,"selected","click"],[2,"display","inline-flex"],["matTooltip","L\u01b0u v\xe0o xem sau","matTooltipPosition","right","mat-mini-fab","","class","btn-interact po-ab","style","margin-top: 16px; margin-left: 12px;background-color: #00000073 ;",3,"click",4,"ngIf","ngIfElse"],["saved",""],[1,"card-post","plr-12","font","pt-1",3,"click"],["alt","","loading","lazy",1,"post-img",3,"src"],[1,"text-2-line",2,"text-align","start"],[1,"dis-flex","mt"],["alt","",1,"icon-24",3,"src"],["class","pl-1 w-90 of-h",4,"ngIf","ngIfElse"],["class","pl-1"],["fullname",""],[1,"flex-center-sb"],[4,"ngIf","ngIfElse"],["updateAt",""],["matTooltip","L\u01b0u v\xe0o xem sau","matTooltipPosition","right","mat-mini-fab","",1,"btn-interact","po-ab",2,"margin-top","16px","margin-left","12px","background-color","#00000073",3,"click"],[1,"material-symbols-outlined","text-white"],["mat-mini-fab","",1,"selected","btn-interact","po-ab",2,"margin-top","16px","margin-left","12px",3,"click"],["color","primary",1,"material-symbols-outlined","selected-icon","text-white"],[1,"pl-1","w-90","of-h"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"input",4),B("ngModelChange",function(d){return s.keyWord=d})("keyup.enter",function(){return s.search()}),k(),C(5,"button",5),B("click",function(){return s.search()}),C(6,"mat-icon",6),P(7,"search"),k()()()(),Q(8,"div"),C(9,"div",7)(10,"button",8),B("click",function(){return s.scrollLeft()}),C(11,"span",9),P(12,"keyboard_arrow_left"),k()(),C(13,"div",10,11),I(15,vot,2,2,"mat-chip-option",12),k(),C(16,"button",13),B("click",function(){return s.scrollRight()}),C(17,"span",9),P(18,"keyboard_arrow_right"),k()()(),C(19,"div",14),I(20,Dot,21,10,"div",15),C(21,"mat-paginator",16),B("page",function(d){return s.pageEvent(d)}),k()()(),Q(22,"div"),k()),2&n&&(y(4),x("ngModel",s.keyWord),y(11),x("ngForOf",s.tags),y(5),x("ngForOf",s.postNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.posts.length)("pageSizeOptions",Dn(7,Aot)))},dependencies:[Vt,Qe,Sn,gn,ss,hs,Us,xb,wr,jw,Fo,$S,er],styles:[".mat-chip-tag[_ngcontent-%COMP%]{white-space:nowrap;margin-left:5px}.scroll-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font-size:20px}.scroll-button[_ngcontent-%COMP%]:disabled{opacity:.5}"]})}return r})();const Sot=["innerContainer"];function Tot(r,a){if(1&r&&(C(0,"div",18)(1,"i")(2,"strong"),P(3),k(),P(4," b\xe0i vi\u1ebft \u0111\u01b0\u1ee3c t\xecm th\u1ea5y"),k()()),2&r){const i=S();y(3),_e(i.countResult)}}function Eot(r,a){if(1&r&&(C(0,"div",18)(1,"i")(2,"strong"),P(3),k(),P(4," b\xe0i vi\u1ebft \u0111\u01b0\u1ee3c t\xecm th\u1ea5y"),k()()),2&r){const i=S();y(3),_e(i.countResult)}}function Mot(r,a){if(1&r){const i=ce();C(0,"mat-chip-option",19),B("click",function(){const l=z(i).$implicit;return H(S().selectTag(l))}),P(1),k()}if(2&r){const i=a.$implicit;x("selected",S().selectedTag===i),y(1),_e(i)}}function Rot(r,a){if(1&r){const i=ce();C(0,"button",37),B("click",function(s){z(i);const l=S().$implicit;return H(S().IsSave(l,s))}),C(1,"mat-icon",38),P(2," bookmark_add "),k()()}}function Pot(r,a){if(1&r){const i=ce();C(0,"button",39),B("click",function(s){z(i);const l=S().$implicit;return H(S().IsSave(l,s))}),C(1,"mat-icon",40),P(2," bookmark_added "),k()()}}function Oot(r,a){1&r&&Q(0,"img",41),2&r&&ri("src",S().$implicit.userShort.image,oi)}function Fot(r,a){1&r&&Q(0,"img",42)}function Not(r,a){if(1&r&&(C(0,"span",43),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.userShort.fullName)}}function Lot(r,a){1&r&&P(0),2&r&&_e(S().$implicit.userShort.fullName)}function Bot(r,a){if(1&r&&(C(0,"div"),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.createdAt)}}function Vot(r,a){1&r&&P(0),2&r&&_e(S().$implicit.updatedAt)}function zot(r,a){if(1&r){const i=ce();C(0,"div",20)(1,"div",21),I(2,Rot,3,0,"button",22),I(3,Pot,3,0,"ng-template",null,23,pe),k(),C(5,"a",24),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),Q(6,"img",25),C(7,"div",26)(8,"strong",27),P(9),k(),C(10,"div",28),I(11,Oot,1,1,"img",29),I(12,Fot,1,0,"ng-template",null,30,pe),I(14,Not,2,1,"span",31),I(15,Lot,1,1,"ng-template",32,33,pe),k(),C(17,"div",34)(18,"div"),P(19),k(),C(20,"div"),I(21,Bot,2,1,"div",35),I(22,Vot,1,1,"ng-template",null,36,pe),k()()()()()}if(2&r){const i=a.$implicit,n=ee(4),s=ee(13),l=ee(16),d=ee(23);y(2),x("ngIf",!i.isSaved)("ngIfElse",n),y(4),ri("src",i.image,oi),y(3),_e(i.title),y(2),x("ngIf",""!==i.userShort.image)("ngIfElse",s),y(3),x("ngIf",""!==i.userShort.fullName)("ngIfElse",l),y(5),me(" ",i.viewNumber," l\u01b0\u1ee3t xem "),y(2),x("ngIf",null==i.updatedAt)("ngIfElse",d)}}const Hot=function(){return[12,24,36]};let Got=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.route=s,this.dataService=l,this.session=d,this.toastr=p,this.keyWord="",this.posts=[],this.tags=[],this.countResult=0,this.postSaved=[],this.isSave=null,this.selectedTag=null,this.postNews=[],this.currentPage=1,this.pageSize=12,this.getTags(20)}ngOnInit(){this.dataService.currentKeyword.subscribe(i=>{this.keyWord=i??this.keyWord,this.findPost()})}findPost(){this.containsOnlySpaces(this.keyWord)||this.service.postSearch(this.keyWord).subscribe(i=>{this.posts=i.resultObj,this.updatePagedPosts(),this.session.getUserId()&&this.GetSaved(),this.ConvertDate(),this.countResult=this.posts.length})}search(){this.containsOnlySpaces(this.keyWord)||this.service.postSearch(this.keyWord).subscribe(i=>{this.posts=i.resultObj,this.updatePagedPosts(),this.session.getUserId()&&this.GetSaved(),this.countResult=this.posts.length,this.ConvertDate()}),this.router.navigate(["/discover"])}containsOnlySpaces(i){return""===i.trim()}getTags(i){this.service.GetTopTags(i).subscribe(n=>{this.tags=n.resultObj})}scrollLeft(){this.innerContainer&&(this.innerContainer.nativeElement.scrollLeft-=900)}scrollRight(){this.innerContainer&&(this.innerContainer.nativeElement.scrollLeft+=900)}selectTag(i){this.selectedTag===i?(this.selectedTag=null,this.getPosts()):(this.selectedTag=i,this.service.getpostbytag(i).subscribe(n=>{this.posts=n.resultObj,this.updatePagedPosts(),this.posts.forEach(s=>{if(s){const l=fi(s.createdAt),d=fi(s.updatedAt??"");isNaN(l.getTime())||(s.createdAt=_i(l,"dd-MM-yyyy")),isNaN(d.getTime())||(s.updatedAt=_i(d,"dd-MM-yyyy"))}})},n=>{console.error("Error fetching posts:",n)}))}getPosts(){this.service.GetPost().subscribe(i=>{this.posts=i.resultObj,this.updatePagedPosts(),this.posts.length>0&&this.ConvertDate()},i=>{console.error("Error fetching posts:",i)})}ConvertDate(){this.posts.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}postDetail(i){const n=i.subId;this.dataService.changeKeyword(this.keyWord),this.router.navigate(["/discover",n])}IsSave(i,n){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const s=new FormData;s.append("PostId",i.subId),s.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSave(s).subscribe(l=>{i.isSaved=!i.isSaved}),n.stopPropagation()}GetSaved(){this.service.GetMyPostSaved().subscribe(i=>{this.postSaved=i.resultObj,this.posts.forEach(n=>{n.isSaved=this.checkSave(n)})})}checkSave(i){return!!this.postSaved.some(n=>n.id===i.id)&&(i.isSaved=!0,!0)}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedPosts()}updatePagedPosts(){const i=(this.currentPage-1)*this.pageSize;this.postNews=this.posts.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(_c),T(Fr),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-searchpage"]],viewQuery:function(n,s){if(1&n&&oe(Sot,5),2&n){let l;G(l=j())&&(s.innerContainer=l.first)}},decls:24,vars:10,consts:[[1,"mt-60"],[1,"plr-200"],[1,"flex-center","font","po-re"],[1,"search-container"],["type","text","matInput","","placeholder","T\xecm ki\u1ebfm",1,"input-search","font",3,"ngModel","ngModelChange","keyup.enter"],[1,"btn-search",3,"click"],["matSuffix","","matRipple","",1,"mr","btn-search-icon"],["class","po-ab","style","right: 0px;font-size: 12px; font-weight: 500;",4,"ngIf","ngIfElse"],["notfoundpost",""],[1,"flex-container"],["mat-icon-button","",1,"scroll-button",3,"click"],[1,"material-symbols-outlined"],["mat-chip-listbox","",1,"inner-container"],["innerContainer",""],["style","margin-bottom: 4px;","class","ml-1 mat-chip-tag",3,"selected","click",4,"ngFor","ngForOf"],["mat-icon-button","",1,"scroll-button",2,"margin-left","8px",3,"click"],["class","","style","display: inline-flex;",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],[1,"po-ab",2,"right","0px","font-size","12px","font-weight","500"],[1,"ml-1","mat-chip-tag",2,"margin-bottom","4px",3,"selected","click"],[1,"",2,"display","inline-flex"],[2,"z-index","1"],["matTooltip","L\u01b0u v\xe0o xem sau","mat-mini-fab","","class","btn-interact po-ab","style","margin-top: 16px; margin-left: 12px;background-color: #00000073 !important;",3,"click",4,"ngIf","ngIfElse"],["saved",""],[1,"card-post-search","po-re","mlr-12","font","pt-1",3,"click"],["alt","","loading","lazy",1,"post-img",3,"src"],[1,"po-ab","card-postt",2,"background","linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%)"],[1,"text-2-line"],[1,"dis-flex","mt"],["alt","","class","icon-24",3,"src",4,"ngIf","ngIfElse"],["avaterdefault",""],["class","pl-1 w-90 of-h",4,"ngIf","ngIfElse"],["class","pl-1"],["fullname",""],[1,"flex-center-sb"],[4,"ngIf","ngIfElse"],["updateAt",""],["matTooltip","L\u01b0u v\xe0o xem sau","mat-mini-fab","",1,"btn-interact","po-ab",2,"margin-top","16px","margin-left","12px","background-color","#00000073 !important",3,"click"],[1,"material-symbols-outlined","text-white"],["mat-mini-fab","",1,"selected","btn-interact","po-ab",2,"margin-top","16px","margin-left","12px",3,"click"],["color","primary",1,"material-symbols-outlined","selected-icon","text-white"],["alt","",1,"icon-24",3,"src"],["src","assets/Icon/user.png","alt","",1,"icon-24"],[1,"pl-1","w-90","of-h"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"input",4),B("ngModelChange",function(d){return s.keyWord=d})("keyup.enter",function(){return s.search()}),k(),C(5,"button",5),B("click",function(){return s.search()}),C(6,"mat-icon",6),P(7,"search"),k()()(),I(8,Tot,5,1,"div",7),I(9,Eot,5,1,"ng-template",null,8,pe),k(),C(11,"div",9)(12,"button",10),B("click",function(){return s.scrollLeft()}),C(13,"span",11),P(14,"keyboard_arrow_left"),k()(),C(15,"div",12,13),I(17,Mot,2,2,"mat-chip-option",14),k(),C(18,"button",15),B("click",function(){return s.scrollRight()}),C(19,"span",11),P(20,"keyboard_arrow_right"),k()()(),C(21,"div"),I(22,zot,24,11,"div",16),C(23,"mat-paginator",17),B("page",function(d){return s.pageEvent(d)}),k()()()()),2&n){const l=ee(10);y(4),x("ngModel",s.keyWord),y(4),x("ngIf",0!=s.countResult)("ngIfElse",l),y(9),x("ngForOf",s.tags),y(5),x("ngForOf",s.postNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.posts.length)("pageSizeOptions",Dn(9,Hot))}},dependencies:[Vt,Qe,Sn,gn,ss,hs,Us,xb,wr,jw,Fo,$S,er]})}return r})();function jot(r,a){1&r&&(C(0,"button",13)(1,"mat-icon"),P(2,"edit_square"),k(),C(3,"span",7),P(4,"Tr\u1eafc nghi\u1ec7m"),k()())}let $ot=(()=>{class r{constructor(i,n){this.router=i,this.sessionService=n,this.objectList=[{categoryname:"B\xe0i Vi\u1ebft",url:"post"},{categoryname:"B\xe0i h\u1ecdc",url:"lesson"},{categoryname:"B\xe0i t\u1eadp",url:"exercise"},{categoryname:"C\xe2u H\u1ecfi",url:"question"},{categoryname:"T\xe0i li\u1ec7u",url:"document"}],this.defaultLink=this.objectList[0].url}isCheckAdmin(){return"admin"===this.sessionService.getRole()}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(Rn))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-mycategory"]],decls:35,vars:2,consts:[[1,"mt-50","pl-1","mh-page"],[1,"flex-center",2,"height","48px","position","fixed"],["mat-menu-item","",3,"matMenuTriggerFor"],[2,"font-size","20px","padding-right","4px","display","flex"],[1,"material-symbols-outlined"],["category","matMenu"],["mat-menu-item","","routerLink","/mycategory/post"],[1,"fs"],["mat-menu-item","","disabled","","routerLink","/mycategory/post"],["mat-menu-item","","routerLink","/mycategory/exam",4,"ngIf"],["mat-menu-item","","routerLink","/mycategory/question"],["mat-menu-item","","routerLink","/mycategory/document"],["tabPanel",""],["mat-menu-item","","routerLink","/mycategory/exam"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"mat-icon"),P(4,"category"),k(),C(5,"strong",3),P(6,"Danh m\u1ee5c "),C(7,"span",4),P(8," keyboard_arrow_down "),k()()(),C(9,"mat-menu",null,5)(11,"button",6)(12,"mat-icon"),P(13,"menu_book"),k(),C(14,"span",7),P(15,"B\xe0i vi\u1ebft"),k()(),C(16,"button",8)(17,"mat-icon"),P(18,"local_library"),k(),C(19,"span",7),P(20,"B\xe0i h\u1ecdc"),k()(),I(21,jot,5,0,"button",9),C(22,"button",10)(23,"mat-icon"),P(24,"live_help"),k(),C(25,"span",7),P(26,"C\xe2u h\u1ecfi"),k()(),C(27,"button",11)(28,"mat-icon"),P(29,"receipt_long"),k(),C(30,"span",7),P(31,"T\xe0i li\u1ec7u"),k()()()(),C(32,"mat-tab-nav-panel",null,12),Q(34,"router-outlet"),k()()),2&n){const l=ee(10);y(2),x("matMenuTriggerFor",l),y(19),x("ngIf",s.isCheckAdmin())}},dependencies:[RC,js,Qe,Fo,Ij,H5,yb,G5]})}return r})();const Uot=["mat-sort-header",""];function Wot(r,a){if(1&r){const i=ce();C(0,"div",3),B("@arrowPosition.start",function(){return z(i),H(S()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return z(i),H(S()._disableViewStateAnimation=!1)}),Q(1,"div",4),C(2,"div",5),Q(3,"div",6)(4,"div",7)(5,"div",8),k()()}if(2&r){const i=S();x("@arrowOpacity",i._getArrowViewState())("@arrowPosition",i._getArrowViewState())("@allowChildren",i._getArrowDirectionState()),y(2),x("@indicator",i._getArrowDirectionState()),y(1),x("@leftPointer",i._getArrowDirectionState()),y(1),x("@rightPointer",i._getArrowDirectionState())}}const qot=["*"],Lse=new $e("MAT_SORT_DEFAULT_OPTIONS"),Kot=CX(Vp(class{}));let gu=(()=>{class r extends Kot{get direction(){return this._direction}set direction(i){this._direction=i}get disableClear(){return this._disableClear}set disableClear(i){this._disableClear=Et(i)}constructor(i){super(),this._defaultOptions=i,this.sortables=new Map,this._stateChanges=new Ge,this.start="asc",this._direction="",this.sortChange=new X}register(i){this.sortables.set(i.id,i)}deregister(i){this.sortables.delete(i.id)}sort(i){this.active!=i.id?(this.active=i.id,this.direction=i.start?i.start:this.start):this.direction=this.getNextSortDirection(i),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(i){if(!i)return"";let s=function Yot(r,a){let i=["asc","desc"];return"desc"==r&&i.reverse(),a||i.push(""),i}(i.start||this.start,i?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),l=s.indexOf(this.direction)+1;return l>=s.length&&(l=0),s[l]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(n){return new(n||r)(T(Lse,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Ae,ci]})}return r})();const Df=tye.ENTERING+" "+eye.STANDARD_CURVE,Jw={indicator:hr("indicator",[yn("active-asc, asc",gt({transform:"translateY(0px)"})),yn("active-desc, desc",gt({transform:"translateY(10px)"})),Fi("active-asc <=> active-desc",Di(Df))]),leftPointer:hr("leftPointer",[yn("active-asc, asc",gt({transform:"rotate(-45deg)"})),yn("active-desc, desc",gt({transform:"rotate(45deg)"})),Fi("active-asc <=> active-desc",Di(Df))]),rightPointer:hr("rightPointer",[yn("active-asc, asc",gt({transform:"rotate(45deg)"})),yn("active-desc, desc",gt({transform:"rotate(-45deg)"})),Fi("active-asc <=> active-desc",Di(Df))]),arrowOpacity:hr("arrowOpacity",[yn("desc-to-active, asc-to-active, active",gt({opacity:1})),yn("desc-to-hint, asc-to-hint, hint",gt({opacity:.54})),yn("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",gt({opacity:0})),Fi("* => asc, * => desc, * => active, * => hint, * => void",Di("0ms")),Fi("* <=> *",Di(Df))]),arrowPosition:hr("arrowPosition",[Fi("* => desc-to-hint, * => desc-to-active",Di(Df,Zd([gt({transform:"translateY(-25%)"}),gt({transform:"translateY(0)"})]))),Fi("* => hint-to-desc, * => active-to-desc",Di(Df,Zd([gt({transform:"translateY(0)"}),gt({transform:"translateY(25%)"})]))),Fi("* => asc-to-hint, * => asc-to-active",Di(Df,Zd([gt({transform:"translateY(25%)"}),gt({transform:"translateY(0)"})]))),Fi("* => hint-to-asc, * => active-to-asc",Di(Df,Zd([gt({transform:"translateY(0)"}),gt({transform:"translateY(-25%)"})]))),yn("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",gt({transform:"translateY(0)"})),yn("hint-to-desc, active-to-desc, desc",gt({transform:"translateY(-25%)"})),yn("hint-to-asc, active-to-asc, asc",gt({transform:"translateY(25%)"}))]),allowChildren:hr("allowChildren",[Fi("* <=> *",[GC("@*",HC(),{optional:!0})])])};let K5=(()=>{class r{constructor(){this.changes=new Ge}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Xot={provide:K5,deps:[[new da,new Ml,K5]],useFactory:function Qot(r){return r||new K5}},Zot=Vp(class{});let qS=(()=>{class r extends Zot{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(i){this._updateSortActionDescription(i)}get disableClear(){return this._disableClear}set disableClear(i){this._disableClear=Et(i)}constructor(i,n,s,l,d,p,f,v){super(),this._intl=i,this._changeDetectorRef=n,this._sort=s,this._columnDef=l,this._focusMonitor=d,this._elementRef=p,this._ariaDescriber=f,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",v?.arrowPosition&&(this.arrowPosition=v?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{const n=!!i;n!==this._showIndicatorHint&&(this._setIndicatorHintVisible(n),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(i){this._isDisabled()&&i||(this._showIndicatorHint=i,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(i){this._viewState=i||{},this._disableViewStateAnimation&&(this._viewState={toState:i.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(i){!this._isDisabled()&&(32===i.keyCode||13===i.keyCode)&&(i.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const i=this._viewState.fromState;return(i?`${i}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(i){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,i)),this._sortActionDescription=i}_handleStateChanges(){this._rerenderSubscription=rn(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(K5),T(rt),T(gu,8),T("MAT_SORT_HEADER_COLUMN_DEF",8),T(al),T(ke),T(KQ,8),T(Lse,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,s){1&n&&B("click",function(){return s._handleClick()})("keydown",function(d){return s._handleKeydown(d)})("mouseenter",function(){return s._setIndicatorHintVisible(!0)})("mouseleave",function(){return s._setIndicatorHintVisible(!1)}),2&n&&(ge("aria-sort",s._getAriaSortAttribute()),Se("mat-sort-header-disabled",s._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[Ae],attrs:Uot,ngContentSelectors:qot,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(n,s){1&n&&(pt(),C(0,"div",0)(1,"div",1),Ie(2),k(),I(3,Wot,6,6,"div",2),k()),2&n&&(Se("mat-sort-header-sorted",s._isSorted())("mat-sort-header-position-before","before"===s.arrowPosition),ge("tabindex",s._isDisabled()?null:0)("role",s._isDisabled()?null:"button"),y(3),x("ngIf",s._renderArrow()))},dependencies:[Qe],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Jw.indicator,Jw.leftPointer,Jw.rightPointer,Jw.arrowOpacity,Jw.arrowPosition,Jw.allowChildren]},changeDetection:0})}return r})(),Bse=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[Xot],imports:[Gs,Ai]})}return r})();const Jot=[[["caption"]],[["colgroup"],["col"]]],ert=["caption","colgroup, col"];function s$(r){return class extends r{get sticky(){return this._sticky}set sticky(a){const i=this._sticky;this._sticky=Et(a),this._hasStickyChanged=i!==this._sticky}hasStickyChanged(){const a=this._hasStickyChanged;return this._hasStickyChanged=!1,a}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...a){super(...a),this._sticky=!1,this._hasStickyChanged=!1}}}const ex=new $e("CDK_TABLE");let tx=(()=>{class r{constructor(i){this.template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkCellDef",""]]})}return r})(),ix=(()=>{class r{constructor(i){this.template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkHeaderCellDef",""]]})}return r})(),Y5=(()=>{class r{constructor(i){this.template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkFooterCellDef",""]]})}return r})();class ort{}const rrt=s$(ort);let rg=(()=>{class r extends rrt{get name(){return this._name}set name(i){this._setNameInput(i)}get stickyEnd(){return this._stickyEnd}set stickyEnd(i){const n=this._stickyEnd;this._stickyEnd=Et(i),this._hasStickyChanged=n!==this._stickyEnd}constructor(i){super(),this._table=i,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(i){i&&(this._name=i,this.cssClassFriendlyName=i.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(n){return new(n||r)(T(ex,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,tx,5),Fe(l,ix,5),Fe(l,Y5,5)),2&n){let d;G(d=j())&&(s.cell=d.first),G(d=j())&&(s.headerCell=d.first),G(d=j())&&(s.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ye([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:r}]),Ae]})}return r})();class a${constructor(a,i){i.nativeElement.classList.add(...a._columnCssClassName)}}let l$=(()=>{class r extends a${constructor(i,n){super(i,n)}static#e=this.\u0275fac=function(n){return new(n||r)(T(rg),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ae]})}return r})(),c$=(()=>{class r extends a${constructor(i,n){if(super(i,n),1===i._table?._elementRef.nativeElement.nodeType){const s=i._table._elementRef.nativeElement.getAttribute("role");n.nativeElement.setAttribute("role","grid"===s||"treegrid"===s?"gridcell":"cell")}}static#e=this.\u0275fac=function(n){return new(n||r)(T(rg),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ae]})}return r})();class zse{constructor(){this.tasks=[],this.endTasks=[]}}const d$=new $e("_COALESCED_STYLE_SCHEDULER");let Hse=(()=>{class r{constructor(i){this._ngZone=i,this._currentSchedule=null,this._destroyed=new Ge}schedule(i){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(i)}scheduleEnd(i){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(i)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new zse,this._getScheduleObservable().pipe(xe(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const i=this._currentSchedule;this._currentSchedule=new zse;for(const n of i.tasks)n();for(const n of i.endTasks)n()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?wn(Promise.resolve(void 0)):this._ngZone.onStable.pipe(An(1))}static#e=this.\u0275fac=function(n){return new(n||r)(De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),u$=(()=>{class r{constructor(i,n){this.template=i,this._differs=n}ngOnChanges(i){if(!this._columnsDiffer){const n=i.columns&&i.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(i){return this instanceof KS?i.headerCell.template:this instanceof YS?i.footerCell.template:i.cell.template}static#e=this.\u0275fac=function(n){return new(n||r)(T(je),T(qr))};static#t=this.\u0275dir=re({type:r,features:[ci]})}return r})();class srt extends u${}const art=s$(srt);let KS=(()=>{class r extends art{constructor(i,n,s){super(i,n),this._table=s}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(je),T(qr),T(ex,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[Ae,ci]})}return r})();class lrt extends u${}const crt=s$(lrt);let YS=(()=>{class r extends crt{constructor(i,n,s){super(i,n),this._table=s}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(je),T(qr),T(ex,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[Ae,ci]})}return r})(),Q5=(()=>{class r extends u${constructor(i,n,s){super(i,n),this._table=s}static#e=this.\u0275fac=function(n){return new(n||r)(T(je),T(qr),T(ex,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[Ae]})}return r})(),sg=(()=>{class r{static#e=this.mostRecentCellOutlet=null;constructor(i){this._viewContainer=i,r.mostRecentCellOutlet=this}ngOnDestroy(){r.mostRecentCellOutlet===this&&(r.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(n){return new(n||r)(T(ei))};static#i=this.\u0275dir=re({type:r,selectors:[["","cdkCellOutlet",""]]})}return r})(),h$=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,s){1&n&&ye(0,0)},dependencies:[sg],encapsulation:2})}return r})(),g$=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,s){1&n&&ye(0,0)},dependencies:[sg],encapsulation:2})}return r})(),X5=(()=>{class r{constructor(i){this.templateRef=i,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["ng-template","cdkNoDataRow",""]]})}return r})();const Gse=["top","bottom","left","right"];class drt{constructor(a,i,n,s,l=!0,d=!0,p){this._isNativeHtmlTable=a,this._stickCellCss=i,this.direction=n,this._coalescedStyleScheduler=s,this._isBrowser=l,this._needsPositionStickyOnElement=d,this._positionListener=p,this._cachedCellWidths=[],this._borderCellCss={top:`${i}-border-elem-top`,bottom:`${i}-border-elem-bottom`,left:`${i}-border-elem-left`,right:`${i}-border-elem-right`}}clearStickyPositioning(a,i){const n=[];for(const s of a)if(s.nodeType===s.ELEMENT_NODE){n.push(s);for(let l=0;l{for(const s of n)this._removeStickyStyle(s,i)})}updateStickyColumns(a,i,n,s=!0){if(!a.length||!this._isBrowser||!i.some(F=>F)&&!n.some(F=>F))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const l=a[0],d=l.children.length,p=this._getCellWidths(l,s),f=this._getStickyStartColumnPositions(p,i),v=this._getStickyEndColumnPositions(p,n),D=i.lastIndexOf(!0),E=n.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const F="rtl"===this.direction,L=F?"right":"left",$=F?"left":"right";for(const q of a)for(let Z=0;Zi[Z]?q:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===E?[]:p.slice(E).map((q,Z)=>n[Z+E]?q:null).reverse()}))})}stickRows(a,i,n){if(!this._isBrowser)return;const s="bottom"===n?a.slice().reverse():a,l="bottom"===n?i.slice().reverse():i,d=[],p=[],f=[];for(let D=0,E=0;D{for(let D=0;D{i.some(s=>!s)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1)})}_removeStickyStyle(a,i){for(const s of i)a.style[s]="",a.classList.remove(this._borderCellCss[s]);Gse.some(s=>-1===i.indexOf(s)&&a.style[s])?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))}_addStickyStyle(a,i,n,s){a.classList.add(this._stickCellCss),s&&a.classList.add(this._borderCellCss[i]),a.style[i]=`${n}px`,a.style.zIndex=this._getCalculatedZIndex(a),this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(a){const i={top:100,bottom:10,left:1,right:1};let n=0;for(const s of Gse)a.style[s]&&(n+=i[s]);return n?`${n}`:""}_getCellWidths(a,i=!0){if(!i&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],s=a.children;for(let l=0;l0;l--)i[l]&&(n[l]=s,s+=a[l]);return n}}const m$=new $e("CDK_SPL");let Z5=(()=>{class r{constructor(i,n){this.viewContainer=i,this.elementRef=n}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","rowOutlet",""]]})}return r})(),J5=(()=>{class r{constructor(i,n){this.viewContainer=i,this.elementRef=n}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","headerRowOutlet",""]]})}return r})(),e4=(()=>{class r{constructor(i,n){this.viewContainer=i,this.elementRef=n}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","footerRowOutlet",""]]})}return r})(),t4=(()=>{class r{constructor(i,n){this.viewContainer=i,this.elementRef=n}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","noDataRowOutlet",""]]})}return r})(),n4=(()=>{class r{get trackBy(){return this._trackByFn}set trackBy(i){this._trackByFn=i}get dataSource(){return this._dataSource}set dataSource(i){this._dataSource!==i&&this._switchDataSource(i)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(i){this._multiTemplateDataRows=Et(i),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(i){this._fixedLayout=Et(i),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(i,n,s,l,d,p,f,v,D,E,F,L){this._differs=i,this._changeDetectorRef=n,this._elementRef=s,this._dir=d,this._platform=f,this._viewRepeater=v,this._coalescedStyleScheduler=D,this._viewportRuler=E,this._stickyPositioningListener=F,this._ngZone=L,this._onDestroy=new Ge,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new X,this.viewChange=new Pn({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","table"),this._document=p,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((i,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe(xe(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(i=>{i.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),zj(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const i=this._dataDiffer.diff(this._renderRows);if(!i)return this._updateNoDataRow(),void this.contentChanged.next();const n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(i,n,(s,l,d)=>this._getEmbeddedViewArgs(s.item,d),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),i.forEachIdentityChange(s=>{n.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&et.isInAngularZone()?this._ngZone.onStable.pipe(An(1),xe(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(i){this._customColumnDefs.add(i)}removeColumnDef(i){this._customColumnDefs.delete(i)}addRowDef(i){this._customRowDefs.add(i)}removeRowDef(i){this._customRowDefs.delete(i)}addHeaderRowDef(i){this._customHeaderRowDefs.add(i),this._headerRowDefChanged=!0}removeHeaderRowDef(i){this._customHeaderRowDefs.delete(i),this._headerRowDefChanged=!0}addFooterRowDef(i){this._customFooterRowDefs.add(i),this._footerRowDefChanged=!0}removeFooterRowDef(i){this._customFooterRowDefs.delete(i),this._footerRowDefChanged=!0}setNoDataRow(i){this._customNoDataRow=i}updateStickyHeaderRowStyles(){const i=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=i.length?"":"none");const l=this._headerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(i,["top"]),this._stickyStyler.stickRows(i,l,"top"),this._headerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyFooterRowStyles(){const i=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=i.length?"":"none");const l=this._footerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(i,["bottom"]),this._stickyStyler.stickRows(i,l,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,l),this._footerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyColumnStyles(){const i=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...i,...n,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),i.forEach((l,d)=>{this._addStickyColumnStyles([l],this._headerRowDefs[d])}),this._rowDefs.forEach(l=>{const d=[];for(let p=0;p{this._addStickyColumnStyles([l],this._footerRowDefs[d])}),Array.from(this._columnDefsByName.values()).forEach(l=>l.resetStickyChanged())}_getAllRenderRows(){const i=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const p=s&&s.has(d)?s.get(d):[];if(p.length){const f=p.shift();return f.dataIndex=n,f}return{data:i,rowDef:d,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),o4(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=o4(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=o4(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=o4(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const i=this._rowDefs.filter(n=>!n.when);this._defaultRowDef=i[0]}_renderUpdatedColumns(){const i=(d,p)=>d||!!p.getColumnsDiff(),n=this._rowDefs.reduce(i,!1);n&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(i,!1);s&&this._forceRenderHeaderRows();const l=this._footerRowDefs.reduce(i,!1);return l&&this._forceRenderFooterRows(),n||s||l}_switchDataSource(i){this._data=[],zj(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),i||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=i}_observeRenderChanges(){if(!this.dataSource)return;let i;zj(this.dataSource)?i=this.dataSource.connect(this):YK(this.dataSource)?i=this.dataSource:Array.isArray(this.dataSource)&&(i=Dt(this.dataSource)),this._renderChangeSubscription=i.pipe(xe(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((i,n)=>this._renderRow(this._headerRowOutlet,i,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((i,n)=>this._renderRow(this._footerRowOutlet,i,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(i,n){const s=Array.from(n.columns||[]).map(p=>this._columnDefsByName.get(p)),l=s.map(p=>p.sticky),d=s.map(p=>p.stickyEnd);this._stickyStyler.updateStickyColumns(i,l,d,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(i){const n=[];for(let s=0;s!l.when||l.when(n,i));else{let l=this._rowDefs.find(d=>d.when&&d.when(n,i))||this._defaultRowDef;l&&s.push(l)}return s}_getEmbeddedViewArgs(i,n){return{templateRef:i.rowDef.template,context:{$implicit:i.data},index:n}}_renderRow(i,n,s,l={}){const d=i.viewContainer.createEmbeddedView(n.template,l,s);return this._renderCellTemplateForItem(n,l),d}_renderCellTemplateForItem(i,n){for(let s of this._getCellTemplates(i))sg.mostRecentCellOutlet&&sg.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const i=this._rowOutlet.viewContainer;for(let n=0,s=i.length;n{const s=this._columnDefsByName.get(n);return i.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const i=this._document.createDocumentFragment(),n=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of n){const l=this._document.createElement(s.tag);l.setAttribute("role","rowgroup");for(const d of s.outlets)l.appendChild(d.elementRef.nativeElement);i.appendChild(l)}this._elementRef.nativeElement.appendChild(i)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const i=(n,s)=>n||s.hasStickyChanged();this._headerRowDefs.reduce(i,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(i,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(i,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new drt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Dt()).pipe(xe(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(i){return i.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){const i=this._customNoDataRow||this._noDataRow;if(!i)return;const n=0===this._rowOutlet.viewContainer.length;if(n===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(n){const l=s.createEmbeddedView(i.templateRef),d=l.rootNodes[0];1===l.rootNodes.length&&d?.nodeType===this._document.ELEMENT_NODE&&(d.setAttribute("role","row"),d.classList.add(i._contentClassName))}else s.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(n){return new(n||r)(T(qr),T(rt),T(ke),Ns("role"),T(Yr,8),T(Tt),T(Po),T(LS),T(d$),T(Rm),T(m$,12),T(et,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,X5,5),Fe(l,rg,5),Fe(l,Q5,5),Fe(l,KS,5),Fe(l,YS,5)),2&n){let d;G(d=j())&&(s._noDataRow=d.first),G(d=j())&&(s._contentColumnDefs=d),G(d=j())&&(s._contentRowDefs=d),G(d=j())&&(s._contentHeaderRowDefs=d),G(d=j())&&(s._contentFooterRowDefs=d)}},viewQuery:function(n,s){if(1&n&&(oe(Z5,7),oe(J5,7),oe(e4,7),oe(t4,7)),2&n){let l;G(l=j())&&(s._rowOutlet=l.first),G(l=j())&&(s._headerRowOutlet=l.first),G(l=j())&&(s._footerRowOutlet=l.first),G(l=j())&&(s._noDataRowOutlet=l.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(n,s){2&n&&Se("cdk-table-fixed-layout",s.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ye([{provide:ex,useExisting:r},{provide:LS,useClass:$re},{provide:d$,useClass:Hse},{provide:m$,useValue:null}])],ngContentSelectors:ert,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,s){1&n&&(pt(Jot),Ie(0),Ie(1,1),ye(2,0)(3,1)(4,2)(5,3))},dependencies:[Z5,J5,e4,t4],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return r})();function o4(r,a){return r.concat(Array.from(a))}let hrt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Q6]})}return r})();const prt=[[["caption"]],[["colgroup"],["col"]]],grt=["caption","colgroup, col"];let nx=(()=>{class r extends n4{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mdc-table-fixed-layout",s.fixedLayout)},exportAs:["matTable"],features:[Ye([{provide:n4,useExisting:r},{provide:ex,useExisting:r},{provide:d$,useClass:Hse},{provide:LS,useClass:$re},{provide:m$,useValue:null}]),Ae],ngContentSelectors:grt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,s){1&n&&(pt(prt),Ie(0),Ie(1,1),ye(2,0)(3,1)(4,2)(5,3))},dependencies:[Z5,J5,e4,t4],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return r})(),kb=(()=>{class r extends tx{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matCellDef",""]],features:[Ye([{provide:tx,useExisting:r}]),Ae]})}return r})(),Db=(()=>{class r extends ix{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matHeaderCellDef",""]],features:[Ye([{provide:ix,useExisting:r}]),Ae]})}return r})(),Ab=(()=>{class r extends rg{get name(){return this._name}set name(i){this._setNameInput(i)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ye([{provide:rg,useExisting:r},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:r}]),Ae]})}return r})(),Ib=(()=>{class r extends l${static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ae]})}return r})(),Sb=(()=>{class r extends c${static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ae]})}return r})(),ox=(()=>{class r extends KS{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ye([{provide:KS,useExisting:r}]),Ae]})}return r})(),rx=(()=>{class r extends Q5{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ye([{provide:Q5,useExisting:r}]),Ae]})}return r})(),sx=(()=>{class r extends h${static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Ye([{provide:h$,useExisting:r}]),Ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,s){1&n&&ye(0,0)},dependencies:[sg],encapsulation:2})}return r})(),ax=(()=>{class r extends g${static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Ye([{provide:g$,useExisting:r}]),Ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,s){1&n&&ye(0,0)},dependencies:[sg],encapsulation:2})}return r})(),wrt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,hrt,Ai]})}return r})();class krt extends VXe{get data(){return this._data.value}set data(a){a=Array.isArray(a)?a:[],this._data.next(a),this._renderChangesSubscription||this._filterData(a)}get filter(){return this._filter.value}set filter(a){this._filter.next(a),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(a){this._sort=a,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(a){this._paginator=a,this._updateChangeSubscription()}constructor(a=[]){super(),this._renderData=new Pn([]),this._filter=new Pn(""),this._internalPageChanges=new Ge,this._renderChangesSubscription=null,this.sortingDataAccessor=(i,n)=>{const s=i[n];if(LQ(s)){const l=Number(s);return l<9007199254740991?l:s}return s},this.sortData=(i,n)=>{const s=n.active,l=n.direction;return s&&""!=l?i.sort((d,p)=>{let f=this.sortingDataAccessor(d,s),v=this.sortingDataAccessor(p,s);const D=typeof f,E=typeof v;D!==E&&("number"===D&&(f+=""),"number"===E&&(v+=""));let F=0;return null!=f&&null!=v?f>v?F=1:f{const s=Object.keys(i).reduce((d,p)=>d+i[p]+"\u25ec","").toLowerCase(),l=n.trim().toLowerCase();return-1!=s.indexOf(l)},this._data=new Pn(a),this._updateChangeSubscription()}_updateChangeSubscription(){const a=this._sort?rn(this._sort.sortChange,this._sort.initialized):Dt(null),i=this._paginator?rn(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Dt(null),s=gv([this._data,this._filter]).pipe(Rt(([p])=>this._filterData(p))),l=gv([s,a]).pipe(Rt(([p])=>this._orderData(p))),d=gv([l,i]).pipe(Rt(([p])=>this._pageData(p)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=d.subscribe(p=>this._renderData.next(p))}_filterData(a){return this.filteredData=null==this.filter||""===this.filter?a:a.filter(i=>this.filterPredicate(i,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(a){return this.sort?this.sortData(a.slice(),this.sort):a}_pageData(a){if(!this.paginator)return a;const i=this.paginator.pageIndex*this.paginator.pageSize;return a.slice(i,i+this.paginator.pageSize)}_updatePaginator(a){Promise.resolve().then(()=>{const i=this.paginator;if(i&&(i.length=a,i.pageIndex>0)){const n=Math.ceil(i.length/i.pageSize)-1||0,s=Math.min(i.pageIndex,n);s!==i.pageIndex&&(i.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class gh extends krt{}const Drt=["TagInput"];function Art(r,a){1&r&&(C(0,"mat-error"),P(1," \u0110\u1eb7t c\xe2u h\u1ecfi t\u1ea1i \u0111\xe2y... "),k())}function Irt(r,a){1&r&&(C(0,"mat-error"),P(1," C\xe2u h\u1ecfi kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}function Srt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",18),B("removed",function(){const l=z(i).$implicit;return H(S().removeTag(l))}),P(1),C(2,"button",19)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function Trt(r,a){if(1&r&&(C(0,"mat-option",20),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}let $se=(()=>{class r{onEditorChange({}){}constructor(i,n,s,l,d,p){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.dataService=p,this.questionId="",this.subQuestionId="",this.updateQuestionForm=this._formBuilder.group({Id:[""],Title:["",[Nt.required,Nt.maxLength(255)]],Content:["",Nt.required],Tag:[[]]}),this.currentDate=this.service.getCurrentDate(),this.isEditable=!0,this.Editor=qw(),this.topicCtrl=new Hl(""),this.announcer=st(Lp),this.listTag=[],this.chooseTag=[],this.tagCtrl=new Hl(""),this.announcerTag=st(Lp),this.separatorKeysCodesTag=[13,188],this.editorConfig={toolbar:["undo","redo","|","heading","|","bold","italic","bulletedList","numberedList","link","insertTable","blockQuote","mediaEmbed"],placeholder:"Mi\xeau t\u1ea3 th\xeam \u1edf \u0111\xe2y... (kh\xf4ng b\u1eaft bu\u1ed9c)",language:"vi"},this.dataService.currentSubId.subscribe(f=>{this.subQuestionId=f??this.subQuestionId,this.getDetail(),console.log(this.updateQuestionForm.value.Title)}),this.GetAllTag(),this.filteredTags=this.tagCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTag(f):this.listTag.slice()))}getDetail(){this.service.GetQuestionDetail(this.subQuestionId).subscribe(i=>{this.updateQuestionForm.get("Title")?.setValue(i.resultObj.title),this.updateQuestionForm.get("Content")?.setValue(i.resultObj.content),this.chooseTag.push(...i.resultObj.tags.map(s=>s.name)),this.updateQuestionForm.get("Id")?.setValue(i.resultObj.id),this.questionId=i.resultObj.id},i=>{this.toastr.error("L\u1ed7i: "+i)})}addTag(i){console.log(0),console.log(this.chooseTag.values);const n=i.value;n&&this.isDupplication(n)&&this.chooseTag.length<=5&&(this.chooseTag.push(n.trim()),console.log(1)),i.chipInput.clear(),this.tagCtrl.setValue(null)}isDupplication(i){return!(""==i||i.trim().length>31||this.chooseTag.includes(i))}removeTag(i){const n=this.chooseTag.indexOf(i);n>=0&&(this.chooseTag.splice(n,1),this.announcerTag.announce(`Removed ${i}`))}selectedTag(i){this.isDupplication(i.option.viewValue)&&(this.chooseTag.push(i.option.viewValue),this.TagInput.nativeElement.value="",this.tagCtrl.setValue(null))}_filterTag(i){const n=i.toLowerCase();return this.listTag.filter(s=>s.toLowerCase().includes(n))}GetAllTag(){this.service.GetAllTag().subscribe(i=>{this.listTag=i.resultObj})}Check(){const i=this.updateQuestionForm.get("Tag");return i&&i.setValue(this.chooseTag),!!this.updateQuestionForm.valid}UpdateQuestion(){const i=new FormData,n=this.updateQuestionForm;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Content",n.get("Content")?.value||""),i.append("Id",n.get("Id")?.value||"");const s=n.get("Tag")?.value;Array.isArray(s)&&s.forEach((l,d)=>{i.append(`Tag[${d}]`,l)}),this.service.UpdateQuestion(i).subscribe(l=>{const d=l.resultObj.subId;this.dataService.changeIdQuestion(l.resultObj.id),this.router.navigate(["/forum",d]),setTimeout(()=>{this.dataService.triggerReloadDetailPage(d)},10),this.dialogRef.close()},l=>{const d=l.error.message;null==d?this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y"):(this.toastr.error(d),console.log(l))})}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-update"]],viewQuery:function(n,s){if(1&n&&oe(Drt,5),2&n){let l;G(l=j())&&(s.TagInput=l.first)}},decls:27,vars:14,consts:[[1,"plr-1","create-question"],[3,"formGroup"],[1,"flex-center-sb","pt-1","pb"],["mat-raised-button","","color","primary",3,"disabled","click"],["appearance","outline",1,"w-100","specific-border"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp c\xe2u h\u1ecfi \u1edf \u0111\xe2y...","required","",1,"fw-5","title-question"],[4,"ngIf"],["formControlName","Content",2,"max-height","650px","overflow","auto",3,"editor","config","change"],["appearance","outline",1,"w-100","specific-border","mt-1"],["aria-label","Hashtag l\xe0m cho c\xe1c b\xe0i vi\u1ebft c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c d\u1ec5 t\xecm th\u1ea5y h\u01a1n"],["chipGridTag",""],[3,"removed",4,"ngFor","ngForOf"],["matSuffix",""],[3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["TagInput",""],[3,"optionSelected"],["autoTag","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removed"],["matChipRemove",""],[3,"value"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"form",1)(2,"mat-label",2)(3,"strong"),P(4,"Ch\u1ec9nh s\u1eeda c\xe2u h\u1ecfi"),k(),C(5,"button",3),B("click",function(){return s.UpdateQuestion()}),P(6,"C\u1eadp nh\u1eadp"),k()(),C(7,"mat-form-field",4),Q(8,"textarea",5),I(9,Art,2,0,"mat-error",6),I(10,Irt,2,0,"mat-error",6),k(),C(11,"div")(12,"ckeditor",7),B("change",function(d){return s.onEditorChange(d)}),k()(),C(13,"mat-form-field",8)(14,"mat-chip-grid",9,10),I(16,Srt,5,2,"mat-chip-row",11),k(),C(17,"mat-label")(18,"mat-icon",12),P(19,"tag"),k(),P(20," G\u1eafn th\u1ebb (kh\xf4ng b\u1eaft bu\u1ed9c) "),k(),C(21,"input",13,14),B("matChipInputTokenEnd",function(d){return s.addTag(d)}),k(),C(23,"mat-autocomplete",15,16),B("optionSelected",function(d){return s.selectedTag(d)}),I(25,Trt,2,2,"mat-option",17),le(26,"async"),k()()()()),2&n){const l=ee(15),d=ee(24);let p,f;y(1),x("formGroup",s.updateQuestionForm),y(4),x("disabled",!s.Check()),y(4),x("ngIf",null==(p=s.updateQuestionForm.get("Title"))?null:p.hasError("required")),y(1),x("ngIf",null==(f=s.updateQuestionForm.get("Title"))?null:f.hasError("maxlength")),y(2),x("editor",s.Editor)("config",s.editorConfig),y(4),x("ngForOf",s.chooseTag),y(5),x("formControl",s.tagCtrl)("matChipInputFor",l)("matAutocomplete",d)("matChipInputSeparatorKeyCodes",s.separatorKeysCodesTag),y(4),x("ngForOf",ln(26,12,s.filteredTags))}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,ud,Cf,Us,Fm,Cr,Fo,NS,Ww,US,WS,jS,Xw,tu,jo,ba,Yw,hv],styles:[".mat-form-field-appearance-outline.specific-border .mat-form-field-outline{background-color:#fff!important;border-radius:5px;outline:.5px solid #ccccccb6!important}.title-question[_ngcontent-%COMP%]{font-size:1em;max-width:100%;min-width:100%;height:106px;max-height:106px}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0;min-height:6.5em!important;max-height:11.5em!important;overflow:auto}"]})}return r})();function Ert(r,a){1&r&&(C(0,"th",21),P(1," Ti\xeau \u0111\u1ec1 "),k())}function Mrt(r,a){if(1&r){const i=ce();C(0,"td",22)(1,"a",23),B("click",function(){const l=z(i).$implicit;return H(S().QuestionDetail(l))}),C(2,"strong"),P(3),k()(),C(4,"div",24)(5,"button",25),B("click",function(){const l=z(i).$implicit;return H(S().updateQuestion(l))}),P(6,"S\u1eeda"),k(),C(7,"button",26),P(8,"X\xf3a"),k()()()}if(2&r){const i=a.$implicit;y(3),_e(i.title)}}function Rrt(r,a){1&r&&(C(0,"th",27),P(1," Ng\xe0y vi\u1ebft "),k())}function Prt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.createdAt," ")}}function Ort(r,a){1&r&&(C(0,"th",27),P(1," Ng\xe0y s\u1eeda "),k())}function Frt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.updatedAt," ")}}function Nrt(r,a){1&r&&(C(0,"th",21),P(1," L\u01b0\u1ee3t xem "),k())}function Lrt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.viewNumber," ")}}function Brt(r,a){1&r&&(C(0,"th",21),P(1," Th\xedch "),k())}function Vrt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.likeNumber," ")}}function zrt(r,a){1&r&&(C(0,"th",21),P(1," C\xe2u tr\u1ea3 l\u1eddi "),k())}function Hrt(r,a){if(1&r&&(C(0,"td",28)(1,"strong"),P(2),k()()),2&r){const i=a.$implicit;y(2),_e(i.commentNumber)}}function Grt(r,a){1&r&&(C(0,"th",21),P(1," L\u01b0u "),k())}function jrt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.saveNumber," ")}}function $rt(r,a){1&r&&Q(0,"tr",29)}function Urt(r,a){1&r&&Q(0,"tr",30)}let Wrt=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.dialog=p,this.dataSource=new gh([]),this.questions=[],this.displayedColumns=["title","createdAt","updatedAt","viewNumber","likeNumber","commentNumber","saveNumber"],this.userId=l.getUserId()??"",this.GetMyQuestion()}ngOnInit(){this.dataSource.sort=this.sort}GetMyQuestion(){this.service.GetMyQuestion().subscribe(i=>{this.questions=i.resultObj,this.ConvertDate(),this.dataSource=new gh(this.questions),this.dataSource.sort=this.sort})}ConvertDate(){this.questions.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}QuestionDetail(i){this.router.navigate(["/forum",i.subId])}updateQuestion(i){this.dataService.changeSubId(i.subId),this.openDialogUpdateQuestion("100ms","600ms")}openDialogUpdateQuestion(i,n){this.dialog.open($se,{enterAnimationDuration:i,exitAnimationDuration:n,width:"50%"})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(Dc))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-myquestion"]],viewQuery:function(n,s){if(1&n&&oe(gu,5),2&n){let l;G(l=j())&&(s.sort=l.first)}},decls:35,vars:3,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","C\xe2u h\u1ecfi c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","C\xe2u h\u1ecfi \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/questionsaved",1,"btn-interact",2,"top","148px"],[2,"min-width","400px","max-width","1000px"],["mat-table","","matSort","",1,"font",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","style","cursor: pointer;","class","font",4,"matCellDef"],["matColumnDef","createdAt"],["mat-header-cell","","mat-sort-header","","style","width: 110px;",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","updatedAt"],["matColumnDef","viewNumber"],["matColumnDef","likeNumber"],["matColumnDef","commentNumber"],["matColumnDef","saveNumber"],["style","height: 48px;","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"tag-category","plr-1","pt","pb","text-white"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"font",2,"cursor","pointer"],[1,"text-5-line",3,"click"],[1,"mb"],[1,"mr","text-white",2,"border-radius","2px","background-color","#ED7D2D","border","none",3,"click"],[1,"text-white",2,"border-radius","2px","background-color","#DE3B40","border","none"],["mat-header-cell","","mat-sort-header","",2,"width","110px"],["mat-cell",""],["mat-header-row","",2,"height","48px"],["mat-row",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," indeterminate_question_box "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5)(9,"table",6),be(10,7),I(11,Ert,2,0,"th",8),I(12,Mrt,9,1,"td",9),ve(),be(13,10),I(14,Rrt,2,0,"th",11),I(15,Prt,2,1,"td",12),ve(),be(16,13),I(17,Ort,2,0,"th",11),I(18,Frt,2,1,"td",12),ve(),be(19,14),I(20,Nrt,2,0,"th",8),I(21,Lrt,2,1,"td",12),ve(),be(22,15),I(23,Brt,2,0,"th",8),I(24,Vrt,2,1,"td",12),ve(),be(25,16),I(26,zrt,2,0,"th",8),I(27,Hrt,3,1,"td",12),ve(),be(28,17),I(29,Grt,2,0,"th",8),I(30,jrt,2,1,"td",12),ve(),I(31,$rt,1,0,"tr",18),I(32,Urt,1,0,"tr",19),k()(),C(33,"div",20),P(34," C\xe2u h\u1ecfi "),k()()),2&n&&(y(9),x("dataSource",s.dataSource),y(22),x("matHeaderRowDef",s.displayedColumns),y(1),x("matRowDefColumns",s.displayedColumns))},dependencies:[js,nx,Db,ox,Ab,kb,rx,Ib,Sb,sx,ax,gu,qS,wr,er],styles:[".card-mypost[_ngcontent-%COMP%]{object-fit:cover;height:130px;width:200px}.seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}"]})}return r})();const qrt=new $e("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),Yrt=Iv(class{constructor(r){this._elementRef=r}},"primary");let f$=(()=>{class r extends Yrt{constructor(i,n,s,l,d){super(i),this._ngZone=n,this._changeDetectorRef=s,this._animationMode=l,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new X,this._mode="determinate",this._transitionendHandler=p=>{0===this.animationEnd.observers.length||!p.target||!p.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===l,d&&(d.color&&(this.color=this.defaultColor=d.color),this.mode=d.mode||this.mode)}get value(){return this._value}set value(i){this._value=Use(Ba(i)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(i){this._bufferValue=Use(Ba(i)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(i){this._mode=i,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et),T(rt),T(Eo,8),T(qrt,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(n,s){2&n&&(ge("aria-valuenow",s._isIndeterminate()?null:s.value)("mode",s.mode),Se("_mat-animation-noopable",s._isNoopAnimation)("mdc-linear-progress--animation-ready",!s._isNoopAnimation)("mdc-linear-progress--indeterminate",s._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[Ae],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,s){1&n&&(C(0,"div",0),Q(1,"div",1)(2,"div",2),k(),C(3,"div",3),Q(4,"span",4),k(),C(5,"div",5),Q(6,"span",4),k()),2&n&&(y(1),Pe("flex-basis",s._getBufferBarFlexBasis()),y(2),Pe("transform",s._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return r})();function Use(r,a=0,i=100){return Math.max(a,Math.min(i,r))}let Qrt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai]})}return r})();function Xrt(r,a){1&r&&(C(0,"div",19)(1,"i"),P(2,"Vui l\xf2ng ch\u1edd, \u0111ang t\u1ea3i ... "),k(),Q(3,"mat-progress-bar",20),k())}function Zrt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function Jrt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i hay qu\xe1 ng\u1eafn "),k())}function est(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}let Wse=(()=>{class r{constructor(i,n,s,l,d,p,f,v){this.data=i,this._formBuilder=n,this.service=s,this.router=l,this.toastr=d,this.dialogRef=p,this.dataService=f,this.route=v,this.documentId="",this.documentSubId="",this.selectedFile=null,this.fileName="",this.progessing=!1,this.updatedocumentform=this._formBuilder.group({Title:["",[Nt.required,Nt.maxLength(255),Nt.minLength(10)]],Description:[""],Document:[null],SubId:[""]}),this.dataService.currentSubId.subscribe(D=>{this.documentSubId=D??"",this.getDetail()})}getDetail(){var i=this;this.documentSubId&&this.service.DocumentDetail(this.documentSubId).subscribe(function(){var n=qi(function*(s){if(s.isSuccessed){console.log(s);const l=s.resultObj;i.updatedocumentform.get("Title")?.setValue(l.title??""),i.updatedocumentform.get("Description")?.setValue(l.description),i.updatedocumentform.get("SubId")?.setValue(l.subId??"")}});return function(s){return n.apply(this,arguments)}}())}toggleProgressing(){this.fileName="",setTimeout(()=>{this.progessing=!0},1e3)}onFileSelected(i){const n=i?.files[0];if(n&&this.isValidFileType(n)){if(this.checkSize(n))return void(this.progessing=!1);this.updatedocumentform.get("Document")?.setValue(n),this.progessing=!1,this.fileName=n.name}else this.progessing=!1,this.selectedFile=null,this.toastr.warning("Vui l\xf2ng ch\u1ecdn \u0111\xfang file: PDF ho\u1eb7c DOCX")}onFileInputBlur(){this.progessing=!1}isValidFileType(i){return["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(i.type)}UpdateDocument(){const i=new FormData,n=this.updatedocumentform;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Description",n.get("Description")?.value?.trim()||""),i.append("FileName",n.get("Document")?.value||""),i.append("SubId",n.get("SubId")?.value||""),this.service.UpdateDocument(i).subscribe(s=>{s.isSuccessed?(this.dialogRef.close(),this.documentSubId=s.resultObj.subId,this.updateRouteAndReload(this.documentSubId),this.toastr.success("C\u1eadp nh\u1eadp t\xe0i li\u1ec7u th\xe0nh c\xf4ng")):this.toastr.error("L\u1ed7i: "+s.message)},s=>{this.toastr.error("L\u1ed7i: "+s)})}updateRouteAndReload(i){const n=window.location.href,s=n.indexOf("/document/"),l=n.substring(0,s)+`/document/${i}`;window.location.href=l,location.reload()}checkSize(i){return i.size>8388608&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 8MB."),!0)}static#e=this.\u0275fac=function(n){return new(n||r)(T(RS),T(za),T(In),T(di),T(Mi),T(hd),T(Fr),T(_c))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updatedocument"]],decls:28,vars:10,consts:[[1,"plr-1","create-document"],[1,"flex-center-sb"],[3,"matTooltip"],["mat-raised-button","","color","primary","matTooltip","Chia s\u1ebb",3,"disabled","click"],[3,"formGroup"],[1,"mt"],["appearance","outline",1,"w-100","specific-border","flex-center-h"],[1,"image-upload-container","btn","btn-bwm","font",3,"click","focusout"],[1,"mb","inputfile"],["type","file","accept",".pdf, .docx",1,"font",3,"change"],["imageInput",""],[1,"ml-1","pl",2,"border-left","2px solid rgb(31, 31, 31)"],["class","ml-1 pl","style","color: blue;",4,"ngIf"],[1,"mb",2,"font-size","12px"],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0",3,"value"],[4,"ngIf"],[1,"w-100",2,"max-height","170px"],["matInput","","formControlName","Description","placeholder","Nh\u1eadp m\xf4 t\u1ea3 t\xe0i li\u1ec7u...","required","",1,"fw-5",2,"max-height","126px",3,"value"],[1,"ml-1","pl",2,"color","blue"],["mode","indeterminate"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"div",1)(2,"h5"),P(3," Chia s\u1ebb t\xe0i li\u1ec7u "),k(),C(4,"div",2)(5,"button",3),B("click",function(){return s.UpdateDocument()}),P(6,"C\u1eadp nh\u1eadp"),k()()(),C(7,"form",4),Q(8,"div",5),C(9,"div",6)(10,"label",7),B("click",function(){return s.toggleProgressing()})("focusout",function(){return s.onFileInputBlur()}),C(11,"span",8),P(12,"C\u1eadp nh\u1eadp file t\xe0i li\u1ec7u"),k(),C(13,"input",9,10),B("change",function(){z(l);const p=ee(14);return H(s.onFileSelected(p))}),k()(),C(15,"div",11),P(16),k(),I(17,Xrt,4,0,"div",12),k(),C(18,"div",13)(19,"i"),P(20,"* File c\u1eadp nh\u1eadp y\xeau c\u1ea7u l\xe0 file pdf ho\u1eb7c file word (N\u1ebfu kh\xf4ng thay \u0111\u1ed5i file th\xec \u0111\u1ec3 tr\u1ed1ng)"),k()(),C(21,"mat-form-field",14),Q(22,"input",15),I(23,Zrt,2,0,"mat-error",16),I(24,Jrt,2,0,"mat-error",16),I(25,est,2,0,"mat-error",16),k(),C(26,"mat-form-field",17),Q(27,"textarea",18),k()()()}if(2&n){let l,d,p;y(4),ri("matTooltip",s.updatedocumentform.invalid?"Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin":""),y(1),x("disabled",s.updatedocumentform.invalid),y(2),x("formGroup",s.updatedocumentform),y(9),_e(s.fileName),y(1),x("ngIf",s.progessing),y(5),x("value",s.updatedocumentform.value.Title),y(1),x("ngIf",null==(l=s.updatedocumentform.get("Title"))?null:l.hasError("required")),y(1),x("ngIf",null==(d=s.updatedocumentform.get("Title"))?null:d.hasError("maxlength")),y(1),x("ngIf",null==(p=s.updatedocumentform.get("Title"))?null:p.hasError("minlength")),y(2),x("value",s.updatedocumentform.value.Description)}},dependencies:[Qe,cl,Sn,gn,Qr,vc,hs,ml,Cf,Cr,er,f$,jo,ba],styles:[".image-upload-container[_ngcontent-%COMP%]{position:relative;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;cursor:pointer;padding:8px 10px}.inputfile[_ngcontent-%COMP%]{background-color:#007bff}.inputfile[_ngcontent-%COMP%]:hover{background-color:#0056b3!important}"]})}return r})();function tst(r,a){1&r&&(C(0,"th",21),P(1," Ti\xeau \u0111\u1ec1 "),k())}function ist(r,a){if(1&r){const i=ce();C(0,"td",22)(1,"a",23),B("click",function(){const l=z(i).$implicit;return H(S().DocumentDetail(l))}),C(2,"strong"),P(3),k()(),C(4,"div",24)(5,"button",25),B("click",function(){const l=z(i).$implicit;return H(S().UpdateQuestion(l))}),P(6,"S\u1eeda"),k(),C(7,"button",26),B("click",function(){const l=z(i).$implicit;return H(S().DeleteDocument(l))}),P(8,"X\xf3a"),k()()()}if(2&r){const i=a.$implicit;y(3),_e(i.title)}}function nst(r,a){1&r&&(C(0,"th",27),P(1," M\xf4 t\u1ea3 "),k())}function ost(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.description," ")}}function rst(r,a){1&r&&(C(0,"th",27),P(1," Ng\xe0y vi\u1ebft "),k())}function sst(r,a){if(1&r&&(C(0,"td",29),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.createdAt," ")}}function ast(r,a){1&r&&(C(0,"th",27),P(1," Ng\xe0y s\u1eeda "),k())}function lst(r,a){if(1&r&&(C(0,"td",29),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.updatedAt," ")}}function cst(r,a){1&r&&(C(0,"th",21),P(1," L\u01b0\u1ee3t xem "),k())}function dst(r,a){if(1&r&&(C(0,"td",29),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.viewNumber," ")}}function ust(r,a){1&r&&(C(0,"th",21),P(1," L\u01b0u "),k())}function hst(r,a){if(1&r&&(C(0,"td",29),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.saveNumber," ")}}function pst(r,a){1&r&&Q(0,"tr",30)}function gst(r,a){1&r&&Q(0,"tr",31)}let mst=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.dialog=p,this.dataSource=new gh([]),this.documents=[],this.displayedColumns=["title","description","createdAt","updatedAt","viewNumber","saveNumber"],this.userId=l.getUserId()??"",this.GetMyDocument()}ngOnInit(){this.dataSource.sort=this.sort}GetMyDocument(){this.service.GetMyDocument().subscribe(i=>{this.documents=i.resultObj,this.ConvertDate(),this.dataSource=new gh(this.documents),this.dataSource.sort=this.sort})}ConvertDate(){this.documents.forEach(i=>{if(i){const n=fi(i.createdAt??""),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}DocumentDetail(i){this.router.navigate(["/document",i.subId])}UpdateQuestion(i){this.dataService.changeSubId(i.subId),this.openDialogUpdateQuestion("100ms","600ms")}openDialogUpdateQuestion(i,n){this.dialog.open(Wse,{enterAnimationDuration:i,exitAnimationDuration:n,width:"50%"})}DeleteDocument(i){this.service.DeleteDocument(i.subId).subscribe(s=>{s.isSuccessed?(this.toastr.success("\u0110\xe3 x\xf3a t\xe0i li\u1ec7u"),window.location.reload()):this.toastr.error("L\u1ed7i: "+s.message)},s=>{this.toastr.error("L\u1ed7i: "+s)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(Dc))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-mydocument"]],viewQuery:function(n,s){if(1&n&&oe(gu,5),2&n){let l;G(l=j())&&(s.sort=l.first)}},decls:32,vars:3,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","T\xe0i li\u1ec7u c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","C\xe2u h\u1ecfi \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/documentsaved",1,"btn-interact",2,"top","148px"],[2,"min-width","400px","max-width","1000px"],["mat-table","","matSort","",1,"font",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","style","cursor: pointer;","class","font",4,"matCellDef"],["matColumnDef","description"],["mat-header-cell","","mat-sort-header","","style","width: 110px;",4,"matHeaderCellDef"],["mat-cell","","class","text-6-line",4,"matCellDef"],["matColumnDef","createdAt"],["mat-cell","",4,"matCellDef"],["matColumnDef","updatedAt"],["matColumnDef","viewNumber"],["matColumnDef","saveNumber"],["style","height: 48px;","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"tag-category","plr-1","pt","pb","text-white"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"font",2,"cursor","pointer"],[1,"text-5-line",3,"click"],[1,"mb"],[1,"mr","text-white",2,"border-radius","2px","background-color","#ED7D2D","border","none",3,"click"],[1,"text-white",2,"border-radius","2px","background-color","#DE3B40","border","none",3,"click"],["mat-header-cell","","mat-sort-header","",2,"width","110px"],["mat-cell","",1,"text-6-line"],["mat-cell",""],["mat-header-row","",2,"height","48px"],["mat-row",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," indeterminate_question_box "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5)(9,"table",6),be(10,7),I(11,tst,2,0,"th",8),I(12,ist,9,1,"td",9),ve(),be(13,10),I(14,nst,2,0,"th",11),I(15,ost,2,1,"td",12),ve(),be(16,13),I(17,rst,2,0,"th",11),I(18,sst,2,1,"td",14),ve(),be(19,15),I(20,ast,2,0,"th",11),I(21,lst,2,1,"td",14),ve(),be(22,16),I(23,cst,2,0,"th",8),I(24,dst,2,1,"td",14),ve(),be(25,17),I(26,ust,2,0,"th",8),I(27,hst,2,1,"td",14),ve(),I(28,pst,1,0,"tr",18),I(29,gst,1,0,"tr",19),k()(),C(30,"div",20),P(31," T\xe0i li\u1ec7u "),k()()),2&n&&(y(9),x("dataSource",s.dataSource),y(19),x("matHeaderRowDef",s.displayedColumns),y(1),x("matRowDefColumns",s.displayedColumns))},dependencies:[js,nx,Db,ox,Ab,kb,rx,Ib,Sb,sx,ax,gu,qS,wr,er],styles:[".card-mypost[_ngcontent-%COMP%]{object-fit:cover;height:130px;width:200px}.seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}.text-6-line[_ngcontent-%COMP%]{width:160px;line-height:21px;min-width:40px;height:130px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}"]})}return r})();function fst(r,a){1&r&&(C(0,"th",23),P(1," \u1ea2nh b\xeca "),k())}function _st(r,a){if(1&r){const i=ce();C(0,"td",24)(1,"img",25),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),k()()}if(2&r){const i=a.$implicit;y(1),x("src",i.image,oi)}}function vst(r,a){1&r&&(C(0,"th",26),P(1," Ti\xeau \u0111\u1ec1 "),k())}function bst(r,a){if(1&r){const i=ce();C(0,"td",27)(1,"a",28),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),C(2,"strong"),P(3),k()(),C(4,"button",29),B("click",function(){const l=z(i).$implicit;return H(S().updatePost(l))}),P(5,"S\u1eeda"),k(),C(6,"button",30),B("click",function(){const l=z(i).$implicit;return H(S().deletePost(l))}),P(7,"X\xf3a"),k()()}if(2&r){const i=a.$implicit;y(3),_e(i.title)}}function yst(r,a){1&r&&(C(0,"th",31),P(1," Ng\xe0y vi\u1ebft "),k())}function Cst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.createdAt," ")}}function wst(r,a){1&r&&(C(0,"th",31),P(1," Ng\xe0y s\u1eeda "),k())}function xst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.updatedAt," ")}}function kst(r,a){1&r&&(C(0,"th",26),P(1," L\u01b0\u1ee3t xem "),k())}function Dst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.viewNumber," ")}}function Ast(r,a){1&r&&(C(0,"th",26),P(1," Th\xedch "),k())}function Ist(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.likeNumber," ")}}function Sst(r,a){1&r&&(C(0,"th",26),P(1," B\xecnh lu\u1eadn "),k())}function Tst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.commentNumber," ")}}function Est(r,a){1&r&&(C(0,"th",26),P(1," L\u01b0u "),k())}function Mst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.saveNumber," ")}}function Rst(r,a){1&r&&Q(0,"tr",32)}function Pst(r,a){1&r&&Q(0,"tr",33)}let Ost=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.dialog=p,this.dataSource=new gh([]),this.posts=[],this.displayedColumns=["image","title","createdAt","updatedAt","viewNumber","likeNumber","commentNumber","saveNumber"],this.userId=l.getUserId()??"",this.GetMyPost()}ngOnInit(){this.dataSource.sort=this.sort}GetMyPost(){this.service.GetMyPost().subscribe(i=>{this.posts=i.resultObj,this.ConvertDate(),this.dataSource=new gh(this.posts),this.dataSource.sort=this.sort})}ConvertDate(){this.posts.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}postDetail(i){this.router.navigate(["/discover",i.subId])}updatePost(i){this.dataService.changeSubId(i.subId),this.openDialogUpdatePost("100ms","600ms")}openDialogUpdatePost(i,n){this.dialog.open(Pse,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}deletePost(i){this.service.DeletePost(i.id).subscribe(n=>{n.isSuccessed?(this.toastr.success("X\xf3a b\xe0i th\xe0nh c\xf4ng"),window.location.reload()):this.toastr.error("L\u1ed7i: "+n.message)},n=>{this.toastr.error("L\u1ed7i: "+n)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(Dc))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-mypost"]],viewQuery:function(n,s){if(1&n&&oe(gu,5),2&n){let l;G(l=j())&&(s.sort=l.first)}},decls:38,vars:3,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","B\xe0i vi\u1ebft c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","B\xe0i vi\u1ebft \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/postsaved",1,"btn-interact",2,"top","148px"],[2,"min-width","400px","max-width","1000px"],["mat-table","","matSort","",1,"font",3,"dataSource"],["matColumnDef","image"],["mat-header-cell","","style","text-align: center;",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","style","cursor: pointer;","class","font",4,"matCellDef"],["matColumnDef","createdAt"],["mat-header-cell","","mat-sort-header","","style","width: 110px;",4,"matHeaderCellDef"],["matColumnDef","updatedAt"],["matColumnDef","viewNumber"],["matColumnDef","likeNumber"],["matColumnDef","commentNumber"],["matColumnDef","saveNumber"],["style","height: 48px;","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"tag-category","plr-1","pt","pb","text-white"],["mat-header-cell","",2,"text-align","center"],["mat-cell",""],["loading","lazy",1,"card-mypost",2,"cursor","pointer","border-radius","2px",3,"src","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"font",2,"cursor","pointer"],[1,"text-5-line",3,"click"],[1,"mr","text-white",2,"border-radius","2px","background-color","#ED7D2D","border","none",3,"click"],[1,"text-white",2,"border-radius","2px","background-color","#DE3B40","border","none",3,"click"],["mat-header-cell","","mat-sort-header","",2,"width","110px"],["mat-header-row","",2,"height","48px"],["mat-row",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," post "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5)(9,"table",6),be(10,7),I(11,fst,2,0,"th",8),I(12,_st,2,1,"td",9),ve(),be(13,10),I(14,vst,2,0,"th",11),I(15,bst,8,1,"td",12),ve(),be(16,13),I(17,yst,2,0,"th",14),I(18,Cst,2,1,"td",9),ve(),be(19,15),I(20,wst,2,0,"th",14),I(21,xst,2,1,"td",9),ve(),be(22,16),I(23,kst,2,0,"th",11),I(24,Dst,2,1,"td",9),ve(),be(25,17),I(26,Ast,2,0,"th",11),I(27,Ist,2,1,"td",9),ve(),be(28,18),I(29,Sst,2,0,"th",11),I(30,Tst,2,1,"td",9),ve(),be(31,19),I(32,Est,2,0,"th",11),I(33,Mst,2,1,"td",9),ve(),I(34,Rst,1,0,"tr",20),I(35,Pst,1,0,"tr",21),k()(),C(36,"div",22),P(37," B\xe0i vi\u1ebft "),k()()),2&n&&(y(9),x("dataSource",s.dataSource),y(25),x("matHeaderRowDef",s.displayedColumns),y(1),x("matRowDefColumns",s.displayedColumns))},dependencies:[js,nx,Db,ox,Ab,kb,rx,Ib,Sb,sx,ax,gu,qS,wr,er],styles:[".card-mypost[_ngcontent-%COMP%]{object-fit:cover;height:130px;width:200px}.seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}"]})}return r})();function Fst(r,a){1&r&&Q(0,"img",21),2&r&&ri("src",S().$implicit.userShort.image,oi)}function Nst(r,a){1&r&&Q(0,"img",22)}function Lst(r,a){if(1&r&&(C(0,"span",23),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.userShort.fullName)}}function Bst(r,a){if(1&r&&(C(0,"div"),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.createdAt)}}function Vst(r,a){1&r&&P(0),2&r&&_e(S().$implicit.updatedAt)}function zst(r,a){if(1&r){const i=ce();C(0,"div",8)(1,"div")(2,"button",9),B("click",function(s){const d=z(i).$implicit;return H(S().IsSave(d,s))}),C(3,"mat-icon",10),P(4," close "),k()()(),C(5,"a",11),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),Q(6,"img",12),C(7,"strong",13),P(8),k(),C(9,"div",14),I(10,Fst,1,1,"img",15),I(11,Nst,1,0,"ng-template",null,16,pe),I(13,Lst,2,1,"span",17),k(),C(14,"div",18)(15,"div"),P(16),k(),C(17,"div"),I(18,Bst,2,1,"div",19),I(19,Vst,1,1,"ng-template",null,20,pe),k()()()()}if(2&r){const i=a.$implicit,n=ee(12),s=ee(20);y(6),ri("src",i.image,oi),y(2),_e(i.title),y(2),x("ngIf",""!==i.userShort.image)("ngIfElse",n),y(3),x("ngIf",i.userShort.fullName),y(3),me(" ",i.viewNumber," l\u01b0\u1ee3t xem "),y(2),x("ngIf",null==i.updatedAt)("ngIfElse",s)}}let Hst=(()=>{class r{constructor(i,n,s,l){this.router=i,this.service=n,this.session=s,this.toastr=l,this.posts=[],this.userId=s.getUserId()??"",this.GetMyPost()}ngOnInit(){}GetMyPost(){this.service.GetMyPostSaved().subscribe(i=>{this.posts=i.resultObj,this.ConvertDate()})}ConvertDate(){this.posts.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}postDetail(i){this.router.navigate(["/discover",i.subId])}IsSave(i,n){const s=new FormData;s.append("PostId",i.subId),s.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSave(s).subscribe(l=>{this.GetMyPost()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-mypostsaved"]],decls:12,vars:1,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","B\xe0i vi\u1ebft c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/post",1,"btn-interact",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","B\xe0i vi\u1ebft \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","148px"],[2,"text-align","center","margin-top","48px"],["class","","style","display: inline-flex;",4,"ngFor","ngForOf"],[1,"plr-1","pt","pb","text-white","tag-category"],[1,"",2,"display","inline-flex"],["matTooltip","B\u1ecf l\u01b0u","matTooltipPosition","right","mat-mini-fab","",1,"po-ab",2,"margin-top","4px","margin-left","12px","background-color","#00000073",3,"click"],[1,"material-symbols-outlined","text-white"],[1,"card-post","font","pt-1",2,"padding","0 10px",3,"click"],["alt","","loading","lazy",1,"post-img",3,"src"],[1,"text-2-line",2,"text-align","start"],[1,"dis-flex","mt"],["alt","","class","icon-24",3,"src",4,"ngIf","ngIfElse"],["avaterdefault",""],["class","pl-1 w-90 of-h",4,"ngIf"],[1,"flex-center-sb"],[4,"ngIf","ngIfElse"],["updateAt",""],["alt","",1,"icon-24",3,"src"],["src","assets/Icon/user.png","alt","",1,"icon-24"],[1,"pl-1","w-90","of-h"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," post "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5),I(9,zst,21,8,"div",6),k(),C(10,"div",7),P(11," B\xe0i vi\u1ebft \u0111\xe3 l\u01b0u "),k()()),2&n&&(y(9),x("ngForOf",s.posts))},dependencies:[js,Vt,Qe,wr,jw,Fo,er],styles:[".seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}"]})}return r})(),Gst=(()=>{class r{constructor(i,n){this.el=i,this.renderer=n}onWindowScroll(){(window.scrollY||document.documentElement.scrollTop)>100?(this.renderer.setStyle(this.el.nativeElement,"position","fixed"),this.renderer.setStyle(this.el.nativeElement,"top","0")):(this.renderer.removeStyle(this.el.nativeElement,"position"),this.renderer.removeStyle(this.el.nativeElement,"top"))}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Ui))};static#t=this.\u0275dir=re({type:r,selectors:[["","appScroll",""]],hostBindings:function(n,s){1&n&&B("scroll",function(){return s.onWindowScroll()},0,kk)}})}return r})();const jst=function(){return{exact:!0}};function $st(r,a){if(1&r&&(C(0,"a",11,12),P(2),k()),2&r){const i=a.$implicit,n=ee(1);x("routerLink",i.url)("routerLinkActiveOptions",Dn(4,jst))("active",n.isActive),y(2),me(" ",i.categoryname," ")}}let Ust=(()=>{class r{constructor(i,n,s,l,d){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.keyWord="",this.category=[{categoryname:"D\xe0nh cho b\u1ea1n",url:"foryou"},{categoryname:"N\u1ed5i b\u1eadt",url:"top"},{categoryname:"M\u1edbi nh\u1ea5t",url:"new"}]}search(){this.keyWord.trim()&&(this.dataService.changeKeyword(this.keyWord),this.router.navigate(["/searchquestion"]))}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum"]],decls:15,vars:3,consts:[[1,"mt-60"],["appScroll","",1,"fixed-menu","dis-flex",2,"width","374px"],["mat-tab-nav-bar","",3,"tabPanel"],["mat-tab-link","","class","pl-1","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active",4,"ngFor","ngForOf"],[1,"flex-center","font","pl-1"],[1,"search-container"],["type","text","matInput","","placeholder","T\xecm ki\u1ebfm",1,"input-search","font",3,"ngModel","ngModelChange","keyup.enter"],[1,"btn-search",3,"click"],["matSuffix","","matRipple","",1,"mr","btn-search-icon"],[1,"plr-200"],["tabPanel",""],["mat-tab-link","","routerLinkActive","",1,"pl-1",3,"routerLink","routerLinkActiveOptions","active"],["rla","routerLinkActive"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div")(2,"div",1)(3,"nav",2),I(4,$st,3,5,"a",3),k(),C(5,"div",4)(6,"div",5)(7,"input",6),B("ngModelChange",function(d){return s.keyWord=d})("keyup.enter",function(){return s.search()}),k(),C(8,"button",7),B("click",function(){return s.search()}),C(9,"mat-icon",8),P(10,"search"),k()()()()()(),C(11,"div",9)(12,"mat-tab-nav-panel",null,10),Q(14,"router-outlet"),k()()()),2&n){const l=ee(13);y(3),x("tabPanel",l),y(1),x("ngForOf",s.category),y(3),x("ngModel",s.keyWord)}},dependencies:[RC,js,o3,Vt,Sn,gn,ss,hs,Us,Fo,E5,Ij,M5,Gst]})}return r})(),r4=(()=>{class r{constructor(i){this.rendererFactory=i,this.animateButton=n=>{this.renderer.addClass(n,"animate"),setTimeout(()=>{this.renderer.removeClass(n,"animate")},1e3)},this.animateButton1=n=>{this.renderer.addClass(n,"animate1"),setTimeout(()=>{this.renderer.removeClass(n,"animate1")},1e3)},this.renderer=this.rendererFactory.createRenderer(null,null)}attachAnimationListener(){const i=document.getElementsByClassName("bubbly-button");for(let n=0;nthis.animateButton(s.target),{capture:!1})}attachAnimationListener_btn2(){const i=document.getElementsByClassName("bubbly-button-1");for(let n=0;nthis.animateButton1(s.target),{capture:!1})}static#e=this.\u0275fac=function(n){return new(n||r)(De(im))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function Wst(r,a){if(1&r&&(C(0,"div",7),P(1),k()),2&r){const i=S().$implicit;y(1),me(" \u{1f4a1}",i.likeNumber," ng\u01b0\u1eddi c\xf9ng th\u1eafc m\u1eafc ")}}function qst(r,a){if(1&r){const i=ce();C(0,"a",3),B("click",function(){const l=z(i).$implicit;return H(S().redirectToQuestion(l))}),C(1,"div",4)(2,"strong",5),P(3),k(),C(4,"div",6)(5,"div",7)(6,"span",8),P(7," fullscreen "),k(),P(8),k(),C(9,"div",7)(10,"span",8),P(11," notes "),k(),P(12),k(),C(13,"div",7)(14,"span",8),P(15," bookmark "),k(),P(16),k(),C(17,"div",7)(18,"span",8),P(19," send "),k(),P(20," chia s\u1ebb "),k(),I(21,Wst,2,1,"div",9),k()()()}if(2&r){const i=a.$implicit;y(3),me("\u{1f516}",i.title,""),y(5),me(" ",i.viewNumber," l\u01b0\u1ee3t xem "),y(4),me(" ",i.commentNumber," tr\u1ea3 l\u1eddi "),y(4),me(" ",i.saveNumber," l\u01b0\u1ee3t l\u01b0u "),y(5),x("ngIf",0!=i.likeNumber)}}const Kst=function(){return[10,20,50]};let Yst=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.animationService=p,this.questionNews=[],this.currentPage=1,this.pageSize=10,this.GetQuestions()}ngOnInit(){this.animationService.attachAnimationListener_btn2()}GetQuestions(){this.service.GetQuestionForYou().subscribe(i=>{this.questions=i.resultObj,this.updatePagedQuestions()},i=>{this.toastr.error("L\u1ed7i: "+i)})}redirectToQuestion(i){this.dataService.changeIdQuestion(i.id),this.router.navigate(["/forum",i.subId])}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedQuestions()}updatePagedQuestions(){const i=(this.currentPage-1)*this.pageSize;this.questionNews=this.questions.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(r4))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-foryou"]],decls:3,vars:6,consts:[[1,"mt-1","mh-page"],[3,"click",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],[3,"click"],[1,"question-card"],[1,"text-3-line","fs16"],[1,"flex-center-h"],[1,"flex-center-h","plr-12"],[1,"material-symbols-outlined","pr"],["class","flex-center-h plr-12",4,"ngIf"]],template:function(n,s){1&n&&(C(0,"div",0),I(1,qst,22,5,"a",1),C(2,"mat-paginator",2),B("page",function(d){return s.pageEvent(d)}),k()()),2&n&&(y(1),x("ngForOf",s.questionNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.questions.length)("pageSizeOptions",Dn(5,Kst)))},dependencies:[Vt,Qe,xb],styles:[".question-card[_ngcontent-%COMP%]{cursor:pointer;padding:16px 12px;box-shadow:#0000000d 0 0 0 1px;margin:8px 0}.question-card[_ngcontent-%COMP%]:hover{box-shadow:#11111a0d 0 4px 16px,#11111a0d 0 8px 32px}.text-3-line[_ngcontent-%COMP%]{height:80px;min-height:34px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;position:relative}"]})}return r})(),Qst=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-top"]],decls:2,vars:0,template:function(n,s){1&n&&(C(0,"p"),P(1,"S\u1eafp ra m\u1eaft!"),k())}})}return r})(),Xst=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-new"]],decls:2,vars:0,template:function(n,s){1&n&&(C(0,"p"),P(1,"S\u1eafp ra m\u1eaft!"),k())}})}return r})();function Zst(r,a){if(1&r&&(C(0,"mat-radio-button",9),P(1),k()),2&r){const i=a.$implicit;x("value",i.id),y(1),_e(i.title)}}let Jst=(()=>{class r{constructor(i,n,s,l,d,p){this.data=i,this.builder=n,this.session=s,this.service=l,this.toastr=d,this.dialogRef=p,this.reportform=this.builder.group({QuestionId:[""],UserId:[this.session.getUserId()],ReportId:["",Nt.required],Description:["",Nt.maxLength(500)],ReportDate:[new Date],Checked:[!1]}),this.reports=null,this.reportform.get("QuestionId")?.setValue(i.QuestionId),this.GetReport()}GetReport(){this.service.getReport().subscribe(i=>{this.reports=i.resultObj})}onSubmit(){console.log(this.reportform.value),this.reportform.valid?this.service.ReportQuestion(this.reportform.value).subscribe(i=>{this.toastr.success("\u0110\xe3 g\u1eedi b\xe1o c\xe1o! B\u1ea1n s\u1ebd s\u1edbm nh\u1eadn \u0111\u01b0\u1ee3c ph\u1ea3n h\u1ed3i!"),this.dialogRef.close()}):this.toastr.info("B\u1ea1n c\u1ea7n ch\u1ecdn n\u1ed9i dung b\xe1o c\xe1o!")}static#e=this.\u0275fac=function(n){return new(n||r)(T(RS),T(za),T(Rn),T(In),T(Mi),T(hd))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-report"]],decls:14,vars:2,consts:[[3,"formGroup"],[1,"flex-center-sb","plr-24","mt-1"],[1,"flex-center",2,"font-size","1.4rem","font-weight","500"],["mat-raised-button","",3,"click"],["mat-dialog-content","",2,"height","300px"],["formControlName","ReportId"],["class","dis-block",3,"value",4,"ngFor","ngForOf"],[1,"pt-1","ml-2"],["matLine","2","formControlName","Description",1,"ml-2","font","des-report"],[1,"dis-block",3,"value"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"span",2),P(3,"B\xe1o c\xe1o c\xe2u h\u1ecfi"),k(),C(4,"button",3),B("click",function(){return s.onSubmit()}),P(5,"G\u1eedi"),k()(),C(6,"div",4)(7,"mat-radio-group",5),I(8,Zst,2,2,"mat-radio-button",6),k()(),C(9,"span",7),P(10,"M\xf4 t\u1ea3 th\xeam"),k(),C(11,"div")(12,"textarea",8),P(13," "),k()()()),2&n&&(x("formGroup",s.reportform),y(8),x("ngForOf",s.reports))},dependencies:[Vt,Sn,gn,Qr,F5,N5,lre,Cr,o8,jo,ba],styles:[".des-report[_ngcontent-%COMP%]{max-width:90%;width:90%;min-width:90%;padding-left:8px!important;padding-right:8px!important;border-radius:4px;font-size:1rem;max-height:100px}"]})}return r})();function eat(r,a){if(1&r){const i=ce();C(0,"button",36),B("click",function(){return z(i),H(S().toggleThumb())}),C(1,"span",6),P(2," thumb_up "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.likeNumber," ")}}function tat(r,a){if(1&r){const i=ce();C(0,"button",37),B("click",function(){return z(i),H(S().toggleThumb())}),C(1,"span",38),P(2," thumb_up "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.likeNumber," ")}}function iat(r,a){if(1&r){const i=ce();C(0,"button",39),B("click",function(){return z(i),H(S().IsSave())}),C(1,"span",6),P(2," bookmark_add "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.saveNumber," ")}}function nat(r,a){if(1&r){const i=ce();C(0,"button",40),B("click",function(){return z(i),H(S().IsSave())}),C(1,"span",38),P(2," bookmark_added "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.saveNumber," ")}}function oat(r,a){if(1&r){const i=ce();C(0,"div")(1,"button",41),B("click",function(){return z(i),H(S().updatePost())}),C(2,"span",6),P(3," edit "),k()(),C(4,"button",42)(5,"span",6),P(6," delete "),k()()()}}function rat(r,a){1&r&&Q(0,"img",43)}function sat(r,a){if(1&r&&Q(0,"img",44),2&r){const i=S();ri("src",null==i.question||null==i.question.userShort?null:i.question.userShort.image,oi)}}function aat(r,a){if(1&r){const i=ce();C(0,"mat-chip",47),B("click",function(){const l=z(i).$implicit;return H(S(2).findByTag(l.name))}),C(1,"span",48),P(2),k()()}if(2&r){const i=a.$implicit;y(2),me(" ",i.name," ")}}function lat(r,a){if(1&r&&(C(0,"div",45)(1,"mat-icon",23),P(2,"tag"),k(),I(3,aat,3,1,"mat-chip",46),k()),2&r){const i=S();y(3),x("ngForOf",null==i.question?null:i.question.tags)}}function cat(r,a){if(1&r){const i=ce();C(0,"button",57),B("click",function(){return z(i),H(S(2).sendAnswer())}),P(1,"Tr\u1ea3 l\u1eddi"),k()}}function dat(r,a){if(1&r){const i=ce();C(0,"button",58),B("click",function(){return z(i),H(S(2).cancelComment())}),P(1,"H\u1ee7y"),k()}}function uat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k()(),C(5,"div",52)(6,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S().createCommentContent=s)})("change",function(s){return z(i),H(S().onEditorChange(s))}),k()(),C(7,"div",54),I(8,cat,2,0,"button",55),I(9,dat,2,0,"button",56),k()()}if(2&r){const i=S();y(2),x("src",i.imgUser||"assets/Icon/user.png",oi),y(2),_e(i.userName),y(2),x("editor",i.Editor)("config",i.editorConfig)("ngModel",i.createCommentContent),y(2),x("ngIf",i.isCommented),y(1),x("ngIf",i.isCommented)}}function hat(r,a){if(1&r){const i=ce();C(0,"span",29),P(1,"\u0110\u0103ng nh\u1eadp \u0111\u1ec3 b\xecnh lu\u1eadn "),k(),C(2,"button",57),B("click",function(){return z(i),H(S().loginUser())}),P(3,"\u0110\u0103ng nh\u1eadp"),k()}}function pat(r,a){if(1&r&&(C(0,"div"),Q(1,"img",76),k()),2&r){const i=S(3);y(1),mp("matTooltip","",null==i.question||null==i.question.userShort?null:i.question.userShort.fullName," \u0111\xe3 ch\u1ecdn \u0111\xe2y l\xe0 c\xe2u tr\u1ea3 l\u1eddi \u0111\xfang nh\u1ea5t")}}function gat(r,a){1&r&&(C(0,"div"),Q(1,"img",77),k())}function mat(r,a){1&r&&(C(0,"button",78)(1,"span",6),P(2," more_horiz "),k()()),2&r&&(S(),x("matMenuTriggerFor",ee(15)))}function fat(r,a){1&r&&(C(0,"div",45)(1,"span",83),P(2," check_circle "),k(),C(3,"span",84),P(4,"C\xe2u tr\u1ea3 l\u1eddi \u0111\xfang nh\u1ea5t"),k()())}function _at(r,a){1&r&&(C(0,"span",83),P(1," check_circle "),k(),C(2,"span",84),P(3,"B\u1ecf ch\u1ecdn tr\u1ea3 l\u1eddi \u0111\xfang nh\u1ea5t"),k())}function vat(r,a){if(1&r){const i=ce();C(0,"div")(1,"button",79),B("click",function(){z(i);const s=S().$implicit;return H(S(2).confirmAnswerByQuestioner(s))}),I(2,fat,5,0,"div",80),I(3,_at,4,0,"ng-template",81,82,pe),k()()}if(2&r){const i=ee(4),n=S().$implicit;y(2),x("ngIf",!n.confirm)("ngIfElse",i)}}function bat(r,a){if(1&r){const i=ce();C(0,"div")(1,"button",79),B("click",function(){z(i);const s=S().$implicit;let d;return H(S(2).editAnswer(null!==(d=s.id)&&void 0!==d?d:""))}),C(2,"mat-icon"),P(3,"edit"),k(),C(4,"span"),P(5,"S\u1eeda"),k()(),C(6,"button",79),B("click",function(){z(i);const s=S().$implicit;let d;return H(S(2).deleteAnswer(null!==(d=s.id)&&void 0!==d?d:""))}),C(7,"mat-icon"),P(8,"delete"),k(),C(9,"span"),P(10,"X\xf3a"),k()()()}}function yat(r,a){if(1&r){const i=ce();C(0,"button",57),B("click",function(){return z(i),H(S(4).submitEdited())}),P(1,"C\u1eadp nh\u1eadp"),k()}}function Cat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k()(),C(5,"div",52)(6,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S(3).contentUpdate=s)})("change",function(s){return z(i),H(S(3).onEditChange(s))}),k()(),C(7,"div",54),I(8,yat,2,0,"button",55),C(9,"button",58),B("click",function(){return z(i),H(S(3).cancelEditComment())}),P(10,"H\u1ee7y"),k()()()}if(2&r){const i=S(3);y(2),x("src",i.imgUser||"assets/Icon/user.png",oi),y(2),_e(i.userName),y(2),x("editor",i.Editor)("config",i.editorConfig)("ngModel",i.contentUpdate),y(2),x("ngIf",i.isUpdateCommented)}}function wat(r,a){if(1&r){const i=ce();C(0,"div",85),B("click",function(){z(i);const s=S().$implicit;let d;return H(S(2).viewComments(null!==(d=s.id)&&void 0!==d?d:""))}),C(1,"span",86),P(2," notes "),k(),P(3),k()}if(2&r){const i=S().$implicit;y(3),me(" ",null==i.subAnswer?null:i.subAnswer.length," ")}}function xat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k(),C(5,"div",88),P(6," b\xecnh lu\u1eadn c\xe2u tr\u1ea3 l\u1eddi c\u1ee7a "),C(7,"i"),P(8),k()()(),C(9,"div",52)(10,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S(4).subAnswerContent=s)})("change",function(s){return z(i),H(S(4).onEditorChange(s))}),k()(),C(11,"div",54)(12,"button",57),B("click",function(){z(i);const s=S(2).$implicit;let d;return H(S(2).sendSubAnswer(null!==(d=s.id)&&void 0!==d?d:""))}),P(13,"B\xecnh lu\u1eadn"),k(),C(14,"button",58),B("click",function(){return z(i),H(S(4).cancelReply())}),P(15,"H\u1ee7y"),k()()()}if(2&r){const i=S(2).$implicit,n=S(2);y(2),x("src",n.imgUser||"assets/Icon/user.png",oi),y(2),_e(n.userName),y(4),_e(null==i.userShort?null:i.userShort.fullName),y(2),x("editor",n.Editor)("config",n.editorConfig)("ngModel",n.subAnswerContent)}}function kat(r,a){if(1&r&&(C(0,"div",87),I(1,xat,16,6,"div",33),k()),2&r){const i=S(3),n=ee(76);y(1),x("ngIf",i.userId)("ngIfElse",n)}}function Dat(r,a){1&r&&(C(0,"button",97)(1,"span",6),P(2," more_horiz "),k()()),2&r&&(S(),x("matMenuTriggerFor",ee(10)))}function Aat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k(),C(5,"div",88),P(6," tr\u1ea3 l\u1eddi b\xecnh lu\u1eadn c\xe2u c\u1ee7a "),C(7,"i"),P(8),k()()(),C(9,"div",52)(10,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S(6).subAnswerContent=s)})("change",function(s){return z(i),H(S(6).onEditorChange(s))}),k()(),C(11,"div",54)(12,"button",57),B("click",function(){z(i);const s=S(2).$implicit,l=S(2).$implicit;return H(S(2).sendSubAnswer(l.id,s.userShort))}),P(13,"B\xecnh lu\u1eadn"),k(),C(14,"button",58),B("click",function(){return z(i),H(S(6).cancelReply())}),P(15,"H\u1ee7y"),k()()()}if(2&r){const i=S(2).$implicit,n=S(4);y(2),x("src",n.imgUser||"assets/Icon/user.png",oi),y(2),_e(n.userName),y(4),_e(null==i.userShort?null:i.userShort.fullName),y(2),x("editor",n.Editor)("config",n.editorConfig)("ngModel",n.subAnswerContent)}}function Iat(r,a){if(1&r&&(C(0,"div",87),I(1,Aat,16,6,"div",33),k()),2&r){const i=S(5),n=ee(76);y(1),x("ngIf",i.userId)("ngIfElse",n)}}function Sat(r,a){if(1&r){const i=ce();C(0,"button",57),B("click",function(){return z(i),H(S(6).submitEditedSubAnswer())}),P(1,"C\u1eadp nh\u1eadp"),k()}}function Tat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k()(),C(5,"div",52)(6,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S(5).contentSubUpdate=s)})("change",function(s){return z(i),H(S(5).onSubEditorChange(s))}),k()(),C(7,"div",54),I(8,Sat,2,0,"button",55),C(9,"button",58),B("click",function(){return z(i),H(S(5).cancelEditSubComment())}),P(10,"H\u1ee7y"),k()()()}if(2&r){const i=S(5);y(2),x("src",i.imgUser||"assets/Icon/user.png",oi),y(2),_e(i.userName),y(2),x("editor",i.Editor)("config",i.editorConfig)("ngModel",i.contentSubUpdate),y(2),x("ngIf",i.isEditSubCommented)}}function Eat(r,a){if(1&r){const i=ce();C(0,"div")(1,"div",90),Q(2,"img",91),C(3,"strong",19),P(4),k(),C(5,"div",92),P(6),k(),I(7,Dat,3,1,"button",93),k(),C(8,"div",66)(9,"mat-menu",null,94)(11,"button",79),B("click",function(){const l=z(i).$implicit;return H(S(4).editSubAnswer(l))}),C(12,"mat-icon"),P(13,"edit"),k(),C(14,"span"),P(15,"S\u1eeda"),k()(),C(16,"button",79),B("click",function(){const l=z(i).$implicit;let p;return H(S(4).deleteSubAnswer(null!==(p=l.id)&&void 0!==p?p:""))}),C(17,"mat-icon"),P(18,"delete"),k(),C(19,"span"),P(20,"X\xf3a"),k()()()(),Q(21,"div",68),C(22,"div")(23,"div",15),Q(24,"div"),C(25,"div",95),B("click",function(){const l=z(i).$implicit;let p;return H(S(4).Reply(null!==(p=null==l?null:l.id)&&void 0!==p?p:""))}),C(26,"div",96),P(27,"B\xecnh lu\u1eadn"),k()()(),I(28,Iat,2,2,"div",74),k(),I(29,Tat,11,6,"div",69),k()}if(2&r){const i=a.$implicit,n=S(2).$implicit,s=S(2);let l,d,p;y(2),x("src",""==(null==i.userShort?null:i.userShort.image)?"assets/Icon/user.png":null==i.userShort?null:i.userShort.image,oi),y(2),me("",null==i.userShort?null:i.userShort.fullName," "),y(1),ri("matTooltip",n.updatedAt?"Ng\xe0y c\u1eadp nh\u1eadp":"Ng\xe0y t\u1ea1o"),y(1),_e(null!==(l=i.updatedAt)&&void 0!==l?l:null==i?null:i.createdAt),y(1),x("ngIf",(null==i.userShort?null:i.userShort.id)===s.userId),y(14),x("innerHTML",i.content,il),y(7),x("ngIf",s.CheckReply(null!==(d=i.id)&&void 0!==d?d:"")),y(1),x("ngIf",s.isCheckSubEdit(null!==(p=null==i?null:i.id)&&void 0!==p?p:""))}}function Mat(r,a){if(1&r&&(C(0,"div",89),I(1,Eat,30,8,"div",59),k()),2&r){const i=S().$implicit;y(1),x("ngForOf",i.subAnswer)}}function Rat(r,a){if(1&r){const i=ce();C(0,"div")(1,"div",60)(2,"div")(3,"button",61),B("click",function(s){const d=z(i).$implicit;return H(S(2).onClickButton(s,d))}),k()(),Q(4,"img",62),C(5,"strong",19),P(6),k(),I(7,pat,2,1,"div",12),I(8,gat,2,0,"div",12),C(9,"div",63)(10,"div",64),P(11),k(),I(12,mat,3,1,"button",65),k()(),C(13,"div",66)(14,"mat-menu",null,67),I(16,vat,5,2,"div",12),I(17,bat,11,0,"div",12),k()(),Q(18,"div",68),I(19,Cat,11,6,"div",69),C(20,"div")(21,"div",15)(22,"div",45)(23,"div",70),P(24),k(),I(25,wat,4,1,"div",71),k(),C(26,"div",72),B("click",function(){const l=z(i).$implicit;let p;return H(S(2).Reply(null!==(p=null==l?null:l.id)&&void 0!==p?p:""))}),C(27,"span",6),P(28," reply "),k(),C(29,"div",73),P(30,"B\xecnh lu\u1eadn"),k()()(),I(31,kat,2,2,"div",74),k(),I(32,Mat,2,1,"div",75),k()}if(2&r){const i=a.$implicit,n=S(2);let s,l,d;y(4),x("src",""==(null==i.userShort?null:i.userShort.image)?"assets/Icon/user.png":null==i.userShort?null:i.userShort.image,oi),y(2),me("",null==i.userShort?null:i.userShort.fullName," "),y(1),x("ngIf",i.confirm),y(1),x("ngIf",i.mostConfirm),y(2),ri("matTooltip",i.updatedAt?"Ng\xe0y c\u1eadp nh\u1eadp":"Ng\xe0y t\u1ea1o"),y(1),_e(null!==(s=i.updatedAt)&&void 0!==s?s:null==i?null:i.createdAt),y(1),x("ngIf",(null==i.userShort?null:i.userShort.id)===n.userId||(null==n.question||null==n.question.userShort?null:n.question.userShort.id)===n.userId),y(4),x("ngIf",(null==n.question||null==n.question.userShort?null:n.question.userShort.id)===n.userId),y(1),x("ngIf",(null==i.userShort?null:i.userShort.id)===n.userId),y(1),x("innerHTML",i.content,il),y(1),x("ngIf",n.isCheckEdit(null!==(l=null==i?null:i.id)&&void 0!==l?l:"")),y(5),me(" ",0!=i.voteNumber?"+"+i.voteNumber:"0"," "),y(1),x("ngIf",null==i.subAnswer?null:i.subAnswer.length),y(6),x("ngIf",n.CheckReply(null!==(d=i.id)&&void 0!==d?d:"")),y(1),x("ngIf",n.viewComment==i.id)}}function Pat(r,a){if(1&r&&(C(0,"div"),I(1,Rat,33,15,"div",59),k()),2&r){const i=S();y(1),x("ngForOf",i.answers)}}let Oat=(()=>{class r{constructor(i,n,s,l,d,p,f,v,D,E,F,L){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.route=p,this.dialog=f,this.clipboardService=v,this.location=D,this.animation=E,this.el=F,this.renderer=L,this.isThumbUp=null,this.isSave=null,this.reply="",this.currentUrl="",this.likeNumber=0,this.saveNumber=0,this.commentNum=0,this.userIdOfPost="",this.question=null,this.isCommented=!1,this.isUpdateCommented=!1,this.isEdit="",this.Editor=qw(),this.createCommentContent="",this.contentUpdate="",this.createAnswer={authorId:"",questionId:"",content:"",confirm:!1,mostConfirm:!1,voteNumber:0},this.updateAnswer={authorId:"",questionId:"",content:"",confirm:!1,mostConfirm:!1,voteNumber:0},this.subAnswerContent="",this.subAnswerDto={authorId:"",preAnswerId:"",content:""},this.questionId="",this.isSubAnswerEdit="",this.updateSubAnswer={preAnswerId:"",authorId:"",content:""},this.contentSubUpdate="",this.isSubCommented=!1,this.isEditSubCommented=!1,this.viewComment="",this.editorConfig={toolbar:{items:["heading","bold","italic","blockQuote","bulletedList","numberedList","link"]},placeholder:"Vi\u1ebft b\xecnh lu\u1eadn...",language:"vi"},this.route.params.subscribe($=>{this.subQuestionId=$.id??""}),this.GetQuestion(),this.userId=l.getUserId(),this.userName=l.getName(),this.imgUser=l.getAvatar(),this.currentUrl=this.location.path(),this.connectChatSignal()}ngOnInit(){this.dataService.reloadDetailPage$.subscribe(i=>{""!=i&&i&&(this.subQuestionId=i,this.router.navigate([],{relativeTo:this.route}),this.GetQuestion())})}GetQuestion(){this.service.GetQuestionDetail(this.subQuestionId).subscribe(i=>{this.question=this.ConvertDate(i.resultObj),this.questionId=this.question.id,this.userIdOfPost=i.resultObj.userShort.id,this.commentNum=this.question.commentNumber,this.GetAnswers(),this.getInteract()},i=>{this.toastr.error("L\u1ed7i: "+i)})}GetAnswers(){this.service.GetAnswers(this.questionId).subscribe(i=>{this.answers=this.ConvertListDate(i.resultObj)},i=>{this.toastr.error("L\u1ed7i: "+i)})}connectChatSignal(){this.hubConnection=(new Uj).withUrl(this.service.getChatSignRl()).build(),this.hubConnection.start().then(()=>{}).catch(i=>console.error("Error while establishing connection:",i)),this.hubConnection.on("ReceiveAnswer",i=>{i&&(this.answers=this.ConvertListDate(i.resultObj),this.commentNum=this.answers.length)}),this.hubConnection.on("ReceiveSubAnswer",i=>{if(i.isSuccessed){var n=this.ConvertSubDate(i.resultObj);if(n?.length){var s=n[0].preAnswerId;for(const l of this.answers)if(s==l.id){l.subAnswer=n;break}}else this.GetAnswers()}})}ConvertDate(i){const n=fi(i.createdAt?.toString()??""),s=fi(i.updatedAt?.toString()??"");return isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy hh:mm",{locale:kf})),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy hh:mm",{locale:kf})),i}ConvertListDate(i){return i.forEach(n=>{0!=n.subAnswer?.length&&(n.subAnswer=this.ConvertSubDate(n.subAnswer));const s=fi(n.createdAt?.toString()??""),l=fi(n.updatedAt?.toString()??"");isNaN(s.getTime())||(n.createdAt=_i(s,"dd-MM-yyyy hh:mm",{locale:kf})),isNaN(l.getTime())||(n.updatedAt=_i(l,"dd-MM-yyyy hh:mm",{locale:kf}))}),i}ConvertSubDate(i){return i?.forEach(n=>{const s=fi(n.createdAt?.toString()??""),l=fi(n.updatedAt?.toString()??"");isNaN(s.getTime())||(n.createdAt=_i(s,"dd-MM-yyyy hh:mm",{locale:kf})),isNaN(l.getTime())||(n.updatedAt=_i(l,"dd-MM-yyyy hh:mm",{locale:kf}))}),i}getInteract(){this.session.getUserId()&&(this.service.getLikeQuestion(this.subQuestionId,this.session.getUserId()||"").subscribe(i=>{this.isThumbUp=i.resultObj.check,this.likeNumber=i.resultObj.quantity},i=>{console.error(i)}),this.service.getSaveQuestion(this.questionId,this.session.getUserId()||"").subscribe(i=>{this.isSave=i.resultObj.check,this.saveNumber=i.resultObj.quantity},i=>{console.error(i)}))}findByTag(i){this.dataService.changeKeyword("#"+i),this.router.navigate(["/searchquestion"])}toggleThumb(){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const i=new FormData;i.append("QuestionId",this.subQuestionId),i.append("UserId",this.session.getUserId()??""),this.service.LikeOrUnlikeQuestion(i).subscribe(n=>{const s=n.resultObj;this.isThumbUp=s.check,this.likeNumber=s.quantity})}IsSave(){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const i=new FormData;i.append("QuestionId",this.questionId),i.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSaveQuestion(i).subscribe(n=>{const s=n.resultObj;this.isSave=s.check,this.saveNumber=s.quantity})}Report(){this.session.getUserId()?this.openDialog("10ms","10ms"):this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!")}openDialog(i,n){this.dialog.open(Jst,{enterAnimationDuration:i,exitAnimationDuration:n,width:"900px",height:"500px",data:{QuestionId:this.questionId}})}updatePost(){this.dataService.changeSubId(this.subQuestionId),this.openDialogUpdatePost("100ms","600ms")}openDialogUpdatePost(i,n){this.dialog.open($se,{enterAnimationDuration:i,exitAnimationDuration:n,width:"50%"})}copyToClipboard(){this.clipboardService.copy(this.service.getUrl()+this.currentUrl),this.toastr.info("\u0110\xe3 sao ch\xe9p \u0111\u01b0\u1eddng link")}canEditDelete(){return this.userId==this.userIdOfPost}onEditorChange(i){""!=i.editor.getData().trim()?(this.isCommented=!0,this.contentSubUpdate=i.editor.getData(),this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")):this.isCommented=!1}onSubEditorChange(i){console.log(this.isCommented),""!=i.editor.getData().trim()?(console.log(this.isCommented),this.contentUpdate=i.editor.getData(),this.isEditSubCommented=!0,this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")):this.isEditSubCommented=!1}onEditChange(i){""!=i.editor.getData().trim()?(this.isUpdateCommented=!0,this.contentUpdate=i.editor.getData(),this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")):this.isUpdateCommented=!1}hasImage(i){return!!/]+src\s*=\s*['"]([^'"]+)['"][^>]*>/g.test(i)}sendAnswer(){this.createAnswer.questionId=this.questionId,this.createAnswer.authorId=this.userId??"",this.createAnswer.content=this.createCommentContent.trim(),this.service.CreateForumAnswer(this.createAnswer).subscribe(i=>{this.cancelComment()},i=>{console.log(i)})}submitEdited(){this.updateAnswer.subAnswer=[],this.updateAnswer.createdAt=new Date,this.updateAnswer.updatedAt=new Date,this.updateAnswer.content=this.contentUpdate?.trim(),""!=this.contentUpdate.trim()?this.service.UpdateForumAnswer(this.updateAnswer).subscribe(i=>{this.contentUpdate="",this.cancelEditComment()},i=>{console.log(i)}):this.toastr.info("Vui l\xf2ng kh\xf4ng \u0111\u1ec3 tr\u1ed1ng c\xe2u tr\u1ea3 l\u1eddi")}submitEditedSubAnswer(){this.hasImage(this.contentSubUpdate)?this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!"):(this.updateSubAnswer.createdAt=new Date,this.updateSubAnswer.updatedAt=new Date,this.updateSubAnswer.content=this.contentUpdate?.trim(),""!=this.contentUpdate.trim()?this.service.UpdateForumSubAnswer(this.updateSubAnswer).subscribe(i=>{this.contentSubUpdate="",this.cancelEditSubComment()},i=>{console.log(i)}):this.toastr.info("Vui l\xf2ng kh\xf4ng \u0111\u1ec3 tr\u1ed1ng b\xecnh lu\u1eadn"))}cancelComment(){this.isCommented=!1,this.createCommentContent=""}cancelSubComment(){this.subAnswerContent="",this.reply=""}cancelEditComment(){this.isUpdateCommented=!1,this.contentUpdate="",this.isEdit="-1"}cancelEditSubComment(){this.isEditSubCommented=!1,this.contentSubUpdate="",this.isSubAnswerEdit="-1"}editAnswer(i){var n=this.answers?.find(s=>s.id===i);n&&(this.updateAnswer=n,this.contentUpdate=n.content,this.isEdit=i)}editSubAnswer(i){this.updateSubAnswer=i,this.contentSubUpdate=i.content,this.isSubAnswerEdit=i.id??""}deleteAnswer(i){this.service.deleteAnswer(i).subscribe(n=>{},n=>{this.toastr.error("L\u1ed7i: "+n)})}deleteSubAnswer(i){this.service.deleteSubAnswer(i).subscribe(n=>{},n=>{this.toastr.error("L\u1ed7i: "+n)})}isCheckEdit(i){return this.isEdit==i}isCheckSubEdit(i){return this.isSubAnswerEdit==i}loginUser(){this.router.navigate(["/login"],{state:{redirect:this.router.url}})}Reply(i){this.session.getUserId()?this.reply=i??"":this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!")}CheckReply(i){return i==this.reply}cancelReply(){this.reply=""}sendSubAnswer(i,n){this.hasImage(this.subAnswerContent)?this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!"):(this.subAnswerDto.authorId=this.userId??"",this.subAnswerDto.preAnswerId=i,this.subAnswerContent.trim()?(this.subAnswerDto.content=this.subAnswerContent.trim(),this.service.CreateForumSubAnswer(this.subAnswerDto).subscribe(s=>{this.viewComments(i),this.cancelSubComment()},s=>{console.log(s)})):this.toastr.info("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn tr\u1ed1ng!"))}confirmAnswerByQuestioner(i){var n={answerId:"",questionId:"",questionUserId:"",userId:""};n.answerId=i.id??"",n.userId=this.session.getUserId()??"",n.questionId=i.questionId,n.questionUserId=this.userId??"",this.service.VoteAnswerByQuestioner(n).subscribe(s=>{s.isSuccessed?this.GetAnswers():this.toastr.error("L\u1ed7i: "+s.message)},s=>{this.toastr.error("L\u1ed7i: "+s)})}onClickButton(i,n){if(this.session.getUserId()){var s={answerId:"",questionId:"",questionUserId:"",userId:""};s.answerId=n.id??"",s.userId=this.userId??"",s.questionId=n.questionId,s.questionUserId=this.question?.userShort.id??"",this.service.VoteAnswer(s).subscribe(l=>{l.isSuccessed?(this.animation.animateButton(i.target),setTimeout(()=>{this.GetAnswers()},1e3)):this.toastr.error("L\u1ed7i: "+l.message)},l=>{this.toastr.error("L\u1ed7i: "+l)})}else this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!")}onClickButton1(i){this.animation.animateButton1(i.target)}viewComments(i){this.viewComment=this.viewComment==i?"":i}scrollToAnswerCard(){const i=this.el.nativeElement.querySelector("#answerCard");i&&i.scrollIntoView({behavior:"smooth"})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(_c),T(Dc),T(q5),T(Gu),T(r4),T(ke),T(Ui))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-question"]],decls:78,vars:19,consts:[[1,"po-re"],[2,"position","fixed"],[1,"interact"],["matTooltip","C\xf9ng th\u1eafc m\u1eafc","mat-icon-button","","matTooltipPosition","right","class","btn-interact",3,"click",4,"ngIf","ngIfElse"],["liked",""],["matTooltip","\u0110\u1ebfn c\xe2u tr\u1ea3 l\u1eddi","matTooltipPosition","right","mat-icon-button","",1,"btn-interact",3,"click"],[1,"material-symbols-outlined"],[1,"likeNumber"],["matTooltip","L\u01b0u xem sau","matTooltipPosition","right","mat-icon-button","","class","btn-interact",3,"click",4,"ngIf","ngIfElse"],["saved",""],["matTooltip","B\xe1o c\xe1o","matTooltipPosition","right","mat-icon-button","",1,"dis-flex",3,"click"],["matTooltip","Copy","matTooltipPosition","right","mat-icon-button","","title","Chia s\u1ebb link b\xe0i vi\u1ebft",1,"dis-flex",3,"click"],[4,"ngIf"],[1,"mt-50","plr-300","dis-flex","mh-page"],[1,"font",2,"flex-grow","1"],[1,"flex-center-sb"],[1,"dis-flex","mt-1"],["avaterdefault",""],["alt","avatar","class","icon-24","style","margin-right: 8px;",3,"src",4,"ngIf","ngIfElse"],[1,"pl"],[1,"font","fs-20"],[1,"font","content-question","mt-1","mb-1",2,"overflow","auto",3,"innerHTML"],["matTooltipPosition","right",1,"flex-center-h","cursor-d",3,"matTooltip"],["matSuffix",""],["cdkDropList","","cdkDropListOrientation","horizontal"],["class","flex-center-h",4,"ngIf"],["id","answerCard"],[1,"card-answer","pb-1"],["aria-label","S\u1eafp x\u1ebfp","matTooltip","S\u1eafp x\u1ebfp",1,"flex-center-h",2,"border","none","background-color","transparent",3,"matMenuTriggerFor"],[1,"pr"],["menu1","matMenu"],["mat-menu-item",""],["mat-menu-item","","disabled",""],["style","padding: 8px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;",4,"ngIf","ngIfElse"],["class","pt"],["login",""],["matTooltip","C\xf9ng th\u1eafc m\u1eafc","mat-icon-button","","matTooltipPosition","right",1,"btn-interact",3,"click"],["matTooltip","C\xf9ng th\u1eafc m\u1eafc","mat-icon-button","","matTooltipPosition","right","mat-icon-button","",1,"selected","btn-interact",3,"click"],[1,"material-symbols-outlined","selected-icon"],["matTooltip","L\u01b0u xem sau","matTooltipPosition","right","mat-icon-button","",1,"btn-interact",3,"click"],["matTooltip","B\u1ecf l\u01b0u","matTooltipPosition","right","mat-icon-button","",1,"selected","btn-interact",3,"click"],["matTooltip","S\u1eeda b\xe0i","matTooltipPosition","right","mat-icon-button","",1,"dis-flex",3,"click"],["matTooltip","X\xf3a b\xe0i","matTooltipPosition","right","mat-icon-button","",1,"dis-flex",2,"display","block"],["src","assets/Icon/user.png","alt","avatar",1,"icon-24"],["alt","avatar",1,"icon-24",2,"margin-right","8px",3,"src"],[1,"flex-center-h"],["matTooltip","T\xecm ki\u1ebfm tag n\xe0y","matTooltipPosition","below","cdkDrag","",3,"click",4,"ngFor","ngForOf"],["matTooltip","T\xecm ki\u1ebfm tag n\xe0y","matTooltipPosition","below","cdkDrag","",3,"click"],[2,"cursor","pointer"],[2,"padding","8px","box-shadow","rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px"],[1,"pb",2,"display","flex","align-items","center"],["alt","",1,"icon-24",3,"src"],[2,"font-size","14px"],[2,"max-height","650px","overflow","auto",3,"editor","config","ngModel","ngModelChange","change"],[1,"mt"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["mat-button","",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"],["mat-button","",3,"click"],[4,"ngFor","ngForOf"],[1,"mt-1",2,"display","flex","align-items","center"],["matTooltip","T\xe1n th\xe0nh","matTooltipPosition","left",1,"bubbly-button",3,"click"],["alt","avatar",1,"icon-24","ml",3,"src"],[2,"display","flex","margin-left","auto","align-items","center"],["matTooltipPosition","left",1,"mr-1","cursor-d",3,"matTooltip"],["mat-icon-button","","class"," dis-flex","style","right: 16px;",3,"matMenuTriggerFor",4,"ngIf"],["btn-comment",""],["menu2","matMenu"],[1,"content",2,"position","relative !important",3,"innerHTML"],["style","padding: 8px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;",4,"ngIf"],["matTooltip","Ng\u01b0\u1eddi ch\u1ecdn c\xe2u tr\u1ea3 l\u1eddi n\xe0y \u0111\xfang","matTooltipPosition","below",1,"cursor-d","mr-1",2,"font-weight","700","color","#263390"],["class","flex-center-h cursor-p","matTooltip","Xem b\xecnh lu\u1eadn","matTooltipPosition","left",3,"click",4,"ngIf"],[1,"dis-flex","cursor-p","reply",2,"margin-left","auto",3,"click"],[2,"font-weight","500"],["style","margin-left: 4%;","class","mt",4,"ngIf"],["style","margin-left: 4%;",4,"ngIf"],["src","assets/Icon/tick.png","alt","tick",1,"ml-1","img-24",3,"matTooltip"],["src","assets/Icon/tick1.png","matTooltip","c\xe2u tr\u1ea3 l\u1eddi nhi\u1ec1u ng\u01b0\u1eddi \u0111\xf4ng \xfd nh\u1ea5t","alt","tick",1,"ml-1","img-24"],["mat-icon-button","",1,"dis-flex",2,"right","16px",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["class","flex-center-h",4,"ngIf","ngIfElse"],["class","flex-center-h"],["unConfirmAnswer",""],[1,"material-symbols-outlined",2,"color","green"],[1,"cursor-p","ml-1"],["matTooltip","Xem b\xecnh lu\u1eadn","matTooltipPosition","left",1,"flex-center-h","cursor-p",3,"click"],[1,"material-symbols-outlined","mr"],[1,"mt",2,"margin-left","4%"],[1,"cursor-p",2,"padding-left","4px"],[2,"margin-left","4%"],[1,"mt",2,"display","flex","align-items","center"],["alt","avatar",1,"icon-24",3,"src"],["matTooltipPosition","right",1,"pl","cursor-d",3,"matTooltip"],["mat-icon-button","","class"," dis-flex","style","right: 16px; margin-left: auto;",3,"matMenuTriggerFor",4,"ngIf"],["menu3","matMenu"],[1,"dis-flex","cursor-p","reply",3,"click"],[2,"font-size","13"],["mat-icon-button","",1,"dis-flex",2,"right","16px","margin-left","auto",3,"matMenuTriggerFor"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2),I(3,eat,5,1,"button",3),I(4,tat,5,1,"ng-template",null,4,pe),C(6,"button",5),B("click",function(){return s.scrollToAnswerCard()}),C(7,"span",6),P(8," forum "),k(),C(9,"div",7),P(10),k()(),I(11,iat,5,1,"button",8),I(12,nat,5,1,"ng-template",null,9,pe),C(14,"button",10),B("click",function(){return s.Report()}),C(15,"span",6),P(16," error "),k()(),C(17,"button",11),B("click",function(){return s.copyToClipboard()}),C(18,"span",6),P(19," content_copy "),k()(),I(20,oat,7,0,"div",12),k()()(),C(21,"div",13)(22,"div",14)(23,"div",15)(24,"div",16),I(25,rat,1,0,"ng-template",null,17,pe),I(27,sat,1,1,"img",18),C(28,"span",19),P(29),k()()(),C(30,"div")(31,"p",20)(32,"strong"),P(33),k()(),C(34,"div"),Q(35,"div",21),C(36,"span",15)(37,"div")(38,"strong"),P(39),k()(),C(40,"div",22)(41,"mat-icon",23),P(42,"today"),k(),P(43),k()()()(),C(44,"div")(45,"mat-chip-set",24),I(46,lat,4,1,"div",25),k()(),C(47,"div",26)(48,"div",15)(49,"h6",27)(50,"strong"),P(51,"Tr\u1ea3 l\u1eddi"),k()(),C(52,"button",28)(53,"span",29),P(54,"S\u1eafp x\u1ebfp"),k(),C(55,"span",6),P(56," keyboard_arrow_down "),k()(),C(57,"mat-menu",null,30)(59,"button",31)(60,"mat-icon"),P(61,"dialpad"),k(),C(62,"span"),P(63,"M\u1eb7c \u0111\u1ecbnh"),k()(),C(64,"button",31)(65,"mat-icon"),P(66,"dialpad"),k(),C(67,"span"),P(68,"Theo th\u1eddi gian"),k()(),C(69,"button",32)(70,"mat-icon"),P(71,"voicemail"),k(),C(72,"span"),P(73,"L\u01b0\u1ee3t b\xecnh ch\u1ecdn nhi\u1ec1u nh\u1ea5t"),k()()()(),I(74,uat,10,7,"div",33),I(75,hat,4,0,"ng-template",34,35,pe),I(77,Pat,2,1,"div",12),k()()()),2&n){const l=ee(5),d=ee(13),p=ee(26),f=ee(58),v=ee(76);let D;y(3),x("ngIf",!s.isThumbUp)("ngIfElse",l),y(7),me(" ",s.commentNum," "),y(1),x("ngIf",!s.isSave)("ngIfElse",d),y(9),x("ngIf",s.canEditDelete()),y(7),x("ngIf",""!==(null==s.question||null==s.question.userShort?null:s.question.userShort.image))("ngIfElse",p),y(2),_e(null==s.question||null==s.question.userShort?null:s.question.userShort.fullName),y(4),_e(null==s.question?null:s.question.title),y(2),x("innerHTML",null==s.question?null:s.question.content,il),y(4),me("L\u01b0\u1ee3t xem: ",null==s.question?null:s.question.viewNumber,""),y(1),ri("matTooltip",null==(null==s.question?null:s.question.updatedAt)?"\u0110\xe3 t\u1ea1o":"\u0110\xe3 s\u1eeda"),y(3),me(" ",null!==(D=null==s.question?null:s.question.updatedAt)&&void 0!==D?D:null==s.question?null:s.question.createdAt," "),y(3),x("ngIf",null==s.question||null==s.question.tags?null:s.question.tags.length),y(6),x("matMenuTriggerFor",f),y(22),x("ngIf",s.userId)("ngIfElse",v),y(3),x("ngIf",s.answers&&s.answers.length>0)}},dependencies:[Vt,Qe,gn,ss,Us,Cr,wr,Fo,H5,yb,G5,ph,wb,er,Yw],styles:[".card-answer[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;background-color:#000000c1;padding:8px 16px;color:#fff;border-radius:4px;margin:16px 0}[_nghost-%COMP%] .ck.ck-editor{border:none!important;outline:none!important}[_nghost-%COMP%] .ck.ck-toolbar{border:none!important}[_nghost-%COMP%] .ck.ck-content{outline:none!important}[_nghost-%COMP%] .ck.ck-input{outline:none!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{box-shadow:none!important}.reply[_ngcontent-%COMP%]{background-color:#f7f7f7;border-radius:4px;padding:4px 8px}.reply[_ngcontent-%COMP%]:hover{background-color:#eee;border-radius:4px;padding:4px 8px}"]})}return r})();function Fat(r,a){1&r&&(be(0),P(1,"\xa0"),ve())}function Nat(r,a){1&r&&Q(0,"img",21),2&r&&ri("src",S().$implicit.userShort.image,oi)}function Lat(r,a){1&r&&Q(0,"img",22)}const Bat=function(){return[1,2,3,4,5,6,7,8,9]};function Vat(r,a){if(1&r){const i=ce();C(0,"div",8)(1,"div",9)(2,"button",10),B("click",function(s){const d=z(i).$implicit;return H(S().IsSave(d,s))}),C(3,"mat-icon",11),P(4," close "),k()()(),C(5,"a",12),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),C(6,"strong",13),I(7,Fat,2,0,"ng-container",14),P(8),k(),C(9,"div",15)(10,"div",16),I(11,Nat,1,1,"img",17),I(12,Lat,1,0,"ng-template",null,18,pe),C(14,"span",19),P(15),k()(),C(16,"div",20)(17,"div"),P(18),k()()()()()}if(2&r){const i=a.$implicit,n=ee(13);y(7),x("ngForOf",Dn(6,Bat)),y(1),me("",i.title," "),y(3),x("ngIf",""!==i.userShort.image)("ngIfElse",n),y(4),_e(null==i||null==i.userShort?null:i.userShort.fullName),y(3),me(" ",i.viewNumber," l\u01b0\u1ee3t xem ")}}let zat=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.dialog=p,this.questions=[],this.userId=l.getUserId()??"",this.GetMyQuestion()}GetMyQuestion(){this.service.GetMyQuestionSaved().subscribe(i=>{this.questions=i.resultObj,this.ConvertDate()})}ConvertDate(){this.questions.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}postDetail(i){this.router.navigate(["/forum",i.subId])}IsSave(i,n){const s=new FormData;s.append("QuestionId",i.id),s.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSaveQuestion(s).subscribe(l=>{this.GetMyQuestion()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(Dc))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-myquestionsaved"]],decls:12,vars:1,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","C\xe2u h\u1ecfi c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/question",1,"btn-interact",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","C\xe2u h\u1ecfi \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","148px"],[2,"text-align","center","margin-top","48px"],["class","mb-1","style","display: inline-flex;",4,"ngFor","ngForOf"],[1,"plr-1","pt","pb","text-white","tag-category"],[1,"mb-1",2,"display","inline-flex"],[2,"z-index","10"],["matTooltip","B\u1ecf l\u01b0u","matTooltipPosition","above","mat-mini-fab","",1,"po-ab",2,"margin-top","4px","margin-left","12px","background-color","#00000073","height","24px","width","24px","box-shadow","none !important",3,"click"],[1,"material-symbols-outlined","text-white"],[1,"card-question","font","pt-1",2,"padding","0 10px",3,"click"],[1,"text-5-line",2,"text-align","start","margin-top","4px"],[4,"ngFor","ngForOf"],[1,"son-question"],[1,"dis-flex","mt"],["alt","","class","icon-24",3,"src",4,"ngIf","ngIfElse"],["avaterdefault",""],[1,"pl-1","w-80","of-h"],[1,"flex-center-sb"],["alt","",1,"icon-24",3,"src"],["src","assets/Icon/user.png","alt","",1,"icon-24"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," indeterminate_question_box "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5),I(9,Vat,19,7,"div",6),k(),C(10,"div",7),P(11," C\xe2u h\u1ecfi \u0111\xe3 l\u01b0u "),k()()),2&n&&(y(9),x("ngForOf",s.questions))},dependencies:[js,Vt,Qe,wr,jw,Fo,er],styles:[".seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}.card-question[_ngcontent-%COMP%]{position:relative;display:inline-block;width:254px!important;height:160px;cursor:pointer;border:1px solid #ccc}.card-question[_ngcontent-%COMP%]:hover{border-radius:4px;box-shadow:0 3px 8px #0000003d}.son-question[_ngcontent-%COMP%]{width:100%;position:absolute;bottom:0}"]})}return r})();function Hat(r,a){if(1&r&&(C(0,"a",5),Q(1,"img",6),C(2,"div",7)(3,"div")(4,"strong",8),P(5),k()(),C(6,"div"),P(7),k(),C(8,"div",9),P(9),k()()()),2&r){const i=a.$implicit;x("href",i.url,oi),y(1),ri("src",i.image,oi),y(4),me(" ",i.title," "),y(2),me(" ",i.description," "),y(2),me(" ",i.createdAt," ")}}const Gat=function(){return[10,15,20,50]};let jat=(()=>{class r{constructor(i,n){this.service=i,this.toastr=n,this.pagedNews=[],this.currentPage=1,this.pageSize=15,this.GetNews()}ngOnInit(){}GetNews(){this.service.GetNews().subscribe(i=>{i.isSuccessed?(this.news=i.resultObj,this.ConvertDate(),this.updatePagedNews()):this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}ConvertDate(){this.news.forEach(i=>{const n=fi(i.createdAt?.toString()??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy hh:mm"))})}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedNews()}updatePagedNews(){const i=(this.currentPage-1)*this.pageSize;this.pagedNews=this.news.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(In),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-news"]],decls:6,vars:6,consts:[[1,"mt-60","plr-300","mh-page"],[1,"mt","mb",2,"text-align","center"],[1,"mt-1"],["class","flex-center-h mt text-black underline-none","target","_blank",3,"href",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],["target","_blank",1,"flex-center-h","mt","text-black","underline-none",3,"href"],["loading","lazy","alt","\u1ea3nh tin t\u1ee9c",1,"img-news",3,"src"],[1,"ml-1","dis-block"],[2,"font-size","20px"],[2,"float","inline-end"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"h5",1),P(2," \u{1f4fb} B\u1ea3n tin l\u1ecbch s\u1eed t\u1ed5ng h\u1ee3p "),k(),C(3,"div",2),I(4,Hat,10,5,"a",3),C(5,"mat-paginator",4),B("page",function(d){return s.pageEvent(d)}),k()()()),2&n&&(y(4),x("ngForOf",s.pagedNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.news.length)("pageSizeOptions",Dn(5,Gat)))},dependencies:[Vt,xb],styles:[".img-news[_ngcontent-%COMP%]{width:240px;height:150px;object-fit:contain}"]})}return r})();function $at(r,a){if(1&r&&(C(0,"div",10)(1,"i")(2,"strong"),P(3),k(),P(4," t\xe0i li\u1ec7u \u0111\u01b0\u1ee3c t\xecm th\u1ea5y"),k()()),2&r){const i=S();y(3),_e(i.countResult)}}function Uat(r,a){if(1&r){const i=ce();C(0,"li",11)(1,"a",12),B("click",function(){const l=z(i).$implicit;return H(S().DocumentDetail(l))}),C(2,"div")(3,"span",13),P(4),k(),C(5,"span",14),P(6),k(),C(7,"div",15)(8,"div",16),Q(9,"img",17),C(10,"div",18)(11,"span"),P(12),k()()(),C(13,"div",19)(14,"div",20)(15,"span",21),P(16," visibility "),k(),P(17),k(),C(18,"div",22)(19,"span",21),P(20," download "),k(),P(21),k()()()()()()}if(2&r){const i=a.$implicit;y(4),me("\u{1f4d1} ",i.title,""),y(2),_e(i.description),y(3),ri("src",""!=i.userShort.image?i.userShort.image:"assets/Icon/user.png",oi),y(3),_e(i.userShort.fullName),y(5),me(" ",i.view,""),y(4),me(" ",i.downloadNumber," ")}}const Wat=function(){return[10,20,50]};let qat=(()=>{class r{constructor(i,n,s,l){this.router=i,this.service=n,this.session=s,this.toastr=l,this.documents=[],this.documentFpk={userId:this.session.getUserId()??"",documentId:""},this.documentSaved=[],this.documentNews=[],this.currentPage=1,this.pageSize=10,this.getDocuments(),this.session.getUserId()&&this.GetSaved()}getDocuments(){this.service.GetDocument().subscribe(i=>{this.documents=i.resultObj,this.ConvertDate(),this.updatePagedDocuments()},i=>{console.error("L\u1ed7i l\u1ea5y danh s\xe1ch:",i)})}ConvertDate(){this.documents.forEach(i=>{if(i){const n=fi(i.createdAt??""),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}search(){this.keyWord?.trim()?this.service.documentSearch(this.keyWord).subscribe(i=>{i.isSuccessed&&(this.documents=i.resultObj,this.updatePagedDocuments(),this.session.getUserId()&&this.GetSaved(),this.ConvertDate(),this.countResult=this.documents.length)}):this.getDocuments()}GetSaved(){this.service.GetMyPostSaved().subscribe(i=>{this.documentSaved=i.resultObj,this.documents.forEach(n=>{n.isSaved=this.checkSave(n)})})}checkSave(i){return!!this.documentSaved.some(n=>n.id===i.id)&&(i.isSaved=!0,!0)}DocumentDetail(i){this.router.navigate(["/document",i.subId])}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedDocuments()}updatePagedDocuments(){const i=(this.currentPage-1)*this.pageSize;this.documentNews=this.documents.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-document"]],decls:14,vars:8,consts:[[1,"plr-200","mt-60","h-page"],[1,"flex-center"],[1,"search-container"],["type","text","matInput","","placeholder","T\xecm ki\u1ebfm",1,"input-search","font",3,"ngModel","ngModelChange","keyup.enter"],[1,"btn-search",3,"click"],["matSuffix","","matRipple","",1,"mr","btn-search-icon"],["class","po-ab","style","right: 24px;font-size: 12px; font-weight: 500;",4,"ngIf"],[1,"mt-1"],["class","mb-1 pt cursor-p card-hover-blue plr-1",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],[1,"po-ab",2,"right","24px","font-size","12px","font-weight","500"],[1,"mb-1","pt","cursor-p","card-hover-blue","plr-1"],[1,"underline-none","text-black",3,"click"],[1,"fs16","fw-6"],[1,"dis-block","text-2-line","mt"],[1,"flex-center-sb","pb"],[1,"flex-center-h","mt"],["alt","",1,"img-24",3,"src"],[1,"pl"],[1,"flex-center-h"],["matTooltip","l\u01b0\u1ee3t xem",1,"flex-center-h"],[1,"material-symbols-outlined"],["matTooltip","l\u01b0\u1ee3t t\u1ea3i xu\u1ed1ng",1,"pl","flex-center-h"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"input",3),B("ngModelChange",function(d){return s.keyWord=d})("keyup.enter",function(){return s.search()}),k(),C(5,"button",4),B("click",function(){return s.search()}),C(6,"mat-icon",5),P(7,"search"),k()()(),C(8,"div"),I(9,$at,5,1,"div",6),k()(),C(10,"div",7)(11,"ul"),I(12,Uat,22,6,"li",8),C(13,"mat-paginator",9),B("page",function(d){return s.pageEvent(d)}),k()()()()()),2&n&&(y(4),x("ngModel",s.keyWord),y(5),x("ngIf",s.countResult),y(3),x("ngForOf",s.documentNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.documents.length)("pageSizeOptions",Dn(7,Wat)))},dependencies:[Vt,Qe,Sn,gn,ss,hs,Us,xb,Fo,er],styles:[".card-hover-blue[_ngcontent-%COMP%]:hover{outline:1px solid #3E50CA;border-radius:4px}"]})}return r})();var qse=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s4=function(r){return r&&r.Math==Math&&r},Vi=s4("object"==typeof globalThis&&globalThis)||s4("object"==typeof window&&window)||s4("object"==typeof self&&self)||s4("object"==typeof qse&&qse)||function(){return this}()||Function("return this")(),lx={},Kl=function(r){try{return!!r()}catch{return!0}},Af=!Kl(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),a4=!Kl(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")}),l4=Function.prototype.call,Yl=a4?l4.bind(l4):function(){return l4.apply(l4,arguments)},Kse={},Yse={}.propertyIsEnumerable,Qse=Object.getOwnPropertyDescriptor,Xat=Qse&&!Yse.call({1:2},1);Kse.f=Xat?function(a){var i=Qse(this,a);return!!i&&i.enumerable}:Yse;var mu,u4,Xse=function(r,a){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:a}},Zse=a4,Jse=Function.prototype,_$=Jse.call,Jat=Zse&&Jse.bind.bind(_$,_$),gs=Zse?function(r){return r&&Jat(r)}:function(r){return r&&function(){return _$.apply(r,arguments)}},eae=gs,elt=eae({}.toString),tlt=eae("".slice),QS=function(r){return tlt(elt(r),8,-1)},olt=Kl,rlt=QS,v$=Vi.Object,slt=gs("".split),alt=olt(function(){return!v$("z").propertyIsEnumerable(0)})?function(r){return"String"==rlt(r)?slt(r,""):v$(r)}:v$,clt=Vi.TypeError,Tb=function(r){if(null==r)throw clt("Can't call method on "+r);return r},dlt=alt,ult=Tb,c4=function(r){return dlt(ult(r))},qs=function(r){return"function"==typeof r},hlt=qs,If=function(r){return"object"==typeof r?null!==r:hlt(r)},b$=Vi,plt=qs,Sf=function(r,a){return arguments.length<2?function(r){return plt(r)?r:void 0}(b$[r]):b$[r]&&b$[r][a]},y$=gs({}.isPrototypeOf),d4=Sf("navigator","userAgent")||"",C$=d4,iae=Vi.process,nae=Vi.Deno,oae=iae&&iae.versions||nae&&nae.version,rae=oae&&oae.v8;rae&&(u4=(mu=rae.split("."))[0]>0&&mu[0]<4?1:+(mu[0]+mu[1])),!u4&&C$&&(!(mu=C$.match(/Edge\/(\d+)/))||mu[1]>=74)&&(mu=C$.match(/Chrome\/(\d+)/))&&(u4=+mu[1]);var sae=u4,aae=sae,lae=!!Object.getOwnPropertySymbols&&!Kl(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&aae&&aae<41}),cae=lae&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ylt=Sf,Clt=qs,wlt=y$,klt=Vi.Object,dae=cae?function(r){return"symbol"==typeof r}:function(r){var a=ylt("Symbol");return Clt(a)&&wlt(a.prototype,klt(r))},Alt=Vi.String,h4=function(r){try{return Alt(r)}catch{return"Object"}},Slt=qs,Tlt=h4,Elt=Vi.TypeError,Eb=function(r){if(Slt(r))return r;throw Elt(Tlt(r)+" is not a function")},Mlt=Eb,XS=function(r,a){var i=r[a];return null==i?void 0:Mlt(i)},w$=Yl,x$=qs,k$=If,Plt=Vi.TypeError,p4={exports:{}},uae=Vi,Flt=Object.defineProperty,D$=function(r,a){try{Flt(uae,r,{value:a,configurable:!0,writable:!0})}catch{uae[r]=a}return a},hae="__core-js_shared__",A$=Vi[hae]||D$(hae,{}),pae=A$;(p4.exports=function(r,a){return pae[r]||(pae[r]=void 0!==a?a:{})})("versions",[]).push({version:"3.22.2",mode:"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"});var zlt=Tb,Hlt=Vi.Object,gae=function(r){return Hlt(zlt(r))},jlt=gae,$lt=gs({}.hasOwnProperty),ag=Object.hasOwn||function(a,i){return $lt(jlt(a),i)},Ult=gs,Wlt=0,qlt=Math.random(),Klt=Ult(1..toString),mae=function(r){return"Symbol("+(void 0===r?"":r)+")_"+Klt(++Wlt+qlt,36)},Ylt=Vi,fae=ag,Xlt=mae,_ae=lae,vae=cae,cx=(0,p4.exports)("wks"),Mb=Ylt.Symbol,bae=Mb&&Mb.for,Zlt=vae?Mb:Mb&&Mb.withoutSetter||Xlt,vl=function(r){if(!fae(cx,r)||!_ae&&"string"!=typeof cx[r]){var a="Symbol."+r;cx[r]=_ae&&fae(Mb,r)?Mb[r]:vae&&bae?bae(a):Zlt(a)}return cx[r]},ect=Yl,yae=If,Cae=dae,tct=XS,oct=Vi.TypeError,rct=vl("toPrimitive"),act=function(r,a){if(!yae(r)||Cae(r))return r;var n,i=tct(r,rct);if(i){if(void 0===a&&(a="default"),n=ect(i,r,a),!yae(n)||Cae(n))return n;throw oct("Can't convert object to primitive value")}return void 0===a&&(a="number"),function(r,a){var i,n;if("string"===a&&x$(i=r.toString)&&!k$(n=w$(i,r))||x$(i=r.valueOf)&&!k$(n=w$(i,r))||"string"!==a&&x$(i=r.toString)&&!k$(n=w$(i,r)))return n;throw Plt("Can't convert object to primitive value")}(r,a)},lct=dae,wae=function(r){var a=act(r,"string");return lct(a)?a:a+""},xae=If,I$=Vi.document,dct=xae(I$)&&xae(I$.createElement),S$=function(r){return dct?I$.createElement(r):{}},pct=S$,kae=!Af&&!Kl(function(){return 7!=Object.defineProperty(pct("div"),"a",{get:function(){return 7}}).a}),mct=Yl,fct=Kse,_ct=Xse,vct=c4,bct=wae,yct=ag,Cct=kae,Dae=Object.getOwnPropertyDescriptor;lx.f=Af?Dae:function(a,i){if(a=vct(a),i=bct(i),Cct)try{return Dae(a,i)}catch{}if(yct(a,i))return _ct(!mct(fct.f,a,i),a[i])};var Rb={},Aae=Af&&Kl(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),kct=If,Dct=Vi.String,Act=Vi.TypeError,Ql=function(r){if(kct(r))return r;throw Act(Dct(r)+" is not an object")},Tct=kae,g4=Ql,Sae=wae,Mct=Vi.TypeError,T$=Object.defineProperty,Rct=Object.getOwnPropertyDescriptor,E$="enumerable",M$="configurable",R$="writable";Rb.f=Af?Aae?function(a,i,n){if(g4(a),i=Sae(i),g4(n),"function"==typeof a&&"prototype"===i&&"value"in n&&R$ in n&&!n[R$]){var s=Rct(a,i);s&&s[R$]&&(a[i]=n.value,n={configurable:M$ in n?n[M$]:s[M$],enumerable:E$ in n?n[E$]:s[E$],writable:!1})}return T$(a,i,n)}:T$:function(a,i,n){if(g4(a),i=Sae(i),g4(n),Tct)try{return T$(a,i,n)}catch{}if("get"in n||"set"in n)throw Mct("Accessors not supported");return"value"in n&&(a[i]=n.value),a};var Oct=Rb,Fct=Xse,m4=Af?function(r,a,i){return Oct.f(r,a,Fct(1,i))}:function(r,a,i){return r[a]=i,r},dx={exports:{}},Lct=qs,P$=A$,Bct=gs(Function.toString);Lct(P$.inspectSource)||(P$.inspectSource=function(r){return Bct(r)});var _4,ZS,v4,f4=P$.inspectSource,Hct=f4,Tae=Vi.WeakMap,Gct=qs(Tae)&&/native code/.test(Hct(Tae)),$ct=mae,Eae=(0,p4.exports)("keys"),Mae=function(r){return Eae[r]||(Eae[r]=$ct(r))},O$={},F$=gs,Wct=If,qct=m4,N$=ag,Kct=Mae,Yct=O$,Pae="Object already initialized",B$=Vi.TypeError;if(Gct||A$.state){var Pb=A$.state||(A$.state=new(0,Vi.WeakMap)),Jct=F$(Pb.get),Oae=F$(Pb.has),edt=F$(Pb.set);_4=function(r,a){if(Oae(Pb,r))throw new B$(Pae);return a.facade=r,edt(Pb,r,a),a},ZS=function(r){return Jct(Pb,r)||{}},v4=function(r){return Oae(Pb,r)}}else{var ux=Kct("state");Yct[ux]=!0,_4=function(r,a){if(N$(r,ux))throw new B$(Pae);return a.facade=r,qct(r,ux,a),a},ZS=function(r){return N$(r,ux)?r[ux]:{}},v4=function(r){return N$(r,ux)}}var V$={set:_4,get:ZS,has:v4,enforce:function(r){return v4(r)?ZS(r):_4(r,{})},getterFor:function(r){return function(a){var i;if(!Wct(a)||(i=ZS(a)).type!==r)throw B$("Incompatible receiver, "+r+" required");return i}}},z$=Af,Fae=Function.prototype,idt=z$&&Object.getOwnPropertyDescriptor,H$=ag(Fae,"name"),odt=H$&&(!z$||z$&&idt(Fae,"name").configurable),sdt=Vi,Nae=qs,adt=ag,Lae=m4,ldt=D$,cdt=f4,ddt=odt,udt=V$.get,hdt=V$.enforce,pdt=String(String).split("String");(dx.exports=function(r,a,i,n){var f,s=!!n&&!!n.unsafe,l=!!n&&!!n.enumerable,d=!!n&&!!n.noTargetGet,p=n&&void 0!==n.name?n.name:a;Nae(i)&&("Symbol("===String(p).slice(0,7)&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!adt(i,"name")||ddt&&i.name!==p)&&Lae(i,"name",p),(f=hdt(i)).source||(f.source=pdt.join("string"==typeof p?p:""))),r!==sdt?(s?!d&&r[a]&&(l=!0):delete r[a],l?r[a]=i:Lae(r,a,i)):l?r[a]=i:ldt(a,i)})(Function.prototype,"toString",function(){return Nae(this)&&udt(this).source||cdt(this)});var Vae={},gdt=Math.ceil,mdt=Math.floor,b4=function(r){var a=+r;return a!=a||0===a?0:(a>0?mdt:gdt)(a)},fdt=b4,_dt=Math.max,vdt=Math.min,ydt=b4,Cdt=Math.min,JS=function(r){return r>0?Cdt(ydt(r),9007199254740991):0},wdt=JS,zae=function(r){return wdt(r.length)},xdt=c4,Ddt=zae,Hae=function(r){return function(a,i,n){var p,s=xdt(a),l=Ddt(s),d=function(r,a){var i=fdt(r);return i<0?_dt(i+a,0):vdt(i,a)}(n,l);if(r&&i!=i){for(;l>d;)if((p=s[d++])!=p)return!0}else for(;l>d;d++)if((r||d in s)&&s[d]===i)return r||d||0;return!r&&-1}},Gae={includes:Hae(!0),indexOf:Hae(!1)},G$=ag,Idt=c4,Sdt=Gae.indexOf,Tdt=O$,jae=gs([].push),$ae=function(r,a){var l,i=Idt(r),n=0,s=[];for(l in i)!G$(Tdt,l)&&G$(i,l)&&jae(s,l);for(;a.length>n;)G$(i,l=a[n++])&&(~Sdt(s,l)||jae(s,l));return s},j$=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Edt=$ae,Rdt=j$.concat("length","prototype");Vae.f=Object.getOwnPropertyNames||function(a){return Edt(a,Rdt)};var Uae={};Uae.f=Object.getOwnPropertySymbols;var Pdt=Sf,Fdt=Vae,Ndt=Uae,Ldt=Ql,Bdt=gs([].concat),Vdt=Pdt("Reflect","ownKeys")||function(a){var i=Fdt.f(Ldt(a)),n=Ndt.f;return n?Bdt(i,n(a)):i},Wae=ag,zdt=Vdt,Hdt=lx,Gdt=Rb,$dt=Kl,Udt=qs,Wdt=/#|\.prototype\./,eT=function(r,a){var i=Kdt[qdt(r)];return i==Qdt||i!=Ydt&&(Udt(a)?$dt(a):!!a)},qdt=eT.normalize=function(r){return String(r).replace(Wdt,".").toLowerCase()},Kdt=eT.data={},Ydt=eT.NATIVE="N",Qdt=eT.POLYFILL="P",qae=eT,$$=Vi,Xdt=lx.f,Zdt=m4,Jdt=dx.exports,eut=D$,tut=function(r,a,i){for(var n=zdt(a),s=Gdt.f,l=Hdt.f,d=0;d=51&&/native code/.test(r))return!1;var i=new sT(function(l){l(1)}),n=function(l){l(function(){},function(){})};return(i.constructor={})[Wht]=n,!(lU=i.then(function(){})instanceof n)||!a&&Uht&&!Ile}),aT={CONSTRUCTOR:qht,REJECTION_EVENT:Ile,SUBCLASSING:lU},px={},Sle=Eb,Kht=function(r){var a,i;this.promise=new r(function(n,s){if(void 0!==a||void 0!==i)throw TypeError("Bad Promise constructor");a=n,i=s}),this.resolve=Sle(a),this.reject=Sle(i)};px.f=function(r){return new Kht(r)};var T4,Vle,zle,Yht=mh,k4=U$,Tf=Vi,gx=Yl,Qht=dx.exports,Tle=gut,ept=Eb,D4=qs,tpt=If,npt=function(r,a){var n,i=ile(r).constructor;return void 0===i||null==(n=ile(i)[tht])?a:function(r){if(Yut(r))return r;throw Xut(Qut(r)+" is not a constructor")}(n)},Ele=_le.set,cU=Oht,rpt=aU,spt=Lht,Mle=V$,A4=x4,Rle=px,I4="Promise",Ple=aT.CONSTRUCTOR,apt=aT.REJECTION_EVENT,lpt=aT.SUBCLASSING,uU=Mle.getterFor(I4),cpt=Mle.set,mx=A4&&A4.prototype,Lb=A4,S4=mx,Ole=Tf.TypeError,hU=Tf.document,pU=Tf.process,gU=Rle.f,dpt=gU,upt=!!(hU&&hU.createEvent&&Tf.dispatchEvent),Fle="unhandledrejection",Hle=function(r){var a;return!(!tpt(r)||!D4(a=r.then))&&a},Gle=function(r,a){var f,v,D,i=a.value,n=1==a.state,s=n?r.ok:r.fail,l=r.resolve,d=r.reject,p=r.domain;try{s?(n||(2===a.rejection&&fpt(a),a.rejection=1),!0===s?f=i:(p&&p.enter(),f=s(i),p&&(p.exit(),D=!0)),f===r.promise?d(Ole("Promise-chain cycle")):(v=Hle(f))?gx(v,f,l,d):l(f)):d(i)}catch(E){p&&!D&&p.exit(),d(E)}},jle=function(r,a){r.notified||(r.notified=!0,cU(function(){for(var n,i=r.reactions;n=i.get();)Gle(n,r);r.notified=!1,a&&!r.rejection&&mpt(r)}))},$le=function(r,a,i){var n,s;upt?((n=hU.createEvent("Event")).promise=a,n.reason=i,n.initEvent(r,!1,!0),Tf.dispatchEvent(n)):n={promise:a,reason:i},!apt&&(s=Tf["on"+r])?s(n):r===Fle&&function(r,a){var i=Fht.console;i&&i.error&&(1==arguments.length?i.error(r):i.error(r,a))}("Unhandled promise rejection",i)},mpt=function(r){gx(Ele,Tf,function(){var s,a=r.facade,i=r.value;if(Ule(r)&&(s=rpt(function(){k4?pU.emit("unhandledRejection",i,a):$le(Fle,a,i)}),r.rejection=k4||Ule(r)?2:1,s.error))throw s.value})},Ule=function(r){return 1!==r.rejection&&!r.parent},fpt=function(r){gx(Ele,Tf,function(){var a=r.facade;k4?pU.emit("rejectionHandled",a):$le("rejectionhandled",a,r.value)})},fx=function(r,a,i){return function(n){r(a,n,i)}},_x=function(r,a,i){r.done||(r.done=!0,i&&(r=i),r.value=a,r.state=2,jle(r,!0))},fU=function(r,a,i){if(!r.done){r.done=!0,i&&(r=i);try{if(r.facade===a)throw Ole("Promise can't be resolved itself");var n=Hle(a);n?cU(function(){var s={done:!1};try{gx(n,a,fx(fU,s,r),fx(_x,s,r))}catch(l){_x(s,l,r)}}):(r.value=a,r.state=1,jle(r,!1))}catch(s){_x({done:!1},s,r)}}};if(Ple&&(Lb=function(a){(function(r,a){if(Dut(a,r))return r;throw Aut("Incorrect invocation")})(this,S4),ept(a),gx(T4,this);var i=uU(this);try{a(fx(fU,i),fx(_x,i))}catch(n){_x(i,n)}},(T4=function(a){cpt(this,{type:I4,done:!1,notified:!1,parent:!1,reactions:new spt,rejection:!1,state:0,value:void 0})}).prototype=function(r,a,i){for(var n in a)rut(r,n,a[n],i);return r}(S4=Lb.prototype,{then:function(a,i){var n=uU(this),s=gU(npt(this,Lb));return n.parent=!0,s.ok=!D4(a)||a,s.fail=D4(i)&&i,s.domain=k4?pU.domain:void 0,0==n.state?n.reactions.add(s):cU(function(){Gle(s,n)}),s.promise}}),Vle=function(){var r=new T4,a=uU(r);this.promise=r,this.resolve=fx(fU,a),this.reject=fx(_x,a)},Rle.f=gU=function(r){return r===Lb||void 0===r?new Vle(r):dpt(r)},D4(A4)&&mx!==Object.prototype)){zle=mx.then,lpt||Qht(mx,"then",function(a,i){var n=this;return new Lb(function(s,l){gx(zle,n,s,l)}).then(a,i)},{unsafe:!0});try{delete mx.constructor}catch{}Tle&&Tle(mx,S4)}Yht({global:!0,wrap:!0,forced:Ple},{Promise:Lb}),function(r,a,i){r&&!i&&(r=r.prototype),r&&!fut(r,Yae)&&mut(r,Yae,{configurable:!0,value:a})}(Lb,I4,!1),function(r){var a=but(r);wut&&a&&!a[Qae]&&(0,yut.f)(a,Qae,{configurable:!0,get:function(){return this}})}(I4);var Wle={},vpt=Wle,bpt=vl("iterator"),ypt=Array.prototype,wpt=W$,qle=XS,xpt=Wle,Dpt=vl("iterator"),Kle=function(r){if(null!=r)return qle(r,Dpt)||qle(r,"@@iterator")||xpt[wpt(r)]},Ipt=Yl,Spt=Eb,Tpt=Ql,Ept=h4,Mpt=Kle,Rpt=Vi.TypeError,Opt=Yl,Yle=Ql,Fpt=XS,Bpt=K$,Vpt=Yl,zpt=Ql,Hpt=h4,jpt=zae,Qle=y$,Upt=Kle,Xle=function(r,a,i){var n,s;Yle(r);try{if(!(n=Fpt(r,"return"))){if("throw"===a)throw i;return i}n=Opt(n,r)}catch(l){s=!0,n=l}if("throw"===a)throw i;if(s)throw n;return Yle(n),i},Wpt=Vi.TypeError,E4=function(r,a){this.stopped=r,this.result=a},Zle=E4.prototype,Jle=function(r,a,i){var f,v,D,E,F,L,$,s=!(!i||!i.AS_ENTRIES),l=!(!i||!i.IS_ITERATOR),d=!(!i||!i.INTERRUPTED),p=Bpt(a,i&&i.that),q=function(se){return f&&Xle(f,"normal",se),new E4(!0,se)},Z=function(se){return s?(zpt(se),d?p(se[0],se[1],q):p(se[0],se[1])):d?p(se,q):p(se)};if(l)f=r;else{if(!(v=Upt(r)))throw Wpt(Hpt(r)+" is not iterable");if(function(r){return void 0!==r&&(vpt.Array===r||ypt[bpt]===r)}(v)){for(D=0,E=jpt(r);E>D;D++)if((F=Z(r[D]))&&Qle(Zle,F))return F;return new E4(!1)}f=function(r,a){var i=arguments.length<2?Mpt(r):a;if(Spt(i))return Tpt(Ipt(i,r));throw Rpt(Ept(r)+" is not iterable")}(r,v)}for(L=f.next;!($=Vpt(L,f)).done;){try{F=Z($.value)}catch(se){Xle(f,"throw",se)}if("object"==typeof F&&F&&Qle(Zle,F))return F}return new E4(!1)},ece=vl("iterator"),tce=!1;try{var Kpt=0,ice={next:function(){return{done:!!Kpt++}},return:function(){tce=!0}};ice[ece]=function(){return this},Array.from(ice,function(){throw 2})}catch{}var Qpt=x4,nce=aT.CONSTRUCTOR||!function(r,a){if(!a&&!tce)return!1;var i=!1;try{var n={};n[ece]=function(){return{next:function(){return{done:i=!0}}}},r(n)}catch{}return i}(function(r){Qpt.all(r).then(void 0,function(){})}),egt=Yl,tgt=Eb,igt=px,ngt=aU,ogt=Jle;mh({target:"Promise",stat:!0,forced:nce},{all:function(a){var i=this,n=igt.f(i),s=n.resolve,l=n.reject,d=ngt(function(){var p=tgt(i.resolve),f=[],v=0,D=1;ogt(a,function(E){var F=v++,L=!1;D++,egt(p,i,E).then(function($){L||(L=!0,f[F]=$,--D||s(f))},l)}),--D||s(f)});return d.error&&l(d.value),n.promise}});var _U=x4,lgt=Sf,cgt=qs,dgt=dx.exports,oce=_U&&_U.prototype;if(mh({target:"Promise",proto:!0,forced:aT.CONSTRUCTOR,real:!0},{catch:function(r){return this.then(void 0,r)}}),cgt(_U)){var rce=lgt("Promise").prototype.catch;oce.catch!==rce&&dgt(oce,"catch",rce,{unsafe:!0})}var hgt=Yl,pgt=Eb,ggt=px,mgt=aU,fgt=Jle;mh({target:"Promise",stat:!0,forced:nce},{race:function(a){var i=this,n=ggt.f(i),s=n.reject,l=mgt(function(){var d=pgt(i.resolve);fgt(a,function(p){hgt(d,i,p).then(n.resolve,s)})});return l.error&&s(l.value),n.promise}});var bgt=Yl,ygt=px;mh({target:"Promise",stat:!0,forced:aT.CONSTRUCTOR},{reject:function(a){var i=ygt.f(this);return bgt(i.reject,void 0,a),i.promise}});var wgt=Ql,xgt=If,kgt=px,Agt=mh,Sgt=aT.CONSTRUCTOR;Sf("Promise"),Agt({target:"Promise",stat:!0,forced:Sgt},{resolve:function(a){return function(r,a){if(wgt(r),xgt(a)&&a.constructor===r)return a;var i=kgt.f(r);return(0,i.resolve)(a),i.promise}(this,a)}});var Mgt=W$,Rgt=Vi.String,vx=function(r){if("Symbol"===Mgt(r))throw TypeError("Cannot convert a Symbol value to a string");return Rgt(r)},Pgt=Ql,vU=Kl,bU=Vi.RegExp,yU=vU(function(){var r=bU("a","y");return r.lastIndex=2,null!=r.exec("abcd")}),Ngt=yU||vU(function(){return!bU("a","y").sticky}),Lgt=yU||vU(function(){var r=bU("^r","gy");return r.lastIndex=2,null!=r.exec("str")}),Bgt={BROKEN_CARET:Lgt,MISSED_STICKY:Ngt,UNSUPPORTED_Y:yU},sce={},Vgt=$ae,zgt=j$,$gt=Rb,Ugt=Ql,Wgt=c4,qgt=Object.keys||function(a){return Vgt(a,zgt)};sce.f=Af&&!Aae?Object.defineProperties:function(a,i){Ugt(a);for(var p,n=Wgt(i),s=qgt(i),l=s.length,d=0;l>d;)$gt.f(a,p=s[d++],n[p]);return a};var M4,Kgt=Ql,Ygt=sce,ace=j$,Qgt=O$,Xgt=lle,Zgt=S$,CU="prototype",dce=Mae("IE_PROTO"),xU=function(){},uce=function(r){return"refresh'}updateCountdownState(i){this.countdownState.next(i),this.value=i}getCountdownState(){return this.value}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),mvt=(()=>{class r{constructor(i){this.countdownService=i,this.countdownValue=""}ngOnInit(){this.startInterval()}startInterval(){setInterval(()=>{this.countdownValue=window.countdownService.getCountdownState()},1e3)}ngOnDestroy(){this.countdownSubscription&&this.countdownSubscription.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)(T(VU))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-course"]],decls:12,vars:1,consts:[[1,"main"],["id","Content",1,"wrapper","topSection"],["id","Header"],[1,"wrapper"],[1,"logo"],["src","assets/Icon/logotyls.png"],[1,"flex-center","font"],[1,"countdown","styled",3,"innerHTML"],[2,"height","260px"]],template:function(n,s){1&n&&(C(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h1"),Q(6,"img",5),P(7," T\xf4i Y\xeau L\u1ecbch S\u1eed "),C(8,"h3",6),P(9," \u{1f4a5} S\u1eafp ra m\u1eaft \u{1f4a5} "),k()()()()(),Q(10,"div",7),k()(),Q(11,"div",8)),2&n&&(y(10),x("innerHTML",s.countdownValue,il))},styles:[".main{color:#fff;font-family:Open Sans,sans-serif;min-width:960px;top:51px;left:0;position:fixed;height:100%;width:100%;margin:0;z-index:1000;color:#000;background-size:cover;background:url(pattern.8a8f08b284714ab5.png) top left repeat}.ie body{filter:dropshadow(color=#000000,offx=0,offy=1)}h1{font-size:50px!important;letter-spacing:-2px;line-height:40px;text-align:center}.ie h1{filter:dropshadow(color=#000000,offx=0,offy=3);padding-bottom:12px}h3{font-size:30px;margin:.2em 0;text-align:center;color:#888;padding:0}.spacing{padding:60px 0}#Header{position:relative;width:100%;z-index:1}.logo{width:auto;object-fit:contain;margin:0 auto;padding:16px;border-radius:180px}.logo h1{color:#0f66b1;font-weight:600}.logo img{width:80px;text-align:center;display:block;margin:0 auto}.wrapper{margin:0 auto;position:relative;width:100%;z-index:1}#socialIcons{display:block}#socialIcons ul{margin:40px 0 0;padding:0;text-align:center}#socialIcons ul li{margin-right:19px;height:56px;line-height:50px;list-style-type:none;display:inline-block;background:#fff;border-radius:71px;padding:10px;border:1px solid #888}#socialIcons ul li a{width:34px;height:34px;display:inline-block}.twitterIcon:hover,.facebookIcon:hover,.linkedInIcon:hover,.pintrestIcon:hover{background-position-y:-33px}.facebookIcon{background-position:10px 0px}.linkedInIcon{background-position:-245px 0px}.pintrestIcon{background-position:-331px 0px}.tempBy{display:block;text-align:center;padding:15px;background:#fff;color:#8a8a8a}#Content h2{margin:0 0 40px;padding:0;text-align:center;font-size:42px;font-weight:300;color:#676767}#WindowSlide{margin:0 auto;position:relative;width:634px;height:170px;display:block;overflow:hidden}#Mail{position:absolute;width:634px;top:0;left:0}#Content h3{text-align:center;font-size:24px;font-weight:400;display:block;clear:both}#subscribe p{text-align:center}#subscribe input{background:rgba(255,255,255,.52);color:#7a7a7a;vertical-align:middle;width:393px;border:1px solid #888;padding:10px;font-size:14px}#subscribe input[type=button]{background:rgba(255,255,255,1);width:auto;padding:10px 25px;cursor:pointer;margin:0 0 0 -6px;font-weight:700;font-size:14px;color:#888}#subscribe input[type=button]:hover{background:#1e7ccd;color:#fff;border:1px solid #1e7ccd}.callback,.simple{font-size:20px;background:#27ae60;padding:.5em .7em;color:#ecf0f1;margin-bottom:50px;transition:background .5s ease-out}.callback{cursor:pointer}.ended{background:#c0392b}.countdown{text-align:center;margin-top:30px;background:#5381E4;padding:60px 0}.styled time{display:inline-block;font-size:30px;font-weight:400;text-align:center;margin:0 8px;padding:0 16px;color:#fff;text-shadow:none;vertical-align:middle}*+html .styled div{display:inline;zoom:1}.styled div:first-child{margin-left:0}.styled div span{display:block;padding-top:3px;font-size:19px;font-weight:400;text-align:center}footer{width:100%;height:30px;background:rgba(0,0,0,.64);position:absolute;bottom:0}footer span{float:right;margin:10px}.subscribe{background:#fff}.features{background:rgba(55,55,55,.15)}.features h2{padding:0 0 30px}.features h4{margin:0 0 10px}.featuresPro{margin-bottom:30px;float:left}.featuresPro{font-size:15px}@media (max-width:768px){body{min-width:initial!important}.wrapper{width:100%}.styled div{margin-bottom:10px}}@media (max-width:420px){h1{float:initial;text-align:center;margin-left:0;margin-bottom:0}.styled div{margin-bottom:10px;font-size:40px;font-weight:400;text-align:center;width:50px;height:70px}#Content h2{margin:0;padding:0;text-align:center;font-size:29px;font-weight:300}.styled{margin-bottom:2px}#subscribe input[type=button]{margin-top:10px}#subscribe input{width:80%}.featuresPro img{width:100%}footer{position:relative!important}}\n"],encapsulation:2})}return r})(),L4=(()=>{class r{static#e=this.adminRole="admin";static#t=this.studentRole="student"}return r})();function fvt(r,a){1&r&&(C(0,"button",18)(1,"span",4),P(2," indeterminate_question_box "),k()())}function _vt(r,a){1&r&&(C(0,"th",19),P(1," B\xe0i thi "),k())}function vvt(r,a){if(1&r){const i=ce();C(0,"td",20)(1,"a",21),B("click",function(){const l=z(i).$implicit;return H(S().ExamDetail(l.multipleChoiceResponseDto))}),C(2,"strong"),P(3),k()()()}if(2&r){const i=a.$implicit;y(3),_e(i.multipleChoiceResponseDto.title)}}function bvt(r,a){1&r&&(C(0,"th",19),P(1," S\u1ed1 c\xe2u h\u1ecfi "),k())}function yvt(r,a){if(1&r&&(C(0,"td",22),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.numberQuiz," ")}}function Cvt(r,a){1&r&&(C(0,"th",19),P(1," \u0110i\u1ec3m thi"),k())}function wvt(r,a){if(1&r&&(C(0,"td",22),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.scores," ")}}function xvt(r,a){1&r&&(C(0,"th",19),P(1," Th\u1eddi gian l\xe0m b\xe0i "),k())}function kvt(r,a){if(1&r&&(C(0,"td",22),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.completionTime," ph\xfat")}}function Dvt(r,a){1&r&&(C(0,"th",19),P(1," Ng\xe0y thi "),k())}function Avt(r,a){if(1&r&&(C(0,"td",22),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.starDate," ")}}function Ivt(r,a){1&r&&Q(0,"tr",23)}function Svt(r,a){1&r&&Q(0,"tr",24)}let Tvt=(()=>{class r{constructor(i,n,s){this.service=i,this.session=n,this.router=s,this.dataSource=new gh([]),this.displayedColumns=["title","numberQuiz","Scores","CompletionTime","StarDate"],this.userId=n.getUserId()??"",this.GetMyExamHistory(),this.dataSource.sort=this.sort}GetMyExamHistory(){this.service.GetMyExamHistory().subscribe(i=>{this.examhistories=i.resultObj,this.ConvertDate(),this.dataSource=new gh(this.examhistories),this.dataSource.sort=this.sort})}ConvertDate(){this.examhistories.forEach(i=>{if(i){const n=fi(i.starDate??"");isNaN(n.getTime())||(i.starDate=_i(n,"dd-MM-yyyy"))}})}ExamDetail(i){this.router.navigate(["/exam",i.id])}isCheckAdmin(){return this.session.getRole()===L4.adminRole}static#e=this.\u0275fac=function(n){return new(n||r)(T(In),T(Rn),T(di))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-myexamhistory"]],viewQuery:function(n,s){if(1&n&&oe(gu,5),2&n){let l;G(l=j())&&(s.sort=l.first)}},decls:27,vars:4,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","B\xe0i thi \u0111\xe3 t\u1ea1o","matTooltipPosition","right","routerLink","/mycategory/exam","mat-icon-button","","class","btn-interact ","style","top: 100px;",4,"ngIf"],["matTooltip","L\u1ecbch s\u1eed thi","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","148px"],[1,"material-symbols-outlined"],[2,"min-width","400px","max-width","1000px"],["mat-table","","matSort","",1,"font",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","style","cursor: pointer;","class","font",4,"matCellDef"],["matColumnDef","numberQuiz"],["mat-cell","",4,"matCellDef"],["matColumnDef","Scores"],["matColumnDef","CompletionTime"],["matColumnDef","StarDate"],["style","height: 48px;","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"tag-category","plr-1","pt","pb","text-white"],["matTooltip","B\xe0i thi \u0111\xe3 t\u1ea1o","matTooltipPosition","right","routerLink","/mycategory/exam","mat-icon-button","",1,"btn-interact",2,"top","100px"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"font",2,"cursor","pointer"],[1,"text-3-line",3,"click"],["mat-cell",""],["mat-header-row","",2,"height","48px"],["mat-row",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1),I(2,fvt,3,0,"button",2),C(3,"button",3)(4,"span",4),P(5," bookmark_added "),k()()(),C(6,"div",5)(7,"table",6),be(8,7),I(9,_vt,2,0,"th",8),I(10,vvt,4,1,"td",9),ve(),be(11,10),I(12,bvt,2,0,"th",8),I(13,yvt,2,1,"td",11),ve(),be(14,12),I(15,Cvt,2,0,"th",8),I(16,wvt,2,1,"td",11),ve(),be(17,13),I(18,xvt,2,0,"th",8),I(19,kvt,2,1,"td",11),ve(),be(20,14),I(21,Dvt,2,0,"th",8),I(22,Avt,2,1,"td",11),ve(),I(23,Ivt,1,0,"tr",15),I(24,Svt,1,0,"tr",16),k()(),C(25,"div",17),P(26," L\u1ecbch s\u1eed thi "),k()()),2&n&&(y(2),x("ngIf",s.isCheckAdmin()),y(5),x("dataSource",s.dataSource),y(16),x("matHeaderRowDef",s.displayedColumns),y(1),x("matRowDefColumns",s.displayedColumns))},dependencies:[js,Qe,nx,Db,ox,Ab,kb,rx,Ib,Sb,sx,ax,gu,qS,wr,er],styles:[".card-mypost[_ngcontent-%COMP%]{object-fit:cover;height:130px;width:200px}.seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}.text-6-line[_ngcontent-%COMP%]{width:200px;line-height:21px;min-width:40px;height:130px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.text-3-line[_ngcontent-%COMP%]{height:60px;min-height:34px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;position:relative}"]})}return r})(),jce=(()=>{class r{constructor(i,n){this.sessionService=i,this.toastr=n,this.canActivate=(s,l)=>{const d=this.sessionService.getRole();return!(!d||d!==L4.adminRole)||(this.toastr.info("B\u1ea1n kh\xf4ng c\xf3 quy\u1ec1n truy c\u1eadp"),!1)}}static#e=this.\u0275fac=function(n){return new(n||r)(De(Rn),De(Mi))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Evt=["input"],Mvt=["label"],Rvt=["*"],Pvt=new $e("mat-checkbox-default-options",{providedIn:"root",factory:$ce});function $ce(){return{color:"accent",clickAction:"check-indeterminate"}}const Ovt={provide:Yn,useExisting:J(()=>Wce),multi:!0};class Fvt{}let Nvt=0;const Uce=$ce(),Lvt=Sv(Iv(Om(Vp(class{constructor(r){this._elementRef=r}}))));let Bvt=(()=>{class r extends Lvt{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(i){this._required=Et(i)}constructor(i,n,s,l,d,p,f){super(n),this._changeDetectorRef=s,this._ngZone=l,this._animationMode=p,this._options=f,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new X,this.indeterminateChange=new X,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Uce,this.color=this.defaultColor=this._options.color||Uce.color,this.tabIndex=parseInt(d)||0,this.id=this._uniqueId=`${i}${++Nvt}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(i){const n=Et(i);n!=this.checked&&(this._checked=n,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(i){const n=Et(i);n!==this.disabled&&(this._disabled=n,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(i){const n=i!=this._indeterminate;this._indeterminate=Et(i),n&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(i){this.checked=!!i}registerOnChange(i){this._controlValueAccessorChangeFn=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_transitionCheckState(i){let n=this._currentCheckState,s=this._getAnimationTargetElement();if(n!==i&&s&&(this._currentAnimationClass&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,i),this._currentCheckState=i,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const l=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(l)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const i=this._options?.clickAction;this.disabled||"noop"===i?!this.disabled&&"noop"===i&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(i){i.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(i,n){if("NoopAnimations"===this._animationMode)return"";switch(i){case 0:if(1===n)return this._animationClasses.uncheckedToChecked;if(3==n)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===n?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===n?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===n?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(i){const n=this._inputElement;n&&(n.nativeElement.indeterminate=i)}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&(oe(Evt,5),oe(Mvt,5),oe(zp,5)),2&n){let l;G(l=j())&&(s._inputElement=l.first),G(l=j())&&(s._labelElement=l.first),G(l=j())&&(s.ripple=l.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[Ae]})}return r})(),Wce=(()=>{class r extends Bvt{constructor(i,n,s,l,d,p){super("mat-mdc-checkbox-",i,n,s,l,d,p),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(i){const n=new Fvt;return n.source=this,n.checked=i,n}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(i){i.target&&this._labelElement.nativeElement.contains(i.target)&&i.stopPropagation()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(et),Ns("tabindex"),T(Eo,8),T(Pvt,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(n,s){2&n&&(ur("id",s.id),ge("tabindex",null)("aria-label",null)("aria-labelledby",null),Se("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mdc-checkbox--disabled",s.disabled)("mat-mdc-checkbox-disabled",s.disabled)("mat-mdc-checkbox-checked",s.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Ye([Ovt]),Ae],ngContentSelectors:Rvt,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(n,s){if(1&n&&(pt(),C(0,"div",0),B("click",function(d){return s._preventBubblingFromLabel(d)}),C(1,"div",1,2)(3,"div",3),B("click",function(){return s._onTouchTargetClick()}),k(),C(4,"input",4,5),B("blur",function(){return s._onBlur()})("click",function(){return s._onInputClick()})("change",function(d){return s._onInteractionEvent(d)}),k(),Q(6,"div",6),C(7,"div",7),mr(),C(8,"svg",8),Q(9,"path",9),k(),vt(),Q(10,"div",10),k(),Q(11,"div",11),k(),C(12,"label",12,13),Ie(14),k()()),2&n){const l=ee(2);Se("mdc-form-field--align-end","before"==s.labelPosition),y(4),Se("mdc-checkbox--selected",s.checked),x("checked",s.checked)("indeterminate",s.indeterminate)("disabled",s.disabled)("id",s.inputId)("required",s.required)("tabIndex",s.tabIndex),ge("aria-label",s.ariaLabel||null)("aria-labelledby",s.ariaLabelledby)("aria-describedby",s.ariaDescribedby)("aria-checked",s.indeterminate?"mixed":null)("name",s.name)("value",s.value),y(7),x("matRippleTrigger",l)("matRippleDisabled",s.disableRipple||s.disabled)("matRippleCentered",!0),y(1),x("for",s.inputId)}},dependencies:[zp],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return r})(),qce=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})(),Hvt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Hp,qce,Ai,qce]})}return r})();function Gvt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function jvt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i hay qu\xe1 ng\u1eafn "),k())}function $vt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}function Uvt(r,a){1&r&&(C(0,"mat-error"),P(1," M\xf4 t\u1ea3 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}function Wvt(r,a){if(1&r&&(C(0,"div",21)(1,"mat-form-field",22),Q(2,"input",23),k(),Q(3,"mat-checkbox",24),k()),2&r){const i=a.index,n=S().index,s=S();y(2),x("formControl",s.getAnswerControl(n,i)),y(1),x("formControl",s.getIsCorrectControl(n,i))}}function qvt(r,a){if(1&r){const i=ce();C(0,"div")(1,"form",16),B("ngSubmit",function(){const l=z(i).index;return H(S().updateQuiz(l))}),C(2,"div")(3,"div",1)(4,"span",17),P(5),k()(),C(6,"mat-form-field",7),Q(7,"input",18),k(),I(8,Wvt,4,2,"div",19),C(9,"button",20),P(10,"C\u1eadp nh\u1eadp c\xe2u h\u1ecfi"),k()()()()}if(2&r){const i=a.$implicit,n=a.index,s=S();y(1),x("formGroup",s.quizForms[n]),y(4),me("C\xe2u h\u1ecfi ",n+1,""),y(3),x("ngForOf",i.quizAnswers)}}const Kvt=[{path:"",component:Sqe},{path:"register",component:UKe},{path:"login",component:iQe},{path:"discover",component:Iot},{path:"searchposts",component:Got},{path:"discover/:postId",component:Bnt},{path:"account",component:EQe,canActivate:[jre],children:[{path:"",redirectTo:"updateuserinfor",pathMatch:"full"},{path:"updateuserinfor",component:FXe},{path:"updateaccount",component:BXe},{path:"introduce",component:Cre},{path:"changeemail",component:Hre},{path:"changepassword",component:Gre}]},{path:"mycategory",component:$ot,canActivate:[jre],children:[{path:"",redirectTo:"post",pathMatch:"full"},{path:"post",component:Ost},{path:"question",component:Wrt},{path:"questionsaved",component:zat},{path:"document",component:mst},{path:"postsaved",component:Hst},{path:"documentsaved",component:z_t},{path:"exam",component:gvt,canActivate:[jce]},{path:"examhistory",component:Tvt}]},{path:"forum",component:Ust,children:[{path:"",redirectTo:"foryou",pathMatch:"full"},{path:"foryou",component:Yst},{path:"top",component:Qst},{path:"new",component:Xst}]},{path:"searchquestion",component:O_t},{path:"forum/:id",component:Oat},{path:"news",component:jat},{path:"document",component:qat},{path:"document/:documentId",component:k_t},{path:"exam",component:W_t},{path:"exam/:examId",component:nvt},{path:"exam/edit/:examId",component:(()=>{class r{constructor(i,n,s,l,d,p){this.service=i,this.toastr=n,this.session=s,this.route=l,this.router=d,this._formBuilder=p,this.updateExamForm=this._formBuilder.group({Id:["",Nt.required],Title:["",[Nt.required,Nt.maxLength(255),Nt.minLength(10)]],Description:["",[Nt.required,Nt.maxLength(500)]],Time:["",Nt.required]}),this.quizForms=[],this.examId=this.route.snapshot.paramMap.get("examId"),this.GetDetail()}GetDetail(){this.examId&&this.service.ExamDetail(this.examId).subscribe(i=>{i.isSuccessed?(this.exam=i.resultObj,this.session.getUserId()!=this.exam.userShort?.id&&(this.toastr.info("B\u1ea1n kh\xf4ng \u0111\u1ee7 quy\u1ec1n"),this.router.navigate(["/home"])),this.updateExamForm.patchValue({Id:this.exam.id,Description:this.exam.description,Time:this.exam.workTime.toString(),Title:this.exam.title}),this.pushData()):this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}pushData(){this.exam.quizs?.forEach(i=>{const n=this._formBuilder.group({id:[i.id,Nt.required],content:[i.content,Nt.required],quizAnswers:this._formBuilder.array([])}),s=n.get("quizAnswers");i.quizAnswers?.forEach(l=>{s.push(this._formBuilder.group({id:[l.id],content:[l.content,Nt.required],isCorrect:[l.isCorrect]}))}),this.quizForms.push(n)})}getAnswerControl(i,n){return this.quizForms[i].get(`quizAnswers.${n}.content`)}getIsCorrectControl(i,n){return this.quizForms[i].get(`quizAnswers.${n}.isCorrect`)}UpdateExam(){const i=new FormData,n=this.updateExamForm;var s=n.get("Time")?.value;i.append("Id",n.get("Id")?.value?.trim()||""),i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Description",n.get("Description")?.value?.trim()||""),i.append("WorkTime",s||"30"),i.append("File",""),this.service.UpdateExam(i).subscribe(l=>{l.isSuccessed?this.toastr.success("C\u1eadp nh\u1eadp b\xe0i thi th\xe0nh c\xf4ng"):this.toastr.error(l.message)},l=>{this.toastr.error("L\u1ed7i: "+l)})}toggleIsCorrect(i,n){const s=this.quizForms[i].get("quizAnswers"),l=s.at(n),d=l.get("isCorrect")?.value;if(l.patchValue({isCorrect:!d}),!d)for(let p=0;p{l.isSuccessed?this.toastr.success("C\u1eadp nh\u1eadp c\xe2u h\u1ecfi th\xe0nh c\xf4ng"):this.toastr.error("L\u1ed7i: "+l.message)},l=>{this.toastr.error("L\u1ed7i: "+l)})}getQuizDataFromForm(i){const n={...i.value};return n.quizAnswers=n.quizAnswers.map(s=>({id:s.id,content:s.content,isCorrect:s.isCorrect})),n}static#e=this.\u0275fac=function(n){return new(n||r)(T(In),T(Mi),T(Rn),T(_c),T(di),T(za))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updateexam"]],decls:24,vars:12,consts:[[1,"mt-60","plr-200"],[1,"flex-center-sb","mt"],[2,"font-size","24px"],[3,"matTooltip"],["mat-raised-button","","color","primary","matTooltip","Chia s\u1ebb",3,"disabled","click"],[3,"formGroup"],[1,"mt"],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0",3,"value"],[4,"ngIf"],[1,"w-100",2,"max-height","224px"],["matInput","","formControlName","Description","placeholder","Nh\u1eadp m\xf4 t\u1ea3 t\xe0i li\u1ec7u...","required","",1,"fw-5",2,"max-height","180px","height","180px",3,"value"],[1,"w-100",2,"max-height","170px"],["matInput","","formControlName","Time","placeholder","Nh\u1eadp th\u1eddi gian thi... (ph\xfat)","required","",1,"fw-5",2,"max-height","126px",3,"value"],[1,"mt-2"],[4,"ngFor","ngForOf"],[3,"formGroup","ngSubmit"],[1,"fs16"],["matInput","","formControlName","content"],["class","ml-2",4,"ngFor","ngForOf"],["type","submit","mat-raised-button","","color","primary"],[1,"ml-2"],[1,"w-90"],["matInput","",3,"formControl"],[3,"formControl"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"span",2),P(3," C\u1eadp nh\u1eadp b\xe0i thi tr\u1eafc nghi\u1ec7m "),k(),C(4,"div",3)(5,"button",4),B("click",function(){return s.UpdateExam()}),P(6,"C\u1eadp nh\u1eadp"),k()()(),C(7,"form",5),Q(8,"div",6),C(9,"mat-form-field",7),Q(10,"input",8),I(11,Gvt,2,0,"mat-error",9),I(12,jvt,2,0,"mat-error",9),I(13,$vt,2,0,"mat-error",9),k(),C(14,"mat-form-field",10)(15,"textarea",11),P(16," "),k(),I(17,Uvt,2,0,"mat-error",9),k(),C(18,"mat-form-field",12),Q(19,"input",13),k()(),C(20,"div",14)(21,"span",2),P(22),k(),I(23,qvt,11,3,"div",15),k()()),2&n){let l,d,p,f;y(4),ri("matTooltip",s.updateExamForm.invalid?"Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin":""),y(1),x("disabled",s.updateExamForm.invalid),y(2),x("formGroup",s.updateExamForm),y(3),ri("value",s.updateExamForm.value.Title),y(1),x("ngIf",null==(l=s.updateExamForm.get("Title"))?null:l.hasError("required")),y(1),x("ngIf",null==(d=s.updateExamForm.get("Title"))?null:d.hasError("maxlength")),y(1),x("ngIf",null==(p=s.updateExamForm.get("Title"))?null:p.hasError("minlength")),y(2),ri("value",s.updateExamForm.value.Description),y(2),x("ngIf",null==(f=s.updateExamForm.get("Description"))?null:f.hasError("maxlength")),y(2),ri("value",s.updateExamForm.value.Time),y(3),me("C\u1eadp nh\u1eadp c\xe2u h\u1ecfi v\xe0 \u0111\xe1p \xe1n (",null==s.exam.quizs?null:s.exam.quizs.length," c\xe2u)"),y(1),x("ngForOf",s.exam.quizs)}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,Cf,Wce,Cr,er,tu,jo,ba],styles:[".default-correct[_ngcontent-%COMP%]{color:green}"]})}return r})(),canActivate:[jce]},{path:"course",component:mvt}];let Yvt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[{provide:M6,useClass:nQe,multi:!0}],imports:[A6.forRoot(Kvt,{useHash:!0}),MQ,A6]})}return r})();const Qvt=["topicInput"],Xvt=["TagInput"];function Zvt(r,a){1&r&&P(0,"N\u1ed9i dung c\xe2u chuy\u1ec7n")}function Jvt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function ebt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}function tbt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}function ibt(r,a){1&r&&P(0,"Trang tr\xed")}function nbt(r,a){1&r&&Q(0,"img",42),2&r&&x("src",S().selectedImage,oi)}function obt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",43),B("removed",function(){const l=z(i).$implicit;return H(S().removeTopic(l))}),P(1),C(2,"button",44)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function rbt(r,a){if(1&r&&(C(0,"mat-option",45),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function sbt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",43),B("removed",function(){const l=z(i).$implicit;return H(S().removeTag(l))}),P(1),C(2,"button",44)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function abt(r,a){if(1&r&&(C(0,"mat-option",45),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function lbt(r,a){1&r&&P(0,"Ho\xe0n th\xe0nh")}function cbt(r,a){if(1&r&&(C(0,"mat-chip",48),P(1),k()),2&r){const i=a.$implicit;y(1),_e(i)}}function dbt(r,a){if(1&r&&(C(0,"div")(1,"div",46)(2,"mat-chip-set",47)(3,"mat-chip",48),P(4),k()(),C(5,"span"),P(6),k()(),C(7,"div")(8,"h5"),P(9),k(),C(10,"div"),Q(11,"div",49),k()(),C(12,"div")(13,"mat-chip-set",50),I(14,cbt,2,1,"mat-chip",51),k()()()),2&r){const i=S();let n,s,l;y(4),_e(null==(n=i.createpostform.get("TopicName"))?null:n.value),y(2),me(" ",i.currentDate," "),y(3),_e(null==(s=i.createpostform.get("Title"))?null:s.value),y(2),x("innerHTML",null==(l=i.createpostform.get("Content"))?null:l.value,il),y(3),x("ngForOf",i.chooseTag)}}function ubt(r,a){1&r&&(C(0,"i",52),P(1,"*Vui l\xf2ng \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin y\xeau c\u1ea7u!"),k())}let hbt=(()=>{class r{onEditorChange({}){}constructor(i,n,s,l,d,p){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.dataService=p,this.postId="",this.createpostform=this._formBuilder.group({Title:["",[Nt.required,Nt.maxLength(255),Nt.minLength(10)]],Content:[" ",Nt.required],Image:[null,Nt.required],TopicId:["",Nt.required],TopicName:["",Nt.required],Tag:[[]]}),this.currentDate=this.service.getCurrentDate(),this.isEditable=!0,this.Editor=qw(),this.selectedImage=null,this.topics=[],this.listTopic=[],this.choosetopic=[],this.topicCtrl=new Hl(""),this.announcer=st(Lp),this.separatorKeysCodes=[13,188],this.listTag=[],this.chooseTag=[],this.tagCtrl=new Hl(""),this.announcerTag=st(Lp),this.separatorKeysCodesTag=[13,188],this.editorConfig={toolbar:["undo","redo","|","heading","|","bold","italic","bulletedList","numberedList","link","insertTable","blockQuote","mediaEmbed"],placeholder:"Nh\u1eadp n\u1ed9i dung \u1edf \u0111\xe2y...",language:"vi"},this.GetAllTopic(),this.GetAllTag(),this.filteredTopics=this.topicCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTopic(f):this.listTopic.slice())),this.filteredTags=this.tagCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTag(f):this.listTag.slice()))}addTopic(i){const n=i.value;n&&this.isValueInList(n)&&(this.choosetopic.length>0?this.choosetopic[0]=n:this.choosetopic.push(n)),i.chipInput.clear(),this.topicCtrl.setValue(null)}isValueInList(i){return-1!==this.listTopic.indexOf(i)}addTag(i){const n=i.value;n&&this.isDupplication(n)&&this.chooseTag.length<=5&&this.chooseTag.push(n.trim()),i.chipInput.clear(),this.tagCtrl.setValue(null)}isDupplication(i){return!(""==i||i.trim().length>31||this.chooseTag.includes(i))}removeTag(i){const n=this.chooseTag.indexOf(i);n>=0&&(this.chooseTag.splice(n,1),this.announcerTag.announce(`Removed ${i}`))}removeTopic(i){const n=this.listTopic.indexOf(i);n>=0&&(this.choosetopic.splice(n,1),this.announcer.announce(`Removed ${i}`))}selectedTopic(i){this.choosetopic.length>0?this.choosetopic[0]=i.option.viewValue:(this.choosetopic.push(i.option.viewValue),this.topicInput.nativeElement.value="",this.topicCtrl.setValue(null))}selectedTag(i){this.isDupplication(i.option.viewValue)&&(this.chooseTag.push(i.option.viewValue),this.TagInput.nativeElement.value="",this.tagCtrl.setValue(null))}_filterTopic(i){const n=i.toLowerCase();return this.listTopic.filter(s=>s.toLowerCase().includes(n))}_filterTag(i){const n=i.toLowerCase();return this.listTag.filter(s=>s.toLowerCase().includes(n))}GetAllTopic(){this.service.GetTopic().subscribe(i=>{this.topics=i.resultObj,this.topics.forEach(n=>{this.listTopic.push(n.title),this.listTag.push(n.title)})})}GetAllTag(){this.service.GetAllTag().subscribe(i=>{this.listTag=i.resultObj})}onFileSelected(i){const n=i.files[0];if(n){if(this.checkSize(n))return;const s=new FileReader;s.onload=()=>{this.selectedImage=s.result,this.createpostform.get("Image")?.setValue(n)},s.readAsDataURL(n)}}Check(){if(this.choosetopic.length>0){const n=this.topics.find(s=>s.title===this.choosetopic[0]);n&&(this.createpostform.get("TopicId")?.setValue(n.id),this.createpostform.get("TopicName")?.setValue(n.title))}const i=this.createpostform.get("Tag");return i&&i.setValue(this.chooseTag),!!this.createpostform.valid}CreatePost(){const i=new FormData,n=this.createpostform;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Content",n.get("Content")?.value?.trim()||""),i.append("Image",n.get("Image")?.value||""),i.append("TopicId",n.get("TopicId")?.value||"");const s=n.get("Tag")?.value;Array.isArray(s)&&s.forEach((l,d)=>{i.append(`Tag[${d}]`,l)}),this.service.CreatePost(i).subscribe(l=>{this.router.navigate(["/discover",l.resultObj.subId]),setTimeout(()=>{this.triggerReloadDetailPage()},0),this.dialogRef.close()},l=>{const d=l.error.message;null==d?this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y"):(this.toastr.error(d),console.log(l))})}triggerReloadDetailPage(){this.dataService.triggerReloadDetailPage(this.postId)}checkSize(i){return i.size>2097152&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 2MB."),!0)}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-createpost"]],viewQuery:function(n,s){if(1&n&&(oe(Qvt,5),oe(Xvt,5)),2&n){let l;G(l=j())&&(s.topicInput=l.first),G(l=j())&&(s.TagInput=l.first)}},decls:73,vars:30,consts:[[1,"Post-Create-Card"],["linear",""],["stepper",""],[3,"editable"],[2,"margin-top","8px"],[3,"formGroup"],["matStepLabel",""],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0"],[4,"ngIf"],["formControlName","Content",2,"max-height","650px","overflow","auto",3,"editor","config","change"],[1,"mt-1"],["mat-raised-button","","color","primary","matStepperNext",""],[1,"mt"],[1,"image-upload-container","btn","btn-bwm","font"],[1,"mb"],["type","file","accept","image/*",1,"font",3,"change"],["imageInput",""],[1,"image-card"],[1,"po-ab"],[2,"color","#aeaeae"],["style","z-index: 1;","alt","Selected Image",3,"src",4,"ngIf"],[1,"w-100","mt-1"],["aria-label","Ch\u1ecdn 1 ch\u1ee7 \u0111\u1ec1"],["chipGrid",""],[3,"removed",4,"ngFor","ngForOf"],["matSuffix",""],["placeholder","T\xecm ki\u1ebfm ch\u1ee7 \u0111\u1ec1...",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["topicInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["aria-label","Hashtag l\xe0m cho c\xe1c b\xe0i vi\u1ebft c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c d\u1ec5 t\xecm th\u1ea5y h\u01a1n"],["chipGridTag",""],["placeholder","G\u1eafn th\u1ebb (kh\xf4ng b\u1eaft bu\u1ed9c)",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["TagInput",""],["autoTag","matAutocomplete"],["mat-button","","matStepperPrevious",""],[3,"stepControl"],[4,"ngIf","ngIfElse"],["Invalid",""],["mat-raised-button","","color","primary",3,"disabled","click"],["alt","Selected Image",2,"z-index","1",3,"src"],[3,"removed"],["matChipRemove",""],[3,"value"],[1,"flex-center-sb"],["cdkDropListOrientation","horizontal"],["cdkDrag",""],[3,"innerHTML"],["cdkDropList","","cdkDropListOrientation","horizontal"],["cdkDrag","",4,"ngFor","ngForOf"],[1,"text-red"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"mat-stepper",1,2)(3,"mat-step",3),Q(4,"div",4),C(5,"form",5),I(6,Zvt,1,0,"ng-template",6),C(7,"mat-form-field",7),Q(8,"input",8),I(9,Jvt,2,0,"mat-error",9),I(10,ebt,2,0,"mat-error",9),I(11,tbt,2,0,"mat-error",9),k(),C(12,"div")(13,"ckeditor",10),B("change",function(p){return s.onEditorChange(p)}),k()(),C(14,"div",11)(15,"button",12),P(16,"Ti\u1ebfp theo"),k()()()(),C(17,"mat-step",3),I(18,ibt,1,0,"ng-template",6),C(19,"form",5),Q(20,"div",13),C(21,"label",14)(22,"span",15),P(23,"Ch\u1ecdn \u1ea3nh"),k(),C(24,"input",16,17),B("change",function(){z(l);const p=ee(25);return H(s.onFileSelected(p))}),k()(),C(26,"div",18)(27,"div",19)(28,"i",20),P(29,"\u1ea2nh b\xeca"),k()(),I(30,nbt,1,1,"img",21),k(),C(31,"mat-form-field",22)(32,"mat-chip-grid",23,24),I(34,obt,5,2,"mat-chip-row",25),k(),C(35,"mat-label")(36,"mat-icon",26),P(37,"new_label"),k()(),C(38,"input",27,28),B("matChipInputTokenEnd",function(p){return s.addTopic(p)}),k(),C(40,"mat-autocomplete",29,30),B("optionSelected",function(p){return s.selectedTopic(p)}),I(42,rbt,2,2,"mat-option",31),le(43,"async"),k()(),C(44,"mat-form-field",7)(45,"mat-chip-grid",32,33),I(47,sbt,5,2,"mat-chip-row",25),k(),C(48,"mat-label")(49,"mat-icon",26),P(50,"tag"),k()(),C(51,"input",34,35),B("matChipInputTokenEnd",function(p){return s.addTag(p)}),k(),C(53,"mat-autocomplete",29,36),B("optionSelected",function(p){return s.selectedTag(p)}),I(55,abt,2,2,"mat-option",31),le(56,"async"),k()(),C(57,"div")(58,"button",37),P(59,"Quay l\u1ea1i"),k(),C(60,"button",12),P(61,"Ti\u1ebfp theo"),k()()()(),C(62,"mat-step",38),Q(63,"div",4),I(64,lbt,1,0,"ng-template",6),I(65,dbt,15,5,"div",39),I(66,ubt,2,0,"ng-template",null,40,pe),C(68,"div")(69,"button",37),P(70,"Quay l\u1ea1i"),k(),C(71,"button",41),B("click",function(){return s.CreatePost()}),P(72,"\u0110\u0103ng"),k()()()()()}if(2&n){const l=ee(33),d=ee(41),p=ee(46),f=ee(54),v=ee(67);let D,E,F;y(3),x("editable",s.isEditable),y(2),x("formGroup",s.createpostform),y(4),x("ngIf",null==(D=s.createpostform.get("Title"))?null:D.hasError("required")),y(1),x("ngIf",null==(E=s.createpostform.get("Title"))?null:E.hasError("maxlength")),y(1),x("ngIf",null==(F=s.createpostform.get("Title"))?null:F.hasError("minlength")),y(2),x("editor",s.Editor)("config",s.editorConfig),y(4),x("editable",s.isEditable),y(2),x("formGroup",s.createpostform),y(11),x("ngIf",s.selectedImage),y(4),x("ngForOf",s.choosetopic),y(4),x("formControl",s.topicCtrl)("matChipInputFor",l)("matAutocomplete",d)("matChipInputSeparatorKeyCodes",s.separatorKeysCodes),y(4),x("ngForOf",ln(43,26,s.filteredTopics)),y(5),x("ngForOf",s.chooseTag),y(4),x("formControl",s.tagCtrl)("matChipInputFor",p)("matAutocomplete",f)("matChipInputSeparatorKeyCodes",s.separatorKeysCodesTag),y(4),x("ngForOf",ln(56,28,s.filteredTags)),y(7),x("stepControl",s.createpostform),y(3),x("ngIf",s.Check())("ngIfElse",v),y(6),x("disabled",!s.Check())}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,ud,Cf,Us,Fm,Cr,Fo,S5,$w,T5,yj,Cj,NS,Ww,ph,US,WS,jS,Xw,wb,tu,jo,ba,Yw,hv],styles:[".Post-Create-Card[_ngcontent-%COMP%]{max-height:650px;height:620px;min-height:100px;overflow:auto}.image-card[_ngcontent-%COMP%]{width:100%;height:300px;min-height:50px;border:8px dashed #ccc;border-width:1px;border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:cover}.image-upload-container[_ngcontent-%COMP%]{position:absolute;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:#007bff;color:#fff;cursor:pointer;padding:8px 10px}.image-upload-container[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%]{background-color:#0056b3}[_nghost-%COMP%] .ck.ck-editor{border:none!important;outline:none!important}[_nghost-%COMP%] .ck.ck-toolbar{border:none!important}[_nghost-%COMP%] .ck.ck-content{outline:none!important}[_nghost-%COMP%] .ck.ck-input{outline:none!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{box-shadow:none!important}.content[_ngcontent-%COMP%]{position:relative;top:-12px}#btn-comment[_ngcontent-%COMP%]{margin-right:16px!important;right:16px!important}"]})}return r})();const pbt=["TagInput"];function gbt(r,a){1&r&&(C(0,"mat-error"),P(1," \u0110\u1eb7t c\xe2u h\u1ecfi t\u1ea1i \u0111\xe2y... "),k())}function mbt(r,a){1&r&&(C(0,"mat-error"),P(1," C\xe2u h\u1ecfi kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}function fbt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",18),B("removed",function(){const l=z(i).$implicit;return H(S().removeTag(l))}),P(1),C(2,"button",19)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function _bt(r,a){if(1&r&&(C(0,"mat-option",20),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}let vbt=(()=>{class r{onEditorChange({}){}constructor(i,n,s,l,d,p,f){this._formBuilder=i,this.service=n,this.authService=s,this.router=l,this.toastr=d,this.dialogRef=p,this.dataService=f,this.questionId="",this.createquestionform=this._formBuilder.group({Title:["",[Nt.required,Nt.maxLength(255)]],Content:["",Nt.required],Tag:[[]]}),this.currentDate=this.service.getCurrentDate(),this.isEditable=!0,this.editorConfig={toolbar:["undo","redo","|","heading","|","bold","italic","link","insertTable","blockQuote","mediaEmbed"],placeholder:"Mi\xeau t\u1ea3 th\xeam \u1edf \u0111\xe2y... (b\u1eaft bu\u1ed9c)",language:"vi"},this.Editor=qw(),this.topicCtrl=new Hl(""),this.announcer=st(Lp),this.listTag=[],this.chooseTag=[],this.tagCtrl=new Hl(""),this.announcerTag=st(Lp),this.separatorKeysCodesTag=[13,188],this.GetAllTag(),this.filteredTags=this.tagCtrl.valueChanges.pipe(go(null),Rt(v=>v?this._filterTag(v):this.listTag.slice()))}ngOnInit(){}addTag(i){const n=i.value;n&&this.isDupplication(n)&&this.chooseTag.length<=5&&this.chooseTag.push(n.trim()),i.chipInput.clear(),this.tagCtrl.setValue(null)}isDupplication(i){return!(""==i||i.trim().length>31||this.chooseTag.includes(i))}removeTag(i){const n=this.chooseTag.indexOf(i);n>=0&&(this.chooseTag.splice(n,1),this.announcerTag.announce(`Removed ${i}`))}selectedTag(i){this.isDupplication(i.option.viewValue)&&(this.chooseTag.push(i.option.viewValue),this.TagInput.nativeElement.value="",this.tagCtrl.setValue(null))}_filterTag(i){const n=i.toLowerCase();return this.listTag.filter(s=>s.toLowerCase().includes(n))}GetAllTag(){this.service.GetAllTag().subscribe(i=>{this.listTag=i.resultObj})}Check(){const i=this.createquestionform.get("Tag");return i&&i.setValue(this.chooseTag),!!this.createquestionform.valid}CreateQuestion(){const i=new FormData,n=this.createquestionform;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Content",n.get("Content")?.value||"");const s=n.get("Tag")?.value;Array.isArray(s)&&s.forEach((l,d)=>{i.append(`Tag[${d}]`,l)}),this.service.CreateQuestion(i).subscribe(l=>{const d=l.resultObj.subId;this.dataService.changeIdQuestion(l.resultObj.id),this.router.navigate(["/forum",d]),setTimeout(()=>{this.dataService.triggerReloadDetailPage(this.questionId)},10),this.dialogRef.close()},l=>{const d=l.error.message;null==d?this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y"):(this.toastr.error(d),console.log(l))})}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(Qu),T(di),T(Mi),T(hd),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-create"]],viewQuery:function(n,s){if(1&n&&oe(pbt,5),2&n){let l;G(l=j())&&(s.TagInput=l.first)}},decls:27,vars:14,consts:[[1,"plr-1","create-question"],[3,"formGroup"],[1,"flex-center-sb","pt-1","pb"],["mat-raised-button","","color","primary",3,"disabled","click"],["appearance","outline",1,"w-100","specific-border"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp c\xe2u h\u1ecfi \u1edf \u0111\xe2y...","required","",1,"fw-5","title-question"],[4,"ngIf"],["id","editor","formControlName","Content",2,"max-height","650px","overflow","auto",3,"editor","config"],["appearance","outline",1,"w-100","specific-border","mt-1"],["aria-label","Hashtag l\xe0m cho c\xe1c b\xe0i vi\u1ebft c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c d\u1ec5 t\xecm th\u1ea5y h\u01a1n"],["chipGridTag",""],[3,"removed",4,"ngFor","ngForOf"],["matSuffix",""],[3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["TagInput",""],[3,"optionSelected"],["autoTag","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removed"],["matChipRemove",""],[3,"value"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"form",1)(2,"mat-label",2)(3,"strong"),P(4,"\u0110\u1eb7t c\xe2u h\u1ecfi"),k(),C(5,"button",3),B("click",function(){return s.CreateQuestion()}),P(6,"\u0110\u0103ng"),k()(),C(7,"mat-form-field",4),Q(8,"textarea",5),I(9,gbt,2,0,"mat-error",6),I(10,mbt,2,0,"mat-error",6),k(),C(11,"div"),Q(12,"ckeditor",7),k(),C(13,"mat-form-field",8)(14,"mat-chip-grid",9,10),I(16,fbt,5,2,"mat-chip-row",11),k(),C(17,"mat-label")(18,"mat-icon",12),P(19,"tag"),k(),P(20," G\u1eafn th\u1ebb (kh\xf4ng b\u1eaft bu\u1ed9c) "),k(),C(21,"input",13,14),B("matChipInputTokenEnd",function(d){return s.addTag(d)}),k(),C(23,"mat-autocomplete",15,16),B("optionSelected",function(d){return s.selectedTag(d)}),I(25,_bt,2,2,"mat-option",17),le(26,"async"),k()()()()),2&n){const l=ee(15),d=ee(24);let p,f;y(1),x("formGroup",s.createquestionform),y(4),x("disabled",!s.Check()),y(4),x("ngIf",null==(p=s.createquestionform.get("Title"))?null:p.hasError("required")),y(1),x("ngIf",null==(f=s.createquestionform.get("Title"))?null:f.hasError("maxlength")),y(2),x("editor",s.Editor)("config",s.editorConfig),y(4),x("ngForOf",s.chooseTag),y(5),x("formControl",s.tagCtrl)("matChipInputFor",l)("matAutocomplete",d)("matChipInputSeparatorKeyCodes",s.separatorKeysCodesTag),y(4),x("ngForOf",ln(26,12,s.filteredTags))}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,ud,Cf,Us,Fm,Cr,Fo,NS,Ww,US,WS,jS,Xw,tu,jo,ba,Yw,hv],styles:[".mat-form-field-appearance-outline.specific-border .mat-form-field-outline{background-color:#fff!important;border-radius:5px;outline:.5px solid #ccccccb6!important}.title-question[_ngcontent-%COMP%]{font-size:1em;max-width:100%;min-width:100%;height:106px;max-height:106px}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0;min-height:6.5em!important;max-height:11.5em!important;overflow:auto}"]})}return r})();function bbt(r,a){1&r&&(C(0,"div",19)(1,"i"),P(2,"Vui l\xf2ng ch\u1edd, \u0111ang t\u1ea3i ... "),k(),Q(3,"mat-progress-bar",20),k())}function ybt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function Cbt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i hay qu\xe1 ng\u1eafn "),k())}function wbt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}function xbt(r,a){1&r&&(C(0,"mat-error"),P(1," M\xf4 t\u1ea3 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}let kbt=(()=>{class r{constructor(i,n,s,l,d,p){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.ngZone=p,this.questionId="",this.selectedFile=null,this.fileName="",this.progessing=!1,this.createdocumentform=this._formBuilder.group({Title:["",[Nt.required,Nt.maxLength(255),Nt.minLength(10)]],Description:["",[Nt.required,Nt.maxLength(500)]],Document:[null,Nt.required]})}toggleProgressing(){this.fileName="",setTimeout(()=>{this.progessing=!0},1e3)}onFileSelected(i){const n=i?.files[0];if(n&&this.isValidFileType(n)){if(this.checkSize(n))return void(this.progessing=!1);this.createdocumentform.get("Document")?.setValue(n),this.progessing=!1,this.fileName=n.name}else this.progessing=!1,this.selectedFile=null,this.toastr.warning("Vui l\xf2ng ch\u1ecdn \u0111\xfang file: PDF ho\u1eb7c DOCX")}onFileInputBlur(){this.progessing=!1}isValidFileType(i){return["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(i.type)}CreateDocument(){const i=new FormData,n=this.createdocumentform;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Description",n.get("Description")?.value?.trim()||""),i.append("FileName",n.get("Document")?.value||""),this.service.CreateDocument(i).subscribe(s=>{s.isSuccessed?(this.dialogRef.close(),this.toastr.success("Chia s\u1ebb t\xe0i li\u1ec7u th\xe0nh c\xf4ng")):this.toastr.error("L\u1ed7i: "+s.message)},s=>{this.toastr.error("L\u1ed7i: "+s)})}checkSize(i){return i.size>10485760&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 8MB."),!0)}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd),T(et))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-createdocument"]],decls:29,vars:9,consts:[[1,"plr-1","create-document"],[1,"flex-center-sb"],[3,"matTooltip"],["mat-raised-button","","color","primary","matTooltip","Chia s\u1ebb",3,"disabled","click"],[3,"formGroup"],[1,"mt"],["appearance","outline",1,"w-100","specific-border","flex-center-h"],[1,"image-upload-container","btn","btn-bwm","font",3,"click","focusout"],[1,"mb","inputfile"],["type","file","accept",".pdf, .docx",1,"font",3,"change"],["imageInput",""],[1,"ml-1","pl",2,"border-left","2px solid rgb(31, 31, 31)"],["class","ml-1 pl","style","color: blue;",4,"ngIf"],[1,"mb",2,"font-size","12px"],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0"],[4,"ngIf"],[1,"w-100",2,"max-height","224px"],["matInput","","formControlName","Description","placeholder","Nh\u1eadp m\xf4 t\u1ea3 t\xe0i li\u1ec7u...","required","",1,"fw-5",2,"max-height","180px"],[1,"ml-1","pl",2,"color","blue"],["mode","indeterminate"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"div",1)(2,"h5"),P(3," Chia s\u1ebb t\xe0i li\u1ec7u "),k(),C(4,"div",2)(5,"button",3),B("click",function(){return s.CreateDocument()}),P(6,"\u0110\u0103ng"),k()()(),C(7,"form",4),Q(8,"div",5),C(9,"div",6)(10,"label",7),B("click",function(){return s.toggleProgressing()})("focusout",function(){return s.onFileInputBlur()}),C(11,"span",8),P(12,"T\u1ea3i file t\xe0i li\u1ec7u"),k(),C(13,"input",9,10),B("change",function(){z(l);const p=ee(14);return H(s.onFileSelected(p))}),k()(),C(15,"div",11),P(16),k(),I(17,bbt,4,0,"div",12),k(),C(18,"div",13)(19,"i"),P(20,"* File t\u1ea3i l\xean y\xeau c\u1ea7u l\xe0 file pdf ho\u1eb7c file word"),k()(),C(21,"mat-form-field",14),Q(22,"input",15),I(23,ybt,2,0,"mat-error",16),I(24,Cbt,2,0,"mat-error",16),I(25,wbt,2,0,"mat-error",16),k(),C(26,"mat-form-field",17),Q(27,"textarea",18),I(28,xbt,2,0,"mat-error",16),k()()()}if(2&n){let l,d,p,f;y(4),ri("matTooltip",s.createdocumentform.invalid?"Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin":""),y(1),x("disabled",s.createdocumentform.invalid),y(2),x("formGroup",s.createdocumentform),y(9),_e(s.fileName),y(1),x("ngIf",s.progessing),y(6),x("ngIf",null==(l=s.createdocumentform.get("Title"))?null:l.hasError("required")),y(1),x("ngIf",null==(d=s.createdocumentform.get("Title"))?null:d.hasError("maxlength")),y(1),x("ngIf",null==(p=s.createdocumentform.get("Title"))?null:p.hasError("minlength")),y(3),x("ngIf",null==(f=s.createdocumentform.get("Description"))?null:f.hasError("maxlength"))}},dependencies:[Qe,cl,Sn,gn,Qr,vc,hs,ml,Cf,Cr,er,f$,jo,ba],styles:[".image-upload-container[_ngcontent-%COMP%]{position:relative;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;cursor:pointer;padding:8px 10px}.inputfile[_ngcontent-%COMP%]{background-color:#007bff}.inputfile[_ngcontent-%COMP%]:hover{background-color:#0056b3!important}"]})}return r})();function Dbt(r,a){1&r&&(C(0,"div",22)(1,"i"),P(2,"Vui l\xf2ng ch\u1edd, \u0111ang t\u1ea3i ... "),k(),Q(3,"mat-progress-bar",23),k())}function Abt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function Ibt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i hay qu\xe1 ng\u1eafn "),k())}function Sbt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}function Tbt(r,a){1&r&&(C(0,"mat-error"),P(1," M\xf4 t\u1ea3 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}let Ebt=(()=>{class r{constructor(i,n,s,l,d){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.questionId="",this.selectedFile=null,this.fileName="",this.progessing=!1,this.createExamForm=this._formBuilder.group({Title:["",[Nt.required,Nt.maxLength(255),Nt.minLength(10)]],Description:["",[Nt.required,Nt.maxLength(500)]],Document:[null,Nt.required],Time:[null,Nt.required]})}toggleProgressing(){this.fileName="",setTimeout(()=>{this.progessing=!0},1e3)}onFileSelected(i){const n=i?.files[0];if(n&&this.isValidFileType(n)){if(this.checkSize(n))return void(this.progessing=!1);this.createExamForm.get("Document")?.setValue(n),this.progessing=!1,this.fileName=n.name}else this.progessing=!1,this.selectedFile=null,this.toastr.warning("Vui l\xf2ng ch\u1ecdn \u0111\xfang file: PDF ho\u1eb7c DOCX")}onFileInputBlur(){this.progessing=!1}isValidFileType(i){return["application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(i.type)}CreateExam(){const i=new FormData,n=this.createExamForm;var s=n.get("Time")?.value;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Description",n.get("Description")?.value?.trim()||""),i.append("File",n.get("Document")?.value||""),i.append("WorkTime",s||"30"),this.service.CreateExam(i).subscribe(l=>{l.isSuccessed?(this.dialogRef.close(),this.toastr.success("T\u1ea1o b\xe0i thi th\xe0nh c\xf4ng")):this.toastr.error("L\u1ed7i: "+l.message)},l=>{this.toastr.error("L\u1ed7i: "+l)})}checkSize(i){return i.size>8388608&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 8MB."),!0)}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-createexam"]],decls:31,vars:9,consts:[[1,"plr-1","create-document"],[1,"flex-center-sb","mt"],[2,"font-size","24px"],[3,"matTooltip"],["mat-raised-button","","color","primary","matTooltip","Chia s\u1ebb",3,"disabled","click"],[3,"formGroup"],[1,"mt"],["appearance","outline",1,"w-100","specific-border","flex-center-h"],[1,"image-upload-container","btn","btn-bwm","font",3,"click","focusout"],[1,"mb","inputfile"],["type","file","accept",".pdf, .docx",1,"font",3,"change"],["imageInput",""],[1,"ml-1","pl",2,"border-left","2px solid rgb(31, 31, 31)"],["class","ml-1 pl","style","color: blue;",4,"ngIf"],[1,"mb",2,"font-size","12px"],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0"],[4,"ngIf"],[1,"w-100",2,"max-height","224px"],["matInput","","formControlName","Description","placeholder","Nh\u1eadp m\xf4 t\u1ea3 t\xe0i li\u1ec7u...","required","",1,"fw-5",2,"max-height","180px"],[1,"w-100",2,"max-height","170px"],["matInput","","formControlName","Time","placeholder","Nh\u1eadp th\u1eddi gian thi... (ph\xfat)","required","",1,"fw-5",2,"max-height","126px"],[1,"ml-1","pl",2,"color","blue"],["mode","indeterminate"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"div",1)(2,"span",2),P(3," T\u1ea1o \u0111\u1ec1 thi tr\u1eafc nghi\u1ec7m "),k(),C(4,"div",3)(5,"button",4),B("click",function(){return s.CreateExam()}),P(6,"T\u1ea1o"),k()()(),C(7,"form",5),Q(8,"div",6),C(9,"div",7)(10,"label",8),B("click",function(){return s.toggleProgressing()})("focusout",function(){return s.onFileInputBlur()}),C(11,"span",9),P(12,"Ch\u1ecdn file"),k(),C(13,"input",10,11),B("change",function(){z(l);const p=ee(14);return H(s.onFileSelected(p))}),k()(),C(15,"div",12),P(16),k(),I(17,Dbt,4,0,"div",13),k(),C(18,"div",14)(19,"i"),P(20,"* File t\u1ea3i l\xean y\xeau c\u1ea7u l\xe0 file word(.docx)"),k()(),C(21,"mat-form-field",15),Q(22,"input",16),I(23,Abt,2,0,"mat-error",17),I(24,Ibt,2,0,"mat-error",17),I(25,Sbt,2,0,"mat-error",17),k(),C(26,"mat-form-field",18),Q(27,"textarea",19),I(28,Tbt,2,0,"mat-error",17),k(),C(29,"mat-form-field",20),Q(30,"input",21),k()()()}if(2&n){let l,d,p,f;y(4),ri("matTooltip",s.createExamForm.invalid?"Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin":""),y(1),x("disabled",s.createExamForm.invalid),y(2),x("formGroup",s.createExamForm),y(9),_e(s.fileName),y(1),x("ngIf",s.progessing),y(6),x("ngIf",null==(l=s.createExamForm.get("Title"))?null:l.hasError("required")),y(1),x("ngIf",null==(d=s.createExamForm.get("Title"))?null:d.hasError("maxlength")),y(1),x("ngIf",null==(p=s.createExamForm.get("Title"))?null:p.hasError("minlength")),y(3),x("ngIf",null==(f=s.createExamForm.get("Description"))?null:f.hasError("maxlength"))}},dependencies:[Qe,cl,Sn,gn,Qr,vc,hs,ml,Cf,Cr,er,f$,jo,ba],styles:[".image-upload-container[_ngcontent-%COMP%]{position:relative;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;cursor:pointer;padding:8px 10px}.inputfile[_ngcontent-%COMP%]{background-color:#007bff}.inputfile[_ngcontent-%COMP%]:hover{background-color:#0056b3!important}"]})}return r})(),Mbt=(()=>{class r{constructor(i,n,s,l,d){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-footer"]],decls:63,vars:0,consts:[[1,"footer","mt-50"],[1,"flex-center-h"],["src","assets/Icon/pagoda64.png","alt","",1,"logo"],[1,"pl-1"],[1,"flex-center"],[1,"flex-center-sb"],["type","email","matTooltip","Nh\u1eadp email c\u1ee7a b\u1ea1n"],["matLine","3","type","text","matTooltip","Nh\u1eadp n\u1ed9i dung",2,"width","169.6px","max-width","170px","min-width","169px","max-height","192px"],[1,"footer",2,"justify-content","center"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1),Q(2,"img",2),C(3,"div",3)(4,"strong"),P(5,"T\xf4i y\xeau l\u1ecbch s\u1eed"),k()()(),C(6,"div")(7,"ul")(8,"strong"),P(9,"Danh m\u1ee5c"),k(),C(10,"li"),P(11,"Kh\xe1m ph\xe1"),k(),C(12,"li"),P(13,"H\u1ecdc t\u1eadp"),k(),C(14,"li"),P(15,"Luy\u1ec7n t\u1eadp"),k(),C(16,"li"),P(17,"Di\u1ec5n \u0111\xe0n"),k(),C(18,"li"),P(19,"T\xe0i li\u1ec7u"),k(),C(20,"li"),P(21,"Tin t\u1ee9c"),k()()(),C(22,"div")(23,"ul")(24,"strong"),P(25,"Danh m\u1ee5c"),k(),C(26,"li"),P(27,"Kh\xe1m ph\xe1"),k(),C(28,"li"),P(29,"H\u1ecdc t\u1eadp"),k(),C(30,"li"),P(31,"Luy\u1ec7n t\u1eadp"),k(),C(32,"li"),P(33,"Di\u1ec5n \u0111\xe0n"),k(),C(34,"li"),P(35,"T\xe0i li\u1ec7u"),k(),C(36,"li"),P(37,"Tin t\u1ee9c"),k()()(),C(38,"div")(39,"ul")(40,"strong"),P(41,"V\u1ec1 ch\xfang t\xf4i"),k(),C(42,"li"),P(43,"Gi\u1edbi thi\u1ec7u"),k(),C(44,"li"),P(45,"\u1ee6ng h\u1ed9"),k()()(),C(46,"div")(47,"div",4),P(48," D\xe2n ta ph\u1ea3i bi\u1ebft s\u1eed ta "),k(),C(49,"div"),P(50,"Cho t\u01b0\u1eddng g\u1ed1c t\xedch, n\u01b0\u1edbc nh\xe0 Vi\u1ec7t Nam"),k(),C(51,"div"),Q(52,"br"),C(53,"div",5)(54,"label"),P(55,"Email"),k(),Q(56,"input",6),k(),C(57,"div",5)(58,"label"),P(59,"L\u1eddi nh\u1eafn"),k(),Q(60,"textarea",7),k()()()(),C(61,"div",8),P(62," \xa9 2023 VietNam, Inc.\n"),k())},dependencies:[o8,er],styles:[".footer[_ngcontent-%COMP%]{background-color:#000000c2;color:#fff;font-size:14px;display:flex;padding:16px 200px;justify-content:space-between}.logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;background-color:#fff;padding:4px;border-radius:50%}"]})}return r})();function Rbt(r,a){1&r&&(C(0,"a",46),P(1,"User"),k())}function Pbt(r,a){1&r&&(C(0,"button",47)(1,"mat-icon"),P(2,"menu"),k()()),2&r&&(S(),x("matMenuTriggerFor",ee(8)))}const Kce=function(r){return[r]};function Obt(r,a){if(1&r&&(be(0),C(1,"button",48,49),P(3),k(),ve()),2&r){const i=a.$implicit,n=ee(2);y(1),Se("active",n.isActive),x("routerLink",Wt(4,Kce,i.url)),y(2),me(" ",i.categoryname," ")}}const Fbt=function(){return{exact:!0}};function Nbt(r,a){if(1&r&&(C(0,"a",53,49),P(2),k()),2&r){const i=a.$implicit,n=ee(1);x("routerLink",Wt(4,Kce,i.url))("routerLinkActiveOptions",Dn(6,Fbt))("active",n.isActive),y(2),me(" ",i.categoryname," ")}}function Lbt(r,a){if(1&r&&(C(0,"div",50)(1,"nav",51),I(2,Nbt,3,7,"a",52),k()()),2&r){const i=S(),n=ee(106);y(1),x("tabPanel",n),y(1),x("ngForOf",i.objectList)}}function Bbt(r,a){if(1&r){const i=ce();C(0,"button",15),B("click",function(){return z(i),H(S().createExam())}),C(1,"span"),P(2,"\u2728"),k(),C(3,"span",29),P(4,"T\u1ea1o b\xe0i thi "),k()()}}function Vbt(r,a){if(1&r&&(C(0,"li",54),P(1),C(2,"span"),P(3),k()()),2&r){const i=a.$implicit;y(1),me(" ",i.content," "),y(2),_e(i.date)}}function zbt(r,a){1&r&&Q(0,"img",58),2&r&&x("src",S(2).avatar,oi)}function Hbt(r,a){1&r&&(C(0,"mat-icon",59),P(1,"account_circle"),k())}function Gbt(r,a){if(1&r&&(C(0,"button",55),I(1,zbt,1,1,"img",56),I(2,Hbt,2,0,"ng-template",null,57,pe),k()),2&r){const i=ee(3),n=S();x("matMenuTriggerFor",ee(50)),y(1),x("ngIf",n.avatar)("ngIfElse",i)}}function jbt(r,a){1&r&&Q(0,"img",60),2&r&&ri("src",S().avatar,oi)}function $bt(r,a){1&r&&Q(0,"img",61)}function Ubt(r,a){if(1&r){const i=ce();C(0,"button",62),P(1,"\u0110\u0103ng k\xfd"),k(),C(2,"button",63),B("click",function(){return z(i),H(S().loginUser())}),P(3,"\u0110\u0103ng nh\u1eadp"),k()}}const Wbt=function(r,a){return{"new-notification":r,"default-notification":a}};let qbt=(()=>{class r{constructor(i,n,s,l,d,p,f,v){this.router=i,this.service=n,this.toastr=s,this.sessionService=l,this.dialog=d,this.animationService=p,this.breakpointObserver=f,this.publicService=v,this.title="VietNamHistory",this.ismenurequired=!1,this.isadminuser=!1,this.isScreenWideEnough=!0,this.objectList=[{categoryname:"Trang ch\u1ee7",url:"/"},{categoryname:"Kh\xe1m ph\xe1",url:"/discover"},{categoryname:"H\u1ecdc s\u1eed",url:"/course"},{categoryname:"Luy\u1ec7n t\u1eadp",url:"/exam"},{categoryname:"T\xe0i li\u1ec7u",url:"/document"},{categoryname:"Di\u1ec5n \u0111\xe0n",url:"/forum"},{categoryname:"Tin t\u1ee9c",url:"/news"}],this.notifications=[],this.numberNotiNotSeen=0,this.isMenuOpen=!1}ngOnInit(){this.animationService.attachAnimationListener(),this.animationService.attachAnimationListener_btn2(),this.breakpointObserver.observe(["(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"]).subscribe(i=>{this.isScreenWideEnough=!i.matches}),this.checkLoginOne=!0,this.newNoti=!1}getNotification(){this.sessionService.getUserId()&&this.checkLoginOne&&(this.checkLoginOne=!1,this.publicService.GetMyNotification().subscribe(i=>{i.isSuccessed?(this.notifications=this.ConvertNotisDate(i.resultObj),this.getConnecttion()):this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)}))}openMenu(){this.isMenuOpen=!0}closeMenu(){}ngDoCheck(){let i=this.router.url;this.ismenurequired="/login"!=i&&"/register"!=i,this.isadminuser="admin"===this.service.GetUserRole()}createPost(){this.sessionService.getToken()?this.openDialog("100ms","600ms"):(this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp tr\u01b0\u1edbc"),this.router.navigate(["/login"],{state:{redirect:this.router.url}}))}openDialog(i,n){this.dialog.open(hbt,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}createQuestion(){this.sessionService.getToken()?this.openQuestionDialog("100ms","600ms"):(this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp tr\u01b0\u1edbc"),this.router.navigate(["/login"],{state:{redirect:this.router.url}}))}openQuestionDialog(i,n){this.dialog.open(vbt,{enterAnimationDuration:i,exitAnimationDuration:n,width:"50%"})}createDocument(){this.sessionService.getToken()?this.openDocumentDialog("100ms","600ms"):(this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp tr\u01b0\u1edbc"),this.router.navigate(["/login"],{state:{redirect:this.router.url}}))}openDocumentDialog(i,n){this.dialog.open(kbt,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}createExam(){this.openExamDialog("100ms","600ms")}openExamDialog(i,n){this.dialog.open(Ebt,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}isLoggedIn(){return this.token=this.sessionService.getToken(),this.token&&(this.avatar=this.sessionService.getAvatar(),this.username=this.sessionService.getName(),this.email=this.sessionService.getEmail(),this.avatar=""===this.avatar?null:this.avatar,this.getNotification()),this.service.IsLoggedIn()}getConnecttion(){this.hubConnection=(new Uj).withUrl(this.publicService.getChatSignRl()).build(),this.hubConnection.start().then(()=>{console.log("K\u1ebft n\u1ed1i th\xe0nh c\xf4ng!"),this.hubConnection.invoke("AddToGroup",this.sessionService.getUserId())}).catch(i=>console.error("L\u1ed7i khi thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i:",i)),this.hubConnection.on("ReceiveNoti",i=>{i.userId===this.sessionService.getUserId()&&(this.notifications.unshift(this.ConvertNotiDate(i)),this.numberNotiNotSeen+=1,this.newNoti=!0)})}openNotification(){this.newNoti=!1}isCheckAdmin(){return this.sessionService.getRole()===L4.adminRole}logout(){this.service.LogOut().subscribe(i=>{this.sessionService.clearSessionStorage(),this.service.logout(),this.avatar=null,this.notifications=[],this.router.navigate(["/login"])},i=>{const n=i.message;this.toastr.error(null==n?"L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y":n)})}loginUser(){this.router.navigate(["/login"],{state:{redirect:this.router.url}})}checkRoute(){this.isCheckAdmin()&&this.router.navigate(["/mycategory/exam"]),this.sessionService.getRole()===L4.studentRole&&this.router.navigate(["/mycategory/examhistory"])}ConvertNotiDate(i){const n=fi(i.date??"");return isNaN(n.getTime())||(i.date=_i(n,"dd-MM-yyyy HH:mm")),i}ConvertNotisDate(i){return i?.forEach(n=>{const s=fi(n.date??"");isNaN(s.getTime())||(n.date=_i(s,"dd-MM-yyyy HH:mm"))}),i}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(Qu),T(Mi),T(Rn),T(Dc),T(r4),T($Q),T(In))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-root"]],decls:110,vars:20,consts:[["href","https://fonts.googleapis.com/icon?family=Material+Icons","rel","stylesheet"],["role","banner",1,"toolbar","body","font"],["routerLink","/home"],["width","40","alt","Angular Logo","src","assets/Icon/pagoda64.png"],["routerLink","/user","title","User",4,"ngIf"],[2,"display","flex","align-items","center","justify-content","space-between","width","100%"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],[4,"ngFor","ngForOf"],["class"," category-menu",4,"ngIf"],[1,"flex-center-h"],["mat-icon-button","","matTooltip","L\xean \xfd t\u01b0\u1edfng","matTooltipPosition","left",1,"dis-flex",3,"matMenuTriggerFor"],["matBadge","1","matBadgeColor","warn",2,"color","#3e50ca"],[2,"z-index","10"],["menuCreate","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click",4,"ngIf"],["matBadgeSize","small","mat-icon-button","","matTooltip","Th\xf4ng b\xe1o","matTooltipPosition","below",1,"dis-flex",3,"matMenuTriggerFor","click"],[3,"ngClass"],["menuNotification","matMenu"],[1,"dis-block","mb",2,"text-align","center"],[2,"max-height","400px"],["routerLink","","class","plr cursor-d mt mb","style","font-size: 14px;",4,"ngFor","ngForOf"],["mat-icon-button","","class","btn-user",3,"matMenuTriggerFor",4,"ngIf","ngIfElse"],["menuUser","matMenu"],[1,"flex-center","fs",2,"padding","8px 16px","border-bottom","1px solid #e6e6e6"],["class","img-user",3,"src",4,"ngIf","ngIfElse"],["avatarBig",""],[1,"pl-1"],[1,"ellipsis",2,"width","170px"],[1,"ellipsis",2,"width","170px",3,"title"],["mat-menu-item","","routerLink","/account"],[1,"fs","co-black"],["mat-menu-item","",3,"matMenuTriggerFor"],[1,"fs"],[1,"fs","co-red"],["category","matMenu"],["mat-menu-item","","routerLink","/mycategory/post"],["mat-menu-item","","disabled","","routerLink","/mycategory/post"],["mat-menu-item","","routerLink","/mycategory/question"],["mat-menu-item","","routerLink","/mycategory/document"],["class",""],["loginLink",""],[1,"container",2,"min-height","500px"],["tabPanel",""],["routerLink","/user","title","User"],["mat-button","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLinkActive","",3,"routerLink"],["rla","routerLinkActive"],[1,"category-menu"],["mat-tab-nav-bar","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active",4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active"],["routerLink","",1,"plr","cursor-d","mt","mb",2,"font-size","14px"],["mat-icon-button","",1,"btn-user",3,"matMenuTriggerFor"],["alt","\u1ea3nh \u0111\u1ea1i di\u1ec7n","class","img-user-small",3,"src",4,"ngIf","ngIfElse"],["avatarcommon",""],["alt","\u1ea3nh \u0111\u1ea1i di\u1ec7n",1,"img-user-small",3,"src"],[2,"color","black"],[1,"img-user",3,"src"],["src","assets/Icon/user-l.png",1,"img-user"],["mat-raised-button","","color","primary","routerLink","/register"],["mat-button","",3,"click"]],template:function(n,s){if(1&n&&(Q(0,"link",0),C(1,"div",1)(2,"a",2),Q(3,"img",3),k(),I(4,Rbt,2,0,"a",4),C(5,"div",5),I(6,Pbt,3,1,"button",6),C(7,"mat-menu",null,7),I(9,Obt,4,6,"ng-container",8),k(),I(10,Lbt,3,2,"div",9),C(11,"div",10)(12,"button",11)(13,"mat-icon",12),P(14,"add_circle"),k()(),C(15,"mat-menu",13,14)(17,"button",15),B("click",function(){return s.createPost()}),C(18,"mat-icon"),P(19,"post_add"),k(),C(20,"span"),P(21,"T\u1ea1o b\xe0i \u0111\u1ecdc"),k()(),C(22,"button",16)(23,"mat-icon"),P(24,"school"),k(),C(25,"span"),P(26,"T\u1ea1o kh\xf3a h\u1ecdc"),k()(),C(27,"button",15),B("click",function(){return s.createQuestion()}),C(28,"mat-icon"),P(29,"forum"),k(),C(30,"span"),P(31,"\u0110\u1eb7t c\xe2u h\u1ecfi"),k()(),C(32,"button",15),B("click",function(){return s.createDocument()}),C(33,"mat-icon"),P(34,"receipt_long"),k(),C(35,"span"),P(36,"Chia s\u1ebb t\xe0i li\u1ec7u"),k()(),I(37,Bbt,5,0,"button",17),k(),C(38,"button",18),B("click",function(){return s.openNotification()}),C(39,"mat-icon",19),P(40,"notifications"),k()(),C(41,"mat-menu",null,20)(43,"span",21),P(44,"Th\xf4ng b\xe1o"),k(),C(45,"ul",22),I(46,Vbt,4,2,"li",23),Q(47,"hr"),k()(),I(48,Gbt,4,3,"button",24),k(),C(49,"mat-menu",null,25)(51,"div",26),I(52,jbt,1,1,"img",27),I(53,$bt,1,0,"ng-template",null,28,pe),C(55,"div",29)(56,"p",30)(57,"strong"),P(58),k()(),C(59,"p",31),P(60),k()()(),C(61,"button",32)(62,"mat-icon"),P(63,"settings"),k(),C(64,"a",33),P(65,"C\xe0i \u0111\u1eb7t t\xe0i kho\u1ea3n"),k()(),C(66,"button",34)(67,"mat-icon"),P(68,"category"),k(),C(69,"span",35),P(70,"Danh m\u1ee5c"),k()(),C(71,"button",15),B("click",function(){return s.logout()}),C(72,"mat-icon"),P(73,"logout"),k(),C(74,"a",36),P(75,"\u0110\u0103ng xu\u1ea5t"),k()()(),C(76,"mat-menu",null,37)(78,"button",38)(79,"mat-icon"),P(80,"menu_book"),k(),C(81,"span",35),P(82,"B\xe0i vi\u1ebft"),k()(),C(83,"button",39)(84,"mat-icon"),P(85,"local_library"),k(),C(86,"span",35),P(87,"B\xe0i h\u1ecdc"),k()(),C(88,"button",15),B("click",function(){return s.checkRoute()}),C(89,"mat-icon"),P(90,"edit_square"),k(),C(91,"span",35),P(92,"Tr\u1eafc nghi\u1ec7m"),k()(),C(93,"button",40)(94,"mat-icon"),P(95,"live_help"),k(),C(96,"span",35),P(97,"C\xe2u h\u1ecfi"),k()(),C(98,"button",41)(99,"mat-icon"),P(100,"receipt_long"),k(),C(101,"span",35),P(102,"T\xe0i li\u1ec7u"),k()()(),I(103,Ubt,4,0,"ng-template",42,43,pe),k()(),C(105,"div",44,45),Q(107,"router-outlet"),k(),C(108,"div"),Q(109,"app-footer"),k()),2&n){const l=ee(16),d=ee(42),p=ee(54),f=ee(77),v=ee(104);y(4),x("ngIf",s.isadminuser),y(2),x("ngIf",!s.isScreenWideEnough),y(3),x("ngForOf",s.objectList),y(1),x("ngIf",s.isScreenWideEnough),y(2),x("matMenuTriggerFor",l),y(25),x("ngIf",s.isCheckAdmin()),y(1),x("matMenuTriggerFor",d),y(1),x("ngClass",Un(17,Wbt,s.newNoti,!s.newNoti)),y(7),x("ngForOf",s.notifications),y(2),x("ngIf",s.isLoggedIn())("ngIfElse",v),y(4),x("ngIf",s.avatar)("ngIfElse",p),y(6),_e(s.username),y(1),x("title",s.email),y(1),_e(s.email),y(6),x("matMenuTriggerFor",f)}},dependencies:[RC,js,o3,Xt,Vt,Qe,Cr,wr,Fo,E5,M5,H5,yb,G5,er,Mbt],styles:[".btn-user[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-right:8px}.img-user[_ngcontent-%COMP%]{border-radius:50%;width:64px!important;height:64px;object-fit:cover;overflow:hidden}.img-user-small[_ngcontent-%COMP%]{border-radius:50%;width:24px;height:24px;object-fit:cover;overflow:hidden;position:absolute}.img-user-medium[_ngcontent-%COMP%]{border-radius:50%;width:auto!important;height:auto!important;font-size:64px!important}.ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media screen and (max-width: 600px){.category-menu[_ngcontent-%COMP%]{display:none}}.new-notification[_ngcontent-%COMP%]{color:#ff3e3e}.default-notification[_ngcontent-%COMP%]{color:#7d7d7d}",'[_nghost-%COMP%] {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n color: #333;\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%] {\n margin: 8px 0;\n }\n\n p[_ngcontent-%COMP%] {\n margin: 0;\n }\n\n .spacer[_ngcontent-%COMP%] {\n flex: 1;\n }\n\n .toolbar[_ngcontent-%COMP%] {\n box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 50px;\n display: flex;\n align-items: center;\n color: white;\n font-weight: 600;\n }\n\n .toolbar[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n margin: 0 16px;\n }\n\n .toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%] {\n height: 40px;\n margin: 0 8px;\n }\n\n .toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%] {\n height: 40px;\n margin: 0 16px;\n }\n\n .toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%]:hover, .toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%]:hover {\n opacity: 0.8;\n }\n\n .content[_ngcontent-%COMP%] {\n display: flex;\n margin: 82px auto 32px;\n padding: 0 16px;\n max-width: 960px;\n flex-direction: column;\n align-items: center;\n }\n\n svg.material-icons[_ngcontent-%COMP%] {\n height: 24px;\n width: auto;\n }\n\n svg.material-icons[_ngcontent-%COMP%]:not(:last-child) {\n margin-right: 8px;\n }\n\n .card[_ngcontent-%COMP%] svg.material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {\n fill: #888;\n }\n\n .card-container[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin-top: 16px;\n }\n\n .card[_ngcontent-%COMP%] {\n all: unset;\n border-radius: 4px;\n border: 1px solid #eee;\n background-color: #fafafa;\n height: 40px;\n width: 200px;\n margin: 0 8px 16px;\n padding: 16px;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease-in-out;\n line-height: 24px;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(:last-child) {\n margin-right: 0;\n }\n\n .card.card-small[_ngcontent-%COMP%] {\n height: 16px;\n width: 168px;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card) {\n cursor: pointer;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover {\n transform: translateY(-3px);\n box-shadow: 0 4px 17px rgba(0, 0, 0, 0.35);\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover .material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {\n fill: rgb(105, 103, 103);\n }\n\n .card.highlight-card[_ngcontent-%COMP%] {\n background-color: #1976d2;\n color: white;\n font-weight: 600;\n border: none;\n width: auto;\n min-width: 30%;\n position: relative;\n }\n\n .card.card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n margin-left: 60px;\n }\n\n svg#rocket[_ngcontent-%COMP%] {\n width: 80px;\n position: absolute;\n left: -10px;\n top: -24px;\n }\n\n svg#rocket-smoke[_ngcontent-%COMP%] {\n height: calc(100vh - 95px);\n position: absolute;\n top: 10px;\n right: 180px;\n z-index: -10;\n }\n\n a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover {\n color: #1976d2;\n text-decoration: none;\n }\n\n a[_ngcontent-%COMP%]:hover {\n color: #125699;\n }\n\n .terminal[_ngcontent-%COMP%] {\n position: relative;\n width: 80%;\n max-width: 600px;\n border-radius: 6px;\n padding-top: 45px;\n margin-top: 8px;\n overflow: hidden;\n background-color: rgb(15, 15, 16);\n }\n\n .terminal[_ngcontent-%COMP%]::before {\n content: "\\2022 \\2022 \\2022";\n position: absolute;\n top: 0;\n left: 0;\n height: 4px;\n background: rgb(58, 58, 58);\n color: #c2c3c4;\n width: 100%;\n font-size: 2rem;\n line-height: 0;\n padding: 14px 0;\n text-indent: 4px;\n }\n\n .terminal[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] {\n font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;\n color: white;\n padding: 0 1rem 1rem;\n margin: 0;\n }\n\n .circle-link[_ngcontent-%COMP%] {\n height: 40px;\n width: 40px;\n border-radius: 40px;\n margin: 8px;\n background-color: white;\n border: 1px solid #eeeeee;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n transition: 1s ease-out;\n }\n\n .circle-link[_ngcontent-%COMP%]:hover {\n transform: translateY(-0.25rem);\n box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);\n }\n\n footer[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n align-items: center;\n line-height: 20px;\n }\n\n footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n }\n\n .github-star-badge[_ngcontent-%COMP%] {\n color: #24292e;\n display: flex;\n align-items: center;\n font-size: 12px;\n padding: 3px 10px;\n border: 1px solid rgba(27,31,35,.2);\n border-radius: 3px;\n background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);\n margin-left: 4px;\n font-weight: 600;\n }\n\n .github-star-badge[_ngcontent-%COMP%]:hover {\n background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);\n border-color: rgba(27,31,35,.35);\n background-position: -.5em;\n }\n\n .github-star-badge[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%] {\n height: 16px;\n width: 16px;\n margin-right: 4px;\n }\n\n svg#clouds[_ngcontent-%COMP%] {\n position: fixed;\n bottom: -160px;\n left: -230px;\n z-index: -10;\n width: 1920px;\n }\n\n \n\n @media screen and (max-width: 767px) {\n .card-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(.circle-link), .terminal[_ngcontent-%COMP%] {\n width: 100%;\n }\n\n .card[_ngcontent-%COMP%]:not(.highlight-card) {\n height: 16px;\n margin: 8px 0;\n }\n\n .card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n margin-left: 72px;\n }\n\n svg#rocket-smoke[_ngcontent-%COMP%] {\n right: 120px;\n transform: rotate(-5deg);\n }\n }\n\n @media screen and (max-width: 575px) {\n svg#rocket-smoke[_ngcontent-%COMP%] {\n display: none;\n visibility: hidden;\n }\n }']})}return r})(),Qbt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[xX,Ai,xX,Ai]})}return r})(),Xbt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[iI,Ai,Ai]})}return r})(),Zbt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Hp,c8,w5,Bse,Xbt,Zu,mKe,Nse,xKe,XXe,Hvt,wrt,fot,Bse,gYe,w5,Joe,DQe,FJe,WYe,Qbt,_Xe,cye,RXe,_5,cnt,c8,Qrt]})}return r})();function Qce(r){return new Be(3e3,!1)}function Ef(r){switch(r.length){case 0:return new QA;case 1:return r[0];default:return new PQ(r)}}function Xce(r,a,i=new Map,n=new Map){const s=[],l=[];let d=-1,p=null;if(a.forEach(f=>{const v=f.get("offset"),D=v==d,E=D&&p||new Map;f.forEach((F,L)=>{let $=L,q=F;if("offset"!==L)switch($=r.normalizePropertyName($,s),q){case"!":q=i.get(L);break;case Pp:q=n.get(L);break;default:q=r.normalizeStyleValue(L,$,q,s)}E.set($,q)}),D||l.push(E),p=E,d=v}),s.length)throw function Cyt(r){return new Be(3502,!1)}();return l}function zU(r,a,i,n){switch(a){case"start":r.onStart(()=>n(i&&HU(i,"start",r)));break;case"done":r.onDone(()=>n(i&&HU(i,"done",r)));break;case"destroy":r.onDestroy(()=>n(i&&HU(i,"destroy",r)))}}function HU(r,a,i){const l=GU(r.element,r.triggerName,r.fromState,r.toState,a||r.phaseName,i.totalTime??r.totalTime,!!i.disabled),d=r._data;return null!=d&&(l._data=d),l}function GU(r,a,i,n,s="",l=0,d){return{element:r,triggerName:a,fromState:i,toState:n,phaseName:s,totalTime:l,disabled:!!d}}function Tc(r,a,i){let n=r.get(a);return n||r.set(a,n=i),n}function Zce(r){const a=r.indexOf(":");return[r.substring(1,a),r.slice(a+1)]}const Pyt=(()=>typeof document>"u"?null:document.documentElement)();function jU(r){const a=r.parentNode||r.host||null;return a===Pyt?null:a}let Vb=null,Jce=!1;function ede(r,a){for(;a;){if(a===r)return!0;a=jU(a)}return!1}function tde(r,a,i){if(i)return Array.from(r.querySelectorAll(a));const n=r.querySelector(a);return n?[n]:[]}let ide=(()=>{class r{validateStyleProperty(i){return function Fyt(r){Vb||(Vb=function Nyt(){return typeof document<"u"?document.body:null}()||{},Jce=!!Vb.style&&"WebkitAppearance"in Vb.style);let a=!0;return Vb.style&&!function Oyt(r){return"ebkit"==r.substring(1,6)}(r)&&(a=r in Vb.style,!a&&Jce&&(a="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in Vb.style)),a}(i)}matchesElement(i,n){return!1}containsElement(i,n){return ede(i,n)}getParentElement(i){return jU(i)}query(i,n,s){return tde(i,n,s)}computeStyle(i,n,s){return s||""}animate(i,n,s,l,d,p=[],f){return new QA(s,l)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),$U=(()=>{class r{static#e=this.NOOP=new ide}return r})();const Lyt=1e3,UU="ng-enter",B4="ng-leave",V4="ng-trigger",z4=".ng-trigger",ode="ng-animating",WU=".ng-animating";function lg(r){if("number"==typeof r)return r;const a=r.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:qU(parseFloat(a[1]),a[2])}function qU(r,a){return"s"===a?r*Lyt:r}function H4(r,a,i){return r.hasOwnProperty("duration")?r:function Vyt(r,a,i){let s,l=0,d="";if("string"==typeof r){const p=r.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===p)return a.push(Qce()),{duration:0,delay:0,easing:""};s=qU(parseFloat(p[1]),p[2]);const f=p[3];null!=f&&(l=qU(parseFloat(f),p[4]));const v=p[5];v&&(d=v)}else s=r;if(!i){let p=!1,f=a.length;s<0&&(a.push(function Jbt(){return new Be(3100,!1)}()),p=!0),l<0&&(a.push(function eyt(){return new Be(3101,!1)}()),p=!0),p&&a.splice(f,0,Qce())}return{duration:s,delay:l,easing:d}}(r,a,i)}function lT(r,a={}){return Object.keys(r).forEach(i=>{a[i]=r[i]}),a}function rde(r){const a=new Map;return Object.keys(r).forEach(i=>{a.set(i,r[i])}),a}function Mf(r,a=new Map,i){if(i)for(let[n,s]of i)a.set(n,s);for(let[n,s]of r)a.set(n,s);return a}function fh(r,a,i){a.forEach((n,s)=>{const l=YU(s);i&&!i.has(s)&&i.set(s,r.style[l]),r.style[l]=n})}function zb(r,a){a.forEach((i,n)=>{const s=YU(n);r.style[s]=""})}function cT(r){return Array.isArray(r)?1==r.length?r[0]:RQ(r):r}const KU=new RegExp("{{\\s*(.+?)\\s*}}","g");function ade(r){let a=[];if("string"==typeof r){let i;for(;i=KU.exec(r);)a.push(i[1]);KU.lastIndex=0}return a}function dT(r,a,i){const n=r.toString(),s=n.replace(KU,(l,d)=>{let p=a[d];return null==p&&(i.push(function iyt(r){return new Be(3003,!1)}()),p=""),p.toString()});return s==n?r:s}function G4(r){const a=[];let i=r.next();for(;!i.done;)a.push(i.value),i=r.next();return a}const Gyt=/-+([a-z0-9])/g;function YU(r){return r.replace(Gyt,(...a)=>a[1].toUpperCase())}function Ec(r,a,i){switch(a.type){case 7:return r.visitTrigger(a,i);case 0:return r.visitState(a,i);case 1:return r.visitTransition(a,i);case 2:return r.visitSequence(a,i);case 3:return r.visitGroup(a,i);case 4:return r.visitAnimate(a,i);case 5:return r.visitKeyframes(a,i);case 6:return r.visitStyle(a,i);case 8:return r.visitReference(a,i);case 9:return r.visitAnimateChild(a,i);case 10:return r.visitAnimateRef(a,i);case 11:return r.visitQuery(a,i);case 12:return r.visitStagger(a,i);default:throw function nyt(r){return new Be(3004,!1)}()}}function lde(r,a){return window.getComputedStyle(r)[a]}const j4="*";function Uyt(r,a){const i=[];return"string"==typeof r?r.split(/\s*,\s*/).forEach(n=>function Wyt(r,a,i){if(":"==r[0]){const f=function qyt(r,a){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n) *"}}(r,i);if("function"==typeof f)return void a.push(f);r=f}const n=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(function fyt(r){return new Be(3015,!1)}()),a;const s=n[1],l=n[2],d=n[3];a.push(cde(s,d));"<"==l[0]&&!(s==j4&&d==j4)&&a.push(cde(d,s))}(n,i,a)):i.push(r),i}const $4=new Set(["true","1"]),U4=new Set(["false","0"]);function cde(r,a){const i=$4.has(r)||U4.has(r),n=$4.has(a)||U4.has(a);return(s,l)=>{let d=r==j4||r==s,p=a==j4||a==l;return!d&&i&&"boolean"==typeof s&&(d=s?$4.has(r):U4.has(r)),!p&&n&&"boolean"==typeof l&&(p=l?$4.has(a):U4.has(a)),d&&p}}const Kyt=new RegExp("s*:selfs*,?","g");function QU(r,a,i,n){return new Yyt(r).build(a,i,n)}class Yyt{constructor(a){this._driver=a}build(a,i,n){const s=new Zyt(i);return this._resetContextStyleTimingState(s),Ec(this,cT(a),s)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,i){let n=i.queryCount=0,s=i.depCount=0;const l=[],d=[];return"@"==a.name.charAt(0)&&i.errors.push(function ryt(){return new Be(3006,!1)}()),a.definitions.forEach(p=>{if(this._resetContextStyleTimingState(i),0==p.type){const f=p,v=f.name;v.toString().split(/\s*,\s*/).forEach(D=>{f.name=D,l.push(this.visitState(f,i))}),f.name=v}else if(1==p.type){const f=this.visitTransition(p,i);n+=f.queryCount,s+=f.depCount,d.push(f)}else i.errors.push(function syt(){return new Be(3007,!1)}())}),{type:7,name:a.name,states:l,transitions:d,queryCount:n,depCount:s,options:null}}visitState(a,i){const n=this.visitStyle(a.styles,i),s=a.options&&a.options.params||null;if(n.containsDynamicStyles){const l=new Set,d=s||{};n.styles.forEach(p=>{p instanceof Map&&p.forEach(f=>{ade(f).forEach(v=>{d.hasOwnProperty(v)||l.add(v)})})}),l.size&&(G4(l.values()),i.errors.push(function ayt(r,a){return new Be(3008,!1)}()))}return{type:0,name:a.name,style:n,options:s?{params:s}:null}}visitTransition(a,i){i.queryCount=0,i.depCount=0;const n=Ec(this,cT(a.animation),i);return{type:1,matchers:Uyt(a.expr,i.errors),animation:n,queryCount:i.queryCount,depCount:i.depCount,options:Hb(a.options)}}visitSequence(a,i){return{type:2,steps:a.steps.map(n=>Ec(this,n,i)),options:Hb(a.options)}}visitGroup(a,i){const n=i.currentTime;let s=0;const l=a.steps.map(d=>{i.currentTime=n;const p=Ec(this,d,i);return s=Math.max(s,i.currentTime),p});return i.currentTime=s,{type:3,steps:l,options:Hb(a.options)}}visitAnimate(a,i){const n=function e0t(r,a){if(r.hasOwnProperty("duration"))return r;if("number"==typeof r)return XU(H4(r,a).duration,0,"");const i=r;if(i.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=XU(0,0,"");return l.dynamic=!0,l.strValue=i,l}const s=H4(i,a);return XU(s.duration,s.delay,s.easing)}(a.timings,i.errors);i.currentAnimateTimings=n;let s,l=a.styles?a.styles:gt({});if(5==l.type)s=this.visitKeyframes(l,i);else{let d=a.styles,p=!1;if(!d){p=!0;const v={};n.easing&&(v.easing=n.easing),d=gt(v)}i.currentTime+=n.duration+n.delay;const f=this.visitStyle(d,i);f.isEmptyStep=p,s=f}return i.currentAnimateTimings=null,{type:4,timings:n,style:s,options:null}}visitStyle(a,i){const n=this._makeStyleAst(a,i);return this._validateStyleAst(n,i),n}_makeStyleAst(a,i){const n=[],s=Array.isArray(a.styles)?a.styles:[a.styles];for(let p of s)"string"==typeof p?p===Pp?n.push(p):i.errors.push(new Be(3002,!1)):n.push(rde(p));let l=!1,d=null;return n.forEach(p=>{if(p instanceof Map&&(p.has("easing")&&(d=p.get("easing"),p.delete("easing")),!l))for(let f of p.values())if(f.toString().indexOf("{{")>=0){l=!0;break}}),{type:6,styles:n,easing:d,offset:a.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(a,i){const n=i.currentAnimateTimings;let s=i.currentTime,l=i.currentTime;n&&l>0&&(l-=n.duration+n.delay),a.styles.forEach(d=>{"string"!=typeof d&&d.forEach((p,f)=>{const v=i.collectedStyles.get(i.currentQuerySelector),D=v.get(f);let E=!0;D&&(l!=s&&l>=D.startTime&&s<=D.endTime&&(i.errors.push(function cyt(r,a,i,n,s){return new Be(3010,!1)}()),E=!1),l=D.startTime),E&&v.set(f,{startTime:l,endTime:s}),i.options&&function Hyt(r,a,i){const n=a.params||{},s=ade(r);s.length&&s.forEach(l=>{n.hasOwnProperty(l)||i.push(function tyt(r){return new Be(3001,!1)}())})}(p,i.options,i.errors)})})}visitKeyframes(a,i){const n={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(function dyt(){return new Be(3011,!1)}()),n;let l=0;const d=[];let p=!1,f=!1,v=0;const D=a.steps.map(se=>{const ue=this._makeStyleAst(se,i);let Oe=null!=ue.offset?ue.offset:function Jyt(r){if("string"==typeof r)return null;let a=null;if(Array.isArray(r))r.forEach(i=>{if(i instanceof Map&&i.has("offset")){const n=i;a=parseFloat(n.get("offset")),n.delete("offset")}});else if(r instanceof Map&&r.has("offset")){const i=r;a=parseFloat(i.get("offset")),i.delete("offset")}return a}(ue.styles),ze=0;return null!=Oe&&(l++,ze=ue.offset=Oe),f=f||ze<0||ze>1,p=p||ze0&&l{const Oe=F>0?ue==L?1:F*ue:d[ue],ze=Oe*Z;i.currentTime=$+q.delay+ze,q.duration=ze,this._validateStyleAst(se,i),se.offset=Oe,n.styles.push(se)}),n}visitReference(a,i){return{type:8,animation:Ec(this,cT(a.animation),i),options:Hb(a.options)}}visitAnimateChild(a,i){return i.depCount++,{type:9,options:Hb(a.options)}}visitAnimateRef(a,i){return{type:10,animation:this.visitReference(a.animation,i),options:Hb(a.options)}}visitQuery(a,i){const n=i.currentQuerySelector,s=a.options||{};i.queryCount++,i.currentQuery=a;const[l,d]=function Qyt(r){const a=!!r.split(/\s*,\s*/).find(i=>":self"==i);return a&&(r=r.replace(Kyt,"")),r=r.replace(/@\*/g,z4).replace(/@\w+/g,i=>z4+"-"+i.slice(1)).replace(/:animating/g,WU),[r,a]}(a.selector);i.currentQuerySelector=n.length?n+" "+l:l,Tc(i.collectedStyles,i.currentQuerySelector,new Map);const p=Ec(this,cT(a.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:11,selector:l,limit:s.limit||0,optional:!!s.optional,includeSelf:d,animation:p,originalSelector:a.selector,options:Hb(a.options)}}visitStagger(a,i){i.currentQuery||i.errors.push(function gyt(){return new Be(3013,!1)}());const n="full"===a.timings?{duration:0,delay:0,easing:"full"}:H4(a.timings,i.errors,!0);return{type:12,animation:Ec(this,cT(a.animation),i),timings:n,options:null}}}class Zyt{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hb(r){return r?(r=lT(r)).params&&(r.params=function Xyt(r){return r?lT(r):null}(r.params)):r={},r}function XU(r,a,i){return{duration:r,delay:a,easing:i}}function ZU(r,a,i,n,s,l,d=null,p=!1){return{type:1,element:r,keyframes:a,preStyleProps:i,postStyleProps:n,duration:s,delay:l,totalTime:s+l,easing:d,subTimeline:p}}class W4{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,i){let n=this._map.get(a);n||this._map.set(a,n=[]),n.push(...i)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const n0t=new RegExp(":enter","g"),r0t=new RegExp(":leave","g");function JU(r,a,i,n,s,l=new Map,d=new Map,p,f,v=[]){return(new s0t).buildKeyframes(r,a,i,n,s,l,d,p,f,v)}class s0t{buildKeyframes(a,i,n,s,l,d,p,f,v,D=[]){v=v||new W4;const E=new eW(a,i,v,s,l,D,[]);E.options=f;const F=f.delay?lg(f.delay):0;E.currentTimeline.delayNextStep(F),E.currentTimeline.setStyles([d],null,E.errors,f),Ec(this,n,E);const L=E.timelines.filter($=>$.containsAnimation());if(L.length&&p.size){let $;for(let q=L.length-1;q>=0;q--){const Z=L[q];if(Z.element===i){$=Z;break}}$&&!$.allowOnlyTimelineStyles()&&$.setStyles([p],null,E.errors,f)}return L.length?L.map($=>$.buildKeyframes()):[ZU(i,[],[],[],0,F,"",!1)]}visitTrigger(a,i){}visitState(a,i){}visitTransition(a,i){}visitAnimateChild(a,i){const n=i.subInstructions.get(i.element);if(n){const s=i.createSubContext(a.options),l=i.currentTimeline.currentTime,d=this._visitSubInstructions(n,s,s.options);l!=d&&i.transformIntoNewTimeline(d)}i.previousNode=a}visitAnimateRef(a,i){const n=i.createSubContext(a.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],i,n),this.visitReference(a.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=a}_applyAnimationRefDelays(a,i,n){for(const s of a){const l=s?.delay;if(l){const d="number"==typeof l?l:lg(dT(l,s?.params??{},i.errors));n.delayNextStep(d)}}}_visitSubInstructions(a,i,n){let l=i.currentTimeline.currentTime;const d=null!=n.duration?lg(n.duration):null,p=null!=n.delay?lg(n.delay):null;return 0!==d&&a.forEach(f=>{const v=i.appendInstructionToTimeline(f,d,p);l=Math.max(l,v.duration+v.delay)}),l}visitReference(a,i){i.updateOptions(a.options,!0),Ec(this,a.animation,i),i.previousNode=a}visitSequence(a,i){const n=i.subContextCount;let s=i;const l=a.options;if(l&&(l.params||l.delay)&&(s=i.createSubContext(l),s.transformIntoNewTimeline(),null!=l.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=q4);const d=lg(l.delay);s.delayNextStep(d)}a.steps.length&&(a.steps.forEach(d=>Ec(this,d,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),i.previousNode=a}visitGroup(a,i){const n=[];let s=i.currentTimeline.currentTime;const l=a.options&&a.options.delay?lg(a.options.delay):0;a.steps.forEach(d=>{const p=i.createSubContext(a.options);l&&p.delayNextStep(l),Ec(this,d,p),s=Math.max(s,p.currentTimeline.currentTime),n.push(p.currentTimeline)}),n.forEach(d=>i.currentTimeline.mergeTimelineCollectedStyles(d)),i.transformIntoNewTimeline(s),i.previousNode=a}_visitTiming(a,i){if(a.dynamic){const n=a.strValue;return H4(i.params?dT(n,i.params,i.errors):n,i.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,i){const n=i.currentAnimateTimings=this._visitTiming(a.timings,i),s=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),s.snapshotCurrentStyles());const l=a.style;5==l.type?this.visitKeyframes(l,i):(i.incrementTime(n.duration),this.visitStyle(l,i),s.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=a}visitStyle(a,i){const n=i.currentTimeline,s=i.currentAnimateTimings;!s&&n.hasCurrentStyleProperties()&&n.forwardFrame();const l=s&&s.easing||a.easing;a.isEmptyStep?n.applyEmptyStep(l):n.setStyles(a.styles,l,i.errors,i.options),i.previousNode=a}visitKeyframes(a,i){const n=i.currentAnimateTimings,s=i.currentTimeline.duration,l=n.duration,p=i.createSubContext().currentTimeline;p.easing=n.easing,a.styles.forEach(f=>{p.forwardTime((f.offset||0)*l),p.setStyles(f.styles,f.easing,i.errors,i.options),p.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(p),i.transformIntoNewTimeline(s+l),i.previousNode=a}visitQuery(a,i){const n=i.currentTimeline.currentTime,s=a.options||{},l=s.delay?lg(s.delay):0;l&&(6===i.previousNode.type||0==n&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=q4);let d=n;const p=i.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!s.optional,i.errors);i.currentQueryTotal=p.length;let f=null;p.forEach((v,D)=>{i.currentQueryIndex=D;const E=i.createSubContext(a.options,v);l&&E.delayNextStep(l),v===i.element&&(f=E.currentTimeline),Ec(this,a.animation,E),E.currentTimeline.applyStylesToKeyframe(),d=Math.max(d,E.currentTimeline.currentTime)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(d),f&&(i.currentTimeline.mergeTimelineCollectedStyles(f),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=a}visitStagger(a,i){const n=i.parentContext,s=i.currentTimeline,l=a.timings,d=Math.abs(l.duration),p=d*(i.currentQueryTotal-1);let f=d*i.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":f=p-f;break;case"full":f=n.currentStaggerTime}const D=i.currentTimeline;f&&D.delayNextStep(f);const E=D.currentTime;Ec(this,a.animation,i),i.previousNode=a,n.currentStaggerTime=s.currentTime-E+(s.startTime-n.currentTimeline.startTime)}}const q4={};class eW{constructor(a,i,n,s,l,d,p,f){this._driver=a,this.element=i,this.subInstructions=n,this._enterClassName=s,this._leaveClassName=l,this.errors=d,this.timelines=p,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=q4,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=f||new K4(this._driver,i,0),p.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,i){if(!a)return;const n=a;let s=this.options;null!=n.duration&&(s.duration=lg(n.duration)),null!=n.delay&&(s.delay=lg(n.delay));const l=n.params;if(l){let d=s.params;d||(d=this.options.params={}),Object.keys(l).forEach(p=>{(!i||!d.hasOwnProperty(p))&&(d[p]=dT(l[p],d,this.errors))})}}_copyOptions(){const a={};if(this.options){const i=this.options.params;if(i){const n=a.params={};Object.keys(i).forEach(s=>{n[s]=i[s]})}}return a}createSubContext(a=null,i,n){const s=i||this.element,l=new eW(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(a),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(a){return this.previousNode=q4,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,i,n){const s={duration:i??a.duration,delay:this.currentTimeline.currentTime+(n??0)+a.delay,easing:""},l=new a0t(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,s,a.stretchStartingKeyframe);return this.timelines.push(l),s}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,i,n,s,l,d){let p=[];if(s&&p.push(this.element),a.length>0){a=(a=a.replace(n0t,"."+this._enterClassName)).replace(r0t,"."+this._leaveClassName);let v=this._driver.query(this.element,a,1!=n);0!==n&&(v=n<0?v.slice(v.length+n,v.length):v.slice(0,n)),p.push(...v)}return!l&&0==p.length&&d.push(function myt(r){return new Be(3014,!1)}()),p}}class K4{constructor(a,i,n,s){this._driver=a,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=s,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const i=1===this._keyframes.size&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+a),i&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,i){return this.applyStylesToKeyframe(),new K4(this._driver,a,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,i){this._localTimelineStyles.set(a,i),this._globalTimelineStyles.set(a,i),this._styleSummary.set(a,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||Pp),this._currentKeyframe.set(i,Pp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,i,n,s){i&&this._previousKeyframe.set("easing",i);const l=s&&s.params||{},d=function l0t(r,a){const i=new Map;let n;return r.forEach(s=>{if("*"===s){n=n||a.keys();for(let l of n)i.set(l,Pp)}else Mf(s,i)}),i}(a,this._globalTimelineStyles);for(let[p,f]of d){const v=dT(f,l,n);this._pendingStyles.set(p,v),this._localTimelineStyles.has(p)||this._backFill.set(p,this._globalTimelineStyles.get(p)??Pp),this._updateStyle(p,v)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,i)=>{this._currentKeyframe.set(i,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,a)}))}snapshotCurrentStyles(){for(let[a,i]of this._localTimelineStyles)this._pendingStyles.set(a,i),this._updateStyle(a,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let i in this._currentKeyframe)a.push(i);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((i,n)=>{const s=this._styleSummary.get(n);(!s||i.time>s.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,i=new Set,n=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((p,f)=>{const v=Mf(p,new Map,this._backFill);v.forEach((D,E)=>{"!"===D?a.add(E):D===Pp&&i.add(E)}),n||v.set("offset",f/this.duration),s.push(v)});const l=a.size?G4(a.values()):[],d=i.size?G4(i.values()):[];if(n){const p=s[0],f=new Map(p);p.set("offset",0),f.set("offset",1),s=[p,f]}return ZU(this.element,s,l,d,this.duration,this.startTime,this.easing,!1)}}class a0t extends K4{constructor(a,i,n,s,l,d,p=!1){super(a,i,d.delay),this.keyframes=n,this.preStyleProps=s,this.postStyleProps=l,this._stretchStartingKeyframe=p,this.timings={duration:d.duration,delay:d.delay,easing:d.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:i,duration:n,easing:s}=this.timings;if(this._stretchStartingKeyframe&&i){const l=[],d=n+i,p=i/d,f=Mf(a[0]);f.set("offset",0),l.push(f);const v=Mf(a[0]);v.set("offset",hde(p)),l.push(v);const D=a.length-1;for(let E=1;E<=D;E++){let F=Mf(a[E]);const L=F.get("offset");F.set("offset",hde((i+L*n)/d)),l.push(F)}n=d,i=0,s="",a=l}return ZU(this.element,a,this.preStyleProps,this.postStyleProps,n,i,s,!0)}}function hde(r,a=3){const i=Math.pow(10,a-1);return Math.round(r*i)/i}class tW{}const c0t=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class d0t extends tW{normalizePropertyName(a,i){return YU(a)}normalizeStyleValue(a,i,n,s){let l="";const d=n.toString().trim();if(c0t.has(i)&&0!==n&&"0"!==n)if("number"==typeof n)l="px";else{const p=n.match(/^[+-]?[\d\.]+([a-z]*)$/);p&&0==p[1].length&&s.push(function oyt(r,a){return new Be(3005,!1)}())}return d+l}}function pde(r,a,i,n,s,l,d,p,f,v,D,E,F){return{type:0,element:r,triggerName:a,isRemovalTransition:s,fromState:i,fromStyles:l,toState:n,toStyles:d,timelines:p,queriedElements:f,preStyleProps:v,postStyleProps:D,totalTime:E,errors:F}}const iW={};class gde{constructor(a,i,n){this._triggerName=a,this.ast=i,this._stateStyles=n}match(a,i,n,s){return function u0t(r,a,i,n,s){return r.some(l=>l(a,i,n,s))}(this.ast.matchers,a,i,n,s)}buildStyles(a,i,n){let s=this._stateStyles.get("*");return void 0!==a&&(s=this._stateStyles.get(a?.toString())||s),s?s.buildStyles(i,n):new Map}build(a,i,n,s,l,d,p,f,v,D){const E=[],F=this.ast.options&&this.ast.options.params||iW,$=this.buildStyles(n,p&&p.params||iW,E),q=f&&f.params||iW,Z=this.buildStyles(s,q,E),se=new Set,ue=new Map,Oe=new Map,ze="void"===s,Ze={params:h0t(q,F),delay:this.ast.options?.delay},it=D?[]:JU(a,i,this.ast.animation,l,d,$,Z,Ze,v,E);let yt=0;if(it.forEach(Si=>{yt=Math.max(Si.duration+Si.delay,yt)}),E.length)return pde(i,this._triggerName,n,s,ze,$,Z,[],[],ue,Oe,yt,E);it.forEach(Si=>{const Pi=Si.element,Vr=Tc(ue,Pi,new Set);Si.preStyleProps.forEach(No=>Vr.add(No));const Xn=Tc(Oe,Pi,new Set);Si.postStyleProps.forEach(No=>Xn.add(No)),Pi!==i&&se.add(Pi)});const xt=G4(se.values());return pde(i,this._triggerName,n,s,ze,$,Z,it,xt,ue,Oe,yt)}}function h0t(r,a){const i=lT(a);for(const n in r)r.hasOwnProperty(n)&&null!=r[n]&&(i[n]=r[n]);return i}class p0t{constructor(a,i,n){this.styles=a,this.defaultParams=i,this.normalizer=n}buildStyles(a,i){const n=new Map,s=lT(this.defaultParams);return Object.keys(a).forEach(l=>{const d=a[l];null!==d&&(s[l]=d)}),this.styles.styles.forEach(l=>{"string"!=typeof l&&l.forEach((d,p)=>{d&&(d=dT(d,s,i));const f=this.normalizer.normalizePropertyName(p,i);d=this.normalizer.normalizeStyleValue(p,f,d,i),n.set(p,d)})}),n}}class m0t{constructor(a,i,n){this.name=a,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(s=>{this.states.set(s.name,new p0t(s.style,s.options&&s.options.params||{},n))}),mde(this.states,"true","1"),mde(this.states,"false","0"),i.transitions.forEach(s=>{this.transitionFactories.push(new gde(a,s,this.states))}),this.fallbackTransition=function f0t(r,a,i){return new gde(r,{type:1,animation:{type:2,steps:[],options:null},matchers:[(d,p)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,i,n,s){return this.transitionFactories.find(d=>d.match(a,i,n,s))||null}matchStyles(a,i,n){return this.fallbackTransition.buildStyles(a,i,n)}}function mde(r,a,i){r.has(a)?r.has(i)||r.set(i,r.get(a)):r.has(i)&&r.set(a,r.get(i))}const _0t=new W4;class v0t{constructor(a,i,n){this.bodyNode=a,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,i){const n=[],l=QU(this._driver,i,n,[]);if(n.length)throw function wyt(r){return new Be(3503,!1)}();this._animations.set(a,l)}_buildPlayer(a,i,n){const s=a.element,l=Xce(this._normalizer,a.keyframes,i,n);return this._driver.animate(s,l,a.duration,a.delay,a.easing,[],!0)}create(a,i,n={}){const s=[],l=this._animations.get(a);let d;const p=new Map;if(l?(d=JU(this._driver,i,l,UU,B4,new Map,new Map,n,_0t,s),d.forEach(D=>{const E=Tc(p,D.element,new Map);D.postStyleProps.forEach(F=>E.set(F,null))})):(s.push(function xyt(){return new Be(3300,!1)}()),d=[]),s.length)throw function kyt(r){return new Be(3504,!1)}();p.forEach((D,E)=>{D.forEach((F,L)=>{D.set(L,this._driver.computeStyle(E,L,Pp))})});const v=Ef(d.map(D=>{const E=p.get(D.element);return this._buildPlayer(D,new Map,E)}));return this._playersById.set(a,v),v.onDestroy(()=>this.destroy(a)),this.players.push(v),v}destroy(a){const i=this._getPlayer(a);i.destroy(),this._playersById.delete(a);const n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(a){const i=this._playersById.get(a);if(!i)throw function Dyt(r){return new Be(3301,!1)}();return i}listen(a,i,n,s){const l=GU(i,"","","");return zU(this._getPlayer(a),n,l,s),()=>{}}command(a,i,n,s){if("register"==n)return void this.register(a,s[0]);if("create"==n)return void this.create(a,i,s[0]||{});const l=this._getPlayer(a);switch(n){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(a)}}}const fde="ng-animate-queued",nW="ng-animate-disabled",x0t=[],_de={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},k0t={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fu="__ng_removed";class oW{get params(){return this.options.params}constructor(a,i=""){this.namespaceId=i;const n=a&&a.hasOwnProperty("value");if(this.value=function S0t(r){return r??null}(n?a.value:a),n){const l=lT(a);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const i=a.params;if(i){const n=this.options.params;Object.keys(i).forEach(s=>{null==n[s]&&(n[s]=i[s])})}}}const uT="void",rW=new oW(uT);class D0t{constructor(a,i,n){this.id=a,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,pd(i,this._hostClassName)}listen(a,i,n,s){if(!this._triggers.has(i))throw function Ayt(r,a){return new Be(3302,!1)}();if(null==n||0==n.length)throw function Iyt(r){return new Be(3303,!1)}();if(!function T0t(r){return"start"==r||"done"==r}(n))throw function Syt(r,a){return new Be(3400,!1)}();const l=Tc(this._elementListeners,a,[]),d={name:i,phase:n,callback:s};l.push(d);const p=Tc(this._engine.statesByElement,a,new Map);return p.has(i)||(pd(a,V4),pd(a,V4+"-"+i),p.set(i,rW)),()=>{this._engine.afterFlush(()=>{const f=l.indexOf(d);f>=0&&l.splice(f,1),this._triggers.has(i)||p.delete(i)})}}register(a,i){return!this._triggers.has(a)&&(this._triggers.set(a,i),!0)}_getTrigger(a){const i=this._triggers.get(a);if(!i)throw function Tyt(r){return new Be(3401,!1)}();return i}trigger(a,i,n,s=!0){const l=this._getTrigger(i),d=new sW(this.id,i,a);let p=this._engine.statesByElement.get(a);p||(pd(a,V4),pd(a,V4+"-"+i),this._engine.statesByElement.set(a,p=new Map));let f=p.get(i);const v=new oW(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&f&&v.absorbOptions(f.options),p.set(i,v),f||(f=rW),v.value!==uT&&f.value===v.value){if(!function R0t(r,a){const i=Object.keys(r),n=Object.keys(a);if(i.length!=n.length)return!1;for(let s=0;s{zb(a,Z),fh(a,se)})}return}const F=Tc(this._engine.playersByElement,a,[]);F.forEach(q=>{q.namespaceId==this.id&&q.triggerName==i&&q.queued&&q.destroy()});let L=l.matchTransition(f.value,v.value,a,v.params),$=!1;if(!L){if(!s)return;L=l.fallbackTransition,$=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:i,transition:L,fromState:f,toState:v,player:d,isFallbackTransition:$}),$||(pd(a,fde),d.onStart(()=>{Cx(a,fde)})),d.onDone(()=>{let q=this.players.indexOf(d);q>=0&&this.players.splice(q,1);const Z=this._engine.playersByElement.get(a);if(Z){let se=Z.indexOf(d);se>=0&&Z.splice(se,1)}}),this.players.push(d),F.push(d),d}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(i=>i.delete(a)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(s=>s.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const i=this._engine.playersByElement.get(a);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,i){const n=this._engine.driver.query(a,z4,!0);n.forEach(s=>{if(s[fu])return;const l=this._engine.fetchNamespacesByElement(s);l.size?l.forEach(d=>d.triggerLeaveAnimation(s,i,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(a,i,n,s){const l=this._engine.statesByElement.get(a),d=new Map;if(l){const p=[];if(l.forEach((f,v)=>{if(d.set(v,f.value),this._triggers.has(v)){const D=this.trigger(a,v,uT,s);D&&p.push(D)}}),p.length)return this._engine.markElementAsRemoved(this.id,a,!0,i,d),n&&Ef(p).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const i=this._elementListeners.get(a),n=this._engine.statesByElement.get(a);if(i&&n){const s=new Set;i.forEach(l=>{const d=l.name;if(s.has(d))return;s.add(d);const f=this._triggers.get(d).fallbackTransition,v=n.get(d)||rW,D=new oW(uT),E=new sW(this.id,d,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:d,transition:f,fromState:v,toState:D,player:E,isFallbackTransition:!0})})}}removeNode(a,i){const n=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,i),this.triggerLeaveAnimation(a,i,!0))return;let s=!1;if(n.totalAnimations){const l=n.players.length?n.playersByQueriedElement.get(a):[];if(l&&l.length)s=!0;else{let d=a;for(;d=d.parentNode;)if(n.statesByElement.get(d)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(a),s)n.markElementAsRemoved(this.id,a,!1,i);else{const l=a[fu];(!l||l===_de)&&(n.afterFlush(()=>this.clearElementCache(a)),n.destroyInnerAnimations(a),n._onRemovalComplete(a,i))}}insertNode(a,i){pd(a,this._hostClassName)}drainQueuedTransitions(a){const i=[];return this._queue.forEach(n=>{const s=n.player;if(s.destroyed)return;const l=n.element,d=this._elementListeners.get(l);d&&d.forEach(p=>{if(p.name==n.triggerName){const f=GU(l,n.triggerName,n.fromState.value,n.toState.value);f._data=a,zU(n.player,p.phase,f,p.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):i.push(n)}),this._queue=[],i.sort((n,s)=>{const l=n.transition.ast.depCount,d=s.transition.ast.depCount;return 0==l||0==d?l-d:this._engine.driver.containsElement(n.element,s.element)?1:-1})}destroy(a){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class A0t{_onRemovalComplete(a,i){this.onRemovalComplete(a,i)}constructor(a,i,n){this.bodyNode=a,this.driver=i,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,l)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&a.push(n)})}),a}createNamespace(a,i){const n=new D0t(a,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[a]=n}_balanceNamespaceList(a,i){const n=this._namespaceList,s=this.namespacesByHostElement;if(n.length-1>=0){let d=!1,p=this.driver.getParentElement(i);for(;p;){const f=s.get(p);if(f){const v=n.indexOf(f);n.splice(v+1,0,a),d=!0;break}p=this.driver.getParentElement(p)}d||n.unshift(a)}else n.push(a);return s.set(i,a),a}register(a,i){let n=this._namespaceLookup[a];return n||(n=this.createNamespace(a,i)),n}registerTrigger(a,i,n){let s=this._namespaceLookup[a];s&&s.register(i,n)&&this.totalAnimations++}destroy(a,i){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const n=this._fetchNamespace(a);this.namespacesByHostElement.delete(n.hostElement);const s=this._namespaceList.indexOf(n);s>=0&&this._namespaceList.splice(s,1),n.destroy(i),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const i=new Set,n=this.statesByElement.get(a);if(n)for(let s of n.values())if(s.namespaceId){const l=this._fetchNamespace(s.namespaceId);l&&i.add(l)}return i}trigger(a,i,n,s){if(Y4(i)){const l=this._fetchNamespace(a);if(l)return l.trigger(i,n,s),!0}return!1}insertNode(a,i,n,s){if(!Y4(i))return;const l=i[fu];if(l&&l.setForRemoval){l.setForRemoval=!1,l.setForMove=!0;const d=this.collectedLeaveElements.indexOf(i);d>=0&&this.collectedLeaveElements.splice(d,1)}if(a){const d=this._fetchNamespace(a);d&&d.insertNode(i,n)}s&&this.collectEnterElement(i)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,i){i?this.disabledNodes.has(a)||(this.disabledNodes.add(a),pd(a,nW)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Cx(a,nW))}removeNode(a,i,n){if(Y4(i)){const s=a?this._fetchNamespace(a):null;s?s.removeNode(i,n):this.markElementAsRemoved(a,i,!1,n);const l=this.namespacesByHostElement.get(i);l&&l.id!==a&&l.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(a,i,n,s,l){this.collectedLeaveElements.push(i),i[fu]={namespaceId:a,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:l}}listen(a,i,n,s,l){return Y4(i)?this._fetchNamespace(a).listen(i,n,s,l):()=>{}}_buildInstruction(a,i,n,s,l){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,n,s,a.fromState.options,a.toState.options,i,l)}destroyInnerAnimations(a){let i=this.driver.query(a,z4,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(i=this.driver.query(a,WU,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(a){const i=this.playersByElement.get(a);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(a){const i=this.playersByQueriedElement.get(a);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ef(this.players).onDone(()=>a());a()})}processLeaveNode(a){const i=a[fu];if(i&&i.setForRemoval){if(a[fu]=_de,i.namespaceId){this.destroyInnerAnimations(a);const n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(a)}this._onRemovalComplete(a,i.setForRemoval)}a.classList?.contains(nW)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(a=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,s)=>this._balanceNamespaceList(n,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],i.length?Ef(i).onDone(()=>{n.forEach(s=>s())}):n.forEach(s=>s())}}reportError(a){throw function Eyt(r){return new Be(3402,!1)}()}_flushAnimations(a,i){const n=new W4,s=[],l=new Map,d=[],p=new Map,f=new Map,v=new Map,D=new Set;this.disabledNodes.forEach(Ct=>{D.add(Ct);const It=this.driver.query(Ct,".ng-animate-queued",!0);for(let Gt=0;Gt{const Gt=UU+q++;$.set(It,Gt),Ct.forEach(yi=>pd(yi,Gt))});const Z=[],se=new Set,ue=new Set;for(let Ct=0;Ctse.add(yi)):ue.add(It))}const Oe=new Map,ze=yde(F,Array.from(se));ze.forEach((Ct,It)=>{const Gt=B4+q++;Oe.set(It,Gt),Ct.forEach(yi=>pd(yi,Gt))}),a.push(()=>{L.forEach((Ct,It)=>{const Gt=$.get(It);Ct.forEach(yi=>Cx(yi,Gt))}),ze.forEach((Ct,It)=>{const Gt=Oe.get(It);Ct.forEach(yi=>Cx(yi,Gt))}),Z.forEach(Ct=>{this.processLeaveNode(Ct)})});const Ze=[],it=[];for(let Ct=this._namespaceList.length-1;Ct>=0;Ct--)this._namespaceList[Ct].drainQueuedTransitions(i).forEach(Gt=>{const yi=Gt.player,ao=Gt.element;if(Ze.push(yi),this.collectedEnterElements.length){const zr=ao[fu];if(zr&&zr.setForMove){if(zr.previousTriggersValues&&zr.previousTriggersValues.has(Gt.triggerName)){const Xl=zr.previousTriggersValues.get(Gt.triggerName),Zl=this.statesByElement.get(Gt.element);if(Zl&&Zl.has(Gt.triggerName)){const Gb=Zl.get(Gt.triggerName);Gb.value=Xl,Zl.set(Gt.triggerName,Gb)}}return void yi.destroy()}}const sr=!E||!this.driver.containsElement(E,ao),ar=Oe.get(ao),Ss=$.get(ao),nn=this._buildInstruction(Gt,n,Ss,ar,sr);if(nn.errors&&nn.errors.length)return void it.push(nn);if(sr)return yi.onStart(()=>zb(ao,nn.fromStyles)),yi.onDestroy(()=>fh(ao,nn.toStyles)),void s.push(yi);if(Gt.isFallbackTransition)return yi.onStart(()=>zb(ao,nn.fromStyles)),yi.onDestroy(()=>fh(ao,nn.toStyles)),void s.push(yi);const Ts=[];nn.timelines.forEach(zr=>{zr.stretchStartingKeyframe=!0,this.disabledNodes.has(zr.element)||Ts.push(zr)}),nn.timelines=Ts,n.append(ao,nn.timelines),d.push({instruction:nn,player:yi,element:ao}),nn.queriedElements.forEach(zr=>Tc(p,zr,[]).push(yi)),nn.preStyleProps.forEach((zr,Xl)=>{if(zr.size){let Zl=f.get(Xl);Zl||f.set(Xl,Zl=new Set),zr.forEach((Gb,xx)=>Zl.add(xx))}}),nn.postStyleProps.forEach((zr,Xl)=>{let Zl=v.get(Xl);Zl||v.set(Xl,Zl=new Set),zr.forEach((Gb,xx)=>Zl.add(xx))})});if(it.length){const Ct=[];it.forEach(It=>{Ct.push(function Myt(r,a){return new Be(3505,!1)}())}),Ze.forEach(It=>It.destroy()),this.reportError(Ct)}const yt=new Map,xt=new Map;d.forEach(Ct=>{const It=Ct.element;n.has(It)&&(xt.set(It,It),this._beforeAnimationBuild(Ct.player.namespaceId,Ct.instruction,yt))}),s.forEach(Ct=>{const It=Ct.element;this._getPreviousPlayers(It,!1,Ct.namespaceId,Ct.triggerName,null).forEach(yi=>{Tc(yt,It,[]).push(yi),yi.destroy()})});const Si=Z.filter(Ct=>wde(Ct,f,v)),Pi=new Map;bde(Pi,this.driver,ue,v,Pp).forEach(Ct=>{wde(Ct,f,v)&&Si.push(Ct)});const Xn=new Map;L.forEach((Ct,It)=>{bde(Xn,this.driver,new Set(Ct),f,"!")}),Si.forEach(Ct=>{const It=Pi.get(Ct),Gt=Xn.get(Ct);Pi.set(Ct,new Map([...It?.entries()??[],...Gt?.entries()??[]]))});const No=[],xo=[],dn={};d.forEach(Ct=>{const{element:It,player:Gt,instruction:yi}=Ct;if(n.has(It)){if(D.has(It))return Gt.onDestroy(()=>fh(It,yi.toStyles)),Gt.disabled=!0,Gt.overrideTotalTime(yi.totalTime),void s.push(Gt);let ao=dn;if(xt.size>1){let ar=It;const Ss=[];for(;ar=ar.parentNode;){const nn=xt.get(ar);if(nn){ao=nn;break}Ss.push(ar)}Ss.forEach(nn=>xt.set(nn,ao))}const sr=this._buildAnimation(Gt.namespaceId,yi,yt,l,Xn,Pi);if(Gt.setRealPlayer(sr),ao===dn)No.push(Gt);else{const ar=this.playersByElement.get(ao);ar&&ar.length&&(Gt.parentPlayer=Ef(ar)),s.push(Gt)}}else zb(It,yi.fromStyles),Gt.onDestroy(()=>fh(It,yi.toStyles)),xo.push(Gt),D.has(It)&&s.push(Gt)}),xo.forEach(Ct=>{const It=l.get(Ct.element);if(It&&It.length){const Gt=Ef(It);Ct.setRealPlayer(Gt)}}),s.forEach(Ct=>{Ct.parentPlayer?Ct.syncPlayerEvents(Ct.parentPlayer):Ct.destroy()});for(let Ct=0;Ct!sr.destroyed);ao.length?E0t(this,It,ao):this.processLeaveNode(It)}return Z.length=0,No.forEach(Ct=>{this.players.push(Ct),Ct.onDone(()=>{Ct.destroy();const It=this.players.indexOf(Ct);this.players.splice(It,1)}),Ct.play()}),No}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,i,n,s,l){let d=[];if(i){const p=this.playersByQueriedElement.get(a);p&&(d=p)}else{const p=this.playersByElement.get(a);if(p){const f=!l||l==uT;p.forEach(v=>{v.queued||!f&&v.triggerName!=s||d.push(v)})}}return(n||s)&&(d=d.filter(p=>!(n&&n!=p.namespaceId||s&&s!=p.triggerName))),d}_beforeAnimationBuild(a,i,n){const l=i.element,d=i.isRemovalTransition?void 0:a,p=i.isRemovalTransition?void 0:i.triggerName;for(const f of i.timelines){const v=f.element,D=v!==l,E=Tc(n,v,[]);this._getPreviousPlayers(v,D,d,p,i.toState).forEach(L=>{const $=L.getRealPlayer();$.beforeDestroy&&$.beforeDestroy(),L.destroy(),E.push(L)})}zb(l,i.fromStyles)}_buildAnimation(a,i,n,s,l,d){const p=i.triggerName,f=i.element,v=[],D=new Set,E=new Set,F=i.timelines.map($=>{const q=$.element;D.add(q);const Z=q[fu];if(Z&&Z.removedBeforeQueried)return new QA($.duration,$.delay);const se=q!==f,ue=function M0t(r){const a=[];return Cde(r,a),a}((n.get(q)||x0t).map(yt=>yt.getRealPlayer())).filter(yt=>!!yt.element&&yt.element===q),Oe=l.get(q),ze=d.get(q),Ze=Xce(this._normalizer,$.keyframes,Oe,ze),it=this._buildPlayer($,Ze,ue);if($.subTimeline&&s&&E.add(q),se){const yt=new sW(a,p,q);yt.setRealPlayer(it),v.push(yt)}return it});v.forEach($=>{Tc(this.playersByQueriedElement,$.element,[]).push($),$.onDone(()=>function I0t(r,a,i){let n=r.get(a);if(n){if(n.length){const s=n.indexOf(i);n.splice(s,1)}0==n.length&&r.delete(a)}return n}(this.playersByQueriedElement,$.element,$))}),D.forEach($=>pd($,ode));const L=Ef(F);return L.onDestroy(()=>{D.forEach($=>Cx($,ode)),fh(f,i.toStyles)}),E.forEach($=>{Tc(s,$,[]).push(L)}),L}_buildPlayer(a,i,n){return i.length>0?this.driver.animate(a.element,i,a.duration,a.delay,a.easing,n):new QA(a.duration,a.delay)}}class sW{constructor(a,i,n){this.namespaceId=a,this.triggerName=i,this.element=n,this._player=new QA,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((i,n)=>{i.forEach(s=>zU(a,n,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const i=this._player;i.triggerCallback&&a.onStart(()=>i.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,i){Tc(this._queuedCallbacks,a,[]).push(i)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const i=this._player;i.triggerCallback&&i.triggerCallback(a)}}function Y4(r){return r&&1===r.nodeType}function vde(r,a){const i=r.style.display;return r.style.display=a??"none",i}function bde(r,a,i,n,s){const l=[];i.forEach(f=>l.push(vde(f)));const d=[];n.forEach((f,v)=>{const D=new Map;f.forEach(E=>{const F=a.computeStyle(v,E,s);D.set(E,F),(!F||0==F.length)&&(v[fu]=k0t,d.push(v))}),r.set(v,D)});let p=0;return i.forEach(f=>vde(f,l[p++])),d}function yde(r,a){const i=new Map;if(r.forEach(p=>i.set(p,[])),0==a.length)return i;const s=new Set(a),l=new Map;function d(p){if(!p)return 1;let f=l.get(p);if(f)return f;const v=p.parentNode;return f=i.has(v)?v:s.has(v)?1:d(v),l.set(p,f),f}return a.forEach(p=>{const f=d(p);1!==f&&i.get(f).push(p)}),i}function pd(r,a){r.classList?.add(a)}function Cx(r,a){r.classList?.remove(a)}function E0t(r,a,i){Ef(i).onDone(()=>r.processLeaveNode(a))}function Cde(r,a){for(let i=0;is.add(l)):a.set(r,n),i.delete(r),!0}class Q4{constructor(a,i,n){this.bodyNode=a,this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(s,l)=>{},this._transitionEngine=new A0t(a,i,n),this._timelineEngine=new v0t(a,i,n),this._transitionEngine.onRemovalComplete=(s,l)=>this.onRemovalComplete(s,l)}registerTrigger(a,i,n,s,l){const d=a+"-"+s;let p=this._triggerCache[d];if(!p){const f=[],D=QU(this._driver,l,f,[]);if(f.length)throw function yyt(r,a){return new Be(3404,!1)}();p=function g0t(r,a,i){return new m0t(r,a,i)}(s,D,this._normalizer),this._triggerCache[d]=p}this._transitionEngine.registerTrigger(i,s,p)}register(a,i){this._transitionEngine.register(a,i)}destroy(a,i){this._transitionEngine.destroy(a,i)}onInsert(a,i,n,s){this._transitionEngine.insertNode(a,i,n,s)}onRemove(a,i,n){this._transitionEngine.removeNode(a,i,n)}disableAnimations(a,i){this._transitionEngine.markElementAsDisabled(a,i)}process(a,i,n,s){if("@"==n.charAt(0)){const[l,d]=Zce(n);this._timelineEngine.command(l,i,d,s)}else this._transitionEngine.trigger(a,i,n,s)}listen(a,i,n,s,l){if("@"==n.charAt(0)){const[d,p]=Zce(n);return this._timelineEngine.listen(d,i,p,l)}return this._transitionEngine.listen(a,i,n,s,l)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let O0t=(()=>{class r{static#e=this.initialStylesByElement=new WeakMap;constructor(i,n,s){this._element=i,this._startStyles=n,this._endStyles=s,this._state=0;let l=r.initialStylesByElement.get(i);l||r.initialStylesByElement.set(i,l=new Map),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&fh(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fh(this._element,this._initialStyles),this._endStyles&&(fh(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(zb(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zb(this._element,this._endStyles),this._endStyles=null),fh(this._element,this._initialStyles),this._state=3)}}return r})();function aW(r){let a=null;return r.forEach((i,n)=>{(function F0t(r){return"display"===r||"position"===r})(n)&&(a=a||new Map,a.set(n,i))}),a}class xde{constructor(a,i,n,s){this.element=a,this.keyframes=i,this.options=n,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map;const i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const i=[];return a.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(a,i,n){return a.animate(this._convertKeyframesToObject(i),n)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,s)=>{"offset"!==s&&a.set(s,this._finished?n:lde(this.element,s))}),this.currentSnapshot=a}triggerCallback(a){const i="start"===a?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class N0t{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,i){return!1}containsElement(a,i){return ede(a,i)}getParentElement(a){return jU(a)}query(a,i,n){return tde(a,i,n)}computeStyle(a,i,n){return window.getComputedStyle(a)[i]}animate(a,i,n,s,l,d=[]){const f={duration:n,delay:s,fill:0==s?"both":"forwards"};l&&(f.easing=l);const v=new Map,D=d.filter(L=>L instanceof xde);(function jyt(r,a){return 0===r||0===a})(n,s)&&D.forEach(L=>{L.currentSnapshot.forEach(($,q)=>v.set(q,$))});let E=function zyt(r){return r.length?r[0]instanceof Map?r:r.map(a=>rde(a)):[]}(i).map(L=>Mf(L));E=function $yt(r,a,i){if(i.size&&a.length){let n=a[0],s=[];if(i.forEach((l,d)=>{n.has(d)||s.push(d),n.set(d,l)}),s.length)for(let l=1;ld.set(p,lde(r,p)))}}return a}(a,E,v);const F=function P0t(r,a){let i=null,n=null;return Array.isArray(a)&&a.length?(i=aW(a[0]),a.length>1&&(n=aW(a[a.length-1]))):a instanceof Map&&(i=aW(a)),i||n?new O0t(r,i,n):null}(a,E);return new xde(a,E,f,F)}}let L0t=(()=>{class r extends g3{constructor(i,n){super(),this._nextAnimationId=0,this._renderer=i.createRenderer(n.body,{id:"0",encapsulation:xl.None,styles:[],data:{animation:[]}})}build(i){const n=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(i)?RQ(i):i;return kde(this._renderer,null,n,"register",[s]),new B0t(n,this._renderer)}static#e=this.\u0275fac=function(n){return new(n||r)(De(im),De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();class B0t extends eve{constructor(a,i){super(),this._id=a,this._renderer=i}create(a,i){return new V0t(this._id,a,i||{},this._renderer)}}class V0t{constructor(a,i,n,s){this.id=a,this.element=i,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(a,i){return this._renderer.listen(this.element,`@@${this.id}:${a}`,i)}_command(a,...i){return kde(this._renderer,this.element,this.id,a,i)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function kde(r,a,i,n,s){return r.setProperty(a,`@@${i}:${n}`,s)}const Dde="@.disabled";let z0t=(()=>{class r{constructor(i,n,s){this.delegate=i,this.engine=n,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(l,d)=>{const p=d?.parentNode(l);p&&d.removeChild(p,l)}}createRenderer(i,n){const l=this.delegate.createRenderer(i,n);if(!(i&&n&&n.data&&n.data.animation)){let D=this._rendererCache.get(l);return D||(D=new Ade("",l,this.engine,()=>this._rendererCache.delete(l)),this._rendererCache.set(l,D)),D}const d=n.id,p=n.id+"-"+this._currentId;this._currentId++,this.engine.register(p,i);const f=D=>{Array.isArray(D)?D.forEach(f):this.engine.registerTrigger(d,p,i,D.name,D)};return n.data.animation.forEach(f),new H0t(this,p,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(i,n,s){i>=0&&in(s)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[d,p]=l;d(p)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([n,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(n){return new(n||r)(De(im),De(Q4),De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();class Ade{constructor(a,i,n,s){this.namespaceId=a,this.delegate=i,this.engine=n,this._onDestroy=s}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,i){return this.delegate.createElement(a,i)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,i){this.delegate.appendChild(a,i),this.engine.onInsert(this.namespaceId,i,a,!1)}insertBefore(a,i,n,s=!0){this.delegate.insertBefore(a,i,n),this.engine.onInsert(this.namespaceId,i,a,s)}removeChild(a,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(a,i){return this.delegate.selectRootElement(a,i)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,i,n,s){this.delegate.setAttribute(a,i,n,s)}removeAttribute(a,i,n){this.delegate.removeAttribute(a,i,n)}addClass(a,i){this.delegate.addClass(a,i)}removeClass(a,i){this.delegate.removeClass(a,i)}setStyle(a,i,n,s){this.delegate.setStyle(a,i,n,s)}removeStyle(a,i,n){this.delegate.removeStyle(a,i,n)}setProperty(a,i,n){"@"==i.charAt(0)&&i==Dde?this.disableAnimations(a,!!n):this.delegate.setProperty(a,i,n)}setValue(a,i){this.delegate.setValue(a,i)}listen(a,i,n){return this.delegate.listen(a,i,n)}disableAnimations(a,i){this.engine.disableAnimations(a,i)}}class H0t extends Ade{constructor(a,i,n,s,l){super(i,n,s,l),this.factory=a,this.namespaceId=i}setProperty(a,i,n){"@"==i.charAt(0)?"."==i.charAt(1)&&i==Dde?this.disableAnimations(a,n=void 0===n||!!n):this.engine.process(this.namespaceId,a,i.slice(1),n):this.delegate.setProperty(a,i,n)}listen(a,i,n){if("@"==i.charAt(0)){const s=function G0t(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}(a);let l=i.slice(1),d="";return"@"!=l.charAt(0)&&([l,d]=function j0t(r){const a=r.indexOf(".");return[r.substring(0,a),r.slice(a+1)]}(l)),this.engine.listen(this.namespaceId,s,l,d,p=>{this.factory.scheduleListenerCallback(p._data||-1,n,p)})}return this.delegate.listen(a,i,n)}}let $0t=(()=>{class r extends Q4{constructor(i,n,s,l){super(i.body,n,s)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De($U),De(tW),De(qd))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const Ide=[{provide:g3,useClass:L0t},{provide:tW,useFactory:function U0t(){return new d0t}},{provide:Q4,useClass:$0t},{provide:im,useFactory:function W0t(r,a,i){return new z0t(r,a,i)},deps:[ZH,Q4,et]}],lW=[{provide:$U,useFactory:()=>new N0t},{provide:Eo,useValue:"BrowserAnimations"},...Ide],Sde=[{provide:$U,useClass:ide},{provide:Eo,useValue:"NoopAnimations"},...Ide];let q0t=(()=>{class r{static withConfig(i){return{ngModule:r,providers:i.disableAnimations?Sde:lW}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:lW,imports:[GK]})}return r})(),K0t=(()=>{class r extends Zw{constructor(){super(...arguments),this.itemsPerPageLabel="S\u1ed1 m\u1ee5c m\u1ed7i trang:",this.nextPageLabel="Trang k\u1ebf ti\u1ebfp",this.previousPageLabel="Trang tr\u01b0\u1edbc \u0111\xf3",this.firstPageLabel="Trang \u0111\u1ea7u ti\xean",this.lastPageLabel="Trang cu\u1ed1i c\xf9ng",this.getRangeLabel=(i,n,s)=>{if(0===s||0===n)return`0 c\u1ee7a ${s}`;s=Math.max(s,0);const l=i*n+1;return`${l} \u2013 ${Math.min(l+n-1,s)} c\u1ee7a ${s}`}}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),Y0t=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r,bootstrap:[qbt]});static#i=this.\u0275inj=zt({providers:[{provide:wX,useValue:"en-GB"},Rn,[fc],{provide:xC,useClass:BO},{provide:e8,useClass:e8},[r4],VU,{provide:Zw,useClass:K0t}],imports:[A6,GK,Yvt,Zbt,ow,MQ,kit,wve.forRoot({timeOut:2e3,positionClass:"custom-toast",preventDuplicates:!0,closeButton:!0}),q0t,tQe.forRoot({config:{tokenGetter:()=>sessionStorage.getItem("access_token"),allowedDomains:["https://localhost:7138","https://vuanhpham25-001-site1.gtempurl.com"]}}),ype,Pm,Int,ow,wqe,xqe,f_t]})}return r})();window.countdownService=new VU,upe().bootstrapModule(Y0t).catch(r=>console.error(r))},271:(ms,Ya,bl)=>{var Ti;!function(Lo,ft,_h,Ce){"use strict";var Je,Ne=["","webkit","Moz","MS","ms","o"],U=ft.createElement("div"),Te="function",Re=Math.round,ae=Math.abs,K=Date.now;function te(J,ie,we){return setTimeout(ui(J,we),ie)}function Ee(J,ie,we){return!!Array.isArray(J)&&(Le(J,we[ie],we),!0)}function Le(J,ie,we){var We;if(J)if(J.forEach)J.forEach(ie,we);else if(J.length!==Ce)for(We=0;We\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Be=Lo.console&&(Lo.console.warn||Lo.console.log);return Be&&Be.call(Lo.console,We,Ft),J.apply(this,arguments)}}Je="function"!=typeof Object.assign?function(ie){if(ie===Ce||null===ie)throw new TypeError("Cannot convert undefined or null to object");for(var we=Object(ie),We=1;We-1}function Vn(J){return J.trim().split(/\s+/g)}function zn(J,ie,we){if(J.indexOf&&!we)return J.indexOf(ie);for(var We=0;Wehi[ie]}):We.sort()),We}function Qa(J,ie){for(var we,We,ut=ie[0].toUpperCase()+ie.slice(1),Ft=0;Ft1&&!we.firstMultiple?we.firstMultiple=Kb(ie):1===ut&&(we.firstMultiple=!1);var Ft=we.firstInput,Be=we.firstMultiple,Ao=Be?Be.center:Ft.center,Bt=ie.center=ec(We);ie.timeStamp=K(),ie.deltaTime=ie.timeStamp-Ft.timeStamp,ie.angle=Of(Ao,Bt),ie.distance=yh(Ao,Bt),function Cl(J,ie){var we=ie.center,We=J.offsetDelta||{},ut=J.prevDelta||{},Ft=J.prevInput||{};(ie.eventType===Rt||Ft.eventType===lo)&&(ut=J.prevDelta={x:Ft.deltaX||0,y:Ft.deltaY||0},We=J.offsetDelta={x:we.x,y:we.y}),ie.deltaX=ut.x+(we.x-We.x),ie.deltaY=ut.y+(we.y-We.y)}(we,ie),ie.offsetDirection=Yb(ie.deltaX,ie.deltaY);var hi=fd(ie.deltaTime,ie.deltaX,ie.deltaY);ie.overallVelocityX=hi.x,ie.overallVelocityY=hi.y,ie.overallVelocity=ae(hi.x)>ae(hi.y)?hi.x:hi.y,ie.scale=Be?function Mc(J,ie){return yh(ie[0],ie[1],Dr)/yh(J[0],J[1],Dr)}(Be.pointers,We):1,ie.rotation=Be?function Qb(J,ie){return Of(ie[1],ie[0],Dr)+Of(J[1],J[0],Dr)}(Be.pointers,We):0,ie.maxPointers=we.prevInput?ie.pointers.length>we.prevInput.maxPointers?ie.pointers.length:we.prevInput.maxPointers:ie.pointers.length,function qb(J,ie){var ut,Ft,Be,Ao,we=J.lastInterval||ie,We=ie.timeStamp-we.timeStamp;if(ie.eventType!=Hr&&(We>dg||we.velocity===Ce)){var Bt=ie.deltaX-we.deltaX,hi=ie.deltaY-we.deltaY,Xa=fd(We,Bt,hi);Ft=Xa.x,Be=Xa.y,ut=ae(Xa.x)>ae(Xa.y)?Xa.x:Xa.y,Ao=Yb(Bt,hi),J.lastInterval=ie}else ut=we.velocity,Ft=we.velocityX,Be=we.velocityY,Ao=we.direction;ie.velocity=ut,ie.velocityX=Ft,ie.velocityY=Be,ie.direction=Ao}(we,ie);var Xa=J.element;on(ie.srcEvent.target,Xa)&&(Xa=ie.srcEvent.target),ie.target=Xa}(J,we),J.emit("hammer.input",we),J.recognize(we),J.session.prevInput=we}function Kb(J){for(var ie=[],we=0;we=ae(ie)?J<0?_t:Jl:ie<0?ug:hg}function yh(J,ie,we){we||(we=bh);var We=ie[we[0]]-J[we[0]],ut=ie[we[1]]-J[we[1]];return Math.sqrt(We*We+ut*ut)}function Of(J,ie,we){return we||(we=bh),180*Math.atan2(ie[we[1]]-J[we[1]],ie[we[0]]-J[we[0]])/Math.PI}Zn.prototype={handler:function(){},init:function(){this.evEl&&fe(this.element,this.evEl,this.domHandler),this.evTarget&&fe(this.target,this.evTarget,this.domHandler),this.evWin&&fe(vn(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&St(this.element,this.evEl,this.domHandler),this.evTarget&&St(this.target,this.evTarget,this.domHandler),this.evWin&&St(vn(this.element),this.evWin,this.domHandler)}};var fs={mousedown:Rt,mousemove:2,mouseup:lo},Ea="mousedown",Xb="mousemove mouseup";function _d(){this.evEl=Ea,this.evWin=Xb,this.pressed=!1,Zn.apply(this,arguments)}Lt(_d,Zn,{handler:function(ie){var we=fs[ie.type];we&Rt&&0===ie.button&&(this.pressed=!0),2&we&&1!==ie.which&&(we=lo),this.pressed&&(we&lo&&(this.pressed=!1),this.callback(this.manager,we,{pointers:[ie],changedPointers:[ie],pointerType:Cn,srcEvent:ie}))}});var Zb={pointerdown:Rt,pointermove:2,pointerup:lo,pointercancel:Hr,pointerout:Hr},Ff={2:gd,3:"pen",4:Cn,5:"kinect"},Jb="pointerdown",kx="pointermove pointerup pointercancel";function _u(){this.evEl=Jb,this.evWin=kx,Zn.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}Lo.MSPointerEvent&&!Lo.PointerEvent&&(Jb="MSPointerDown",kx="MSPointerMove MSPointerUp MSPointerCancel"),Lt(_u,Zn,{handler:function(ie){var we=this.store,We=!1,ut=ie.type.toLowerCase().replace("ms",""),Ft=Zb[ut],Be=Ff[ie.pointerType]||ie.pointerType,Ao=Be==gd,Bt=zn(we,ie.pointerId,"pointerId");Ft&Rt&&(0===ie.button||Ao)?Bt<0&&(we.push(ie),Bt=we.length-1):Ft&(lo|Hr)&&(We=!0),!(Bt<0)&&(we[Bt]=ie,this.callback(this.manager,Ft,{pointers:we,changedPointers:[ie],pointerType:Be,srcEvent:ie}),We&&we.splice(Bt,1))}});var ey={touchstart:Rt,touchmove:2,touchend:lo,touchcancel:Hr};function Nf(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Zn.apply(this,arguments)}function Ch(J,ie){var we=Ks(J.touches),We=Ks(J.changedTouches);return ie&(lo|Hr)&&(we=Do(we.concat(We),"identifier",!0)),[we,We]}Lt(Nf,Zn,{handler:function(ie){var we=ey[ie.type];if(we===Rt&&(this.started=!0),this.started){var We=Ch.call(this,ie,we);we&(lo|Hr)&&We[0].length-We[1].length==0&&(this.started=!1),this.callback(this.manager,we,{pointers:We[0],changedPointers:We[1],pointerType:gd,srcEvent:ie})}}});var wh={touchstart:Rt,touchmove:2,touchend:lo,touchcancel:Hr},iy="touchstart touchmove touchend touchcancel";function xh(){this.evTarget=iy,this.targetIds={},Zn.apply(this,arguments)}function ny(J,ie){var we=Ks(J.touches),We=this.targetIds;if(ie&(2|Rt)&&1===we.length)return We[we[0].identifier]=!0,[we,we];var ut,Ft,Be=Ks(J.changedTouches),Ao=[],Bt=this.target;if(Ft=we.filter(function(hi){return on(hi.target,Bt)}),ie===Rt)for(ut=0;ut-1&&We.splice(Ft,1)},Ar)}}function sy(J){for(var ie=J.srcEvent.clientX,we=J.srcEvent.clientY,We=0;We-1&&this.requireFail.splice(ie,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(J){return!!this.simultaneous[J.id]},emit:function(J){var ie=this,we=this.state;function We(ut){ie.manager.emit(ut,J)}we<8&&We(ie.options.event+Bf(we)),We(ie.options.event),J.additionalEvent&&We(J.additionalEvent),we>=8&&We(ie.options.event+Bf(we))},tryEmit:function(J){if(this.canEmit())return this.emit(J);this.state=32},canEmit:function(){for(var J=0;Jie.threshold&&ut&ie.direction},attrTest:function(J){return wn.prototype.attrTest.call(this,J)&&(2&this.state||!(2&this.state)&&this.directionTest(J))},emit:function(J){this.pX=J.deltaX,this.pY=J.deltaY;var ie=dy(J.direction);ie&&(J.additionalEvent=this.options.event+ie),this._super.emit.call(this,J)}}),Lt(Pn,wn,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ma]},attrTest:function(J){return this._super.attrTest.call(this,J)&&(Math.abs(J.scale-1)>this.options.threshold||2&this.state)},emit:function(J){1!==J.scale&&(J.additionalEvent=this.options.event+(J.scale<1?"in":"out")),this._super.emit.call(this,J)}}),Lt(Dt,nc,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(J){var ie=this.options,we=J.pointers.length===ie.pointers,We=J.distanceie.time;if(this._input=J,!We||!we||J.eventType&(lo|Hr)&&!ut)this.reset();else if(J.eventType&Rt)this.reset(),this._timer=te(function(){this.state=8,this.tryEmit()},ie.time,this);else if(J.eventType&lo)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(J){8===this.state&&(J&&J.eventType&lo?this.manager.emit(this.options.event+"up",J):(this._input.timeStamp=K(),this.manager.emit(this.options.event,this._input)))}}),Lt(bd,wn,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ma]},attrTest:function(J){return this._super.attrTest.call(this,J)&&(Math.abs(J.rotation)>this.options.threshold||2&this.state)}}),Lt(kh,wn,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:yl|md,pointers:1},getTouchAction:function(){return rn.prototype.getTouchAction.call(this)},attrTest:function(J){var we,ie=this.options.direction;return ie&(yl|md)?we=J.overallVelocity:ie&yl?we=J.overallVelocityX:ie&md&&(we=J.overallVelocityY),this._super.attrTest.call(this,J)&&ie&J.offsetDirection&&J.distance>this.options.threshold&&J.maxPointers==this.options.pointers&&ae(we)>this.options.velocity&&J.eventType&lo},emit:function(J){var ie=dy(J.offsetDirection);ie&&this.manager.emit(this.options.event+ie,J),this.manager.emit(this.options.event,J)}}),Lt(Jn,nc,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[vo]},process:function(J){var ie=this.options,we=J.pointers.length===ie.pointers,We=J.distance{},22:()=>{},45:()=>{},190:()=>{},333:()=>{},139:()=>{}},ms=>{ms(ms.s=842)}]); \ No newline at end of file + `}}PI.styles=ZJ(':host{display:block;position:absolute;bottom:0;right:0;width:100%;height:100%;z-index:10000;pointer-events:none}[part=link]{position:absolute;display:inline-flex;align-items:center;bottom:0;right:0;font-family:Titillium Web,sans-serif;font-size:.875rem;padding:.125rem .25rem;line-height:normal;border:1px solid var(--igx-watermark-border-color, var(--border-color, var(--igx-watermark-base-color, var(--base-color, #09f))));border-radius:var(--igx-watermark-border-radius, var(--border-radius, .125rem));color:var(--igx-watermark-color, var(--color, #fff));z-index:10002;background-color:var(--igx-watermark-link-background, var(--link-background, var(--igx-watermark-base-color, var(--base-color, #09f))));pointer-events:all;text-decoration:none}[part=link] svg{width:1.125rem;height:1.125rem;fill:currentColor;margin-inline-end:.25rem}[part=image]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:10001;pointer-events:none;background-color:var(--igx-watermark-image-color, var(--image-color, color-mix(in srgb, var(--igx-watermark-base-color, var(--base-color, #09f)) var(--igx-watermark-image-opacity, var(--image-opacity, 15%)), transparent)));mask-image:var(--igx-watermark-background-image, var(--background-image, url(\'data:image/svg+xml;utf8,\')));mask-size:12.5rem 9.375rem;mask-position:top left;-webkit-mask-image:var(--igx-watermark-background-image, var(--background-image, url(\'data:image/svg+xml;utf8,\')));-webkit-mask-position:top left}\n'),PI.tagName="igc-trial-watermark",kee([wee({attribute:"text"})],PI.prototype,"text",2),kee([wee({attribute:"url"})],PI.prototype,"url",2);typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);new Uint8Array(16);const Ca=[];for(let r=0;r<256;++r)Ca.push((r+256).toString(16).slice(1));const DAe=["noLigature"],AAe=["explicitLigature"],IAe=["svgImage"];function SAe(r,a){}function TAe(r,a){1&r&&Ie(0)}function EAe(r,a){1&r&&Q(0,"div",4),2&r&&x("innerHTML",S().getSvg,il)}function MAe(r,a){1&r&&ye(0)}const Oo=["*"];const Tn=function(r){return{$implicit:r}};const Oee=["defaultIndicator"],nTe=["defaultNextButton"],oTe=["defaultPrevButton"];function rTe(r,a){1&r&&Q(0,"div",7),2&r&&Se("igx-nav-dot--active",a.$implicit.active)}function sTe(r,a){1&r&&(C(0,"span",8)(1,"igx-icon"),P(2,"arrow_forward"),k()()),2&r&&Se("igx-nav-arrow--disabled",a.$implicit)}function aTe(r,a){1&r&&(C(0,"span",8)(1,"igx-icon"),P(2,"arrow_back"),k()()),2&r&&Se("igx-nav-arrow--disabled",a.$implicit)}function lTe(r,a){1&r&&ye(0)}function cTe(r,a){if(1&r){const i=ce();C(0,"div",11),B("click",function(){const l=z(i).$implicit;return H(S(2).select(l))}),I(1,lTe,1,0,"ng-container",12),k()}if(2&r){const i=a.$implicit,n=S(2);x("id","tab-"+i.index+"-"+n.total),ge("role","tab")("aria-label",n.resourceStrings.igx_carousel_slide+" "+(i.index+1)+" "+n.resourceStrings.igx_carousel_of+" "+n.total)("aria-controls","panel-"+i.index)("aria-selected",i.active),y(1),x("ngTemplateOutlet",n.getIndicatorTemplate)("ngTemplateOutletContext",Wt(7,Tn,i))}}function dTe(r,a){if(1&r&&(C(0,"div",9),I(1,cTe,2,9,"div",10),k()),2&r){const i=S();x("ngClass",i.indicatorsOrientationClass),ge("role","tablist"),y(1),x("ngForOf",i.slides)}}function uTe(r,a){if(1&r&&(C(0,"div",9)(1,"span",13),P(2),k()()),2&r){const i=S();x("ngClass",i.indicatorsOrientationClass),y(1),x("id",i.labelId),y(1),_e(i.getCarouselLabel)}}function hTe(r,a){1&r&&ye(0)}function pTe(r,a){if(1&r){const i=ce();C(0,"div",14),B("keydown.enter",function(){return z(i),H(S().prev())})("click",function(){return z(i),H(S().prev())}),I(1,hTe,1,0,"ng-container",12),k()}if(2&r){const i=S();ge("aria-label",i.resourceStrings.igx_carousel_previous_slide),y(1),x("ngTemplateOutlet",i.getPrevButtonTemplate)("ngTemplateOutletContext",Wt(3,Tn,i.prevButtonDisabled))}}function gTe(r,a){1&r&&ye(0)}function mTe(r,a){if(1&r){const i=ce();C(0,"div",15),B("keydown.enter",function(){return z(i),H(S().next())})("click",function(){return z(i),H(S().next())}),I(1,gTe,1,0,"ng-container",12),k()}if(2&r){const i=S();ge("aria-label",i.resourceStrings.igx_carousel_next_slide),y(1),x("ngTemplateOutlet",i.getNextButtonTemplate)("ngTemplateOutletContext",Wt(3,Tn,i.nextButtonDisabled))}}var yw=function(r){return r[r.Quad="cubic-bezier(0.550, 0.085, 0.680, 0.530)"]="Quad",r[r.Cubic="cubic-bezier(0.550, 0.055, 0.675, 0.190)"]="Cubic",r[r.Quart="cubic-bezier(0.895, 0.030, 0.685, 0.220)"]="Quart",r[r.Quint="cubic-bezier(0.755, 0.050, 0.855, 0.060)"]="Quint",r[r.Sine="cubic-bezier(0.470, 0.000, 0.745, 0.715)"]="Sine",r[r.Expo="cubic-bezier(0.950, 0.050, 0.795, 0.035)"]="Expo",r[r.Circ="cubic-bezier(0.600, 0.040, 0.980, 0.335)"]="Circ",r[r.Back="cubic-bezier(0.600, -0.280, 0.735, 0.045)"]="Back",r}(yw||{}),jl=function(r){return r[r.Quad="cubic-bezier(0.250, 0.460, 0.450, 0.940)"]="Quad",r[r.Cubic="cubic-bezier(0.215, 0.610, 0.355, 1.000)"]="Cubic",r[r.Quart="cubic-bezier(0.165, 0.840, 0.440, 1.000)"]="Quart",r[r.Quint="cubic-bezier(0.230, 1.000, 0.320, 1.000)"]="Quint",r[r.Sine="cubic-bezier(0.390, 0.575, 0.565, 1.000)"]="Sine",r[r.Expo="cubic-bezier(0.190, 1.000, 0.220, 1.000)"]="Expo",r[r.Circ="cubic-bezier(0.075, 0.820, 0.165, 1.000)"]="Circ",r[r.Back="cubic-bezier(0.175, 0.885, 0.320, 1.275)"]="Back",r}(jl||{}),ote=function(r){return r[r.Quad="cubic-bezier(0.455, 0.030, 0.515, 0.955)"]="Quad",r[r.Cubic="cubic-bezier(0.645, 0.045, 0.355, 1.000)"]="Cubic",r[r.Quart="cubic-bezier(0.770, 0.000, 0.175, 1.000)"]="Quart",r[r.Quint="cubic-bezier(0.860, 0.000, 0.070, 1.000)"]="Quint",r[r.Sine="cubic-bezier(0.445, 0.050, 0.550, 0.950)"]="Sine",r[r.Expo="cubic-bezier(1.000, 0.000, 0.000, 1.000)"]="Expo",r[r.Circ="cubic-bezier(0.785, 0.135, 0.150, 0.860)"]="Circ",r[r.Back="cubic-bezier(0.680, -0.550, 0.265, 1.550)"]="Back",r}(ote||{});const rte=[gt({opacity:"{{startOpacity}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{endOpacity}}"}))],dl=nt(rte,{params:{delay:"0s",duration:"350ms",easing:jl.Sine,endOpacity:1,startOpacity:0}}),Gm=(nt(rte,{params:{delay:"0s",duration:"350ms",easing:jl.Sine,endOpacity:0,startOpacity:1}}),[gt({backfaceVisibility:"hidden",transformStyle:"preserve-3d"}),Di("{{duration}} {{delay}} {{easing}}",Zd([gt({offset:0,transform:"translateZ({{startDistance}})\n rotate3d({{rotateX}}, {{rotateY}}, {{rotateZ}}, {{startAngle}}deg)"}),gt({offset:1,transform:"translateZ({{endDistance}})\n rotate3d({{rotateX}}, {{rotateY}}, {{rotateZ}}, {{endAngle}}deg)"})]))]),jm={delay:"0s",duration:"600ms",easing:jl.Quad,endAngle:180,endDistance:"0px",rotateX:1,rotateY:0,rotateZ:0,startAngle:0,startDistance:"0px"},$o=(nt(Gm,{params:{...jm}}),nt(Gm,{params:{...jm,endAngle:-180}}),nt(Gm,{params:{...jm,rotateX:0,rotateY:1}}),nt(Gm,{params:{...jm,endAngle:-180,rotateX:0,rotateY:1}}),nt(Gm,{params:{...jm,endDistance:"170px"}}),nt(Gm,{params:{...jm,endDistance:"-170px"}}),nt(Gm,{params:{...jm,endDistance:"170px",rotateX:0,rotateY:1}}),nt(Gm,{params:{...jm,endDistance:"-170px",rotateX:0,rotateY:1}}),[gt({opacity:"{{startOpacity}}",transform:"rotate3d({{rotateX}},{{rotateY}},{{rotateZ}},{{startAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({offset:0,opacity:"{{endOpacity}}",transform:"rotate3d({{rotateX}},{{rotateY}},{{rotateZ}},{{endAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}))]),$l={delay:"0s",duration:"600ms",easing:jl.Quad,endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,xPos:"center",yPos:"center"},bc={...$l,easing:yw.Quad,endOpacity:0,startOpacity:1},su=(nt($o,{params:{...$l}}),nt($o,{params:{...bc}}),nt($o,{params:{...$l,xPos:"top"}}),nt($o,{params:{...bc,xPos:"top"}}),nt($o,{params:{...$l,xPos:"right"}}),nt($o,{params:{...bc,xPos:"right"}}),nt($o,{params:{...$l,xPos:"bottom"}}),nt($o,{params:{...bc,xPos:"bottom"}}),nt($o,{params:{...$l,xPos:"left"}}),nt($o,{params:{...bc,xPos:"left"}}),nt($o,{params:{...$l,xPos:"right",yPos:"top"}}),nt($o,{params:{...bc,xPos:"right",yPos:"top"}}),nt($o,{params:{...$l,xPos:"right",yPos:"bottom"}}),nt($o,{params:{...bc,xPos:"right",yPos:"bottom"}}),nt($o,{params:{...$l,xPos:"left",yPos:"bottom"}}),nt($o,{params:{...bc,xPos:"left",yPos:"bottom"}}),nt($o,{params:{...$l,xPos:"left",yPos:"top"}}),nt($o,{params:{...bc,xPos:"left",yPos:"top"}}),nt($o,{params:{...$l,rotateX:1,rotateY:1,rotateZ:0}}),nt($o,{params:{...bc,rotateX:1,rotateY:1,rotateZ:0}}),nt($o,{params:{...$l,rotateX:-1,rotateY:1,rotateZ:0}}),nt($o,{params:{...bc,rotateX:-1,rotateY:1,rotateZ:0}}),nt($o,{params:{...$l,rotateX:0,rotateY:1,rotateZ:0}}),nt($o,{params:{...bc,rotateX:0,rotateY:1,rotateZ:0}}),nt($o,{params:{...$l,rotateX:1,rotateY:0,rotateZ:0}}),nt($o,{params:{...bc,rotateX:1,rotateY:0,rotateZ:0}}),[Di("{{duration}} {{delay}} {{easing}}",Zd([gt({offset:0,transform:"rotate(0deg) translate{{direction}}(0)",transformOrigin:"{{xPos}} {{yPos}}"}),gt({offset:.1,transform:"rotate({{endAngle}}deg) translate{{direction}}(-{{startDistance}})"}),gt({offset:.2,transform:"rotate(-{{startAngle}}deg) translate{{direction}}({{startDistance}})"}),gt({offset:.3,transform:"rotate({{startAngle}}deg) translate{{direction}}(-{{startDistance}})"}),gt({offset:.4,transform:"rotate(-{{startAngle}}deg) translate{{direction}}({{startDistance}})"}),gt({offset:.5,transform:"rotate({{startAngle}}deg) translate{{direction}}(-{{startDistance}})"}),gt({offset:.6,transform:"rotate(-{{startAngle}}deg) translate{{direction}}({{startDistance}})"}),gt({offset:.7,transform:"rotate({{startAngle}}deg) translate{{direction}}(-{{startDistance}})"}),gt({offset:.8,transform:"rotate(-{{endAngle}}deg) translate{{direction}}({{endDistance}})"}),gt({offset:.9,transform:"rotate({{endAngle}}deg) translate{{direction}}(-{{endDistance}})"}),gt({offset:1,transform:"rotate(0deg) translate{{direction}}(0)",transformOrigin:"{{xPos}} {{yPos}}"})]))]),au={delay:"0s",direction:"X",duration:"800ms",easing:ote.Quad,endAngle:0,endDistance:"8px",startAngle:0,startDistance:"10px",xPos:"center",yPos:"center"},O9e=(nt(su,{params:{...au,direction:"X"}}),nt(su,{params:{...au,direction:"Y"}}),nt(su,{params:{...au,endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",yPos:"top"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",yPos:"bottom"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"right",yPos:"center"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"left",yPos:"center"}}),nt(su,{params:{...au,direction:"Y",endAngle:8,endDistance:"0",startAngle:10,startDistance:"0",xPos:"center",yPos:"center"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"right",yPos:"top"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"right",yPos:"bottom"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"left",yPos:"bottom"}}),nt(su,{params:{...au,direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"left",yPos:"top"}}),[gt({animationTimingFunction:"ease-out",transform:"scale(1)",transformOrigin:"center center"}),Di("{{duration}} {{delay}} {{easing}}",Zd([gt({animationTimingFunction:"ease-in",offset:.1,transform:"scale(0.91)"}),gt({animationTimingFunction:"ease-out",offset:.17,transform:"scale(0.98)"}),gt({animationTimingFunction:"ease-in",offset:.33,transform:"scale(0.87)"}),gt({animationTimingFunction:"ease-out",offset:.45,transform:"scale(1)"})]))]),Ite=[Di("{{duration}} {{delay}} {{easing}}",Zd([gt({offset:0,transform:"scale({{fromScale}})"}),gt({offset:.5,transform:"scale({{toScale}})"}),gt({offset:1,transform:"scale({{fromScale}})"})]))],Ste={delay:"0s",duration:".5s",easing:"ease-in-out",fromScale:1,toScale:1.1},N9e=[Di("{{duration}} {{delay}} {{easing}}",Zd([gt({offset:0,opacity:.8,transform:"scale({{fromScale}})"}),gt({offset:.8,opacity:0,transform:"scale({{midScale}})"}),gt({offset:1,opacity:0,transform:"scale({{toScale}})"})]))],oo=(nt(Ite,{params:{...Ste}}),nt(Ite,{params:{...Ste,toScale:.9}}),nt(O9e,{params:{delay:"0s",duration:"1.5s",easing:"ease-in-out"}}),nt(N9e,{params:{delay:"0s",duration:".8s",easing:"ease-in-out",fromScale:.2,midScale:1.2,toScale:2.2}}),[gt({opacity:"{{startOpacity}}",transform:"scale{{direction}}({{fromScale}})",transformOrigin:"{{xPos}} {{yPos}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{endOpacity}}",transform:"scale{{direction}}({{toScale}})",transformOrigin:"{{xPos}} {{yPos}}"}))]),ja={delay:"0s",direction:"",duration:"350ms",easing:jl.Quad,endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"50%",yPos:"50%"},ul={...ja,easing:jl.Sine,endOpacity:0,fromScale:1,startOpacity:1,toScale:.5},$a=(nt(oo,{params:ja}),nt(oo,{params:{...ja,xPos:"0",yPos:"100%"}}),nt(oo,{params:{...ja,direction:"Y",fromScale:.4}}),nt(oo,{params:{...ja,xPos:"50%",yPos:"0"}}),nt(oo,{params:{...ja,xPos:"0",yPos:"50%"}}),nt(oo,{params:{...ja,direction:"Y",fromScale:.4,xPos:"100%",yPos:"0"}}),nt(oo,{params:{...ja,xPos:"100%",yPos:"0"}}),nt(oo,{params:{...ja,xPos:"0",yPos:"0"}}),nt(oo,{params:{...ja,direction:"Y",fromScale:.4,xPos:"0",yPos:"100%"}}),nt(oo,{params:{...ja,xPos:"100%",yPos:"50%"}}),nt(oo,{params:{...ja,direction:"X",fromScale:.4}}),nt(oo,{params:{...ja,xPos:"100%",yPos:"100%"}}),nt(oo,{params:{...ja,direction:"X",fromScale:.4,xPos:"0",yPos:"0"}}),nt(oo,{params:{...ja,xPos:"50%",yPos:"100%"}}),nt(oo,{params:{...ja,direction:"X",fromScale:.4,xPos:"100%",yPos:"100%"}}),nt(oo,{params:ul}),nt(oo,{params:{...ul,xPos:"0",yPos:"100%"}}),nt(oo,{params:{...ul,xPos:"100%",yPos:"100%"}}),nt(oo,{params:{...ul,direction:"Y",toScale:.3}}),nt(oo,{params:{...ul,direction:"Y",toScale:.3,xPos:"100%",yPos:"0"}}),nt(oo,{params:{...ul,direction:"Y",toScale:.3,xPos:"0",yPos:"100%"}}),nt(oo,{params:{...ul,xPos:"50%",yPos:"0"}}),nt(oo,{params:{...ul,xPos:"0",yPos:"50%"}}),nt(oo,{params:{...ul,xPos:"100%",yPos:"0"}}),nt(oo,{params:{...ul,xPos:"0",yPos:"0"}}),nt(oo,{params:{...ul,xPos:"100%",yPos:"50%"}}),nt(oo,{params:{...ul,xPos:"50%",yPos:"100%"}}),nt(oo,{params:{...ul,direction:"X",toScale:.3}}),nt(oo,{params:{...ul,direction:"X",toScale:.3,xPos:"0",yPos:"0"}}),nt(oo,{params:{...ul,direction:"X",toScale:.3,xPos:"100%",yPos:"100%"}}),[gt({opacity:"{{startOpacity}}",transform:"{{fromPosition}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{endOpacity}}",transform:"{{toPosition}}"}))]),LI={delay:"0s",duration:"350ms",easing:jl.Quad,endOpacity:1,fromPosition:"translateY(-500px)",startOpacity:0,toPosition:"translateY(0)"},Wv={delay:"0s",duration:"350ms",easing:yw.Quad,endOpacity:0,fromPosition:"translateY(0)",startOpacity:1,toPosition:"translateY(-500px)"},qv=(nt($a,{params:LI}),nt($a,{params:{delay:"0s",duration:"350ms",easing:jl.Quad,endOpacity:1,fromPosition:"translateX(-500px)",startOpacity:0,toPosition:"translateY(0)"}})),Ua=(nt($a,{params:{delay:"0s",duration:"350ms",easing:jl.Quad,endOpacity:1,fromPosition:"translateX(500px)",startOpacity:0,toPosition:"translateY(0)"}}),nt($a,{params:{delay:"0s",duration:"350ms",easing:jl.Quad,endOpacity:1,fromPosition:"translateY(500px)",startOpacity:0,toPosition:"translateY(0)"}}),nt($a,{params:{...LI,fromPosition:"translateY(-500px) translateX(500px)",toPosition:"translateY(0) translateX(0)"}}),nt($a,{params:{...LI,fromPosition:"translateY(-500px) translateX(-500px)",toPosition:"translateY(0) translateX(0)"}}),nt($a,{params:{...LI,fromPosition:"translateY(500px) translateX(500px)",toPosition:"translateY(0) translateX(0)"}}),nt($a,{params:{...LI,fromPosition:"translateY(500px) translateX(-500px)",toPosition:"translateY(0) translateX(0)"}}),nt($a,{params:Wv}),nt($a,{params:{...Wv,toPosition:"translateX(500px)"}}),nt($a,{params:{delay:"0s",duration:"350ms",easing:yw.Quad,endOpacity:0,fromPosition:"translateY(0)",startOpacity:1,toPosition:"translateY(500px)"}}),nt($a,{params:{...Wv,toPosition:"translateX(-500px)"}}),nt($a,{params:{...Wv,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(-500px) translateX(500px)"}}),nt($a,{params:{...Wv,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(500px) translateX(500px)"}}),nt($a,{params:{...Wv,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(500px) translateX(-500px)"}}),nt($a,{params:{...Wv,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(-500px) translateX(-500px)"}}),[gt({opacity:"{{startOpacity}}",transform:"rotate{{direction}}({{startAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{endOpacity}}",transform:"rotate{{direction}}({{endAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}))]),$p={delay:"0s",direction:"X",duration:".5s",easing:jl.Back,endAngle:0,endOpacity:1,startAngle:-100,startOpacity:0,xPos:"top",yPos:"center"},$m={...$p,duration:".55s",easing:yw.Back,endAngle:70,endOpacity:0,startAngle:0,startOpacity:1},Bte=(nt(Ua,{params:{...$p}}),nt(Ua,{params:{...$p,direction:"Y",xPos:"center",yPos:"right"}}),nt(Ua,{params:{...$p,startAngle:100,xPos:"bottom"}}),nt(Ua,{params:{...$p,direction:"Y",startAngle:100,xPos:"center",yPos:"left"}}),nt(Ua,{params:{...$p,duration:".6s",startAngle:70}}),nt(Ua,{params:{...$p,direction:"Y",duration:".6s",startAngle:70,xPos:"center",yPos:"right"}}),nt(Ua,{params:{...$p,duration:".6s",startAngle:-70,xPos:"bottom"}}),nt(Ua,{params:{...$p,direction:"Y",duration:".6s",startAngle:-70,xPos:"center",yPos:"left"}}),nt(Ua,{params:{...$m}}),nt(Ua,{params:{...$m,direction:"Y",xPos:"center",yPos:"right"}}),nt(Ua,{params:{...$m,endAngle:-70,xPos:"bottom"}}),nt(Ua,{params:{...$m,direction:"Y",endAngle:-70,xPos:"center",yPos:"left"}}),nt(Ua,{params:{...$m,duration:".45s",endAngle:-100}}),nt(Ua,{params:{...$m,direction:"Y",duration:".45s",endAngle:-100,xPos:"center",yPos:"right"}}),nt(Ua,{params:{...$m,duration:".45s",endAngle:100,xPos:"bottom"}}),nt(Ua,{params:{...$m,direction:"Y",duration:".45s",endAngle:100,xPos:"center",yPos:"left"}}),[gt({opacity:"{{ startOpacity }}",height:"{{ startHeight }}",paddingBlock:"{{ startPadding }}"}),Di("{{duration}} {{delay}} {{easing}}",gt({opacity:"{{ endOpacity }}",height:"{{ endHeight }}",paddingBlock:"{{ endPadding }}"}))]),Vte={delay:"0s",duration:"350ms",easing:yw.Quad,startOpacity:0,endOpacity:1,startHeight:"",endHeight:"",startPadding:"",endPadding:""};nt(Bte,{params:{...Vte,easing:jl.Quad,startOpacity:0,endOpacity:1,startHeight:"0px",endHeight:"*",startPadding:"0px",endPadding:"*"}}),nt(Bte,{params:{...Vte,easing:jl.Quad,startOpacity:1,endOpacity:0,startHeight:"*",endHeight:"0px",startPadding:"*",endPadding:"0px"}});const nr=r=>{if(wa(r))return new Date(r.getTime());if(Array.isArray(r))return[...r];if(r instanceof Map||r instanceof Set)return r;if(Um(r)){const a={};for(const i of Object.keys(r))a[i]=nr(r[i]);return a}return r},Um=r=>!(!r||"[object Object]"!==r.toString()),wa=r=>r instanceof Date;let ti=(()=>{class r{constructor(i){this.platformId=i,this.isBrowser=kK(this.platformId),this.isIOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.isFirefox=this.isBrowser&&/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent),this.isEdge=this.isBrowser&&/Edge[\/\s](\d+\.\d+)/.test(navigator.userAgent),this.isChromium=this.isBrowser&&(/Chrom|e?ium/g.test(navigator.userAgent)||/Google Inc/g.test(navigator.vendor))&&!/Edge/g.test(navigator.userAgent),this.KEYMAP={ENTER:"Enter",SPACE:" ",ESCAPE:"Escape",ARROW_DOWN:"ArrowDown",ARROW_UP:"ArrowUp",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",END:"End",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",F2:"F2",TAB:"Tab",SEMICOLON:";",DELETE:"Delete",BACKSPACE:"Backspace",CONTROL:"Control",X:"x",Y:"y",Z:"z"}}getNodeSizeViaRange(i,n,s){let d,l=null;if(this.isFirefox||(l=n.style.overflow,n.style.overflow="visible"),s){const v=s.style;d=[v.width,v.minWidth,v.flexBasis],v.width="",v.minWidth="",v.flexBasis=""}i.selectNodeContents(n);const p=n.getBoundingClientRect().width/n.offsetWidth,f=i.getBoundingClientRect().width/p;return this.isFirefox||(n.style.overflow=l),s&&(s.style.width=d[0],s.style.minWidth=d[1],s.style.flexBasis=d[2]),f}isActivationKey(i){return i.key===this.KEYMAP.ENTER||i.key===this.KEYMAP.SPACE}isFilteringKeyCombo(i){return i.key===this.KEYMAP.ESCAPE||i.ctrlKey&&i.shiftKey&&"l"===i.key.toLowerCase()}isLeftClick(i){return 0===i.button}isNavigationKey(i){return[this.KEYMAP.HOME,this.KEYMAP.END,this.KEYMAP.SPACE,this.KEYMAP.ARROW_DOWN,this.KEYMAP.ARROW_LEFT,this.KEYMAP.ARROW_RIGHT,this.KEYMAP.ARROW_UP].includes(i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Ld))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Wm=new Set(["down","up","left","right","arrowdown","arrowup","arrowleft","arrowright","home","end","space","spacebar"," "]),$te=(new Set("up down arrowup arrowdown home end".split(" ")),new Set("right down arrowright arrowdown".split(" ")),new Set("left up arrowleft arrowup".split(" ")),new Set(["+","add","\u2260","\xb1","="])),Ute=(Array.from(Wm),Array.from($te),Array.from(Wm),(r,a)=>{if(!a)return!r;if(r.size!==a.size)return!1;let i=!0;const n=Array.from(a.keys());for(const s of n)if(i=!!r.has(s)&&r.get(s)===a.get(s),!i)break;return i});new pv(void 0);class Sje{get position(){return this._innerPlayer.getPosition()}set position(a){this.internalPlayer.setPosition(a)}constructor(a){this.internalPlayer=a,this.animationStart=new X,this.animationEnd=new X,this.internalPlayer.onDone(()=>this.onDone());const i=this.internalPlayer._renderer;this._innerPlayer=i.engine.players[i.engine.players.length-1]}init(){this.internalPlayer.init()}play(){this.animationStart.emit({owner:this}),this.internalPlayer.play()}finish(){this.internalPlayer.finish()}reset(){this.internalPlayer.reset(),this.internalPlayer._started=!1}destroy(){this.internalPlayer.destroy()}hasStarted(){return this.internalPlayer.hasStarted()}onDone(){this.animationEnd.emit({owner:this})}}let nh=(()=>{class r{constructor(i){this.builder=i}buildAnimation(i,n){if(!i)return null;const s=this.builder.build(i);return new Sje(s.create(n))}static#e=this.\u0275fac=function(n){return new(n||r)(De(g3))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();new $e("IgxDropDownBaseToken"),new $e("DisplayDensity");const rie={igx_grid_groupByArea_message:"Drag a column header and drop it here to group by that column.",igx_grid_groupByArea_select_message:"Select all rows in the group with field name {0} and value {1}.",igx_grid_groupByArea_deselect_message:"Deselect all rows in the group with field name {0} and value {1}.",igx_grid_emptyFilteredGrid_message:"No records found.",igx_grid_emptyGrid_message:"Grid has no data.",igx_grid_filter:"Filter",igx_grid_filter_row_close:"Close",igx_grid_filter_row_reset:"Reset",igx_grid_filter_row_placeholder:"Add filter value",igx_grid_filter_row_boolean_placeholder:"All",igx_grid_filter_row_date_placeholder:"Pick up date",igx_grid_filter_row_time_placeholder:"Pick up time",igx_grid_filter_operator_and:"And",igx_grid_filter_operator_or:"Or",igx_grid_complex_filter:"Complex Filter",igx_grid_filter_contains:"Contains",igx_grid_filter_doesNotContain:"Does Not Contain",igx_grid_filter_startsWith:"Starts With",igx_grid_filter_endsWith:"Ends With",igx_grid_filter_equals:"Equals",igx_grid_filter_doesNotEqual:"Does Not Equal",igx_grid_filter_empty:"Empty",igx_grid_filter_notEmpty:"Not Empty",igx_grid_filter_null:"Null",igx_grid_filter_notNull:"Not Null",igx_grid_filter_before:"Before",igx_grid_filter_after:"After",igx_grid_filter_at:"At",igx_grid_filter_not_at:"Not At",igx_grid_filter_at_before:"At or Before",igx_grid_filter_at_after:"At or After",igx_grid_filter_today:"Today",igx_grid_filter_yesterday:"Yesterday",igx_grid_filter_thisMonth:"This Month",igx_grid_filter_lastMonth:"Last Month",igx_grid_filter_nextMonth:"Next Month",igx_grid_filter_thisYear:"This Year",igx_grid_filter_lastYear:"Last Year",igx_grid_filter_nextYear:"Next Year",igx_grid_filter_greaterThan:"Greater Than",igx_grid_filter_lessThan:"Less Than",igx_grid_filter_greaterThanOrEqualTo:"Greater Than Or Equal To",igx_grid_filter_lessThanOrEqualTo:"Less Than Or Equal To",igx_grid_filter_true:"True",igx_grid_filter_false:"False",igx_grid_filter_all:"All",igx_grid_filter_condition_placeholder:"Select filter",igx_grid_summary_count:"Count",igx_grid_summary_min:"Min",igx_grid_summary_max:"Max",igx_grid_summary_sum:"Sum",igx_grid_summary_average:"Avg",igx_grid_summary_earliest:"Earliest",igx_grid_summary_latest:"Latest",igx_grid_excel_filter_moving_left:"move left",igx_grid_excel_filter_moving_left_short:"left",igx_grid_excel_filter_moving_right:"move right",igx_grid_excel_filter_moving_right_short:"right",igx_grid_excel_filter_moving_header:"move",igx_grid_excel_filter_sorting_asc:"ascending",igx_grid_excel_filter_sorting_asc_short:"asc",igx_grid_excel_filter_sorting_desc:"descending",igx_grid_excel_filter_sorting_desc_short:"desc",igx_grid_excel_filter_sorting_header:"sort",igx_grid_excel_filter_clear:"Clear column filters",igx_grid_excel_custom_dialog_add:"add filter",igx_grid_excel_custom_dialog_clear:"Clear filter",igx_grid_excel_custom_dialog_header:"Custom auto-filter on column: ",igx_grid_excel_cancel:"cancel",igx_grid_excel_apply:"apply",igx_grid_excel_search_placeholder:"Search",igx_grid_excel_select_all:"Select All",igx_grid_excel_select_all_search_results:"Select all search results",igx_grid_excel_add_to_filter:"Add current selection to filter",igx_grid_excel_blanks:"(Blanks)",igx_grid_excel_hide:"Hide column",igx_grid_excel_show:"Show column",igx_grid_excel_pin:"Pin column",igx_grid_excel_unpin:"Unpin column",igx_grid_excel_select:"Select column",igx_grid_excel_deselect:"Deselect column",igx_grid_excel_text_filter:"Text filter",igx_grid_excel_number_filter:"Number filter",igx_grid_excel_date_filter:"Date filter",igx_grid_excel_boolean_filter:"Boolean filter",igx_grid_excel_currency_filter:"Currency filter",igx_grid_excel_custom_filter:"Custom filter...",igx_grid_excel_no_matches:"No matches",igx_grid_excel_matches_count:"{0} matches.",igx_grid_advanced_filter_title:"Advanced Filtering",igx_grid_advanced_filter_and_group:'"And" Group',igx_grid_advanced_filter_or_group:'"Or" Group',igx_grid_advanced_filter_end_group:"End Group",igx_grid_advanced_filter_create_and_group:'Create "And" Group',igx_grid_advanced_filter_create_or_group:'Create "Or" Group',igx_grid_advanced_filter_and_label:"and",igx_grid_advanced_filter_or_label:"or",igx_grid_advanced_filter_add_condition:"Condition",igx_grid_advanced_filter_ungroup:"Ungroup",igx_grid_advanced_filter_delete:"Delete",igx_grid_advanced_filter_delete_filters:"Delete filters",igx_grid_advanced_filter_initial_text:'Start with creating a group of conditions linked with "And" or "Or"',igx_grid_advanced_filter_column_placeholder:"Select column",igx_grid_advanced_filter_value_placeholder:"Value",igx_grid_pinned_row_indicator:"Pinned",igx_grid_hiding_check_all_label:"Show All",igx_grid_hiding_uncheck_all_label:"Hide All",igx_grid_pinning_check_all_label:"Pin All",igx_grid_pinning_uncheck_all_label:"Unpin All",igx_grid_row_edit_btn_done:"Done",igx_grid_row_edit_btn_cancel:"Cancel",igx_grid_toolbar_actions_filter_prompt:"Filter columns list ...",igx_grid_toolbar_pinning_button_tooltip:"Open column pinning dropdown",igx_grid_toolbar_hiding_button_tooltip:"Open column hiding dropdown",igx_grid_toolbar_pinning_title:"Pinned columns",igx_grid_toolbar_hiding_title:"Visible columns",igx_grid_toolbar_advanced_filtering_button_tooltip:"Open advanced filtering dialog",igx_grid_toolbar_advanced_filtering_button_label:"Advanced filtering",igx_grid_toolbar_exporter_button_tooltip:"Open exporter dropdown",igx_grid_toolbar_exporter_button_label:"Export",igx_grid_toolbar_exporter_excel_entry_text:"Export to Excel",igx_grid_toolbar_exporter_csv_entry_text:"Export to CSV",igx_grid_snackbar_addrow_label:"Row added",igx_grid_snackbar_addrow_actiontext:"SHOW",igx_grid_actions_edit_label:"Edit",igx_grid_actions_add_label:"Add",igx_grid_add_row_label:"ADD ROW",igx_grid_actions_add_child_label:"Add Child",igx_grid_actions_delete_label:"Delete",igx_grid_actions_pin_label:"Pin",igx_grid_actions_unpin_label:"Unpin",igx_grid_actions_jumpUp_label:"Jump up",igx_grid_actions_jumpDown_label:"Jump down",igx_grid_pivot_date_dimension_total:"All Periods",igx_grid_pivot_aggregate_count:"Count",igx_grid_pivot_aggregate_min:"Minimum",igx_grid_pivot_aggregate_max:"Maximum",igx_grid_pivot_aggregate_sum:"Sum",igx_grid_pivot_aggregate_avg:"Average",igx_grid_pivot_aggregate_date_latest:"Latest Date",igx_grid_pivot_aggregate_date_earliest:"Earliest Date",igx_grid_pivot_aggregate_time_latest:"Latest Time",igx_grid_pivot_aggregate_time_earliest:"Earliest Time",igx_grid_pivot_empty_row_drop_area:"Drop Row Fields here.",igx_grid_pivot_empty_column_drop_area:"Drop Column Fields here.",igx_grid_pivot_empty_filter_drop_area:"Drop Filter Fields here.",igx_grid_pivot_empty_value_drop_area:"Drop Value Fields here.",igx_grid_pivot_row_drop_chip:"Drop here to use as row",igx_grid_pivot_column_drop_chip:"Drop here to use as column",igx_grid_pivot_filter_drop_chip:"Drop here to use as filter",igx_grid_pivot_value_drop_chip:"Drop here to use as value",igx_grid_pivot_empty_message:"Pivot grid has no dimensions and values.",igx_grid_pivot_selector_filters:"Filters",igx_grid_pivot_selector_rows:"Rows",igx_grid_pivot_selector_columns:"Columns",igx_grid_pivot_selector_values:"Values",igx_grid_pivot_selector_panel_empty:"Drop Items Here",igx_grid_required_validation_error:"This field is required",igx_grid_min_validation_error:"A value of at least {0} should be entered",igx_grid_max_validation_error:"A value no more than {0} should be entered",igx_grid_min_length_validation_error:"Entry should be at least {0} character(s) long",igx_grid_max_length_validation_error:"Entry should be no more than {0} character(s) long",igx_grid_email_validation_error:"A valid email address should be entered",igx_grid_pattern_validation_error:"Entry does not match the required pattern",igx_grid_pivot_no_aggregator:"No valid aggregator found for {0}. Please set either a valid aggregatorName or aggregator."},Qi={GridResStrings:nr(rie),PaginatorResStrings:nr({igx_paginator_label:"Items per page",igx_paginator_pager_text:"of",igx_paginator_first_page_button_text:"Go to first page",igx_paginator_previous_page_button_text:"Previous page",igx_paginator_last_page_button_text:"Go to last page",igx_paginator_next_page_button_text:"Next page"}),TimePickerResStrings:nr({igx_time_picker_ok:"OK",igx_time_picker_cancel:"Cancel",igx_time_picker_change_time:"Change Time",igx_time_picker_choose_time:"Choose Time"}),CalendarResStrings:nr({igx_calendar_previous_month:"Previous Month",igx_calendar_next_month:"Next Month",igx_calendar_select_month:"Select Month",igx_calendar_select_year:"Select Year",igx_calendar_range_start:"Range start",igx_calendar_range_end:"Range end",igx_calendar_selected_month_is:"Selected month is ",igx_calendar_first_picker_of:"First picker of {0} starts from",igx_calendar_multi_selection:"Multi selection calendar with {0} date pickers",igx_calendar_range_selection:"Range selection calendar with {0} date pickers",igx_calendar_single_selection:"Calendar with {0} date pickers",igx_calendar_singular_multi_selection:"Multi selection calendar",igx_calendar_singular_range_selection:"Range selection calendar",igx_calendar_singular_single_selection:"Calendar"}),ChipResStrings:nr({igx_chip_remove:"remove chip",igx_chip_select:"select chip"}),ComboResStrings:nr({igx_combo_empty_message:"The list is empty"}),DatePickerResourceStrings:nr({igx_date_picker_change_date:"Change Date",igx_date_picker_choose_date:"Choose Date"}),DateRangePickerResStrings:nr({igx_date_range_picker_date_separator:"to",igx_date_range_picker_done_button:"Done"}),CarouselResStrings:nr({igx_carousel_of:"of",igx_carousel_slide:"slide",igx_carousel_previous_slide:"previous slide",igx_carousel_next_slide:"next slide"}),ListResStrings:nr({igx_list_no_items:"There are no items in the list.",igx_list_loading:"Loading data from the server..."}),InputResStrings:nr({igx_input_upload_button:"Upload File",igx_input_file_placeholder:"No file chosen"}),TreeResStrings:nr({igx_expand:"Expand",igx_collapse:"Collapse"}),ActionStripResourceStrings:nr({igx_action_strip_button_more_title:"More"}),QueryBuilderResStrings:nr({igx_query_builder_date_placeholder:"Pick up date",igx_query_builder_time_placeholder:"Pick up time",igx_query_builder_filter_operator_and:"And",igx_query_builder_filter_operator_or:"Or",igx_query_builder_filter_contains:"Contains",igx_query_builder_filter_doesNotContain:"Does Not Contain",igx_query_builder_filter_startsWith:"Starts With",igx_query_builder_filter_endsWith:"Ends With",igx_query_builder_filter_equals:"Equals",igx_query_builder_filter_doesNotEqual:"Does Not Equal",igx_query_builder_filter_empty:"Empty",igx_query_builder_filter_notEmpty:"Not Empty",igx_query_builder_filter_null:"Null",igx_query_builder_filter_notNull:"Not Null",igx_query_builder_filter_before:"Before",igx_query_builder_filter_after:"After",igx_query_builder_filter_at:"At",igx_query_builder_filter_not_at:"Not At",igx_query_builder_filter_at_before:"At or Before",igx_query_builder_filter_at_after:"At or After",igx_query_builder_filter_today:"Today",igx_query_builder_filter_yesterday:"Yesterday",igx_query_builder_filter_thisMonth:"This Month",igx_query_builder_filter_lastMonth:"Last Month",igx_query_builder_filter_nextMonth:"Next Month",igx_query_builder_filter_thisYear:"This Year",igx_query_builder_filter_lastYear:"Last Year",igx_query_builder_filter_nextYear:"Next Year",igx_query_builder_filter_greaterThan:"Greater Than",igx_query_builder_filter_lessThan:"Less Than",igx_query_builder_filter_greaterThanOrEqualTo:"Greater Than Or Equal To",igx_query_builder_filter_lessThanOrEqualTo:"Less Than Or Equal To",igx_query_builder_filter_true:"True",igx_query_builder_filter_false:"False",igx_query_builder_filter_all:"All",igx_query_builder_title:"Query Builder",igx_query_builder_and_group:'"And" Group',igx_query_builder_or_group:'"Or" Group',igx_query_builder_end_group:"End Group",igx_query_builder_and_label:"and",igx_query_builder_or_label:"or",igx_query_builder_add_condition:"Condition",igx_query_builder_create_and_group:'Create "And" Group',igx_query_builder_create_or_group:'Create "Or" Group',igx_query_builder_ungroup:"Ungroup",igx_query_builder_delete:"Delete",igx_query_builder_delete_filters:"Delete filters",igx_query_builder_initial_text:'Start with creating a group of conditions linked with "And" or "Or"',igx_query_builder_column_placeholder:"Select column",igx_query_builder_condition_placeholder:"Select filter",igx_query_builder_value_placeholder:"Value"}),BannerResourceStrings:nr({igx_banner_button_dismiss:"Dismiss"})};new $e("InputGroupType");let Qm=(()=>{class r{constructor(i,n,s,l){this._sanitizer=i,this._httpClient=n,this._platformUtil=s,this._document=l,this._family="material-icons",this._familyAliases=new Map,this._cachedSvgIcons=new Map,this._iconLoaded=new Ge,this.iconLoaded=this._iconLoaded.asObservable(),this._platformUtil?.isBrowser&&(this._domParser=new DOMParser)}get defaultFamily(){return this._family}set defaultFamily(i){this._family=i}registerFamilyAlias(i,n=i){return this._familyAliases.set(i,n),this}familyClassName(i){return this._familyAliases.get(i)||i}addSvgIcon(i,n,s=this._family,l=!1){if(!i||!n)throw new Error("You should provide at least `name` and `url` to register an svg icon.");{const d=this._sanitizer.bypassSecurityTrustResourceUrl(n);if(!d)throw new Error(`The provided URL could not be processed as trusted resource URL by Angular's DomSanitizer: "${n}".`);if(!this._sanitizer.sanitize(Tr.RESOURCE_URL,d))throw new Error(`The URL provided was not trusted as a resource URL: "${n}".`);this.isSvgIconCached(i,s)||this.fetchSvg(n).subscribe(f=>{this.cacheSvgIcon(i,f,s,l),this._iconLoaded.next({name:i,value:f,family:s})})}}addSvgIconFromText(i,n,s="",l=!1){if(!i||!n)throw new Error("You should provide at least `name` and `iconText` to register an svg icon.");this.isSvgIconCached(i,s)||this.cacheSvgIcon(i,n,s,l)}isSvgIconCached(i,n=""){const s=this.familyClassName(n);return!!this._cachedSvgIcons.has(s)&&this._cachedSvgIcons.get(s).has(i)}getSvgIcon(i,n=""){const s=this.familyClassName(n);return this._cachedSvgIcons.get(s)?.get(i)}fetchSvg(i){return this._httpClient.get(i,{responseType:"text"})}cacheSvgIcon(i,n,s=this._family,l){if(s=s||this._family,this._platformUtil?.isBrowser&&i&&n){const p=this._domParser.parseFromString(n,"image/svg+xml").querySelector("svg");if(this._cachedSvgIcons.has(s)||this._cachedSvgIcons.set(s,new Map),p){if(p.setAttribute("fit",""),p.setAttribute("preserveAspectRatio","xMidYMid meet"),l){const v=p.querySelector("title"),D=p.querySelector("desc");v&&p.removeChild(v),D&&p.removeChild(D)}const f=this._sanitizer.bypassSecurityTrustHtml(p.outerHTML);this._cachedSvgIcons.get(s).set(i,f)}}}static#e=this.\u0275fac=function(n){return new(n||r)(De(kC,8),De(bv,8),De(ti,8),De(Tt,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),jt=(()=>{class r{constructor(i,n,s){this.el=i,this.iconService=n,this.ref=s,this.cssClass="igx-icon",this.ariaHidden=!0,this.active=!0,this.destroy$=new Ge,this.family=this.iconService.defaultFamily,this.iconService.registerFamilyAlias("material","material-icons"),this.iconService.iconLoaded.pipe(mi(l=>l.name===this.name&&l.family===this.family),xe(this.destroy$)).subscribe(()=>this.ref.detectChanges())}ngOnInit(){this.updateIconClass()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}get getFamily(){return this.family}get getActive(){return this.active}get getInactive(){return!this.active}get getName(){return this.name}get getSvg(){return this.iconService.isSvgIconCached(this.name,this.family)?this.iconService.getSvgIcon(this.name,this.family):null}get template(){return this.name?this.iconService.isSvgIconCached(this.name,this.family)?this.svgImage:this.noLigature:this.explicitLigature}updateIconClass(){const i=this.iconService.familyClassName(this.family);this.el.nativeElement.classList.add(i),this.name&&!this.iconService.isSvgIconCached(this.name,this.family)&&this.el.nativeElement.classList.add(this.name)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Qm),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["igx-icon"]],viewQuery:function(n,s){if(1&n&&(oe(DAe,7,je),oe(AAe,7,je),oe(IAe,7,je)),2&n){let l;G(l=j())&&(s.noLigature=l.first),G(l=j())&&(s.explicitLigature=l.first),G(l=j())&&(s.svgImage=l.first)}},hostVars:5,hostBindings:function(n,s){2&n&&(ge("aria-hidden",s.ariaHidden),Se("igx-icon",s.cssClass)("igx-icon--inactive",s.getInactive))},inputs:{family:"family",active:"active",name:"name"},standalone:!0,features:[Ue],ngContentSelectors:Oo,decls:7,vars:1,consts:[["noLigature",""],["explicitLigature",""],["svgImage",""],[4,"ngTemplateOutlet"],[3,"innerHTML"]],template:function(n,s){1&n&&(pt(),I(0,SAe,0,0,"ng-template",null,0,pe),I(2,TAe,1,0,"ng-template",null,1,pe),I(4,EAe,1,1,"ng-template",null,2,pe),I(6,MAe,1,0,"ng-container",3)),2&n&&(y(6),x("ngTemplateOutlet",s.template))},dependencies:[Kt],encapsulation:2})}return r})();new $e("EditorProvider");new Set("aACL09#&?");new $e("dir-doc",{providedIn:"root",factory:function s$e(){return st(Tt)}});class cs{static#e=this.highlightGroupsMap=new Map;static#t=this.onActiveElementChanged=new X;get value(){return this._value}set value(a){this._value=null==a?"":a}get lastSearchInfo(){return this._lastSearchInfo}constructor(a,i){this.element=a,this.renderer=i,this.groupName="",this.destroy$=new Ge,this._value="",this._div=null,this._observer=null,this._nodeWasRemoved=!1,this._forceEvaluation=!1,this._activeElementIndex=-1,this._defaultCssClass="igx-highlight",this._defaultActiveCssClass="igx-highlight--active",cs.onActiveElementChanged.pipe(xe(this.destroy$)).subscribe(n=>{this.groupName===n&&(-1!==this._activeElementIndex&&this.deactivate(),this.activateIfNecessary())})}static setActiveHighlight(a,i){cs.highlightGroupsMap.set(a,i),cs.onActiveElementChanged.emit(a)}static clearActiveHighlight(a){cs.highlightGroupsMap.set(a,{index:-1}),cs.onActiveElementChanged.emit(a)}ngOnDestroy(){this.clearHighlight(),null!==this._observer&&this._observer.disconnect(),this.destroy$.next(!0),this.destroy$.complete()}ngOnChanges(a){a.value&&!a.value.firstChange?this._valueChanged=!0:(void 0!==a.row&&!a.row.firstChange||void 0!==a.column&&!a.column.firstChange||void 0!==a.page&&!a.page.firstChange)&&(-1!==this._activeElementIndex&&this.deactivate(),this.activateIfNecessary())}ngAfterViewInit(){this.parentElement=this.renderer.parentNode(this.element.nativeElement),!1===cs.highlightGroupsMap.has(this.groupName)&&cs.highlightGroupsMap.set(this.groupName,{index:-1}),this._lastSearchInfo={searchText:"",content:this.value,matchCount:0,caseSensitive:!1,exactMatch:!1},this._container=this.parentElement.firstElementChild}ngAfterViewChecked(){this._valueChanged&&(this.highlight(this._lastSearchInfo.searchText,this._lastSearchInfo.caseSensitive,this._lastSearchInfo.exactMatch),this.activateIfNecessary(),this._valueChanged=!1)}highlight(a,i,n){const s=!!i,l=!!n;return this.searchNeedsEvaluation(a,s,l)?(this._lastSearchInfo.searchText=a,this._lastSearchInfo.caseSensitive=s,this._lastSearchInfo.exactMatch=l,this._lastSearchInfo.content=this.value,""===a||null==a?this.clearHighlight():(this.clearChildElements(!0),this._lastSearchInfo.matchCount=this.getHighlightedText(a,i,n))):this._nodeWasRemoved&&(this._lastSearchInfo.searchText=a,this._lastSearchInfo.caseSensitive=s,this._lastSearchInfo.exactMatch=l),this._lastSearchInfo.matchCount}clearHighlight(){this.clearChildElements(!1),this._lastSearchInfo.searchText="",this._lastSearchInfo.matchCount=0}activateIfNecessary(){const a=cs.highlightGroupsMap.get(this.groupName);a.index>=0&&a.column===this.column&&a.row===this.row&&Ute(this.metadata,a.metadata)&&this.activate(a.index)}observe(){null===this._observer&&(this._observer=new MutationObserver(i=>{i.forEach(n=>{Array.from(n.removedNodes).forEach(d=>{d===this._container&&(this._nodeWasRemoved=!0,this.clearChildElements(!1))}),Array.from(n.addedNodes).forEach(d=>{d===this.parentElement.firstElementChild&&this._nodeWasRemoved&&(this._container=this.parentElement.firstElementChild,this._nodeWasRemoved=!1,this._forceEvaluation=!0,this.highlight(this._lastSearchInfo.searchText,this._lastSearchInfo.caseSensitive,this._lastSearchInfo.exactMatch),this._forceEvaluation=!1,this.activateIfNecessary(),this._observer.disconnect(),this._observer=null)})})}),this._observer.observe(this.parentElement,{childList:!0}))}activate(a){if(this.deactivate(),null!==this._div){const i=this._div.querySelectorAll("span");if(this._activeElementIndex=a,i.length<=a)return;const n=i[a];this.renderer.addClass(n,this._defaultActiveCssClass),this.renderer.addClass(n,this.activeCssClass)}}deactivate(){if(-1===this._activeElementIndex)return;const a=this._div.querySelectorAll("span");if(a.length<=this._activeElementIndex)return void(this._activeElementIndex=-1);const i=a[this._activeElementIndex];this.renderer.removeClass(i,this._defaultActiveCssClass),this.renderer.removeClass(i,this.activeCssClass),this._activeElementIndex=-1}clearChildElements(a){this.renderer.setProperty(this.element.nativeElement,"hidden",a),null!==this._div&&(this.renderer.removeChild(this.parentElement,this._div),this._div=null,this._activeElementIndex=-1)}getHighlightedText(a,i,n){this.appendDiv();const s=String(this.value),l=i?s:s.toLowerCase(),d=i?a:a.toLowerCase();let p=0;if(n)l===d?(this.appendSpan(`${s}`),p++):this.appendText(s);else{let f=l.indexOf(d,0),v=0;for(;-1!==f;){const D=f,E=f+d.length;this.appendText(s.substring(v,D)),this.appendSpan(`${s.substring(D,E)}`),v=E,p++,f=l.indexOf(d,E)}this.appendText(s.substring(v,s.length))}return p}appendText(a){const i=this.renderer.createText(a);this.renderer.appendChild(this._div,i)}appendSpan(a){const i=this.renderer.createElement("span");this.renderer.appendChild(this._div,i),this.renderer.setProperty(i,"outerHTML",a)}appendDiv(){this._div=this.renderer.createElement("div"),this.containerClass&&this.renderer.addClass(this._div,this.containerClass),this.renderer.appendChild(this.parentElement,this._div)}searchNeedsEvaluation(a,i,n){const s=this._lastSearchInfo.searchText;return!this._nodeWasRemoved&&(null===s||s!==a||this._lastSearchInfo.content!==this.value||this._lastSearchInfo.caseSensitive!==i||this._lastSearchInfo.exactMatch!==n||this._forceEvaluation)}static#i=this.\u0275fac=function(i){return new(i||cs)(T(ke),T(Ui))};static#n=this.\u0275dir=re({type:cs,selectors:[["","igxTextHighlight",""]],inputs:{cssClass:"cssClass",activeCssClass:"activeCssClass",containerClass:"containerClass",groupName:"groupName",value:"value",row:"row",column:"column",metadata:"metadata"},standalone:!0,features:[ci]})}new $e("IgxExpansionPanelToken");new $e("IgxGridBaseToken"),new $e("IgxGridServiceBaseToken");class Fw{static#e=this._resourceStrings=Qi.GridResStrings;static set resourceStrings(a){this._resourceStrings=Object.assign({},this._resourceStrings,a)}static get resourceStrings(){return this._resourceStrings}static aggregators(){return[{key:"COUNT",label:this.resourceStrings.igx_grid_pivot_aggregate_count,aggregator:Fw.count}]}static count(a){return a.length}}var Wa=function(r){return r[r.NONE=0]="NONE",r[r.NEXT=1]="NEXT",r[r.PREV=2]="PREV",r}(Wa||{});const ch_none="none",ch_slide="slide",ch_fade="fade";let i9=(()=>{let r=class{constructor(i,n){this.animationService=i,this.cdr=n,this.animationType=ch_slide,this.enterAnimationDone=new X,this.leaveAnimationDone=new X,this.defaultAnimationDuration=320,this.animationPosition=0,this.newDuration=0}triggerAnimations(){this.animationType!==ch_none&&(this.animationStarted(this.leaveAnimationPlayer)||this.animationStarted(this.enterAnimationPlayer)?requestAnimationFrame(()=>{this.resetAnimations(),this.playAnimations()}):this.playAnimations())}animationStarted(i){return i&&i.hasStarted()}playAnimations(){this.playLeaveAnimation(),this.playEnterAnimation()}resetAnimations(){this.animationStarted(this.leaveAnimationPlayer)&&(this.leaveAnimationPlayer.reset(),this.leaveAnimationDone.emit()),this.animationStarted(this.enterAnimationPlayer)&&(this.enterAnimationPlayer.reset(),this.enterAnimationDone.emit(),this.cdr.markForCheck())}getAnimation(){let i;switch(i=this.newDuration?this.animationPosition?this.animationPosition*this.newDuration:this.newDuration:this.animationPosition?this.animationPosition*this.defaultAnimationDuration:this.defaultAnimationDuration,this.animationType){case ch_slide:const n=this.animationPosition?100*this.animationPosition:100;return{enterAnimation:os(qv,{params:{delay:"0s",duration:`${i}ms`,endOpacity:1,startOpacity:1,fromPosition:`translateX(${1===this.currentItem.direction?n:-n}%)`,toPosition:"translateX(0%)"}}),leaveAnimation:os(qv,{params:{delay:"0s",duration:`${i}ms`,endOpacity:1,startOpacity:1,fromPosition:"translateX(0%)",toPosition:`translateX(${1===this.currentItem.direction?-n:n}%)`}})};case ch_fade:return{enterAnimation:os(dl,{params:{duration:`${i}ms`,startOpacity:`${this.animationPosition}`}}),leaveAnimation:null}}return{enterAnimation:null,leaveAnimation:null}}playEnterAnimation(){const i=this.getAnimation().enterAnimation;i&&(this.enterAnimationPlayer=this.animationService.buildAnimation(i,this.getCurrentElement()),this.enterAnimationPlayer.animationEnd.subscribe(()=>{this.enterAnimationPlayer&&(this.enterAnimationPlayer.reset(),this.enterAnimationPlayer=null),this.animationPosition=0,this.newDuration=0,this.previousItem.previous=!1,this.enterAnimationDone.emit(),this.cdr.markForCheck()}),this.previousItem.previous=!0,this.enterAnimationPlayer.play())}playLeaveAnimation(){const i=this.getAnimation().leaveAnimation;i&&(this.leaveAnimationPlayer=this.animationService.buildAnimation(i,this.getPreviousElement()),this.leaveAnimationPlayer.animationEnd.subscribe(()=>{this.leaveAnimationPlayer&&(this.leaveAnimationPlayer.reset(),this.leaveAnimationPlayer=null),this.animationPosition=0,this.newDuration=0,this.leaveAnimationDone.emit()}),this.leaveAnimationPlayer.play())}};return r=_t([Jl(0,g_(nh))],r),r})(),Tie=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","igxCarouselIndicator",""]],standalone:!0})}return r})(),Eie=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","igxCarouselNextButton",""]],standalone:!0})}return r})(),Mie=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","igxCarouselPrevButton",""]],standalone:!0})}return r})(),n9=(()=>{class r{get tabIndex(){return this.active?0:null}get active(){return this._active}set active(i){this._active=!!i,this.activeChange.emit(this._active)}constructor(i){this.elementRef=i,this.tab="tabpanel",this.cssClass="igx-slide",this.previous=!1,this.activeChange=new X,this._active=!1,this._destroy$=new Ge}get nativeElement(){return this.elementRef.nativeElement}get isDestroyed(){return this._destroy$}ngAfterContentChecked(){this.id=`panel-${this.index}`,this.ariaLabelledBy=`tab-${this.index}-${this.total}`}ngOnDestroy(){this._destroy$.next(!0),this._destroy$.complete()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke))};static#t=this.\u0275cmp=de({type:r,selectors:[["igx-slide"]],hostVars:10,hostBindings:function(n,s){2&n&&(ge("tabindex",s.tabIndex)("id",s.id)("role",s.tab)("aria-labelledby",s.ariaLabelledBy),Se("igx-slide",s.cssClass)("igx-slide--current",s.active)("igx-slide--previous",s.previous))},inputs:{index:"index",direction:"direction",total:"total",active:"active",previous:"previous"},outputs:{activeChange:"activeChange"},standalone:!0,features:[Ue],ngContentSelectors:Oo,decls:1,vars:0,template:function(n,s){1&n&&(pt(),Ie(0))},encapsulation:2})}return r})(),q$e=0;const K$e_bottom="bottom";let Y$e=(()=>{class r extends BO{constructor(){super(...arguments),this.overrides={pan:{direction:Hammer.DIRECTION_HORIZONTAL}}}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),Rie=(()=>{class r extends i9{get labelId(){return this.showIndicatorsLabel?`${this.id}-label`:null}get touchAction(){return this.gesturesSupport?"pan-y":"auto"}set resourceStrings(i){this._resourceStrings=Object.assign({},this._resourceStrings,i)}get resourceStrings(){return this._resourceStrings}get getIndicatorTemplate(){return this.indicatorTemplate?this.indicatorTemplate:this.defaultIndicator}get getNextButtonTemplate(){return this.nextButtonTemplate?this.nextButtonTemplate:this.defaultNextButton}get getPrevButtonTemplate(){return this.prevButtonTemplate?this.prevButtonTemplate:this.defaultPrevButton}get indicatorsOrientationClass(){return`igx-carousel-indicators--${this.indicatorsOrientation}`}get showIndicators(){return this.total<=this.maximumIndicatorsCount&&this.total>0}get showIndicatorsLabel(){return this.total>this.maximumIndicatorsCount}get getCarouselLabel(){return`${this.current+1} ${this.resourceStrings.igx_carousel_of} ${this.total}`}get total(){return this.slides?.length}get current(){return this.currentItem?this.currentItem.index:0}get isPlaying(){return this.playing}get isDestroyed(){return this.destroyed}get nativeElement(){return this.element.nativeElement}get interval(){return this._interval}set interval(i){this._interval=+i,this.restartInterval()}constructor(i,n,s,l,d){super(l,i),this.element=n,this.iterableDiffers=s,this.platformUtil=d,this.id="igx-carousel-"+q$e++,this.role="region",this.roleDescription="carousel",this.cssClass="igx-carousel",this.loop=!0,this.pause=!0,this.navigation=!0,this.keyboardSupport=!0,this.gesturesSupport=!0,this.maximumIndicatorsCount=5,this.indicatorsOrientation=K$e_bottom,this.animationType=ch_slide,this.indicatorTemplate=null,this.nextButtonTemplate=null,this.prevButtonTemplate=null,this.slideChanged=new X,this.slideAdded=new X,this.slideRemoved=new X,this.carouselPaused=new X,this.carouselPlaying=new X,this._resourceStrings=Qi.CarouselResStrings,this.destroy$=new Ge,this.differ=null,this.differ=this.iterableDiffers.find([]).create(null)}onKeydownArrowRight(i){this.keyboardSupport&&(i.preventDefault(),this.next(),this.focusSlideElement())}onKeydownArrowLeft(i){this.keyboardSupport&&(i.preventDefault(),this.prev(),this.focusSlideElement())}onTap(i){i.target&&i.target.classList.contains("igx-slide")&&(this.isPlaying?(this.pause&&(this.stoppedByInteraction=!0),this.stop()):this.stoppedByInteraction&&this.play())}onKeydownHome(i){this.keyboardSupport&&this.slides.length>0&&(i.preventDefault(),this.slides.first.active=!0,this.focusSlideElement())}onKeydownEnd(i){this.keyboardSupport&&this.slides.length>0&&(i.preventDefault(),this.slides.last.active=!0,this.focusSlideElement())}onMouseEnter(){this.pause&&this.isPlaying&&(this.stoppedByInteraction=!0),this.stop()}onMouseLeave(){this.stoppedByInteraction&&this.play()}onPanLeft(i){this.pan(i)}onPanRight(i){this.pan(i)}onPanEnd(i){if(!this.gesturesSupport)return;i.preventDefault();const n=this.currentItem.nativeElement.offsetWidth,s=n/1e3,l=Math.abs(i.deltaX)+s1?(this.incomingSlide.direction=i.deltaX<0?Wa.NEXT:Wa.PREV,this.incomingSlide.previous=!1,this.animationPosition=this.animationType===ch_fade?l/n:(n-l)/n,d>1&&(this.newDuration=this.defaultAnimationDuration/d),this.incomingSlide.active=!0):(this.currentItem.direction=i.deltaX>0?Wa.NEXT:Wa.PREV,this.previousItem=this.incomingSlide,this.previousItem.previous=!0,this.animationPosition=this.animationType===ch_fade?Math.abs((n-l)/n):l/n,this.playAnimations())),this.stoppedByInteraction&&this.play()}ngAfterContentInit(){this.slides.changes.pipe(xe(this.destroy$)).subscribe(i=>this.initSlides(i)),this.initSlides(this.slides)}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete(),this.destroyed=!0,this.lastInterval&&clearInterval(this.lastInterval)}get(i){return this.slides.find(n=>n.index===i)}add(i){const n=this.slides.toArray();n.push(i),this.slides.reset(n),this.slides.notifyOnChanges()}remove(i){if(i&&i===this.get(i.index)){const n=this.slides.toArray();n.splice(i.index,1),this.slides.reset(n),this.slides.notifyOnChanges()}}select(i,n=Wa.NONE){i&&i!==this.currentItem&&(i.direction=n,i.active=!0)}next(){const i=this.getNextIndex();if(0!==i||this.loop)return this.select(this.get(i),Wa.NEXT);this.stop()}prev(){const i=this.getPrevIndex();if(this.loop||i!==this.total-1)return this.select(this.get(i),Wa.PREV);this.stop()}play(){this.playing||(this.playing=!0,this.carouselPlaying.emit(this),this.restartInterval(),this.stoppedByInteraction=!1)}stop(){this.pause&&(this.playing=!1,this.carouselPaused.emit(this),this.resetInterval())}getPreviousElement(){return this.previousItem.nativeElement}getCurrentElement(){return this.currentItem.nativeElement}resetInterval(){this.lastInterval&&(clearInterval(this.lastInterval),this.lastInterval=null)}restartInterval(){this.resetInterval(),!isNaN(this.interval)&&this.interval>0&&this.platformUtil.isBrowser&&(this.lastInterval=setInterval(()=>{const i=+this.interval;this.playing&&this.total&&!isNaN(i)&&i>0?this.next():this.stop()},this.interval))}get nextButtonDisabled(){return!this.loop&&this.current===this.total-1}get prevButtonDisabled(){return!this.loop&&0===this.current}getNextIndex(){return(this.current+1)%this.total}getPrevIndex(){return this.current-1<0?this.total-1:this.current-1}resetSlideStyles(i){i.nativeElement.style.transform="",i.nativeElement.style.opacity=""}pan(i){const n=this.currentItem.nativeElement.offsetWidth,s=n/1e3,l=i.deltaX,d=l<0?this.getNextIndex():this.getPrevIndex(),p=l<0?n+l:-n+l;if(!(!this.gesturesSupport||i.isFinal||Math.abs(l)+s>=n)){if(!this.loop&&(0===this.current&&l>0||this.current===this.total-1&&l<0))return void(this.incomingSlide=null);i.preventDefault(),this.isPlaying&&(this.stoppedByInteraction=!0,this.stop()),this.previousItem&&this.previousItem.previous&&(this.previousItem.previous=!1),this.finishAnimations(),this.incomingSlide?d!==this.incomingSlide.index&&(this.resetSlideStyles(this.incomingSlide),this.incomingSlide.previous=!1,this.incomingSlide=this.get(d)):this.incomingSlide=this.get(d),this.incomingSlide.previous=!0,this.animationType===ch_fade?this.currentItem.nativeElement.style.opacity=""+Math.abs(p)/n:(this.currentItem.nativeElement.style.transform=`translateX(${l}px)`,this.incomingSlide.nativeElement.style.transform=`translateX(${p}px)`)}}unsubscriber(i){return rn(this.destroy$,i.isDestroyed)}onSlideActivated(i){i.active&&i!==this.currentItem&&(i.direction===Wa.NONE&&(i.direction=i.index>this.current?Wa.NEXT:Wa.PREV),this.currentItem?(this.previousItem&&this.previousItem.previous&&(this.previousItem.previous=!1),this.currentItem.direction=i.direction,this.currentItem.active=!1,this.previousItem=this.currentItem,this.currentItem=i,this.triggerAnimations()):this.currentItem=i,this.slideChanged.emit({carousel:this,slide:i}),this.restartInterval())}finishAnimations(){this.animationStarted(this.leaveAnimationPlayer)&&this.leaveAnimationPlayer.finish(),this.animationStarted(this.enterAnimationPlayer)&&this.enterAnimationPlayer.finish()}initSlides(i){const n=this.differ.diff(i.toArray());n&&(this.slides.reduce((s,l,d)=>l.index=d,0),n.forEachAddedItem(s=>{const l=s.item;l.total=this.total,this.slideAdded.emit({carousel:this,slide:l}),l.active&&(this.currentItem=l),l.activeChange.pipe(xe(this.unsubscriber(l))).subscribe(()=>this.onSlideActivated(l))}),n.forEachRemovedItem(s=>{const l=s.item;this.slideRemoved.emit({carousel:this,slide:l}),l.active&&(l.active=!1,this.currentItem=this.get(l.index{this.currentItem?(this.currentItem.active=!0,this.slides.filter(n=>n.active&&n.index!==this.currentItem.index).forEach(n=>n.active=!1)):this.total&&(this.slides.first.active=!0),this.play()})}focusSlideElement(){this.leaveAnimationPlayer?this.leaveAnimationPlayer.animationEnd.pipe(xe(this.destroy$)).subscribe(()=>{this.slides.find(i=>i.active).nativeElement.focus()}):requestAnimationFrame(()=>this.slides.find(i=>i.active).nativeElement.focus())}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(qr),T(nh),T(ti))};static#t=this.\u0275cmp=de({type:r,selectors:[["igx-carousel"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,Tie,5,je),Fe(l,Eie,5,je),Fe(l,Mie,5,je),Fe(l,n9,4)),2&n){let d;G(d=j())&&(s.indicatorTemplate=d.first),G(d=j())&&(s.nextButtonTemplate=d.first),G(d=j())&&(s.prevButtonTemplate=d.first),G(d=j())&&(s.slides=d)}},viewQuery:function(n,s){if(1&n&&(oe(Oee,7,je),oe(nTe,7,je),oe(oTe,7,je)),2&n){let l;G(l=j())&&(s.defaultIndicator=l.first),G(l=j())&&(s.defaultNextButton=l.first),G(l=j())&&(s.defaultPrevButton=l.first)}},hostVars:8,hostBindings:function(n,s){1&n&&B("keydown.arrowright",function(d){return s.onKeydownArrowRight(d)})("keydown.arrowleft",function(d){return s.onKeydownArrowLeft(d)})("tap",function(d){return s.onTap(d)})("keydown.home",function(d){return s.onKeydownHome(d)})("keydown.end",function(d){return s.onKeydownEnd(d)})("mouseenter",function(){return s.onMouseEnter()})("mouseleave",function(){return s.onMouseLeave()})("panleft",function(d){return s.onPanLeft(d)})("panright",function(d){return s.onPanRight(d)})("panend",function(d){return s.onPanEnd(d)}),2&n&&(ge("id",s.id)("role",s.role)("aria-roledescription",s.roleDescription)("aria-labelledby",s.labelId),Pe("touch-action",s.touchAction),Se("igx-carousel",s.cssClass))},inputs:{id:"id",loop:"loop",pause:"pause",navigation:"navigation",keyboardSupport:"keyboardSupport",gesturesSupport:"gesturesSupport",maximumIndicatorsCount:"maximumIndicatorsCount",indicatorsOrientation:"indicatorsOrientation",animationType:"animationType",resourceStrings:"resourceStrings",interval:"interval"},outputs:{slideChanged:"slideChanged",slideAdded:"slideAdded",slideRemoved:"slideRemoved",carouselPaused:"carouselPaused",carouselPlaying:"carouselPlaying"},standalone:!0,features:[Ye([{provide:xC,useClass:Y$e}]),Ae,Ue],ngContentSelectors:Oo,decls:12,vars:5,consts:[["defaultIndicator",""],["defaultNextButton",""],["defaultPrevButton",""],[3,"ngClass",4,"ngIf"],[1,"igx-carousel__inner"],["role","button","tabindex","0","class","igx-carousel__arrow--prev",3,"keydown.enter","click",4,"ngIf"],["role","button","tabindex","0","class","igx-carousel__arrow--next",3,"keydown.enter","click",4,"ngIf"],[1,"igx-nav-dot"],[1,"igx-nav-arrow"],[3,"ngClass"],["class","igx-carousel-indicators__indicator",3,"id","click",4,"ngFor","ngForOf"],[1,"igx-carousel-indicators__indicator",3,"id","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"igx-carousel__label",3,"id"],["role","button","tabindex","0",1,"igx-carousel__arrow--prev",3,"keydown.enter","click"],["role","button","tabindex","0",1,"igx-carousel__arrow--next",3,"keydown.enter","click"]],template:function(n,s){1&n&&(pt(),I(0,rTe,1,2,"ng-template",null,0,pe),I(2,sTe,3,2,"ng-template",null,1,pe),I(4,aTe,3,2,"ng-template",null,2,pe),I(6,dTe,2,3,"div",3),I(7,uTe,3,3,"div",3),C(8,"div",4),Ie(9),k(),I(10,pTe,2,5,"div",5),I(11,mTe,2,5,"div",6)),2&n&&(y(6),x("ngIf",s.showIndicators),y(1),x("ngIf",s.showIndicatorsLabel),y(1),ge("aria-live",!s.interval||s.stoppedByInteraction?"polite":"off"),y(2),x("ngIf",s.navigation&&s.slides.length),y(1),x("ngIf",s.navigation&&s.slides.length))},dependencies:[jt,Qe,Xt,Vt,Kt],styles:["[_nghost-%COMP%]{display:block;outline-style:none}"]})}return r})();new $e("IgxComboComponentToken");new $e("IgxTreeToken"),new $e("IgxTreeNodeToken");new $e("IgxGridTransaction");PI.register();new Set("right down left up arrowright arrowdown arrowleft arrowup".split(" ")),new $e("IgxStepperToken"),new $e("IgxStepToken");let wqe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})(),xqe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();function kqe(r,a){if(1&r&&(C(0,"igx-slide")(1,"a",43)(2,"div",44),P(3),k(),Q(4,"img",45),k()()),2&r){const i=a.$implicit;y(1),mp("matTooltip","",i.viewNumber," l\u01b0\u1ee3t xem")("routerLink","/discover/",i.subId,""),y(2),me("\u{1f4d6} ",i.title,""),y(1),x("src",i.image,oi)}}function Dqe(r,a){if(1&r&&(C(0,"span",57),P(1),k()),2&r){const i=S().$implicit;y(1),_e(null==i.userShort?null:i.userShort.fullName)}}function Aqe(r,a){if(1&r&&P(0),2&r){const i=S().$implicit;_e(null==i.userShort?null:i.userShort.fullName)}}function Iqe(r,a){if(1&r){const i=ce();C(0,"a",46),B("click",function(){const l=z(i).$implicit;return H(S().GetExamDetail(l))}),C(1,"div",47),Q(2,"img",48),C(3,"div",49)(4,"span"),P(5),k(),C(6,"span"),P(7),k()(),C(8,"div",50)(9,"span",14),P(10,"mi\u1ec5n ph\xed"),k()()(),C(11,"div")(12,"span",51),P(13),k()(),C(14,"div",52),Q(15,"img",53),I(16,Dqe,2,1,"span",54),I(17,Aqe,1,1,"ng-template",55,56,pe),k()()}if(2&r){const i=a.$implicit,n=ee(18);y(5),me("",i.numberQuiz," c\xe2u"),y(2),me("Th\u1eddi gian: ",i.workTime,"'"),y(6),_e(i.title),y(2),ri("src",""===(null==i.userShort?null:i.userShort.image)?"assets/Icon/user.png":null==i.userShort?null:i.userShort.image,oi),y(1),x("ngIf",""!==(null==i.userShort?null:i.userShort.fullName))("ngIfElse",n)}}let Sqe=(()=>{class r{ngOnInit(){}constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.ngZone=p,this.currentSlideIndex=0,n.getRandomPost(10).subscribe(f=>{this.posts=f.resultObj},f=>{}),this.getExams(),this.getNews()}getNews(){this.service.GetNews().subscribe(i=>{if(i.isSuccessed){const s=this.getRandomElements(i.resultObj,3);this.news=s,this.ConvertDate()}else this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}getRandomElements(i,n){const s=i.slice();let d,p,l=s.length;for(;0!==l;)d=Math.floor(Math.random()*l),l--,p=s[l],s[l]=s[d],s[d]=p;const f=Math.min(n,s.length);return s.slice(0,f)}getExams(){this.service.GetExam().subscribe(i=>{if(i.isSuccessed){const s=this.getRandomElements(i.resultObj,4);this.exams=s}else this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}GetExamDetail(i){this.router.navigate(["/exam",i.id])}ConvertDate(){this.news.forEach(i=>{const n=fi(i.createdAt?.toString()??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy hh:mm"))})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(et))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-home"]],decls:111,vars:16,consts:[[1,"mt-60","plr-200"],[1,"header-banner"],[1,"carousel-container"],["animationType","fade",3,"pause","interval"],["carousel",""],[4,"ngFor","ngForOf"],["matTooltip","S\u1eaeP RA M\u1eaeT",1,"mt-60","pt-2","pb-2","mlr",2,"background-color","#000000b8"],[1,"flex-center-sb"],["routerLink","/course",1,"card-title","text-white"],[2,"font-size","12px"],["routerLink","/course",1,"text-white"],["href","",1,"underline-none","text-black","card-course"],["src","assets/Icon/contest1.png","alt","",1,"",2,"width","100%","object-fit","contain"],[1,"mt","flex-center-sb","plr"],[1,"tag-free"],[1,"text-title-line","text-white","plr","pt"],[1,"flex-center-h","text-white","plr"],[1,"pl"],["src","assets/Icon/contest2.png","alt","",1,"",2,"width","100%","object-fit","contain"],[1,"dis-block"],["src","assets/Icon/contest3.png","alt","",1,"",2,"width","100%","object-fit","contain"],[1,"mt-2","mb-2"],["routerLink","/exam",1,"card-title"],["routerLink","/exam",1,"cursor-p",2,"font-size","12px"],[1,"flex-center-h",2,"flex-wrap","wrap"],["class","underline-none exam-card mlr mt-1 plr pt pb cursor-p",3,"click",4,"ngFor","ngForOf"],["routerLink","/forum",1,"card-title"],["routerLink","/forum",1,"cursor-p",2,"font-size","12px"],["src","assets/Icon/Forum.jpg","alt","","routerLink","/forum"],["routerLink","/news",1,"card-title"],["routerLink","/news",1,"cursor-p",2,"font-size","12px"],[1,"dis-flex"],["target","_blank",1,"underline-none","w-50","dis-block",3,"href"],["loading","lazy","alt","\u1ea3nh tin t\u1ee9c",1,"img-news",3,"src"],[1,"text-2-line"],[1,"fs16"],[1,"dis-block","w-50"],[1,"ml-1","mb-1"],["target","_blank",1,"dis-flex","underline-none",3,"href"],["loading","lazy","alt","\u1ea3nh tin t\u1ee9c",1,"img-news-50",3,"src"],[1,"dis-block","mlr","mt","text-black"],[1,"text-6-line"],[2,"margin-left","auto","text-align","right"],["matTooltipPosition","above",1,"image-container",3,"matTooltip","routerLink"],[1,"banner-title"],["loading","lazy",3,"src"],[1,"underline-none","exam-card","mlr","mt-1","plr","pt","pb","cursor-p",3,"click"],[1,"flex-center-h"],["src","assets/Icon/exam.png","alt","",2,"width","64px"],[2,"display","grid"],[1,"po-re",2,"margin-left","auto","top","-24px"],[1,"text-3-line","mt","fs16","fw-6"],[1,"dis-flex","mt"],["alt","",1,"icon-24",3,"src"],["class","pl-1 w-90 of-h",4,"ngIf","ngIfElse"],["class","pl-1"],["fullname",""],[1,"pl-1","w-90","of-h"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2)(3,"igx-carousel",3,4),I(5,kqe,5,4,"igx-slide",5),k()()(),C(6,"div")(7,"div",6)(8,"div",7)(9,"h2",8),P(10,"Kh\xf3a h\u1ecdc"),k(),C(11,"p",9)(12,"i",10),P(13,"xem th\xeam"),k()()(),C(14,"div",7)(15,"a",11),Q(16,"img",12),C(17,"div",13)(18,"div"),P(19,"\u2b50\u2b50\u2b50\u2b50\u2b50"),k(),C(20,"div",14),P(21,"Mi\u1ec5n ph\xed"),k()(),C(22,"div",15),P(23,"L\u1ecbch s\u1eed Vi\u1ec7t Nam ( giai \u0111o\u1ea1n 1945 -1954 )"),k(),C(24,"div",16)(25,"div"),P(26,"\u{1f4dd}"),k(),C(27,"div",17),P(28,"Nguy\u1ec5n V\u0103n Nam"),k()()(),C(29,"a",11),Q(30,"img",18),C(31,"div",19)(32,"div",13)(33,"div"),P(34,"\u2b50\u2b50\u2b50\u2b50\u2b50"),k(),C(35,"div",14),P(36,"Mi\u1ec5n ph\xed"),k()(),C(37,"div",15),P(38,"C\xe1c cu\u1ed9c kh\u1edfi ngh\u0129a trong th\u1eddi gian 1000 n\u0103m B\u1eafc thu\u1ed9c"),k(),C(39,"div",16)(40,"div"),P(41,"\u{1f4dd}"),k(),C(42,"div",17),P(43,"Nguy\u1ec5n Xu\xe2n V\u0103n T\xe0i"),k()()()(),C(44,"a",11),Q(45,"img",20),C(46,"div",13)(47,"div"),P(48,"\u2b50\u2b50\u2b50\u2b50\u2b50"),k(),C(49,"div",14),P(50,"Mi\u1ec5n ph\xed"),k()(),C(51,"div",15),P(52,"H\u1eccC L\u1ecaCH S\u1eec THEO CH\u1ee6 \u0110\u1ec0 - NH\u1eeeNG V\u1ea4N \u0110\u1ec0 TH\u01af\u1edcNG G\u1eb6P TRONG \u0110\u1ec0 THI ..."),k(),C(53,"div",16)(54,"div"),P(55,"\u{1f4dd}"),k(),C(56,"div",17),P(57,"\u0110\u1eb7ng Mai H\u01b0\u01a1ng"),k()()()()(),C(58,"div",21)(59,"div",7)(60,"h2",22),P(61,"Luy\u1ec7n t\u1eadp"),k(),C(62,"p",23)(63,"i"),P(64,"xem th\xeam"),k()()(),C(65,"div",24),I(66,Iqe,19,6,"a",25),k()(),C(67,"div",21)(68,"div",7)(69,"h2",26),P(70,"Tham gia di\u1ec5n \u0111\xe0n"),k(),C(71,"p",27)(72,"i"),P(73,"Truy c\u1eadp"),k()()(),Q(74,"img",28),k(),C(75,"div",21)(76,"div",7)(77,"h2",29),P(78,"B\u1ea3n tin l\u1ecbch s\u1eed t\u1ed5ng h\u1ee3p"),k(),C(79,"p",30)(80,"i"),P(81,"xem th\xeam"),k()()(),C(82,"div",19)(83,"div")(84,"div",31)(85,"a",32),Q(86,"img",33),C(87,"div",34)(88,"strong",35),P(89),k()(),C(90,"div"),P(91),k()(),C(92,"div",36)(93,"div",37)(94,"a",38),Q(95,"img",39),C(96,"div",40)(97,"div",41)(98,"strong",35),P(99),k()(),C(100,"div",42),P(101),k()()()(),C(102,"div",37)(103,"a",38),Q(104,"img",39),C(105,"div",40)(106,"div",41)(107,"strong",35),P(108),k()(),C(109,"div",42),P(110),k()()()()()()()()()()()),2&n&&(y(3),x("pause",!1)("interval",6e3),y(2),x("ngForOf",s.posts),y(61),x("ngForOf",s.exams),y(19),x("href",s.news[0].url,oi),y(1),ri("src",s.news[0].image,oi),y(3),me(" ",s.news[0].title," "),y(2),me(" ",s.news[0].createdAt," "),y(3),x("href",s.news[1].url,oi),y(1),ri("src",s.news[1].image,oi),y(4),me(" ",s.news[1].title," "),y(2),me(" ",s.news[1].createdAt," "),y(2),x("href",s.news[2].url,oi),y(1),ri("src",s.news[2].image,oi),y(4),me(" ",s.news[2].title," "),y(2),me(" ",s.news[2].createdAt," "))},dependencies:[js,Vt,Qe,er,Rie,n9],styles:[".carousel-container[_ngcontent-%COMP%]{width:73vw;height:50vh;margin:16px auto}.banner-title[_ngcontent-%COMP%]{border-radius:8px;padding:8px 16px;background-color:#00000091;color:#fff;font-weight:500;width:80vh;position:absolute;text-align:justify;font-size:larger}.card-course[_ngcontent-%COMP%]{max-width:370px;width:32%}.img-news[_ngcontent-%COMP%]{width:100%;height:auto;object-fit:contain}.img-news-50[_ngcontent-%COMP%]{width:50%;height:auto;object-fit:contain}.text-title-line[_ngcontent-%COMP%]{height:50.6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.text-6-line[_ngcontent-%COMP%]{line-height:21px;min-width:40px;height:130px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}[_nghost-%COMP%] .image-container{max-width:85%;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .igx-carousel{max-width:100%;width:unset}[_nghost-%COMP%] .igx-nav-dot{background:black;box-shadow:none;width:15px;height:15px}[_nghost-%COMP%] .igx-slide{display:flex;justify-content:center;align-items:center;max-width:100%;width:unset}[_nghost-%COMP%] .igx-slide img{object-fit:fill;max-width:90%}[_nghost-%COMP%] .igx-carousel__label{display:none!important}.header-banner[_ngcontent-%COMP%]{width:300px}"]})}return r})();const Soe=eu({passive:!0});let Tqe=(()=>{class r{constructor(i,n){this._platform=i,this._ngZone=n,this._monitoredElements=new Map}monitor(i){if(!this._platform.isBrowser)return Jr;const n=Op(i),s=this._monitoredElements.get(n);if(s)return s.subject;const l=new Ge,d="cdk-text-field-autofilled",p=f=>{"cdk-text-field-autofill-start"!==f.animationName||n.classList.contains(d)?"cdk-text-field-autofill-end"===f.animationName&&n.classList.contains(d)&&(n.classList.remove(d),this._ngZone.run(()=>l.next({target:f.target,isAutofilled:!1}))):(n.classList.add(d),this._ngZone.run(()=>l.next({target:f.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",p,Soe),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:l,unlisten:()=>{n.removeEventListener("animationstart",p,Soe)}}),l}stopMonitoring(i){const n=Op(i),s=this._monitoredElements.get(n);s&&(s.unlisten(),s.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((i,n)=>this.stopMonitoring(n))}static#e=this.\u0275fac=function(n){return new(n||r)(De(Po),De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Eqe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})();class Mqe{constructor(a){this._box=a,this._destroyed=new Ge,this._resizeSubject=new Ge,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(i=>this._resizeSubject.next(i)))}observe(a){return this._elementObservables.has(a)||this._elementObservables.set(a,new _n(i=>{const n=this._resizeSubject.subscribe(i);return this._resizeObserver?.observe(a,{box:this._box}),()=>{this._resizeObserver?.unobserve(a),n.unsubscribe(),this._elementObservables.delete(a)}}).pipe(xi(i=>i.some(n=>n.target===a)),FZ({bufferSize:1,refCount:!0}),xe(this._destroyed))),this._elementObservables.get(a)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let Rqe=(()=>{class r{constructor(){this._observers=new Map,this._ngZone=st(et)}ngOnDestroy(){for(const[,i]of this._observers)i.destroy();this._observers.clear()}observe(i,n){const s=n?.box||"content-box";return this._observers.has(s)||this._observers.set(s,new Mqe(s)),this._observers.get(s).observe(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Pqe=["notch"],Oqe=["matFormFieldNotchedOutline",""],Fqe=["*"],Nqe=["textField"],Lqe=["iconPrefixContainer"],Bqe=["textPrefixContainer"];function Vqe(r,a){1&r&&Q(0,"span",19)}function zqe(r,a){if(1&r&&(C(0,"label",17),Ie(1,1),I(2,Vqe,1,0,"span",18),k()),2&r){const i=S(2);x("floating",i._shouldLabelFloat())("monitorResize",i._hasOutline())("id",i._labelId),ge("for",i._control.id),y(2),x("ngIf",!i.hideRequiredMarker&&i._control.required)}}function Hqe(r,a){1&r&&I(0,zqe,3,5,"label",16),2&r&&x("ngIf",S()._hasFloatingLabel())}function Gqe(r,a){1&r&&Q(0,"div",20)}function jqe(r,a){}function $qe(r,a){1&r&&I(0,jqe,0,0,"ng-template",22),2&r&&(S(2),x("ngTemplateOutlet",ee(1)))}function Uqe(r,a){if(1&r&&(C(0,"div",21),I(1,$qe,1,1,"ng-template",9),k()),2&r){const i=S();x("matFormFieldNotchedOutlineOpen",i._shouldLabelFloat()),y(1),x("ngIf",!i._forceDisplayInfixLabel())}}function Wqe(r,a){1&r&&(C(0,"div",23,24),Ie(2,2),k())}function qqe(r,a){1&r&&(C(0,"div",25,26),Ie(2,3),k())}function Kqe(r,a){}function Yqe(r,a){1&r&&I(0,Kqe,0,0,"ng-template",22),2&r&&(S(),x("ngTemplateOutlet",ee(1)))}function Qqe(r,a){1&r&&(C(0,"div",27),Ie(1,4),k())}function Xqe(r,a){1&r&&(C(0,"div",28),Ie(1,5),k())}function Zqe(r,a){1&r&&Q(0,"div",29)}function Jqe(r,a){1&r&&(C(0,"div",30),Ie(1,6),k()),2&r&&x("@transitionMessages",S()._subscriptAnimationState)}function eKe(r,a){if(1&r&&(C(0,"mat-hint",34),P(1),k()),2&r){const i=S(2);x("id",i._hintLabelId),y(1),_e(i.hintLabel)}}function tKe(r,a){if(1&r&&(C(0,"div",31),I(1,eKe,2,2,"mat-hint",32),Ie(2,7),Q(3,"div",33),Ie(4,8),k()),2&r){const i=S();x("@transitionMessages",i._subscriptAnimationState),y(1),x("ngIf",i.hintLabel)}}const iKe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],nKe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let ud=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-label"]]})}return r})(),oKe=0;const Toe=new $e("MatError");let Cf=(()=>{class r{constructor(i,n){this.id="mat-mdc-error-"+oKe++,i||n.nativeElement.setAttribute("aria-live","polite")}static#e=this.\u0275fac=function(n){return new(n||r)(Ns("aria-live"),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(n,s){2&n&&ur("id",s.id)},inputs:{id:"id"},features:[Ye([{provide:Toe,useExisting:r}])]})}return r})(),rKe=0,pj=(()=>{class r{constructor(){this.align="start",this.id="mat-mdc-hint-"+rKe++}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,s){2&n&&(ur("id",s.id),ge("align",null),Se("mat-mdc-form-field-hint-end","end"===s.align))},inputs:{align:"align",id:"id"}})}return r})();const sKe=new $e("MatPrefix"),Eoe=new $e("MatSuffix");let Us=(()=>{class r{constructor(){this._isText=!1}set _isTextSelector(i){this._isText=!0}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[Ye([{provide:Eoe,useExisting:r}])]})}return r})();const Moe=new $e("FloatingLabelParent");let Roe=(()=>{class r{get floating(){return this._floating}set floating(i){this._floating=i,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(i){this._monitorResize=i,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(i){this._elementRef=i,this._floating=!1,this._monitorResize=!1,this._resizeObserver=st(Rqe),this._ngZone=st(et),this._parent=st(Moe),this._resizeSubscription=new Ce}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function aKe(r){if(null!==r.offsetParent)return r.scrollWidth;const i=r.cloneNode(!0);i.style.setProperty("position","absolute"),i.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(i);const n=i.scrollWidth;return i.remove(),n}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mdc-floating-label--float-above",s.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return r})();const Poe="mdc-line-ripple--active",m5="mdc-line-ripple--deactivating";let Ooe=(()=>{class r{constructor(i,n){this._elementRef=i,this._handleTransitionEnd=s=>{const l=this._elementRef.nativeElement.classList,d=l.contains(m5);"opacity"===s.propertyName&&d&&l.remove(Poe,m5)},n.runOutsideAngular(()=>{i.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const i=this._elementRef.nativeElement.classList;i.remove(m5),i.add(Poe)}deactivate(){this._elementRef.nativeElement.classList.add(m5)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et))};static#t=this.\u0275dir=re({type:r,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return r})(),Foe=(()=>{class r{constructor(i,n){this._elementRef=i,this._ngZone=n,this.open=!1}ngAfterViewInit(){const i=this._elementRef.nativeElement.querySelector(".mdc-floating-label");i?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(i){this._notch.nativeElement.style.width=this.open&&i?`calc(${i}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et))};static#t=this.\u0275cmp=de({type:r,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,s){if(1&n&&oe(Pqe,5),2&n){let l;G(l=j())&&(s._notch=l.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mdc-notched-outline--notched",s.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:Oqe,ngContentSelectors:Fqe,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(n,s){1&n&&(pt(),Q(0,"div",0),C(1,"div",1,2),Ie(3),k(),Q(4,"div",3))},encapsulation:2,changeDetection:0})}return r})();const lKe={transitionMessages:hr("transitionMessages",[yn("enter",gt({opacity:1,transform:"translateY(0%)"})),Fi("void => enter",[gt({opacity:0,transform:"translateY(-5px)"}),Di("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let f5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r})}return r})();const Gw=new $e("MatFormField"),cKe=new $e("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Noe=0,ml=(()=>{class r{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(i){this._hideRequiredMarker=Et(i)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(i){i!==this._floatLabel&&(this._floatLabel=i,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(i){const n=this._appearance;this._appearance=i||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(i){this._subscriptSizing=i||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(i){this._hintLabel=i,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(i){this._explicitFormFieldControl=i}constructor(i,n,s,l,d,p,f,v){this._elementRef=i,this._changeDetectorRef=n,this._ngZone=s,this._dir=l,this._platform=d,this._defaults=p,this._animationMode=f,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Noe++,this._hintLabelId="mat-mdc-hint-"+Noe++,this._subscriptAnimationState="",this._destroyed=new Ge,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,p&&(p.appearance&&(this.appearance=p.appearance),this._hideRequiredMarker=!!p?.hideRequiredMarker,p.color&&(this.color=p.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const i=this._control;i.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${i.controlType}`),i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),i.ngControl&&i.ngControl.valueChanges&&i.ngControl.valueChanges.pipe(xe(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(i=>!i._isText),this._hasTextPrefix=!!this._prefixChildren.find(i=>i._isText),this._hasIconSuffix=!!this._suffixChildren.find(i=>!i._isText),this._hasTextSuffix=!!this._suffixChildren.find(i=>i._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),rn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(xe(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(xe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(i){const n=this._control?this._control.ngControl:null;return n&&n[i]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let i=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&i.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const n=this._hintChildren?this._hintChildren.find(l=>"start"===l.align):null,s=this._hintChildren?this._hintChildren.find(l=>"end"===l.align):null;n?i.push(n.id):this._hintLabel&&i.push(this._hintLabelId),s&&i.push(s.id)}else this._errorChildren&&i.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(i)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const i=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(i.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const n=this._iconPrefixContainer?.nativeElement,s=this._textPrefixContainer?.nativeElement,l=n?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0;i.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${l+d}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const i=this._elementRef.nativeElement;if(i.getRootNode){const n=i.getRootNode();return n&&n!==i}return document.documentElement.contains(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(et),T(Yr),T(Po),T(cKe,8),T(Eo,8),T(Tt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-form-field"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,ud,5),Fe(l,ud,7),Fe(l,f5,5),Fe(l,sKe,5),Fe(l,Eoe,5),Fe(l,Toe,5),Fe(l,pj,5)),2&n){let d;G(d=j())&&(s._labelChildNonStatic=d.first),G(d=j())&&(s._labelChildStatic=d.first),G(d=j())&&(s._formFieldControl=d.first),G(d=j())&&(s._prefixChildren=d),G(d=j())&&(s._suffixChildren=d),G(d=j())&&(s._errorChildren=d),G(d=j())&&(s._hintChildren=d)}},viewQuery:function(n,s){if(1&n&&(oe(Nqe,5),oe(Lqe,5),oe(Bqe,5),oe(Roe,5),oe(Foe,5),oe(Ooe,5)),2&n){let l;G(l=j())&&(s._textField=l.first),G(l=j())&&(s._iconPrefixContainer=l.first),G(l=j())&&(s._textPrefixContainer=l.first),G(l=j())&&(s._floatingLabel=l.first),G(l=j())&&(s._notchedOutline=l.first),G(l=j())&&(s._lineRipple=l.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,s){2&n&&Se("mat-mdc-form-field-label-always-float",s._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",s._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",s._hasIconSuffix)("mat-form-field-invalid",s._control.errorState)("mat-form-field-disabled",s._control.disabled)("mat-form-field-autofilled",s._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===s._animationMode)("mat-form-field-appearance-fill","fill"==s.appearance)("mat-form-field-appearance-outline","outline"==s.appearance)("mat-form-field-hide-placeholder",s._hasFloatingLabel()&&!s._shouldLabelFloat())("mat-focused",s._control.focused)("mat-primary","accent"!==s.color&&"warn"!==s.color)("mat-accent","accent"===s.color)("mat-warn","warn"===s.color)("ng-untouched",s._shouldForward("untouched"))("ng-touched",s._shouldForward("touched"))("ng-pristine",s._shouldForward("pristine"))("ng-dirty",s._shouldForward("dirty"))("ng-valid",s._shouldForward("valid"))("ng-invalid",s._shouldForward("invalid"))("ng-pending",s._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ye([{provide:Gw,useExisting:r},{provide:Moe,useExisting:r}])],ngContentSelectors:nKe,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(n,s){1&n&&(pt(iKe),I(0,Hqe,1,1,"ng-template",null,0,pe),C(2,"div",1,2),B("click",function(d){return s._control.onContainerClick(d)}),I(4,Gqe,1,0,"div",3),C(5,"div",4),I(6,Uqe,2,2,"div",5),I(7,Wqe,3,0,"div",6),I(8,qqe,3,0,"div",7),C(9,"div",8),I(10,Yqe,1,1,"ng-template",9),Ie(11),k(),I(12,Qqe,2,0,"div",10),I(13,Xqe,2,0,"div",11),k(),I(14,Zqe,1,0,"div",12),k(),C(15,"div",13),I(16,Jqe,2,1,"div",14),I(17,tKe,5,2,"div",15),k()),2&n&&(y(2),Se("mdc-text-field--filled",!s._hasOutline())("mdc-text-field--outlined",s._hasOutline())("mdc-text-field--no-label",!s._hasFloatingLabel())("mdc-text-field--disabled",s._control.disabled)("mdc-text-field--invalid",s._control.errorState),y(2),x("ngIf",!s._hasOutline()&&!s._control.disabled),y(2),x("ngIf",s._hasOutline()),y(1),x("ngIf",s._hasIconPrefix),y(1),x("ngIf",s._hasTextPrefix),y(2),x("ngIf",!s._hasOutline()||s._forceDisplayInfixLabel()),y(2),x("ngIf",s._hasTextSuffix),y(1),x("ngIf",s._hasIconSuffix),y(1),x("ngIf",!s._hasOutline()),y(1),Se("mat-mdc-form-field-subscript-dynamic-size","dynamic"===s.subscriptSizing),x("ngSwitch",s._getDisplayedMessages()),y(1),x("ngSwitchCase","error"),y(1),x("ngSwitchCase","hint"))},dependencies:[Qe,Kt,ed,ju,pj,Roe,Foe,Ooe],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[lKe.transitionMessages]},changeDetection:0})}return r})(),_5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Gs,HH,Ai]})}return r})();const Voe=new $e("MAT_INPUT_VALUE_ACCESSOR"),hKe=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let pKe=0;const gKe=t8(class{constructor(r,a,i,n){this._defaultErrorStateMatcher=r,this._parentForm=a,this._parentFormGroup=i,this.ngControl=n,this.stateChanges=new Ge}});let hs=(()=>{class r extends gKe{get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(i){this._id=i||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ft.required)??!1}set required(i){this._required=Et(i)}get type(){return this._type}set type(i){this._type=i||"text",this._validateType(),!this._isTextarea&&HQ().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(i){i!==this.value&&(this._inputValueAccessor.value=i,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(i){this._readonly=Et(i)}constructor(i,n,s,l,d,p,f,v,D,E){super(p,l,d,s),this._elementRef=i,this._platform=n,this._autofillMonitor=v,this._formField=E,this._uid="mat-input-"+pKe++,this.focused=!1,this.stateChanges=new Ge,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter($=>HQ().has($)),this._iOSKeyupListener=$=>{const q=$.target;!q.value&&0===q.selectionStart&&0===q.selectionEnd&&(q.setSelectionRange(1,1),q.setSelectionRange(0,0))};const F=this._elementRef.nativeElement,L=F.nodeName.toLowerCase();this._inputValueAccessor=f||F,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&D.runOutsideAngular(()=>{i.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===L,this._isTextarea="textarea"===L,this._isInFormField=!!E,this._isNativeSelect&&(this.controlType=F.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(i=>{this.autofilled=i.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(i){this._elementRef.nativeElement.focus(i)}_focusChanged(i){i!==this.focused&&(this.focused=i,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const i=this._elementRef.nativeElement.value;this._previousNativeValue!==i&&(this._previousNativeValue=i,this.stateChanges.next())}_dirtyCheckPlaceholder(){const i=this._getPlaceholder();if(i!==this._previousPlaceholder){const n=this._elementRef.nativeElement;this._previousPlaceholder=i,i?n.setAttribute("placeholder",i):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){hKe.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let i=this._elementRef.nativeElement.validity;return i&&i.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const i=this._elementRef.nativeElement,n=i.options[0];return this.focused||i.multiple||!this.empty||!!(i.selectedIndex>-1&&n&&n.label)}return this.focused||!this.empty}setDescribedByIds(i){i.length?this._elementRef.nativeElement.setAttribute("aria-describedby",i.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const i=this._elementRef.nativeElement;return this._isNativeSelect&&(i.multiple||i.size>1)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Po),T(ws,10),T(iw,8),T(jo,8),T(Ev),T(Voe,10),T(Tqe),T(et),T(Gw,8))};static#t=this.\u0275dir=re({type:r,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(n,s){1&n&&B("focus",function(){return s._focusChanged(!0)})("blur",function(){return s._focusChanged(!1)})("input",function(){return s._onInput()}),2&n&&(ur("id",s.id)("disabled",s.disabled)("required",s.required),ge("name",s.name||null)("readonly",s.readonly&&!s._isNativeSelect||null)("aria-invalid",s.empty&&s.required?null:s.errorState)("aria-required",s.required)("id",s.id),Se("mat-input-server",s._isServer)("mat-mdc-form-field-textarea-control",s._isInFormField&&s._isTextarea)("mat-mdc-form-field-input-control",s._isInFormField)("mdc-text-field__input",s._isInFormField)("mat-mdc-native-select-inline",s._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Ye([{provide:f5,useExisting:r}]),Ae,ci]})}return r})(),mKe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,_5,_5,Eqe,Ai]})}return r})();const fKe=["*"],bKe=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],yKe=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],CKe=new $e("MAT_CARD_CONFIG");let v5=(()=>{class r{constructor(i){this.appearance=i?.appearance||"raised"}static#e=this.\u0275fac=function(n){return new(n||r)(T(CKe,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(n,s){2&n&&Se("mat-mdc-card-outlined","outlined"===s.appearance)("mdc-card--outlined","outlined"===s.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:fKe,decls:1,vars:0,template:function(n,s){1&n&&(pt(),Ie(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:rgba(0, 0, 0, 0.6);flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:rgba(0, 0, 0, 0.6)}.mat-mdc-card{border-radius:var(--mdc-elevated-card-container-shape);background-color:var(--mdc-elevated-card-container-color);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color);box-shadow:var(--mdc-elevated-card-container-elevation);--mdc-elevated-card-container-shape:4px;--mdc-outlined-card-container-shape:4px;--mdc-outlined-card-outline-width:1px}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape)}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width);border-style:solid;border-color:var(--mdc-outlined-card-outline-color);border-radius:var(--mdc-outlined-card-container-shape);background-color:var(--mdc-outlined-card-container-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.mat-mdc-card-outlined .mdc-card::after{border-radius:var(--mdc-outlined-card-container-shape)}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-weight)}.mat-mdc-card{position:relative}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}return r})(),zoe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return r})(),b5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return r})(),gj=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return r})(),Hoe=(()=>{class r{constructor(){this.align="start"}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mat-mdc-card-actions-align-end","end"===s.align)},inputs:{align:"align"},exportAs:["matCardActions"]})}return r})(),y5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:yKe,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(n,s){1&n&&(pt(bKe),Ie(0),C(1,"div",0),Ie(2,1),k(),Ie(3,2))},encapsulation:2,changeDetection:0})}return r})(),xKe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Gs,Ai]})}return r})();const kKe=["mat-button",""],Goe=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],joe=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],AKe=["mat-mini-fab",""],SKe=["mat-icon-button",""],TKe=["*"],EKe=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],MKe=Iv(Vp(Om(class{constructor(r){this._elementRef=r}})));let mj=(()=>{class r extends MKe{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=Et(i),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._updateRippleDisabled()}constructor(i,n,s,l){super(i),this._platform=n,this._ngZone=s,this._animationMode=l,this._focusMonitor=st(al),this._rippleLoader=st(FX),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const d=i.nativeElement.classList;for(const p of EKe)this._hasHostAttributes(p.selector)&&p.mdcClasses.forEach(f=>{d.add(f)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(i="program",n){i?this._focusMonitor.focusVia(this._elementRef.nativeElement,i,n):this._elementRef.nativeElement.focus(n)}_hasHostAttributes(...i){return i.some(n=>this._elementRef.nativeElement.hasAttribute(n))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,features:[Ae]})}return r})(),Cr=(()=>{class r extends mj{constructor(i,n,s,l){super(i,n,s,l)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Po),T(et),T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(n,s){2&n&&(ge("disabled",s.disabled||null),Se("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ae],attrs:kKe,ngContentSelectors:joe,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,s){1&n&&(pt(Goe),Q(0,"span",0),Ie(1),C(2,"span",1),Ie(3,1),k(),Ie(4,2),Q(5,"span",2)(6,"span",3)),2&n&&Se("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return r})();const PKe=new $e("mat-mdc-fab-default-options",{providedIn:"root",factory:$oe});function $oe(){return{color:"accent"}}const Uoe=$oe();let jw=(()=>{class r extends mj{constructor(i,n,s,l,d){super(i,n,s,l),this._options=d,this._isFab=!0,this._options=this._options||Uoe,this.color=this.defaultColor=this._options.color||Uoe.color}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Po),T(et),T(Eo,8),T(PKe,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(n,s){2&n&&(ge("disabled",s.disabled||null),Se("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ae],attrs:AKe,ngContentSelectors:joe,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,s){1&n&&(pt(Goe),Q(0,"span",0),Ie(1),C(2,"span",1),Ie(3,1),k(),Ie(4,2),Q(5,"span",2)(6,"span",3)),2&n&&Se("mdc-button__ripple",!s._isFab)("mdc-fab__ripple",s._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return r})(),wr=(()=>{class r extends mj{constructor(i,n,s,l){super(i,n,s,l),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Po),T(et),T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(n,s){2&n&&(ge("disabled",s.disabled||null),Se("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mat-unthemed",!s.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ae],attrs:SKe,ngContentSelectors:TKe,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,s){1&n&&(pt(),Q(0,"span",0),Ie(1),Q(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return r})(),C5=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Hp,Ai]})}return r})();const OKe=["*"];let w5;function ES(r){return function FKe(){if(void 0===w5&&(w5=null,typeof window<"u")){const r=window;void 0!==r.trustedTypes&&(w5=r.trustedTypes.createPolicy("angular#components",{createHTML:a=>a}))}return w5}()?.createHTML(r)||r}function Woe(r){return Error(`Unable to find icon with the name "${r}"`)}function qoe(r){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${r}".`)}function Koe(r){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${r}".`)}class _b{constructor(a,i,n){this.url=a,this.svgText=i,this.options=n}}let x5=(()=>{class r{constructor(i,n,s,l){this._httpClient=i,this._sanitizer=n,this._errorHandler=l,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=s}addSvgIcon(i,n,s){return this.addSvgIconInNamespace("",i,n,s)}addSvgIconLiteral(i,n,s){return this.addSvgIconLiteralInNamespace("",i,n,s)}addSvgIconInNamespace(i,n,s,l){return this._addSvgIconConfig(i,n,new _b(s,null,l))}addSvgIconResolver(i){return this._resolvers.push(i),this}addSvgIconLiteralInNamespace(i,n,s,l){const d=this._sanitizer.sanitize(Tr.HTML,s);if(!d)throw Koe(s);const p=ES(d);return this._addSvgIconConfig(i,n,new _b("",p,l))}addSvgIconSet(i,n){return this.addSvgIconSetInNamespace("",i,n)}addSvgIconSetLiteral(i,n){return this.addSvgIconSetLiteralInNamespace("",i,n)}addSvgIconSetInNamespace(i,n,s){return this._addSvgIconSetConfig(i,new _b(n,null,s))}addSvgIconSetLiteralInNamespace(i,n,s){const l=this._sanitizer.sanitize(Tr.HTML,n);if(!l)throw Koe(n);const d=ES(l);return this._addSvgIconSetConfig(i,new _b("",d,s))}registerFontClassAlias(i,n=i){return this._fontCssClassesByAlias.set(i,n),this}classNameForFontAlias(i){return this._fontCssClassesByAlias.get(i)||i}setDefaultFontSetClass(...i){return this._defaultFontSetClass=i,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(i){const n=this._sanitizer.sanitize(Tr.RESOURCE_URL,i);if(!n)throw qoe(i);const s=this._cachedIconsByUrl.get(n);return s?Dt(k5(s)):this._loadSvgIconFromConfig(new _b(i,null)).pipe(Or(l=>this._cachedIconsByUrl.set(n,l)),Rt(l=>k5(l)))}getNamedSvgIcon(i,n=""){const s=Yoe(n,i);let l=this._svgIconConfigs.get(s);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(n,i),l)return this._svgIconConfigs.set(s,l),this._getSvgFromConfig(l);const d=this._iconSetConfigs.get(n);return d?this._getSvgFromIconSetConfigs(i,d):DC(Woe(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(i){return i.svgText?Dt(k5(this._svgElementFromConfig(i))):this._loadSvgIconFromConfig(i).pipe(Rt(n=>k5(n)))}_getSvgFromIconSetConfigs(i,n){const s=this._extractIconWithNameFromAnySet(i,n);return s?Dt(s):zX(n.filter(d=>!d.svgText).map(d=>this._loadSvgIconSetFromConfig(d).pipe(xm(p=>{const v=`Loading icon set URL: ${this._sanitizer.sanitize(Tr.RESOURCE_URL,d.url)} failed: ${p.message}`;return this._errorHandler.handleError(new Error(v)),Dt(null)})))).pipe(Rt(()=>{const d=this._extractIconWithNameFromAnySet(i,n);if(!d)throw Woe(i);return d}))}_extractIconWithNameFromAnySet(i,n){for(let s=n.length-1;s>=0;s--){const l=n[s];if(l.svgText&&l.svgText.toString().indexOf(i)>-1){const d=this._svgElementFromConfig(l),p=this._extractSvgIconFromSet(d,i,l.options);if(p)return p}}return null}_loadSvgIconFromConfig(i){return this._fetchIcon(i).pipe(Or(n=>i.svgText=n),Rt(()=>this._svgElementFromConfig(i)))}_loadSvgIconSetFromConfig(i){return i.svgText?Dt(null):this._fetchIcon(i).pipe(Or(n=>i.svgText=n))}_extractSvgIconFromSet(i,n,s){const l=i.querySelector(`[id="${n}"]`);if(!l)return null;const d=l.cloneNode(!0);if(d.removeAttribute("id"),"svg"===d.nodeName.toLowerCase())return this._setSvgAttributes(d,s);if("symbol"===d.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(d),s);const p=this._svgElementFromString(ES(""));return p.appendChild(d),this._setSvgAttributes(p,s)}_svgElementFromString(i){const n=this._document.createElement("DIV");n.innerHTML=i;const s=n.querySelector("svg");if(!s)throw Error(" tag not found");return s}_toSvgElement(i){const n=this._svgElementFromString(ES("")),s=i.attributes;for(let l=0;lES(v)),IC(()=>this._inProgressUrlFetches.delete(d)),bd());return this._inProgressUrlFetches.set(d,f),f}_addSvgIconConfig(i,n,s){return this._svgIconConfigs.set(Yoe(i,n),s),this}_addSvgIconSetConfig(i,n){const s=this._iconSetConfigs.get(i);return s?s.push(n):this._iconSetConfigs.set(i,[n]),this}_svgElementFromConfig(i){if(!i.svgElement){const n=this._svgElementFromString(i.svgText);this._setSvgAttributes(n,i.options),i.svgElement=n}return i.svgElement}_getIconConfigFromResolvers(i,n){for(let s=0;sa?a.pathname+a.search:""}}}),Qoe=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],jKe=Qoe.map(r=>`[${r}]`).join(", "),$Ke=/^url\(['"]?#(.*?)['"]?\)$/;let Fo=(()=>{class r extends VKe{get inline(){return this._inline}set inline(i){this._inline=Et(i)}get svgIcon(){return this._svgIcon}set svgIcon(i){i!==this._svgIcon&&(i?this._updateSvgIcon(i):this._svgIcon&&this._clearSvgElement(),this._svgIcon=i)}get fontSet(){return this._fontSet}set fontSet(i){const n=this._cleanupFontValue(i);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(i){const n=this._cleanupFontValue(i);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(i,n,s,l,d,p){super(i),this._iconRegistry=n,this._location=l,this._errorHandler=d,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ce.EMPTY,p&&(p.color&&(this.color=this.defaultColor=p.color),p.fontSet&&(this.fontSet=p.fontSet)),s||i.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(i){if(!i)return["",""];const n=i.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${i}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const i=this._elementsWithExternalReferences;if(i&&i.size){const n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(i){this._clearSvgElement();const n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(i),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(i)}_clearSvgElement(){const i=this._elementRef.nativeElement;let n=i.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){const s=i.childNodes[n];(1!==s.nodeType||"svg"===s.nodeName.toLowerCase())&&s.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const i=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(s=>s.length>0);this._previousFontSetClass.forEach(s=>i.classList.remove(s)),n.forEach(s=>i.classList.add(s)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&i.classList.remove(this._previousFontIconClass),this.fontIcon&&i.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(i){return"string"==typeof i?i.trim().split(" ")[0]:i}_prependPathToReferences(i){const n=this._elementsWithExternalReferences;n&&n.forEach((s,l)=>{s.forEach(d=>{l.setAttribute(d.name,`url('${i}#${d.value}')`)})})}_cacheChildrenWithExternalReferences(i){const n=i.querySelectorAll(jKe),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l{const p=n[l],f=p.getAttribute(d),v=f?f.match($Ke):null;if(v){let D=s.get(p);D||(D=[],s.set(p,D)),D.push({name:d,value:v[1]})}})}_updateSvgIcon(i){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),i){const[n,s]=this._splitIconName(i);n&&(this._svgNamespace=n),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,n).pipe(An(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${n}:${s}! ${l.message}`))})}}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(x5),Ns("aria-hidden"),T(HKe),T(Nl),T(zKe,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(n,s){2&n&&(ge("data-mat-icon-type",s._usingFontIcon()?"font":"svg")("data-mat-icon-name",s._svgName||s.fontIcon)("data-mat-icon-namespace",s._svgNamespace||s.fontSet)("fontIcon",s._usingFontIcon()?s.fontIcon:null),Se("mat-icon-inline",s.inline)("mat-icon-no-color","primary"!==s.color&&"accent"!==s.color&&"warn"!==s.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Ae],ngContentSelectors:OKe,decls:1,vars:0,template:function(n,s){1&n&&(pt(),Ie(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return r})(),Xoe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Ai]})}return r})(),UKe=(()=>{class r{constructor(i,n,s,l){this.builder=i,this.toastr=n,this.service=s,this.router=l,this.hide=!0,this.registerform=this.builder.group({email:this.builder.control("",Ft.compose([Ft.required,Ft.email])),password:this.builder.control("",Ft.compose([Ft.required,Ft.pattern("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*_=+-/]).{6,16}$")])),confirmPassword:this.builder.control("",Ft.required)})}proceedregisteration(){if(this.registerform.valid)this.registerform.value.password===this.registerform.value.confirmPassword?this.service.ProceedRegister(this.registerform.value).subscribe(i=>{this.toastr.success("Vui l\xf2ng nh\u1eadp m\xe3 x\xe1c nh\u1eadn \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn email c\u1ee7a b\u1ea1n","\u0110\u0103ng k\xfd th\xe0nh c\xf4ng"),this.router.navigate(["/login"])},i=>{const n=i.error.message;this.toastr.error(null==n?"L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y":n)}):this.toastr.warning("M\u1eadt kh\u1ea9u kh\xf4ng kh\u1edbp!");else{const i=this.registerform.get("email")??null,n=this.registerform.get("password")??null;i&&i.hasError("email")?this.toastr.warning("Email kh\xf4ng h\u1ee3p l\u1ec7. H\xe3y nh\u1eadp m\u1ed9t \u0111\u1ecba ch\u1ec9 email h\u1ee3p l\u1ec7."):n&&n.hasError("pattern")?this.toastr.warning("M\u1eadt kh\u1ea9u \xedt nh\u1ea5t ph\u1ea3i c\xf3 6 k\xfd t\u1ef1 v\xe0 bao g\u1ed3m: Hoa, th\u01b0\u1eddng, s\u1ed1 v\xe0 k\xfd t\u1ef1 \u0111\u1eb7c bi\u1ec7t"):this.toastr.warning("Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin!")}}togglePasswordVisibility(){this.hide=!this.hide}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(Mi),T(Qu),T(di))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-register"]],decls:27,vars:5,consts:[[1,"form-register",2,"width","100%","margin-top","100px"],[1,"form-register","font"],[1,"font",3,"formGroup","ngSubmit"],[1,"example-full-width"],["matInput","","autocomplete","email","placeholder","V\xed d\u1ee5: 'admin@gmail.com'","formControlName","email"],["matInput","","type","password","placeholder","V\xed d\u1ee5: 'Mk5manh/'","autocomplete","password","formControlName","password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["type","password","matInput","","formControlName","confirmPassword"],[2,"justify-content","space-around","display","flex"],["mat-raised-button","","color","primary"],["routerLink","/login","color","accent"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"mat-card",1)(2,"mat-card-header")(3,"h1"),P(4,"\u0110\u0103ng k\xfd t\xe0i kho\u1ea3n \u{1f680}"),k()(),C(5,"mat-card-content")(6,"form",2),B("ngSubmit",function(){return s.proceedregisteration()}),C(7,"mat-form-field",3)(8,"mat-label"),P(9,"Email"),k(),Q(10,"input",4),k(),C(11,"mat-form-field",3)(12,"mat-label"),P(13,"M\u1eadt kh\u1ea9u"),k(),Q(14,"input",5),C(15,"button",6),B("click",function(){return s.hide=!s.hide}),C(16,"mat-icon"),P(17),k()()(),C(18,"mat-form-field",3)(19,"mat-label"),P(20,"Nh\u1eadp l\u1ea1i m\u1eadt kh\u1ea9u"),k(),Q(21,"input",7),k(),C(22,"div",8)(23,"button",9),P(24,"\u0110\u0103ng k\xfd"),k(),C(25,"a",10),P(26,"Quay l\u1ea1i \u0111\u0103ng nh\u1eadp"),k()()()()()()),2&n&&(y(6),x("formGroup",s.registerform),y(8),x("type",s.hide?"password":"text"),y(1),ge("aria-label","Hide password")("aria-pressed",s.hide),y(2),_e(s.hide?"visibility_off":"visibility"))},dependencies:[js,cl,Sn,gn,Qr,hs,ml,ud,Us,v5,b5,y5,Cr,wr,Fo,jo,ba],styles:[".form-register[_ngcontent-%COMP%]{width:40%;display:flex;align-items:center;justify-content:center;padding:0}.example-full-width[_ngcontent-%COMP%]{display:flex;width:300px}"]})}return r})();function WKe(r,a){}class D5{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let Zoe=(()=>{class r extends XH{constructor(i,n,s,l,d,p,f,v){super(),this._elementRef=i,this._focusTrapFactory=n,this._config=l,this._interactivityChecker=d,this._ngZone=p,this._overlayRef=f,this._focusMonitor=v,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=D=>{this._portalOutlet.hasAttached();const E=this._portalOutlet.attachDomPortal(D);return this._contentAttached(),E},this._document=s,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),n}attachTemplatePortal(i){this._portalOutlet.hasAttached();const n=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),n}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,n){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const s=()=>{i.removeEventListener("blur",s),i.removeEventListener("mousedown",s),i.removeAttribute("tabindex")};i.addEventListener("blur",s),i.addEventListener("mousedown",s)})),i.focus(n)}_focusByCssSelector(i,n){let s=this._elementRef.nativeElement.querySelector(i);s&&this._forceFocus(s,n)}_trapFocus(){const i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(n=>{n||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const i=this._config.restoreFocus;let n=null;if("string"==typeof i?n=this._document.querySelector(i):"boolean"==typeof i?n=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(n=i),this._config.restoreFocus&&n&&"function"==typeof n.focus){const s=UC(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(n,this._closeInteractionType),this._closeInteractionType=null):n.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const i=this._elementRef.nativeElement,n=UC();return i===n||i.contains(n)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=UC())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(I3),T(Tt,8),T(D5),T(A3),T(et),T(rI),T(al))};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-dialog-container"]],viewQuery:function(n,s){if(1&n&&oe(ZC,7),2&n){let l;G(l=j())&&(s._portalOutlet=l.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(n,s){2&n&&ge("id",s._config.id||null)("role",s._config.role)("aria-modal",s._config.ariaModal)("aria-labelledby",s._config.ariaLabel?null:s._ariaLabelledByQueue[0])("aria-label",s._config.ariaLabel)("aria-describedby",s._config.ariaDescribedBy||null)},features:[Ae],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(n,s){1&n&&I(0,WKe,0,0,"ng-template",0)},dependencies:[ZC],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return r})();class fj{constructor(a,i){this.overlayRef=a,this.config=i,this.closed=new Ge,this.disableClose=i.disableClose,this.backdropClick=a.backdropClick(),this.keydownEvents=a.keydownEvents(),this.outsidePointerEvents=a.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(n=>{27===n.keyCode&&!this.disableClose&&!Nr(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=a.detachments().subscribe(()=>{!1!==i.closeOnOverlayDetachments&&this.close()})}close(a,i){if(this.containerInstance){const n=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(a),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(a="",i=""){return this.overlayRef.updateSize({width:a,height:i}),this}addPanelClass(a){return this.overlayRef.addPanelClass(a),this}removePanelClass(a){return this.overlayRef.removePanelClass(a),this}}const Joe=new $e("DialogScrollStrategy"),qKe=new $e("DialogData"),KKe=new $e("DefaultDialogConfig"),QKe={provide:Joe,deps:[_a],useFactory:function YKe(r){return()=>r.scrollStrategies.block()}};let XKe=0,ere=(()=>{class r{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(i,n,s,l,d,p){this._overlay=i,this._injector=n,this._defaultOptions=s,this._parentDialog=l,this._overlayContainer=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ge,this._afterOpenedAtThisLevel=new Ge,this._ariaHiddenElements=new Map,this.afterAllClosed=mv(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(go(void 0))),this._scrollStrategy=p}open(i,n){(n={...this._defaultOptions||new D5,...n}).id=n.id||"cdk-dialog-"+XKe++,n.id&&this.getDialogById(n.id);const l=this._getOverlayConfig(n),d=this._overlay.create(l),p=new fj(d,n),f=this._attachContainer(d,p,n);return p.containerInstance=f,this._attachDialogContent(i,p,f,n),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(p),p.closed.subscribe(()=>this._removeOpenDialog(p,!0)),this.afterOpened.next(p),p}closeAll(){_j(this.openDialogs,i=>i.close())}getDialogById(i){return this.openDialogs.find(n=>n.id===i)}ngOnDestroy(){_j(this._openDialogsAtThisLevel,i=>{!1===i.config.closeOnDestroy&&this._removeOpenDialog(i,!1)}),_j(this._openDialogsAtThisLevel,i=>i.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(i){const n=new JC({positionStrategy:i.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:i.scrollStrategy||this._scrollStrategy(),panelClass:i.panelClass,hasBackdrop:i.hasBackdrop,direction:i.direction,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,width:i.width,height:i.height,disposeOnNavigation:i.closeOnNavigation});return i.backdropClass&&(n.backdropClass=i.backdropClass),n}_attachContainer(i,n,s){const l=s.injector||s.viewContainerRef?.injector,d=[{provide:D5,useValue:s},{provide:fj,useValue:n},{provide:rI,useValue:i}];let p;s.container?"function"==typeof s.container?p=s.container:(p=s.container.type,d.push(...s.container.providers(s))):p=Zoe;const f=new QC(p,s.viewContainerRef,Jt.create({parent:l||this._injector,providers:d}),s.componentFactoryResolver);return i.attach(f).instance}_attachDialogContent(i,n,s,l){if(i instanceof je){const d=this._createInjector(l,n,s,void 0);let p={$implicit:l.data,dialogRef:n};l.templateContext&&(p={...p,..."function"==typeof l.templateContext?l.templateContext():l.templateContext}),s.attachTemplatePortal(new XC(i,null,p,d))}else{const d=this._createInjector(l,n,s,this._injector),p=s.attachComponentPortal(new QC(i,l.viewContainerRef,d,l.componentFactoryResolver));n.componentRef=p,n.componentInstance=p.instance}}_createInjector(i,n,s,l){const d=i.injector||i.viewContainerRef?.injector,p=[{provide:qKe,useValue:i.data},{provide:fj,useValue:n}];return i.providers&&("function"==typeof i.providers?p.push(...i.providers(n,i,s)):p.push(...i.providers)),i.direction&&(!d||!d.get(Yr,null,{optional:!0}))&&p.push({provide:Yr,useValue:{value:i.direction,change:Dt()}}),Jt.create({parent:d||l,providers:p})}_removeOpenDialog(i,n){const s=this.openDialogs.indexOf(i);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((l,d)=>{l?d.setAttribute("aria-hidden",l):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),n&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const i=this._overlayContainer.getContainerElement();if(i.parentElement){const n=i.parentElement.children;for(let s=n.length-1;s>-1;s--){const l=n[s];l!==i&&"SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(n){return new(n||r)(De(_a),De(Jt),De(KKe,8),De(r,12),De(M3),De(Joe))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function _j(r,a){let i=r.length;for(;i--;)a(r[i])}let ZKe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[ere,QKe],imports:[Pm,Dv,iI,Dv]})}return r})();function JKe(r,a){}class MS{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const vj="mdc-dialog--open",tre="mdc-dialog--opening",ire="mdc-dialog--closing";let iYe=(()=>{class r extends Zoe{constructor(i,n,s,l,d,p,f,v){super(i,n,s,l,d,p,f,v),this._animationStateChanged=new X}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(i){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(I3),T(Tt,8),T(MS),T(A3),T(et),T(rI),T(al))};static#t=this.\u0275cmp=de({type:r,selectors:[["ng-component"]],features:[Ae],decls:0,vars:0,template:function(n,s){},encapsulation:2})}return r})();const nre="--mat-dialog-transition-duration";function ore(r){return null==r?null:"number"==typeof r?r:r.endsWith("ms")?Ba(r.substring(0,r.length-2)):r.endsWith("s")?1e3*Ba(r.substring(0,r.length-1)):"0"===r?0:null}let nYe=(()=>{class r extends iYe{constructor(i,n,s,l,d,p,f,v,D){super(i,n,s,l,d,p,f,D),this._animationMode=v,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ore(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ore(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(nre,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(tre,vj)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(vj),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(vj),this._animationsEnabled?(this._hostElement.style.setProperty(nre,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ire)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(tre,ire)}_waitForAnimationToComplete(i,n){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(n,i)}_requestAnimationFrame(i){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(i):i()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(I3),T(Tt,8),T(MS),T(A3),T(et),T(rI),T(Eo,8),T(al))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(n,s){2&n&&(ur("id",s._config.id),ge("aria-modal",s._config.ariaModal)("role",s._config.role)("aria-labelledby",s._config.ariaLabel?null:s._ariaLabelledByQueue[0])("aria-label",s._config.ariaLabel)("aria-describedby",s._config.ariaDescribedBy||null),Se("_mat-animation-noopable",!s._animationsEnabled))},features:[Ae],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1),I(2,JKe,0,0,"ng-template",2),k()())},dependencies:[ZC],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return r})();class hd{constructor(a,i,n){this._ref=a,this._containerInstance=n,this._afterOpened=new Ge,this._beforeClosed=new Ge,this._state=0,this.disableClose=i.disableClose,this.id=a.id,n._animationStateChanged.pipe(xi(s=>"opened"===s.state),An(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(xi(s=>"closed"===s.state),An(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),rn(this.backdropClick(),this.keydownEvents().pipe(xi(s=>27===s.keyCode&&!this.disableClose&&!Nr(s)))).subscribe(s=>{this.disableClose||(s.preventDefault(),function oYe(r,a,i){r._closeInteractionType=a,r.close(i)}(this,"keydown"===s.type?"keyboard":"mouse"))})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe(xi(i=>"closing"===i.state),An(1)).subscribe(i=>{this._beforeClosed.next(a),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(a){let i=this._ref.config.positionStrategy;return a&&(a.left||a.right)?a.left?i.left(a.left):i.right(a.right):i.centerHorizontally(),a&&(a.top||a.bottom)?a.top?i.top(a.top):i.bottom(a.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(a="",i=""){return this._ref.updateSize(a,i),this}addPanelClass(a){return this._ref.addPanelClass(a),this}removePanelClass(a){return this._ref.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const RS=new $e("MatMdcDialogData"),rYe=new $e("mat-mdc-dialog-default-options"),rre=new $e("mat-mdc-dialog-scroll-strategy"),aYe={provide:rre,deps:[_a],useFactory:function sYe(r){return()=>r.scrollStrategies.block()}};let lYe=0,cYe=(()=>{class r{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(i,n,s,l,d,p,f,v,D,E){this._overlay=i,this._defaultOptions=s,this._parentDialog=l,this._dialogRefConstructor=f,this._dialogContainerType=v,this._dialogDataToken=D,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ge,this._afterOpenedAtThisLevel=new Ge,this._idPrefix="mat-dialog-",this.dialogConfigClass=MS,this.afterAllClosed=mv(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(go(void 0))),this._scrollStrategy=p,this._dialog=n.get(ere)}open(i,n){let s;(n={...this._defaultOptions||new MS,...n}).id=n.id||`${this._idPrefix}${lYe++}`,n.scrollStrategy=n.scrollStrategy||this._scrollStrategy();const l=this._dialog.open(i,{...n,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:n},{provide:D5,useValue:n}]},templateContext:()=>({dialogRef:s}),providers:(d,p,f)=>(s=new this._dialogRefConstructor(d,n,f),s.updatePosition(n?.position),[{provide:this._dialogContainerType,useValue:f},{provide:this._dialogDataToken,useValue:p.data},{provide:this._dialogRefConstructor,useValue:s}])});return s.componentRef=l.componentRef,s.componentInstance=l.componentInstance,this.openDialogs.push(s),this.afterOpened.next(s),s.afterClosed().subscribe(()=>{const d=this.openDialogs.indexOf(s);d>-1&&(this.openDialogs.splice(d,1),this.openDialogs.length||this._getAfterAllClosed().next())}),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(i){return this.openDialogs.find(n=>n.id===i)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(i){let n=i.length;for(;n--;)i[n].close()}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),Dc=(()=>{class r extends cYe{constructor(i,n,s,l,d,p,f,v){super(i,n,l,p,f,d,hd,nYe,RS,v),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(n){return new(n||r)(De(_a),De(Jt),De(Gu,8),De(rYe,8),De(rre),De(r,12),De(M3),De(Eo,8))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),dYe=0,uYe=(()=>{class r{constructor(i,n,s){this._dialogRef=i,this._elementRef=n,this._dialog=s,this.id="mat-mdc-dialog-title-"+dYe++}ngOnInit(){this._dialogRef||(this._dialogRef=function pYe(r,a){let i=r.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?a.find(n=>n.id===i.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const i=this._dialogRef?._containerInstance?._ariaLabelledByQueue;i&&Promise.resolve().then(()=>{const n=i.indexOf(this.id);n>-1&&i.splice(n,1)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(hd,8),T(ke),T(Dc))};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(n,s){2&n&&ur("id",s.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return r})(),sre=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]})}return r})(),hYe=(()=>{class r{constructor(){this.align="start"}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(n,s){2&n&&Se("mat-mdc-dialog-actions-align-center","center"===s.align)("mat-mdc-dialog-actions-align-end","end"===s.align)},inputs:{align:"align"}})}return r})(),gYe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[Dc,aYe],imports:[ZKe,Pm,Dv,Ai,Ai]})}return r})();function mYe(r,a){1&r&&Ie(0)}const fYe=["*"];let lre=(()=>{class r{constructor(i){this._elementRef=i}focus(){this._elementRef.nativeElement.focus()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return r})(),cre=(()=>{class r{constructor(i){this.template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkStepLabel",""]]})}return r})(),_Ye=0;const dre=new $e("STEPPER_GLOBAL_OPTIONS");let bj=(()=>{class r{get editable(){return this._editable}set editable(i){this._editable=Et(i)}get optional(){return this._optional}set optional(i){this._optional=Et(i)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(i){this._completedOverride=Et(i)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(i){this._customError=Et(i)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(i,n){this._stepper=i,this.interacted=!1,this.interactedStream=new X,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=n||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#e=this.\u0275fac=function(n){return new(n||r)(T(J(()=>PS)),T(dre,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-step"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,cre,5),2&n){let d;G(d=j())&&(s.stepLabel=d.first)}},viewQuery:function(n,s){if(1&n&&oe(je,7),2&n){let l;G(l=j())&&(s.content=l.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[ci],ngContentSelectors:fYe,decls:1,vars:0,template:function(n,s){1&n&&(pt(),I(0,mYe,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return r})(),PS=(()=>{class r{get linear(){return this._linear}set linear(i){this._linear=Et(i)}get selectedIndex(){return this._selectedIndex}set selectedIndex(i){const n=Ba(i);this.steps&&this._steps?(this._isValidIndex(n),this.selected?._markAsInteracted(),this._selectedIndex!==n&&!this._anyControlsInvalidOrPending(n)&&(n>=this._selectedIndex||this.steps.toArray()[n].editable)&&this._updateSelectedItemIndex(n)):this._selectedIndex=n}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(i){this.selectedIndex=i&&this.steps?this.steps.toArray().indexOf(i):-1}get orientation(){return this._orientation}set orientation(i){this._orientation=i,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===i)}constructor(i,n,s){this._dir=i,this._changeDetectorRef=n,this._elementRef=s,this._destroyed=new Ge,this.steps=new zo,this._sortedHeaders=new zo,this._linear=!1,this._selectedIndex=0,this.selectionChange=new X,this.selectedIndexChange=new X,this._orientation="horizontal",this._groupId=_Ye++}ngAfterContentInit(){this._steps.changes.pipe(go(this._steps),xe(this._destroyed)).subscribe(i=>{this.steps.reset(i.filter(n=>n._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(go(this._stepHeader),xe(this._destroyed)).subscribe(i=>{this._sortedHeaders.reset(i.toArray().sort((n,s)=>n._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new D3(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Dt()).pipe(go(this._layoutDirection()),xe(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(i=>i.reset()),this._stateChanged()}_getStepLabelId(i){return`cdk-step-label-${this._groupId}-${i}`}_getStepContentId(i){return`cdk-step-content-${this._groupId}-${i}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(i){const n=i-this._selectedIndex;return n<0?"rtl"===this._layoutDirection()?"next":"previous":n>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(i,n="number"){const s=this.steps.toArray()[i],l=this._isCurrentStep(i);return s._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(s,l):this._getGuidelineLogic(s,l,n)}_getDefaultIndicatorLogic(i,n){return i._showError()&&i.hasError&&!n?"error":!i.completed||n?"number":i.editable?"edit":"done"}_getGuidelineLogic(i,n,s="number"){return i._showError()&&i.hasError&&!n?"error":i.completed&&!n?"done":i.completed&&n?s:i.editable&&n?"edit":s}_isCurrentStep(i){return this._selectedIndex===i}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(i){const n=this.steps.toArray();this.selectionChange.emit({selectedIndex:i,previouslySelectedIndex:this._selectedIndex,selectedStep:n[i],previouslySelectedStep:n[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(i):this._keyManager.updateActiveItem(i),this._selectedIndex=i,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(i){const n=Nr(i),s=i.keyCode,l=this._keyManager;null==l.activeItemIndex||n||32!==s&&13!==s?l.setFocusOrigin("keyboard").onKeydown(i):(this.selectedIndex=l.activeItemIndex,i.preventDefault())}_anyControlsInvalidOrPending(i){return!!(this._linear&&i>=0)&&this.steps.toArray().slice(0,i).some(n=>{const s=n.stepControl;return(s?s.invalid||s.pending||!n.interacted:!n.completed)&&!n.optional&&!n._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const i=this._elementRef.nativeElement,n=UC();return i===n||i.contains(n)}_isValidIndex(i){return i>-1&&(!this.steps||i{class r{constructor(i){this._stepper=i,this.type="submit"}static#e=this.\u0275fac=function(n){return new(n||r)(T(PS))};static#t=this.\u0275dir=re({type:r,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(n,s){1&n&&B("click",function(){return s._stepper.next()}),2&n&&ur("type",s.type)},inputs:{type:"type"}})}return r})(),bYe=(()=>{class r{constructor(i){this._stepper=i,this.type="button"}static#e=this.\u0275fac=function(n){return new(n||r)(T(PS))};static#t=this.\u0275dir=re({type:r,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(n,s){1&n&&B("click",function(){return s._stepper.previous()}),2&n&&ur("type",s.type)},inputs:{type:"type"}})}return r})(),yYe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[YC]})}return r})();function CYe(r,a){if(1&r&&ye(0,8),2&r){const i=S();x("ngTemplateOutlet",i.iconOverrides[i.state])("ngTemplateOutletContext",i._getIconContext())}}function wYe(r,a){if(1&r&&(C(0,"span",13),P(1),k()),2&r){const i=S(2);y(1),_e(i._getDefaultTextForState(i.state))}}function xYe(r,a){if(1&r&&(C(0,"span",14),P(1),k()),2&r){const i=S(2);y(1),_e(i._intl.completedLabel)}}function kYe(r,a){if(1&r&&(C(0,"span",14),P(1),k()),2&r){const i=S(2);y(1),_e(i._intl.editableLabel)}}function DYe(r,a){if(1&r&&(C(0,"mat-icon",13),P(1),k()),2&r){const i=S(2);y(1),_e(i._getDefaultTextForState(i.state))}}function AYe(r,a){if(1&r&&(be(0,9),I(1,wYe,2,1,"span",10),I(2,xYe,2,1,"span",11),I(3,kYe,2,1,"span",11),I(4,DYe,2,1,"mat-icon",12),ve()),2&r){const i=S();x("ngSwitch",i.state),y(1),x("ngSwitchCase","number"),y(1),x("ngIf","done"===i.state),y(1),x("ngIf","edit"===i.state)}}function IYe(r,a){if(1&r&&(C(0,"div",15),ye(1,16),k()),2&r){const i=S();y(1),x("ngTemplateOutlet",i._templateLabel().template)}}function SYe(r,a){if(1&r&&(C(0,"div",15),P(1),k()),2&r){const i=S();y(1),_e(i.label)}}function TYe(r,a){if(1&r&&(C(0,"div",17),P(1),k()),2&r){const i=S();y(1),_e(i._intl.optionalLabel)}}function EYe(r,a){if(1&r&&(C(0,"div",18),P(1),k()),2&r){const i=S();y(1),_e(i.errorMessage)}}function MYe(r,a){}function RYe(r,a){if(1&r&&(Ie(0),I(1,MYe,0,0,"ng-template",0)),2&r){const i=S();y(1),x("cdkPortalOutlet",i._portal)}}const PYe=["*"];function OYe(r,a){1&r&&Q(0,"div",11)}const ure=function(r,a){return{step:r,i:a}};function FYe(r,a){if(1&r&&(be(0),ye(1,9),I(2,OYe,1,0,"div",10),ve()),2&r){const i=a.$implicit,n=a.index,s=a.last;S(2);const l=ee(4);y(1),x("ngTemplateOutlet",l)("ngTemplateOutletContext",Un(3,ure,i,n)),y(1),x("ngIf",!s)}}const hre=function(r){return{animationDuration:r}},pre=function(r,a){return{value:r,params:a}};function NYe(r,a){if(1&r){const i=ce();C(0,"div",12),B("@horizontalStepTransition.done",function(s){return z(i),H(S(2)._animationDone.next(s))}),ye(1,13),k()}if(2&r){const i=a.$implicit,n=a.index,s=S(2);Se("mat-horizontal-stepper-content-inactive",s.selectedIndex!==n),x("@horizontalStepTransition",Un(8,pre,s._getAnimationDirection(n),Wt(6,hre,s._getAnimationDuration())))("id",s._getStepContentId(n)),ge("aria-labelledby",s._getStepLabelId(n)),y(1),x("ngTemplateOutlet",i.content)}}function LYe(r,a){if(1&r&&(C(0,"div",4)(1,"div",5),I(2,FYe,3,6,"ng-container",6),k(),C(3,"div",7),I(4,NYe,2,11,"div",8),k()()),2&r){const i=S();y(2),x("ngForOf",i.steps),y(2),x("ngForOf",i.steps)}}function BYe(r,a){if(1&r){const i=ce();C(0,"div",15),ye(1,9),C(2,"div",16)(3,"div",17),B("@verticalStepTransition.done",function(s){return z(i),H(S(2)._animationDone.next(s))}),C(4,"div",18),ye(5,13),k()()()()}if(2&r){const i=a.$implicit,n=a.index,s=a.last,l=S(2),d=ee(4);y(1),x("ngTemplateOutlet",d)("ngTemplateOutletContext",Un(10,ure,i,n)),y(1),Se("mat-stepper-vertical-line",!s),y(1),Se("mat-vertical-stepper-content-inactive",l.selectedIndex!==n),x("@verticalStepTransition",Un(15,pre,l._getAnimationDirection(n),Wt(13,hre,l._getAnimationDuration())))("id",l._getStepContentId(n)),ge("aria-labelledby",l._getStepLabelId(n)),y(2),x("ngTemplateOutlet",i.content)}}function VYe(r,a){if(1&r&&(be(0),I(1,BYe,6,18,"div",14),ve()),2&r){const i=S();y(1),x("ngForOf",i.steps)}}function zYe(r,a){if(1&r){const i=ce();C(0,"mat-step-header",19),B("click",function(){return H(z(i).step.select())})("keydown",function(s){return z(i),H(S()._onKeydown(s))}),k()}if(2&r){const i=a.step,n=a.i,s=S();Se("mat-horizontal-stepper-header","horizontal"===s.orientation)("mat-vertical-stepper-header","vertical"===s.orientation),x("tabIndex",s._getFocusIndex()===n?0:-1)("id",s._getStepLabelId(n))("index",n)("state",s._getIndicatorType(n,i.state))("label",i.stepLabel||i.label)("selected",s.selectedIndex===n)("active",s._stepIsNavigable(n,i))("optional",i.optional)("errorMessage",i.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple||!s._stepIsNavigable(n,i))("color",i.color||s.color),ge("aria-posinset",n+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(n))("aria-selected",s.selectedIndex==n)("aria-label",i.ariaLabel||null)("aria-labelledby",!i.ariaLabel&&i.ariaLabelledby?i.ariaLabelledby:null)("aria-disabled",!s._stepIsNavigable(n,i)||null)}}let $w=(()=>{class r extends cre{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matStepLabel",""]],features:[Ae]})}return r})(),A5=(()=>{class r{constructor(){this.changes=new Ge,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const GYe={provide:A5,deps:[[new da,new Ml,A5]],useFactory:function HYe(r){return r||new A5}},jYe=Iv(class extends lre{constructor(a){super(a)}},"primary");let gre=(()=>{class r extends jYe{constructor(i,n,s,l){super(s),this._intl=i,this._focusMonitor=n,this._intlSubscription=i.changes.subscribe(()=>l.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(i,n){i?this._focusMonitor.focusVia(this._elementRef,i,n):this._elementRef.nativeElement.focus(n)}_stringLabel(){return this.label instanceof $w?null:this.label}_templateLabel(){return this.label instanceof $w?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(i){return"number"==i?`${this.index+1}`:"edit"==i?"create":"error"==i?"warning":i}static#e=this.\u0275fac=function(n){return new(n||r)(T(A5),T(al),T(ke),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[Ae],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(n,s){1&n&&(Q(0,"div",0),C(1,"div")(2,"div",1),I(3,CYe,1,2,"ng-container",2),I(4,AYe,5,4,"ng-container",3),k()(),C(5,"div",4),I(6,IYe,2,1,"div",5),I(7,SYe,2,1,"div",5),I(8,TYe,2,1,"div",6),I(9,EYe,2,1,"div",7),k()),2&n&&(x("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disableRipple),y(1),Wd("mat-step-icon-state-",s.state," mat-step-icon"),Se("mat-step-icon-selected",s.selected),y(1),x("ngSwitch",!(!s.iconOverrides||!s.iconOverrides[s.state])),y(1),x("ngSwitchCase",!0),y(2),Se("mat-step-label-active",s.active)("mat-step-label-selected",s.selected)("mat-step-label-error","error"==s.state),y(1),x("ngIf",s._templateLabel()),y(1),x("ngIf",s._stringLabel()),y(1),x("ngIf",s.optional&&"error"!=s.state),y(1),x("ngIf","error"==s.state))},dependencies:[Qe,Kt,ed,ju,yC,Fo,zp],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}return r})();const _re={horizontalStepTransition:hr("horizontalStepTransition",[yn("previous",gt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),yn("current",gt({transform:"none",visibility:"inherit"})),yn("next",gt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Fi("* => *",YA([Di("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),GC("@*",HC(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:hr("verticalStepTransition",[yn("previous",gt({height:"0px",visibility:"hidden"})),yn("next",gt({height:"0px",visibility:"hidden"})),yn("current",gt({height:"*",visibility:"inherit"})),Fi("* <=> current",YA([Di("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),GC("@*",HC(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let $Ye=(()=>{class r{constructor(i){this.templateRef=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}return r})(),UYe=(()=>{class r{constructor(i){this._template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["ng-template","matStepContent",""]]})}return r})(),I5=(()=>{class r extends bj{constructor(i,n,s,l){super(i,l),this._errorStateMatcher=n,this._viewContainerRef=s,this._isSelected=Ce.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Jn(()=>this._stepper.selectionChange.pipe(Rt(i=>i.selectedStep===this),go(this._stepper.selected===this)))).subscribe(i=>{i&&this._lazyContent&&!this._portal&&(this._portal=new XC(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(i,n){return this._errorStateMatcher.isErrorState(i,n)||!!(i&&i.invalid&&this.interacted)}static#e=this.\u0275fac=function(n){return new(n||r)(T(J(()=>S5)),T(Ev,4),T(ei),T(dre,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-step"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,$w,5),Fe(l,UYe,5)),2&n){let d;G(d=j())&&(s.stepLabel=d.first),G(d=j())&&(s._lazyContent=d.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[Ye([{provide:Ev,useExisting:r},{provide:bj,useExisting:r}]),Ae],ngContentSelectors:PYe,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(n,s){1&n&&(pt(),I(0,RYe,2,1,"ng-template"))},dependencies:[ZC],encapsulation:2,changeDetection:0})}return r})(),S5=(()=>{class r extends PS{get animationDuration(){return this._animationDuration}set animationDuration(i){this._animationDuration=/^\d+$/.test(i)?i+"ms":i}constructor(i,n,s){super(i,n,s),this._stepHeader=void 0,this._steps=void 0,this.steps=new zo,this.animationDone=new X,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new Ge,this._animationDuration="";const l=s.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===l?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:i,templateRef:n})=>this._iconOverrides[i]=n),this.steps.changes.pipe(xe(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(Qs((i,n)=>i.fromState===n.fromState&&i.toState===n.toState),xe(this._destroyed)).subscribe(i=>{"current"===i.toState&&this.animationDone.emit()})}_stepIsNavigable(i,n){return n.completed||this.selectedIndex===i||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static#e=this.\u0275fac=function(n){return new(n||r)(T(Yr,8),T(rt),T(ke))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,I5,5),Fe(l,$Ye,5)),2&n){let d;G(d=j())&&(s._steps=d),G(d=j())&&(s._icons=d)}},viewQuery:function(n,s){if(1&n&&oe(gre,5),2&n){let l;G(l=j())&&(s._stepHeader=l)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(n,s){2&n&&(ge("aria-orientation",s.orientation),Se("mat-stepper-horizontal","horizontal"===s.orientation)("mat-stepper-vertical","vertical"===s.orientation)("mat-stepper-label-position-end","horizontal"===s.orientation&&"end"==s.labelPosition)("mat-stepper-label-position-bottom","horizontal"===s.orientation&&"bottom"==s.labelPosition)("mat-stepper-header-position-bottom","bottom"===s.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Ye([{provide:PS,useExisting:r}]),Ae],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(n,s){1&n&&(be(0,0),I(1,LYe,5,2,"div",1),I(2,VYe,2,1,"ng-container",2),ve(),I(3,zYe,1,23,"ng-template",null,3,pe)),2&n&&(x("ngSwitch",s.orientation),y(1),x("ngSwitchCase","horizontal"),y(1),x("ngSwitchCase","vertical"))},dependencies:[Vt,Qe,Kt,ed,ju,gre],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[_re.horizontalStepTransition,_re.verticalStepTransition]},changeDetection:0})}return r})(),yj=(()=>{class r extends vYe{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(n,s){2&n&&ur("type",s.type)},inputs:{type:"type"},features:[Ae]})}return r})(),Cj=(()=>{class r extends bYe{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(n,s){2&n&&ur("type",s.type)},inputs:{type:"type"},features:[Ae]})}return r})(),WYe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[GYe,Ev],imports:[Ai,Gs,Dv,yYe,Xoe,Hp,Ai]})}return r})();const qYe=["stepper"];function KYe(r,a){1&r&&P(0,"Nh\u1eadp email c\u1ee7a t\xe0i kho\u1ea3n")}function YYe(r,a){1&r&&P(0,"Nh\u1eadp m\xe3 x\xe1c nh\u1eadn")}function QYe(r,a){1&r&&P(0,"C\xe0i l\u1ea1i m\u1eadt kh\u1ea9u")}const XYe=function(){return{standalone:!0}};function ZYe(r,a){if(1&r){const i=ce();C(0,"mat-step",11)(1,"form",4),I(2,QYe,1,0,"ng-template",5),C(3,"mat-form-field",6)(4,"mat-label"),P(5,"M\u1eadt kh\u1ea9u m\u1edbi"),k(),Q(6,"input",18),C(7,"button",19),B("click",function(){z(i);const s=S();return H(s.hide=!s.hide)}),C(8,"mat-icon"),P(9),k()()(),C(10,"mat-form-field",6)(11,"mat-label"),P(12,"Nh\u1eadp l\u1ea1i m\u1eadt kh\u1ea9u"),k(),C(13,"input",20),B("ngModelChange",function(s){return z(i),H(S().confirmPass=s)}),k()(),C(14,"div")(15,"button",13),P(16,"Quay l\u1ea1i"),k(),C(17,"button",14),B("click",function(){return z(i),H(S().ResetPassword())}),P(18,"C\xe0i l\u1ea1i m\u1eadt kh\u1ea9u"),k()()()()}if(2&r){const i=S();x("stepControl",i.thirdFormGroup)("completed",i.step2Completed),y(1),x("formGroup",i.thirdFormGroup),y(5),x("type",i.hide?"password":"text"),y(1),ge("aria-label","Hide password")("aria-pressed",i.hide),y(2),_e(i.hide?"visibility_off":"visibility"),y(4),x("ngModel",i.confirmPass)("ngModelOptions",Dn(9,XYe))}}let JYe=(()=>{class r{constructor(i,n,s,l,d){this.service=i,this.dialogRef=n,this._formBuilder=s,this.toastr=l,this.router=d,this.email="",this.hide=!0,this.lockUntil=null,this.numberOfAttemptsRemaining=5,this.step1Completed=!1,this.step2Completed=!1,this.firstFormGroup=this._formBuilder.group({email:this._formBuilder.control("",Ft.compose([Ft.required,Ft.email]))}),this.secondFormGroup=this._formBuilder.group({code:["",Ft.required]}),this.thirdFormGroup=this._formBuilder.group({password:this._formBuilder.control("",Ft.compose([Ft.required,Ft.pattern("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*_=+-]).{6,16}$")])),token:this._formBuilder.control(""),email:this._formBuilder.control(this.email)}),this.isLinear=!0}onNoClick(){this.dialogRef.close()}Step(){this.stepper.next()}GetCode(){this.firstFormGroup.valid?this.service.ForgetPassword(this.firstFormGroup.value.email).subscribe(i=>{this.password=i.resultObj.password,this.toastr.info("Nh\u1eadp m\xe3 x\xe1c nh\u1eadn \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn email c\u1ee7a b\u1ea1n"),this.step1Completed=!0},i=>{this.toastr.error(i.error.message)}):this.toastr.warning("\u0110\u1ecba ch\u1ec9 email kh\xf4ng \u0111\xfang!")}ConfirmCode(){if(this.secondFormGroup.valid){if(1!=this.step2Completed)return this.password!==this.secondFormGroup.value.code?(this.numberOfAttemptsRemaining--,void this.toastr.warning("M\xe3 x\xe1c nh\u1eadn kh\xf4ng \u0111\xfang! S\u1ed1 l\u1ea7n th\u1eed c\xf2n l\u1ea1i l\xe0: "+this.numberOfAttemptsRemaining)):void this.service.ConfirmCode(this.firstFormGroup.value.email).subscribe(i=>{this.token=i.resultObj.token,this.step2Completed=!0,this.stepper.next()},i=>{this.toastr.error(i.message)});this.stepper.next()}else this.toastr.warning("Vui l\xf2ng nh\u1eadp m\xe3 x\xe1c nh\u1eadn!")}ResetPassword(){this.thirdFormGroup.valid?(this.thirdFormGroup.value.email=this.firstFormGroup.value.email,this.thirdFormGroup.value.token=this.token,this.thirdFormGroup.value.password===this.confirmPass?this.service.ResetPassword(this.thirdFormGroup.value).subscribe(i=>{this.toastr.success("\u0110\u1eb7t l\u1ea1i m\u1eadt kh\u1ea9u th\xe0nh c\xf4ng! H\xe3y quay l\u1ea1i \u0111\u0103ng nh\u1eadp"),this.onNoClick()},i=>{this.toastr.error(i.error.message)}):this.toastr.warning("M\u1eadt kh\u1ea9u kh\xf4ng kh\u1edbp!")):this.toastr.warning("Vui l\xf2ng \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin!")}static#e=this.\u0275fac=function(n){return new(n||r)(T(Qu),T(hd),T(za),T(Mi),T(di))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forgetpass"]],viewQuery:function(n,s){if(1&n&&oe(qYe,5),2&n){let l;G(l=j())&&(s.stepper=l.first)}},decls:33,vars:8,consts:[["mat-dialog-title","",2,"text-align","center"],["orientation","vertical",1,"font",3,"linear"],["stepper",""],[3,"stepControl"],[3,"formGroup"],["matStepLabel",""],[1,"w-100"],["type","email","matInput","","formControlName","email"],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","",3,"disabled","click"],["continue",""],[3,"stepControl","completed"],["matInput","","formControlName","code","placeholder","12345","required",""],["mat-raised-button","","matStepperPrevious",""],["mat-raised-button","","color","primary","matStepperNext","",3,"click"],[3,"stepControl","completed",4,"ngIf"],["mat-dialog-actions","",2,"justify-content","end"],["mat-raised-button","",3,"click"],["matInput","","type","password","placeholder","V\xed d\u1ee5: 'Mk5manh/'","formControlName","password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["type","password","matInput","",3,"ngModel","ngModelOptions","ngModelChange"]],template:function(n,s){1&n&&(C(0,"h1",0),P(1,"Qu\xean m\u1eadt kh\u1ea9u"),k(),C(2,"mat-stepper",1,2)(4,"mat-step",3)(5,"form",4),I(6,KYe,1,0,"ng-template",5),C(7,"mat-form-field",6)(8,"mat-label"),P(9,"Email"),k(),Q(10,"input",7),k(),C(11,"div")(12,"button",8),B("click",function(){return s.GetCode()}),P(13,"G\u1eedi"),k(),C(14,"button",9,10),B("click",function(){return s.Step()}),P(16,"Ti\u1ebfp theo"),k()()()(),C(17,"mat-step",11)(18,"form",4),I(19,YYe,1,0,"ng-template",5),C(20,"mat-form-field",6)(21,"mat-label"),P(22,"M\xe3 x\xe1c nh\u1eadn"),k(),Q(23,"input",12),k(),C(24,"div")(25,"button",13),P(26,"Quay l\u1ea1i"),k(),C(27,"button",14),B("click",function(){return s.ConfirmCode()}),P(28,"Ti\u1ebfp theo"),k()()()(),I(29,ZYe,19,10,"mat-step",15),k(),C(30,"div",16)(31,"button",17),B("click",function(){return s.onNoClick()}),P(32,"H\u1ee7y"),k()()),2&n&&(y(2),x("linear",s.isLinear),y(2),x("stepControl",s.firstFormGroup),y(1),x("formGroup",s.firstFormGroup),y(9),x("disabled",!s.step1Completed),y(3),x("stepControl",s.secondFormGroup)("completed",s.step1Completed),y(1),x("formGroup",s.secondFormGroup),y(11),x("ngIf",s.step2Completed))},dependencies:[Qe,cl,Sn,gn,Qr,vc,ss,hs,ml,ud,Us,uYe,hYe,Cr,wr,Fo,I5,$w,S5,yj,Cj,jo,ba],styles:[".mat-stepper-vertical[_ngcontent-%COMP%]{margin-top:8px}.mat-mdc-form-field[_ngcontent-%COMP%]{margin-top:16px}"]})}return r})(),wj=(()=>{class r{constructor(i,n){this.http=i,this.authservice=n,this.apiurl=this.authservice.getApiUrl()}GetImage(){return this.http.get(this.apiurl+"/user/image")}UpdateAvatar(i){return this.http.post(this.apiurl+"/user/image",i,{responseType:"text"})}GetUserDetail(){return this.http.get(this.apiurl+"/user")}UpdateUser(i){return this.http.put(this.apiurl+"/user",i)}static#e=this.\u0275fac=function(n){return new(n||r)(De(bv),De(Qu))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const xj=new $e("JWT_OPTIONS");let kj=(()=>{class r{constructor(i=null){this.tokenGetter=i&&i.tokenGetter||function(){}}urlBase64Decode(i){let n=i.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(n)}b64decode(i){let s="";if((i=String(i).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let d,p,l=0,f=0;p=i.charAt(f++);~p&&(d=l%4?64*d+p:p,l++%4)?s+=String.fromCharCode(255&d>>(-2*l&6)):0)p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(p);return s}b64DecodeUnicode(i){return decodeURIComponent(Array.prototype.map.call(this.b64decode(i),n=>"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(i=this.tokenGetter()){return i instanceof Promise?i.then(n=>this._decodeToken(n)):this._decodeToken(i)}_decodeToken(i){if(!i||""===i)return null;const n=i.split(".");if(3!==n.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const s=this.urlBase64Decode(n[1]);if(!s)throw new Error("Cannot decode the token.");return JSON.parse(s)}getTokenExpirationDate(i=this.tokenGetter()){return i instanceof Promise?i.then(n=>this._getTokenExpirationDate(n)):this._getTokenExpirationDate(i)}_getTokenExpirationDate(i){let n;if(n=this.decodeToken(i),!n||!n.hasOwnProperty("exp"))return null;const s=new Date(0);return s.setUTCSeconds(n.exp),s}isTokenExpired(i=this.tokenGetter(),n){return i instanceof Promise?i.then(s=>this._isTokenExpired(s,n)):this._isTokenExpired(i,n)}_isTokenExpired(i,n){if(!i||""===i)return!0;const s=this.getTokenExpirationDate(i);return n=n||0,null!==s&&!(s.valueOf()>(new Date).valueOf()+1e3*n)}getAuthScheme(i,n){return"function"==typeof i?i(n):i}}return r.\u0275fac=function(i){return new(i||r)(De(xj))},r.\u0275prov=He({token:r,factory:r.\u0275fac}),r})();const vre=r=>r instanceof Promise?mv(()=>r):Dt(r);let eQe=(()=>{class r{constructor(i,n,s){this.jwtHelper=n,this.document=s,this.standardPorts=["80","443"],this.tokenGetter=i.tokenGetter,this.headerName=i.headerName||"Authorization",this.authScheme=i.authScheme||""===i.authScheme?i.authScheme:"Bearer ",this.allowedDomains=i.allowedDomains||[],this.disallowedRoutes=i.disallowedRoutes||[],this.throwNoTokenError=i.throwNoTokenError||!1,this.skipWhenExpired=i.skipWhenExpired}isAllowedDomain(i){const n=new URL(i.url,this.document.location.origin);if(n.host===this.document.location.host)return!0;const s=`${n.hostname}${n.port&&!this.standardPorts.includes(n.port)?":"+n.port:""}`;return this.allowedDomains.findIndex(l=>"string"==typeof l?l===s:l instanceof RegExp&&l.test(s))>-1}isDisallowedRoute(i){const n=new URL(i.url,this.document.location.origin);return this.disallowedRoutes.findIndex(s=>{if("string"==typeof s){const l=new URL(s,this.document.location.origin);return l.hostname===n.hostname&&l.pathname===n.pathname}return s instanceof RegExp&&s.test(i.url)})>-1}handleInterception(i,n,s){const l=this.jwtHelper.getAuthScheme(this.authScheme,n);if(!i&&this.throwNoTokenError)throw new Error("Could not get token from tokenGetter function.");let d=Dt(!1);return this.skipWhenExpired&&(d=i?vre(this.jwtHelper.isTokenExpired(i)):Dt(!0)),i?d.pipe(Rt(p=>p&&this.skipWhenExpired?n.clone():n.clone({setHeaders:{[this.headerName]:`${l}${i}`}})),vo(p=>s.handle(p))):s.handle(n)}intercept(i,n){if(!this.isAllowedDomain(i)||this.isDisallowedRoute(i))return n.handle(i);const s=this.tokenGetter(i);return vre(s).pipe(vo(l=>this.handleInterception(l,i,n)))}}return r.\u0275fac=function(i){return new(i||r)(De(xj),De(kj),De(Tt))},r.\u0275prov=He({token:r,factory:r.\u0275fac}),r})(),tQe=(()=>{class r{constructor(i){if(i)throw new Error("JwtModule is already loaded. It should only be imported in your application's main module.")}static forRoot(i){return{ngModule:r,providers:[{provide:EH,useClass:eQe,multi:!0},i.jwtOptionsProvider||{provide:xj,useValue:i.config},kj]}}}return r.\u0275fac=function(i){return new(i||r)(De(r,12))},r.\u0275mod=Ht({type:r}),r.\u0275inj=zt({}),r})(),iQe=(()=>{class r{constructor(i,n,s,l,d,p,f,v,D,E){this.builder=i,this.toastr=n,this.userService=s,this.service=l,this.router=d,this.jwtHelper=p,this.dialog=f,this.sessionService=v,this.location=D,this.dataService=E,this.hide=!0,this.loginform=this.builder.group({Email:this.builder.control("",Ft.required),Password:this.builder.control("",Ft.required)})}proceedlogin(){this.loginform.valid?this.service.Login(this.loginform.value).subscribe(i=>{if(i.isSuccessed){this.sessionService.setToken(i.resultObj);const s=this.jwtHelper.decodeToken(i.resultObj),d=s["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"],p=s["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname"],f=s["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"];this.sessionService.setEmail(s["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"]),this.sessionService.setName(p),this.sessionService.setRole(d),this.sessionService.setUserId(f),this.userService.GetImage().subscribe(E=>{""!==E&&sessionStorage.setItem("avatar",E.resultObj)},E=>{console.error("L\u1ed7i khi g\u1ecdi API",E),console.log(E),console.log(E.message)}),this.service.login();const v=this.location.getState();this.router.navigateByUrl(""!==v.redirect?v.redirect:"/home")}else this.toastr.error(i.message)},i=>{this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y")}):this.toastr.warning("Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin!")}togglePasswordVisibility(){this.hide=!this.hide}forgetPassword(){this.openDialog("100ms","600ms")}openDialog(i,n){this.dialog.open(JYe,{enterAnimationDuration:i,exitAnimationDuration:n,width:"30%"})}loginWithFacebookProxy(){this.service.loginWithFacebook(),sessionStorage.getItem("access_token")}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(Mi),T(wj),T(Qu),T(di),T(kj),T(Dc),T(Rn),T(Gu),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-login"]],decls:34,vars:5,consts:[[1,"form-register",2,"width","100%","margin-top","100px"],[1,"form-register","font"],[1,"fw-6"],[3,"formGroup","ngSubmit"],[1,"example-full-width"],["matInput","","placeholder","V\xed d\u1ee5: 'luongxuannhat'","autocomplete","email","formControlName","Email"],["matInput","","type","password","autocomplete","password","formControlName","Password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],[1,"po-re",2,"justify-content","space-between","display","flex","top","-24px"],["color","accent",1,"underline-none","text-black",2,"cursor","pointer",3,"click"],["routerLink","/register","color","accent",1,"underline-none","text-black"],[1,"mt-1",2,"justify-content","space-around","display","flex"],["mat-raised-button","","color","primary"],["title","\u0110\u0103ng nh\u1eadp b\u1eb1ng facebook",2,"background-color","transparent","border","none",3,"click"],["src","assets/Icon/facebook.png"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"mat-card",1)(2,"mat-card-header")(3,"h1",2),P(4,"\u0110\u0103ng nh\u1eadp"),k()(),C(5,"mat-card-subtitle")(6,"span"),P(7,"admin@gmail.com"),k()(),C(8,"mat-card-content")(9,"form",3),B("ngSubmit",function(){return s.proceedlogin()}),C(10,"mat-form-field",4)(11,"mat-label"),P(12,"T\xean t\xe0i kho\u1ea3n"),k(),Q(13,"input",5),k(),C(14,"mat-form-field",4)(15,"mat-label"),P(16,"M\u1eadt kh\u1ea9u"),k(),Q(17,"input",6),C(18,"button",7),B("click",function(){return s.hide=!s.hide}),C(19,"mat-icon"),P(20),k()()(),C(21,"div",8)(22,"a",9),B("click",function(){return s.forgetPassword()}),P(23,"Qu\xean m\u1eadt kh\u1ea9u"),k(),C(24,"a",10),P(25,"Quay l\u1ea1i \u0111\u0103ng k\xfd"),k()(),C(26,"div",11)(27,"button",12),P(28,"\u0110\u0103ng nh\u1eadp"),k()(),C(29,"span"),P(30,"ho\u1eb7c"),k()(),C(31,"div",11)(32,"button",13),B("click",function(){return s.loginWithFacebookProxy()}),Q(33,"img",14),k()()()()()),2&n&&(y(9),x("formGroup",s.loginform),y(8),x("type",s.hide?"password":"text"),y(1),ge("aria-label","Hide password")("aria-pressed",s.hide),y(2),_e(s.hide?"visibility_off":"visibility"))},dependencies:[js,cl,Sn,gn,Qr,hs,ml,ud,Us,v5,b5,y5,gj,Cr,wr,Fo,jo,ba],styles:[".form-register[_ngcontent-%COMP%]{width:40%;display:flex;align-items:center;justify-content:center;padding:0}.example-full-width[_ngcontent-%COMP%]{display:flex;width:300px}"]})}return r})(),nQe=(()=>{class r{intercept(i,n){if(i.url.includes("/public")||i.url.includes("/login"))return n.handle(i);const s=sessionStorage.getItem("access_token");return s&&(i=i.clone({setHeaders:{Authorization:`Bearer ${s}`}})),n.handle(i)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();function oQe(r,a){1&r&&Q(0,"img",14),2&r&&ri("src",S().avatar,oi)}function rQe(r,a){1&r&&Q(0,"img",15)}let bre=(()=>{class r{constructor(i,n,s,l){this.userService=i,this.toastr=n,this.fb=s,this.sessionService=l,this.form=this.fb.group({})}ngOnInit(){this.sessionService.email$.subscribe(i=>{this.username=i}),this.sessionService.descriptionUser$.subscribe(i=>{this.description=i}),this.avatar=this.sessionService.getAvatar(),this.username=this.sessionService.getEmail(),this.description=this.sessionService.getDescriptionUser()}checkSize(i){return i.size>1048576&&(this.toastr.warning("K\xedch th\u01b0\u1edbc \u1ea3nh kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 1MB."),!0)}onFileSelected(i){const n=i.target.files[0];if(this.checkSize(n))return;const s=new FormData;s.append("image",n),this.userService.UpdateAvatar(s).subscribe(l=>{this.userService.GetImage().subscribe(d=>{if(""!==d){const p=d.resultObj;this.sessionService.setAvatar(p),this.avatar=p}}),this.toastr.success(l)},l=>{this.toastr.error(l),console.log(l)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(wj),T(Mi),T(za),T(Rn))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-introduce"]],decls:37,vars:5,consts:[[1,"font"],[1,"pb"],[1,"example-card",2,"width","400px"],[2,"display","block","text-align","center"],["class","boder-50 img-user",3,"src",4,"ngIf","ngIfElse"],["avatarBig",""],["enctype","multipart/form-data",3,"formGroup"],[1,"po-re",2,"height","8px"],["for","fileInput",1,"po-ab","custom-file-upload","btn-image"],["type","file","id","fileInput",3,"change"],["type","submit",2,"display","none"],[1,"co-primary"],[1,"bb","pb-1"],["mat-button",""],[1,"boder-50","img-user",3,"src"],["src","assets/Icon/user-l.png"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"h5",1),P(2,"C\xe0i \u0111\u1eb7t t\xe0i kho\u1ea3n"),k(),C(3,"mat-card",2)(4,"mat-card-header",3),I(5,oQe,1,1,"img",4),I(6,rQe,1,0,"ng-template",null,5,pe),C(8,"form",6)(9,"div",7)(10,"label",8)(11,"input",9),B("change",function(d){return s.onFileSelected(d)}),k(),C(12,"mat-icon"),P(13,"add_a_photo"),k()()(),Q(14,"button",10),k(),C(15,"div")(16,"mat-card-title",11),P(17),k(),Q(18,"mat-card-subtitle",12),k()(),C(19,"mat-card-content")(20,"p"),P(21),k(),C(22,"p"),P(23,"223 b\xe0i vi\u1ebft"),k(),C(24,"p"),P(25,"2k l\u01b0\u1ee3t th\xedch"),k(),C(26,"p"),P(27,"223k l\u01b0\u1ee3t xem"),k(),C(28,"p"),P(29,"3 kh\xf3a h\u1ecdc"),k(),C(30,"p"),P(31,"13 t\xe0i li\u1ec7u"),k()(),C(32,"mat-card-actions")(33,"button",13),P(34,"LIKE"),k(),C(35,"button",13),P(36,"SHARE"),k()()()()),2&n){const l=ee(7);y(5),x("ngIf",s.avatar)("ngIfElse",l),y(3),x("formGroup",s.form),y(9),_e(s.username),y(4),me(" ",s.description," ")}},dependencies:[Qe,cl,Qr,v5,Hoe,b5,y5,gj,zoe,Cr,Fo,jo],styles:[".custom-file-upload[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{display:none}.custom-file-upload[_ngcontent-%COMP%]{cursor:pointer;right:118px;top:-25px;border:transparent;background-color:transparent}.btn-image[_ngcontent-%COMP%]{transition:border-color .3s;border-bottom:1px solid transparent}.btn-image[_ngcontent-%COMP%]:hover{border-color:#3768e3!important}.img-user[_ngcontent-%COMP%]{border-radius:50%;width:128px!important;height:128px!important;object-fit:cover;overflow:hidden}"]})}return r})();const Dj=["*"],sQe=["tabListContainer"],aQe=["tabList"],lQe=["tabListInner"],cQe=["nextPaginator"],dQe=["previousPaginator"],gQe=["mat-tab-nav-bar",""],mQe=["mat-tab-link",""],Aj="mdc-tab-indicator--active",yre="mdc-tab-indicator--no-transition";class fQe{constructor(a){this._items=a}hide(){this._items.forEach(a=>a.deactivateInkBar())}alignToElement(a){const i=this._items.find(s=>s.elementRef.nativeElement===a),n=this._currentItem;if(i!==n&&(n?.deactivateInkBar(),i)){const s=n?.elementRef.nativeElement.getBoundingClientRect?.();i.activateInkBar(s),this._currentItem=i}}}function _Qe(r){return class extends r{constructor(...a){super(...a),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(a){const i=Et(a);this._fitToContent!==i&&(this._fitToContent=i,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(a){const i=this.elementRef.nativeElement;if(!a||!i.getBoundingClientRect||!this._inkBarContentElement)return void i.classList.add(Aj);const n=i.getBoundingClientRect(),s=a.width/n.width,l=a.left-n.left;i.classList.add(yre),this._inkBarContentElement.style.setProperty("transform",`translateX(${l}px) scaleX(${s})`),i.getBoundingClientRect(),i.classList.remove(yre),i.classList.add(Aj),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Aj)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const a=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=a.createElement("span"),this._inkBarContentElement=a.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const Cre=eu({passive:!0});let CQe=(()=>{class r{get disablePagination(){return this._disablePagination}set disablePagination(i){this._disablePagination=Et(i)}get selectedIndex(){return this._selectedIndex}set selectedIndex(i){i=Ba(i),this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}constructor(i,n,s,l,d,p,f){this._elementRef=i,this._changeDetectorRef=n,this._viewportRuler=s,this._dir=l,this._ngZone=d,this._platform=p,this._animationMode=f,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ge,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ge,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new X,this.indexFocused=new X,d.runOutsideAngular(()=>{Ri(i.nativeElement,"mouseleave").pipe(xe(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Ri(this._previousPaginator.nativeElement,"touchstart",Cre).pipe(xe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ri(this._nextPaginator.nativeElement,"touchstart",Cre).pipe(xe(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const i=this._dir?this._dir.change:Dt("ltr"),n=this._viewportRuler.change(150),s=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new D3(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(An(1)).subscribe(s),rn(i,n,this._items.changes,this._itemsResized()).pipe(xe(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),s()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(l=>{this.indexFocused.emit(l),this._setTabFocus(l)})}_itemsResized(){return"function"!=typeof ResizeObserver?Jr:this._items.changes.pipe(go(this._items),Jn(i=>new _n(n=>this._ngZone.runOutsideAngular(()=>{const s=new ResizeObserver(l=>n.next(l));return i.forEach(l=>s.observe(l.elementRef.nativeElement)),()=>{s.disconnect()}}))),zH(1),xi(i=>i.some(n=>n.contentRect.width>0&&n.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(i){if(!Nr(i))switch(i.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const n=this._items.get(this.focusIndex);n&&!n.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(i))}break;default:this._keyManager.onKeydown(i)}}_onContentChanges(){const i=this._elementRef.nativeElement.textContent;i!==this._currentTextContent&&(this._currentTextContent=i||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(i){!this._isValidIndex(i)||this.focusIndex===i||!this._keyManager||this._keyManager.setActiveItem(i)}_isValidIndex(i){return!this._items||!!this._items.toArray()[i]}_setTabFocus(i){if(this._showPaginationControls&&this._scrollToLabel(i),this._items&&this._items.length){this._items.toArray()[i].focus();const n=this._tabListContainer.nativeElement;n.scrollLeft="ltr"==this._getLayoutDirection()?0:n.scrollWidth-n.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const i=this.scrollDistance,n="ltr"===this._getLayoutDirection()?-i:i;this._tabList.nativeElement.style.transform=`translateX(${Math.round(n)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(i){this._scrollTo(i)}_scrollHeader(i){return this._scrollTo(this._scrollDistance+("before"==i?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(i){this._stopInterval(),this._scrollHeader(i)}_scrollToLabel(i){if(this.disablePagination)return;const n=this._items?this._items.toArray()[i]:null;if(!n)return;const s=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:l,offsetWidth:d}=n.elementRef.nativeElement;let p,f;"ltr"==this._getLayoutDirection()?(p=l,f=p+d):(f=this._tabListInner.nativeElement.offsetWidth-l,p=f-d);const v=this.scrollDistance,D=this.scrollDistance+s;pD&&(this.scrollDistance+=Math.min(f-D,p-v))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const i=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;i||(this.scrollDistance=0),i!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=i}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const i=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,n=i?i.elementRef.nativeElement:null;n?this._inkBar.alignToElement(n):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(i,n){n&&null!=n.button&&0!==n.button||(this._stopInterval(),xv(650,100).pipe(xe(rn(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:s,distance:l}=this._scrollHeader(i);(0===l||l>=s)&&this._stopInterval()}))}_scrollTo(i){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const n=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(n,i)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:n,distance:this._scrollDistance}}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(Rm),T(Yr,8),T(et),T(Po),T(Eo,8))};static#t=this.\u0275dir=re({type:r,inputs:{disablePagination:"disablePagination"}})}return r})();const wQe=new $e("MAT_TABS_CONFIG");let wre=0,xre=(()=>{class r extends CQe{get backgroundColor(){return this._backgroundColor}set backgroundColor(i){const n=this._elementRef.nativeElement.classList;n.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),i&&n.add("mat-tabs-with-background",`mat-background-${i}`),this._backgroundColor=i}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=Et(i)}constructor(i,n,s,l,d,p,f){super(i,l,d,n,s,p,f),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(go(null),xe(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const i=this._items.toArray();for(let n=0;n{class r extends xQe{get active(){return this._isActive}set active(i){const n=Et(i);n!==this._isActive&&(this._isActive=n,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(i,n,s,l,d,p){super(),this._tabNavBar=i,this.elementRef=n,this._focusMonitor=d,this._isActive=!1,this.id="mat-tab-link-"+wre++,this.rippleConfig=s||{},this.tabIndex=parseInt(l)||0,"NoopAnimations"===p&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(i){(32===i.keyCode||13===i.keyCode)&&(this.disabled?i.preventDefault():this._tabNavBar.tabPanel&&this.elementRef.nativeElement.click())}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}static#e=this.\u0275fac=function(n){return new(n||r)(T(xre),T(ke),T(ew,8),Ns("tabindex"),T(al),T(Eo,8))};static#t=this.\u0275dir=re({type:r,inputs:{active:"active",id:"id"},features:[Ae]})}return r})());let T5=(()=>{class r extends xre{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(i){this._fitInkBarToContent.next(Et(i)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(i){this._stretchTabs=Et(i)}get animationDuration(){return this._animationDuration}set animationDuration(i){this._animationDuration=/^\d+$/.test(i+"")?i+"ms":i}constructor(i,n,s,l,d,p,f,v){super(i,n,s,l,d,p,f),this._fitInkBarToContent=new Pn(!1),this._stretchTabs=!0,this.disablePagination=!(!v||null==v.disablePagination)&&v.disablePagination,this.fitInkBarToContent=!(!v||null==v.fitInkBarToContent)&&v.fitInkBarToContent,this.stretchTabs=!v||null==v.stretchTabs||v.stretchTabs}ngAfterContentInit(){this._inkBar=new fQe(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Yr,8),T(et),T(rt),T(Rm),T(Po),T(Eo,8),T(wQe,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(n,s,l){if(1&n&&Fe(l,E5,5),2&n){let d;G(d=j())&&(s._items=d)}},viewQuery:function(n,s){if(1&n&&(oe(sQe,7),oe(aQe,7),oe(lQe,7),oe(cQe,5),oe(dQe,5)),2&n){let l;G(l=j())&&(s._tabListContainer=l.first),G(l=j())&&(s._tabList=l.first),G(l=j())&&(s._tabListInner=l.first),G(l=j())&&(s._nextPaginator=l.first),G(l=j())&&(s._previousPaginator=l.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,hostBindings:function(n,s){2&n&&(ge("role",s._getRole()),Pe("--mat-tab-animation-duration",s.animationDuration),Se("mat-mdc-tab-header-pagination-controls-enabled",s._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==s._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",s.stretchTabs)("mat-primary","warn"!==s.color&&"accent"!==s.color)("mat-accent","accent"===s.color)("mat-warn","warn"===s.color)("_mat-animation-noopable","NoopAnimations"===s._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],animationDuration:"animationDuration"},exportAs:["matTabNavBar","matTabNav"],features:[Ae],attrs:gQe,ngContentSelectors:Dj,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(n,s){1&n&&(pt(),C(0,"button",0,1),B("click",function(){return s._handlePaginatorClick("before")})("mousedown",function(d){return s._handlePaginatorPress("before",d)})("touchend",function(){return s._stopInterval()}),Q(2,"div",2),k(),C(3,"div",3,4),B("keydown",function(d){return s._handleKeydown(d)}),C(5,"div",5,6),B("cdkObserveContent",function(){return s._onContentChanges()}),C(7,"div",7,8),Ie(9),k()()(),C(10,"button",9,10),B("mousedown",function(d){return s._handlePaginatorPress("after",d)})("click",function(){return s._handlePaginatorClick("after")})("touchend",function(){return s._stopInterval()}),Q(12,"div",2),k()),2&n&&(Se("mat-mdc-tab-header-pagination-disabled",s._disableScrollBefore),x("matRippleDisabled",s._disableScrollBefore||s.disableRipple)("disabled",s._disableScrollBefore||null),y(10),Se("mat-mdc-tab-header-pagination-disabled",s._disableScrollAfter),x("matRippleDisabled",s._disableScrollAfter||s.disableRipple)("disabled",s._disableScrollAfter||null))},dependencies:[zp,Lve],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}return r})(),E5=(()=>{class r extends kQe{constructor(i,n,s,l,d,p){super(i,n,s,l,d,p),this._destroyed=new Ge,i._fitInkBarToContent.pipe(xe(this._destroyed)).subscribe(f=>{this.fitInkBarToContent=f})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}static#e=this.\u0275fac=function(n){return new(n||r)(T(T5),T(ke),T(ew,8),Ns("tabindex"),T(al),T(Eo,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(n,s){1&n&&B("focus",function(){return s._handleFocus()})("keydown",function(d){return s._handleKeydown(d)}),2&n&&(ge("aria-controls",s._getAriaControls())("aria-current",s._getAriaCurrent())("aria-disabled",s.disabled)("aria-selected",s._getAriaSelected())("id",s.id)("tabIndex",s._getTabIndex())("role",s._getRole()),Se("mat-mdc-tab-disabled",s.disabled)("mdc-tab--active",s.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[Ae],attrs:mQe,ngContentSelectors:Dj,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(n,s){1&n&&(pt(),Q(0,"span",0)(1,"div",1),C(2,"span",2)(3,"span",3),Ie(4),k()()),2&n&&(y(1),x("matRippleTrigger",s.elementRef.nativeElement)("matRippleDisabled",s.rippleDisabled))},dependencies:[zp],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}return r})(),Ij=(()=>{class r{constructor(){this.id="mat-tab-nav-panel-"+wre++}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(n,s){2&n&&ge("aria-labelledby",s._activeTabId)("id",s.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:Dj,decls:1,vars:0,template:function(n,s){1&n&&(pt(),Ie(0))},encapsulation:2,changeDetection:0})}return r})(),DQe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Gs,Ai,Dv,Hp,HH,iI,Ai]})}return r})();const AQe=function(r){return[r]},IQe=function(){return{exact:!0}};function SQe(r,a){if(1&r&&(C(0,"a",4,5),P(2),k()),2&r){const i=a.$implicit,n=ee(1);x("routerLink",Wt(4,AQe,i.url))("routerLinkActiveOptions",Dn(6,IQe))("active",n.isActive),y(2),me(" ",i.categoryname," ")}}let TQe=(()=>{class r{constructor(i){this.router=i,this.objectList=[{categoryname:"Th\xf4ng tin c\xe1 nh\xe2n",url:"updateuserinfor"},{categoryname:"C\u1eadp nh\u1eadp t\xe0i kho\u1ea3n",url:"updateaccount"}],this.defaultLink=this.objectList[0].url}static#e=this.\u0275fac=function(n){return new(n||r)(T(di))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-category"]],decls:6,vars:2,consts:[[1,"w-40"],["mat-tab-nav-bar","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active",4,"ngFor","ngForOf"],["tabPanel",""],["mat-tab-link","","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active"],["rla","routerLinkActive"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"nav",1),I(2,SQe,3,7,"a",2),k()(),C(3,"mat-tab-nav-panel",null,3),Q(5,"router-outlet"),k()),2&n){const l=ee(4);y(1),x("tabPanel",l),y(1),x("ngForOf",s.objectList)}},dependencies:[RC,js,o3,Vt,T5,Ij,E5],styles:[".mat-mdc-tab-header[_ngcontent-%COMP%] .mat-mdc-tab[_ngcontent-%COMP%]{flex-grow:0!important}"]})}return r})(),EQe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["app-account"]],decls:6,vars:0,consts:[[2,"height","50px"],[1,"dis-flex"],[1,"pl-3"],[1,"pl-2","w-100"]],template:function(n,s){1&n&&(Q(0,"div",0),C(1,"div",1)(2,"div",2),Q(3,"app-introduce"),k(),C(4,"div",3),Q(5,"app-category"),k()())},dependencies:[bre,TQe]})}return r})();const MQe=["mat-calendar-body",""];function RQe(r,a){if(1&r&&(C(0,"tr",3)(1,"td",4),P(2),k()()),2&r){const i=S();y(1),Pe("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),ge("colspan",i.numCols),y(1),me(" ",i.label," ")}}function PQe(r,a){if(1&r&&(C(0,"td",4),P(1),k()),2&r){const i=S(2);Pe("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),ge("colspan",i._firstRowOffset),y(1),me(" ",i._firstRowOffset>=i.labelMinRequiredCells?i.label:""," ")}}function OQe(r,a){if(1&r){const i=ce();C(0,"td",8)(1,"button",9),B("click",function(s){const d=z(i).$implicit;return H(S(2)._cellClicked(d,s))})("focus",function(s){const d=z(i).$implicit;return H(S(2)._emitActiveDateChange(d,s))}),C(2,"span",10),P(3),k(),Q(4,"span",11),k()()}if(2&r){const i=a.$implicit,n=a.index,s=S().index,l=S();Pe("width",l._cellWidth)("padding-top",l._cellPadding)("padding-bottom",l._cellPadding),ge("data-mat-row",s)("data-mat-col",n),y(1),Se("mat-calendar-body-disabled",!i.enabled)("mat-calendar-body-active",l._isActiveCell(s,n))("mat-calendar-body-range-start",l._isRangeStart(i.compareValue))("mat-calendar-body-range-end",l._isRangeEnd(i.compareValue))("mat-calendar-body-in-range",l._isInRange(i.compareValue))("mat-calendar-body-comparison-bridge-start",l._isComparisonBridgeStart(i.compareValue,s,n))("mat-calendar-body-comparison-bridge-end",l._isComparisonBridgeEnd(i.compareValue,s,n))("mat-calendar-body-comparison-start",l._isComparisonStart(i.compareValue))("mat-calendar-body-comparison-end",l._isComparisonEnd(i.compareValue))("mat-calendar-body-in-comparison-range",l._isInComparisonRange(i.compareValue))("mat-calendar-body-preview-start",l._isPreviewStart(i.compareValue))("mat-calendar-body-preview-end",l._isPreviewEnd(i.compareValue))("mat-calendar-body-in-preview",l._isInPreview(i.compareValue)),x("ngClass",i.cssClasses)("tabindex",l._isActiveCell(s,n)?0:-1),ge("aria-label",i.ariaLabel)("aria-disabled",!i.enabled||null)("aria-pressed",l._isSelected(i.compareValue))("aria-current",l.todayValue===i.compareValue?"date":null)("aria-describedby",l._getDescribedby(i.compareValue)),y(1),Se("mat-calendar-body-selected",l._isSelected(i.compareValue))("mat-calendar-body-comparison-identical",l._isComparisonIdentical(i.compareValue))("mat-calendar-body-today",l.todayValue===i.compareValue),y(1),me(" ",i.displayValue," ")}}function FQe(r,a){if(1&r&&(C(0,"tr",5),I(1,PQe,2,6,"td",6),I(2,OQe,5,48,"td",7),k()),2&r){const i=a.$implicit,n=a.index,s=S();y(1),x("ngIf",0===n&&s._firstRowOffset),y(1),x("ngForOf",i)}}function NQe(r,a){if(1&r&&(C(0,"th",5)(1,"span",6),P(2),k(),C(3,"span",7),P(4),k()()),2&r){const i=a.$implicit;y(2),_e(i.long),y(2),_e(i.narrow)}}const LQe=["*"];function BQe(r,a){}function VQe(r,a){if(1&r){const i=ce();C(0,"mat-month-view",5),B("activeDateChange",function(s){return z(i),H(S().activeDate=s)})("_userSelection",function(s){return z(i),H(S()._dateSelected(s))})("dragStarted",function(s){return z(i),H(S()._dragStarted(s))})("dragEnded",function(s){return z(i),H(S()._dragEnded(s))}),k()}if(2&r){const i=S();x("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)("startDateAccessibleName",i.startDateAccessibleName)("endDateAccessibleName",i.endDateAccessibleName)("activeDrag",i._activeDrag)}}function zQe(r,a){if(1&r){const i=ce();C(0,"mat-year-view",6),B("activeDateChange",function(s){return z(i),H(S().activeDate=s)})("monthSelected",function(s){return z(i),H(S()._monthSelectedInYearView(s))})("selectedChange",function(s){return z(i),H(S()._goToDateInView(s,"month"))}),k()}if(2&r){const i=S();x("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function HQe(r,a){if(1&r){const i=ce();C(0,"mat-multi-year-view",7),B("activeDateChange",function(s){return z(i),H(S().activeDate=s)})("yearSelected",function(s){return z(i),H(S()._yearSelectedInMultiYearView(s))})("selectedChange",function(s){return z(i),H(S()._goToDateInView(s,"year"))}),k()}if(2&r){const i=S();x("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function GQe(r,a){}const jQe=["button"];function $Qe(r,a){1&r&&(mr(),C(0,"svg",3),Q(1,"path",4),k())}const UQe=[[["","matDatepickerToggleIcon",""]]],WQe=["[matDatepickerToggleIcon]"];let OS=(()=>{class r{constructor(){this.changes=new Ge,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(i,n){return`${i} \u2013 ${n}`}formatYearRangeLabel(i,n){return`${i} to ${n}`}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class Sj{constructor(a,i,n,s,l={},d=a,p){this.value=a,this.displayValue=i,this.ariaLabel=n,this.enabled=s,this.cssClasses=l,this.compareValue=d,this.rawValue=p}}let qQe=1;const kre=eu({passive:!1,capture:!0}),wf=eu({passive:!0,capture:!0}),M5=eu({passive:!0});let Uw=(()=>{class r{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(i,n){this._elementRef=i,this._ngZone=n,this._platform=st(Po),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new X,this.previewChange=new X,this.activeDateChange=new X,this.dragStarted=new X,this.dragEnded=new X,this._didDragSinceMouseDown=!1,this._enterHandler=s=>{if(this._skipNextFocus&&"focus"===s.type)this._skipNextFocus=!1;else if(s.target&&this.isRange){const l=this._getCellFromElement(s.target);l&&this._ngZone.run(()=>this.previewChange.emit({value:l.enabled?l:null,event:s}))}},this._touchmoveHandler=s=>{if(!this.isRange)return;const l=Dre(s),d=l?this._getCellFromElement(l):null;l!==s.target&&(this._didDragSinceMouseDown=!0),Ej(s.target)&&s.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:d?.enabled?d:null,event:s}))},this._leaveHandler=s=>{null!==this.previewEnd&&this.isRange&&("blur"!==s.type&&(this._didDragSinceMouseDown=!0),s.target&&this._getCellFromElement(s.target)&&(!s.relatedTarget||!this._getCellFromElement(s.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:s})))},this._mousedownHandler=s=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const l=s.target&&this._getCellFromElement(s.target);!l||!this._isInRange(l.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:l.rawValue,event:s})})},this._mouseupHandler=s=>{if(!this.isRange)return;const l=Ej(s.target);l?l.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const d=this._getCellFromElement(l);this.dragEnded.emit({value:d?.rawValue??null,event:s})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:s})})},this._touchendHandler=s=>{const l=Dre(s);l&&this._mouseupHandler({target:l})},this._id="mat-calendar-body-"+qQe++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,n.runOutsideAngular(()=>{const s=i.nativeElement;s.addEventListener("touchmove",this._touchmoveHandler,kre),s.addEventListener("mouseenter",this._enterHandler,wf),s.addEventListener("focus",this._enterHandler,wf),s.addEventListener("mouseleave",this._leaveHandler,wf),s.addEventListener("blur",this._leaveHandler,wf),s.addEventListener("mousedown",this._mousedownHandler,M5),s.addEventListener("touchstart",this._mousedownHandler,M5),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(i,n){this._didDragSinceMouseDown||i.enabled&&this.selectedValueChange.emit({value:i.value,event:n})}_emitActiveDateChange(i,n){i.enabled&&this.activeDateChange.emit({value:i.value,event:n})}_isSelected(i){return this.startValue===i||this.endValue===i}ngOnChanges(i){const n=i.numCols,{rows:s,numCols:l}=this;(i.rows||n)&&(this._firstRowOffset=s&&s.length&&s[0].length?l-s[0].length:0),(i.cellAspectRatio||n||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/l+"%"),(n||!this._cellWidth)&&(this._cellWidth=100/l+"%")}ngOnDestroy(){const i=this._elementRef.nativeElement;i.removeEventListener("touchmove",this._touchmoveHandler,kre),i.removeEventListener("mouseenter",this._enterHandler,wf),i.removeEventListener("focus",this._enterHandler,wf),i.removeEventListener("mouseleave",this._leaveHandler,wf),i.removeEventListener("blur",this._leaveHandler,wf),i.removeEventListener("mousedown",this._mousedownHandler,M5),i.removeEventListener("touchstart",this._mousedownHandler,M5),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(i,n){let s=i*this.numCols+n;return i&&(s-=this._firstRowOffset),s==this.activeCell}_focusActiveCell(i=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(An(1)).subscribe(()=>{setTimeout(()=>{const n=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(i||(this._skipNextFocus=!0),n.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(i){return Mj(i,this.startValue,this.endValue)}_isRangeEnd(i){return Rj(i,this.startValue,this.endValue)}_isInRange(i){return Pj(i,this.startValue,this.endValue,this.isRange)}_isComparisonStart(i){return Mj(i,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(i,n,s){if(!this._isComparisonStart(i)||this._isRangeStart(i)||!this._isInRange(i))return!1;let l=this.rows[n][s-1];if(!l){const d=this.rows[n-1];l=d&&d[d.length-1]}return l&&!this._isRangeEnd(l.compareValue)}_isComparisonBridgeEnd(i,n,s){if(!this._isComparisonEnd(i)||this._isRangeEnd(i)||!this._isInRange(i))return!1;let l=this.rows[n][s+1];if(!l){const d=this.rows[n+1];l=d&&d[0]}return l&&!this._isRangeStart(l.compareValue)}_isComparisonEnd(i){return Rj(i,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(i){return Pj(i,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(i){return this.comparisonStart===this.comparisonEnd&&i===this.comparisonStart}_isPreviewStart(i){return Mj(i,this.previewStart,this.previewEnd)}_isPreviewEnd(i){return Rj(i,this.previewStart,this.previewEnd)}_isInPreview(i){return Pj(i,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(i){return this.isRange?this.startValue===i&&this.endValue===i?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===i?this._startDateLabelId:this.endValue===i?this._endDateLabelId:null:null}_getCellFromElement(i){const n=Ej(i);if(n){const s=n.getAttribute("data-mat-row"),l=n.getAttribute("data-mat-col");if(s&&l)return this.rows[parseInt(s)][parseInt(l)]}return null}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et))};static#t=this.\u0275cmp=de({type:r,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[ci],attrs:MQe,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(n,s){1&n&&(I(0,RQe,3,6,"tr",0),I(1,FQe,3,2,"tr",1),C(2,"label",2),P(3),k(),C(4,"label",2),P(5),k()),2&n&&(x("ngIf",s._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color)}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color)}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color)}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0})}return r})();function Tj(r){return"TD"===r?.nodeName}function Ej(r){let a;return Tj(r)?a=r:Tj(r.parentNode)?a=r.parentNode:Tj(r.parentNode?.parentNode)&&(a=r.parentNode.parentNode),null!=a?.getAttribute("data-mat-row")?a:null}function Mj(r,a,i){return null!==i&&a!==i&&r=a&&r===i}function Pj(r,a,i,n){return n&&null!==a&&null!==i&&a!==i&&r>=a&&r<=i}function Dre(r){const a=r.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)}class fl{constructor(a,i){this.start=a,this.end=i}}let xf=(()=>{class r{constructor(i,n){this.selection=i,this._adapter=n,this._selectionChanged=new Ge,this.selectionChanged=this._selectionChanged,this.selection=i}updateSelection(i,n){const s=this.selection;this.selection=i,this._selectionChanged.next({selection:i,source:n,oldValue:s})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(i){return this._adapter.isDateInstance(i)&&this._adapter.isValid(i)}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),KQe=(()=>{class r extends xf{constructor(i){super(null,i)}add(i){super.updateSelection(i,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const i=new r(this._adapter);return i.updateSelection(this.selection,this),i}static#e=this.\u0275fac=function(n){return new(n||r)(De(va))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const Are={provide:xf,deps:[[new da,new Ml,xf],va],useFactory:function QQe(r,a){return r||new KQe(a)}},R5=new $e("MAT_DATE_RANGE_SELECTION_STRATEGY");let Ire=(()=>{class r{get activeDate(){return this._activeDate}set activeDate(i){const n=this._activeDate,s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._hasSameMonthAndYear(n,this._activeDate)||this._init()}get selected(){return this._selected}set selected(i){this._selected=i instanceof fl?i:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}constructor(i,n,s,l,d){this._changeDetectorRef=i,this._dateFormats=n,this._dateAdapter=s,this._dir=l,this._rangeStrategy=d,this._rerenderSubscription=Ce.EMPTY,this.activeDrag=null,this.selectedChange=new X,this._userSelection=new X,this.dragStarted=new X,this.dragEnded=new X,this.activeDateChange=new X,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(go(null)).subscribe(()=>this._init())}ngOnChanges(i){const n=i.comparisonStart||i.comparisonEnd;n&&!n.firstChange&&this._setRanges(this.selected),i.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(i){const n=i.value,s=this._getDateFromDayOfMonth(n);let l,d;this._selected instanceof fl?(l=this._getDateInCurrentMonth(this._selected.start),d=this._getDateInCurrentMonth(this._selected.end)):l=d=this._getDateInCurrentMonth(this._selected),(l!==n||d!==n)&&this.selectedChange.emit(s),this._userSelection.emit({value:s,event:i.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(i){const s=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(i.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(i){const n=this._activeDate,s=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&i.preventDefault());case 27:return void(null!=this._previewEnd&&!Nr(i)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:i}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:i})),i.preventDefault(),i.stopPropagation()));default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(32===i.keyCode||13===i.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(i)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(i){this._matCalendarBody._focusActiveCell(i)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:i,value:n}){if(this._rangeStrategy){const s=n?n.rawValue:null,l=this._rangeStrategy.createPreview(s,this.selected,i);if(this._previewStart=this._getCellCompareValue(l.start),this._previewEnd=this._getCellCompareValue(l.end),this.activeDrag&&s){const d=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,s,i);d&&(this._previewStart=this._getCellCompareValue(d.start),this._previewEnd=this._getCellCompareValue(d.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(i){if(this.activeDrag)if(i.value){const n=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,i.value,i.event);this.dragEnded.emit({value:n??null,event:i.event})}else this.dragEnded.emit({value:null,event:i.event})}_getDateFromDayOfMonth(i){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i)}_initWeekdays(){const i=this._dateAdapter.getFirstDayOfWeek(),n=this._dateAdapter.getDayOfWeekNames("narrow");let l=this._dateAdapter.getDayOfWeekNames("long").map((d,p)=>({long:d,narrow:n[p]}));this._weekdays=l.slice(i).concat(l.slice(0,i))}_createWeekCells(){const i=this._dateAdapter.getNumDaysInMonth(this.activeDate),n=this._dateAdapter.getDateNames();this._weeks=[[]];for(let s=0,l=this._firstWeekOffset;s=0)&&(!this.maxDate||this._dateAdapter.compareDate(i,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(i))}_getDateInCurrentMonth(i){return i&&this._hasSameMonthAndYear(i,this.activeDate)?this._dateAdapter.getDate(i):null}_hasSameMonthAndYear(i,n){return!(!i||!n||this._dateAdapter.getMonth(i)!=this._dateAdapter.getMonth(n)||this._dateAdapter.getYear(i)!=this._dateAdapter.getYear(n))}_getCellCompareValue(i){if(i){const n=this._dateAdapter.getYear(i),s=this._dateAdapter.getMonth(i),l=this._dateAdapter.getDate(i);return new Date(n,s,l).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(i){i instanceof fl?(this._rangeStart=this._getCellCompareValue(i.start),this._rangeEnd=this._getCellCompareValue(i.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(i),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(i){return!this.dateFilter||this.dateFilter(i)}_clearPreview(){this._previewStart=this._previewEnd=null}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(Tv,8),T(va,8),T(Yr,8),T(R5,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-month-view"]],viewQuery:function(n,s){if(1&n&&oe(Uw,5),2&n){let l;G(l=j())&&(s._matCalendarBody=l.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[ci],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(n,s){1&n&&(C(0,"table",0)(1,"thead",1)(2,"tr"),I(3,NQe,5,2,"th",2),k(),C(4,"tr"),Q(5,"th",3),k()(),C(6,"tbody",4),B("selectedValueChange",function(d){return s._dateSelected(d)})("activeDateChange",function(d){return s._updateActiveDate(d)})("previewChange",function(d){return s._previewChanged(d)})("dragStarted",function(d){return s.dragStarted.emit(d)})("dragEnded",function(d){return s._dragEnded(d)})("keyup",function(d){return s._handleCalendarBodyKeyup(d)})("keydown",function(d){return s._handleCalendarBodyKeydown(d)}),k()()),2&n&&(y(3),x("ngForOf",s._weekdays),y(3),x("label",s._monthLabel)("rows",s._weeks)("todayValue",s._todayDate)("startValue",s._rangeStart)("endValue",s._rangeEnd)("comparisonStart",s._comparisonRangeStart)("comparisonEnd",s._comparisonRangeEnd)("previewStart",s._previewStart)("previewEnd",s._previewEnd)("isRange",s._isRange)("labelMinRequiredCells",3)("activeCell",s._dateAdapter.getDate(s.activeDate)-1)("startDateAccessibleName",s.startDateAccessibleName)("endDateAccessibleName",s.endDateAccessibleName))},dependencies:[Vt,Uw],encapsulation:2,changeDetection:0})}return r})();const Ac=24;let Sre=(()=>{class r{get activeDate(){return this._activeDate}set activeDate(i){let n=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),Tre(this._dateAdapter,n,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(i){this._selected=i instanceof fl?i:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedYear(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}constructor(i,n,s){this._changeDetectorRef=i,this._dateAdapter=n,this._dir=s,this._rerenderSubscription=Ce.EMPTY,this.selectedChange=new X,this.yearSelected=new X,this.activeDateChange=new X,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(go(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const n=this._dateAdapter.getYear(this._activeDate)-FS(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let s=0,l=[];sthis._createCellForYear(d))),l=[]);this._changeDetectorRef.markForCheck()}_yearSelected(i){const n=i.value,s=this._dateAdapter.createDate(n,0,1),l=this._getDateFromYear(n);this.yearSelected.emit(s),this.selectedChange.emit(l)}_updateActiveDate(i){const s=this._activeDate;this.activeDate=this._getDateFromYear(i.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){const n=this._activeDate,s=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-FS(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ac-FS(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10*-Ac:-Ac);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10*Ac:Ac);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),i.preventDefault()}_handleCalendarBodyKeyup(i){(32===i.keyCode||13===i.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_getActiveCell(){return FS(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(i){const n=this._dateAdapter.getMonth(this.activeDate),s=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(i,n,1));return this._dateAdapter.createDate(i,n,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForYear(i){const n=this._dateAdapter.createDate(i,0,1),s=this._dateAdapter.getYearName(n),l=this.dateClass?this.dateClass(n,"multi-year"):void 0;return new Sj(i,s,s,this._shouldEnableYear(i),l)}_shouldEnableYear(i){if(null==i||this.maxDate&&i>this._dateAdapter.getYear(this.maxDate)||this.minDate&&i{class r{get activeDate(){return this._activeDate}set activeDate(i){let n=this._activeDate;const s=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(s,this.minDate,this.maxDate),this._dateAdapter.getYear(n)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(i){this._selected=i instanceof fl?i:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedMonth(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}constructor(i,n,s,l){this._changeDetectorRef=i,this._dateFormats=n,this._dateAdapter=s,this._dir=l,this._rerenderSubscription=Ce.EMPTY,this.selectedChange=new X,this.monthSelected=new X,this.activeDateChange=new X,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(go(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(i){const n=i.value,s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(s);const l=this._getDateFromMonth(n);this.selectedChange.emit(l)}_updateActiveDate(i){const s=this._activeDate;this.activeDate=this._getDateFromMonth(i.value),this._dateAdapter.compareDate(s,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){const n=this._activeDate,s=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,s?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(n,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(32===i.keyCode||13===i.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let i=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(n=>n.map(s=>this._createCellForMonth(s,i[s]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(i){return i&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(i):null}_getDateFromMonth(i){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),s=this._dateAdapter.getNumDaysInMonth(n);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,Math.min(this._dateAdapter.getDate(this.activeDate),s))}_createCellForMonth(i,n){const s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),l=this._dateAdapter.format(s,this._dateFormats.display.monthYearA11yLabel),d=this.dateClass?this.dateClass(s,"year"):void 0;return new Sj(i,n.toLocaleUpperCase(),l,this._shouldEnableMonth(i),d)}_shouldEnableMonth(i){const n=this._dateAdapter.getYear(this.activeDate);if(null==i||this._isYearAndMonthAfterMaxDate(n,i)||this._isYearAndMonthBeforeMinDate(n,i))return!1;if(!this.dateFilter)return!0;for(let l=this._dateAdapter.createDate(n,i,1);this._dateAdapter.getMonth(l)==i;l=this._dateAdapter.addCalendarDays(l,1))if(this.dateFilter(l))return!0;return!1}_isYearAndMonthAfterMaxDate(i,n){if(this.maxDate){const s=this._dateAdapter.getYear(this.maxDate),l=this._dateAdapter.getMonth(this.maxDate);return i>s||i===s&&n>l}return!1}_isYearAndMonthBeforeMinDate(i,n){if(this.minDate){const s=this._dateAdapter.getYear(this.minDate),l=this._dateAdapter.getMonth(this.minDate);return i{class r{constructor(i,n,s,l,d){this._intl=i,this.calendar=n,this._dateAdapter=s,this._dateFormats=l,this._id="mat-calendar-header-"+tXe++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>d.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-Ac)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:Ac)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(i,n){return"month"==this.calendar.currentView?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(n)&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(n):"year"==this.calendar.currentView?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(n):Tre(this._dateAdapter,i,n,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const n=this._dateAdapter.getYear(this.calendar.activeDate)-FS(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),s=n+Ac-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(s,0,1))]}static#e=this.\u0275fac=function(n){return new(n||r)(T(OS),T(J(()=>Nj)),T(va,8),T(Tv,8),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:LQe,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(n,s){1&n&&(pt(),C(0,"div",0)(1,"div",1)(2,"button",2),B("click",function(){return s.currentPeriodClicked()}),C(3,"span",3),P(4),k(),mr(),C(5,"svg",4),Q(6,"polygon",5),k()(),vt(),Q(7,"div",6),Ie(8),C(9,"button",7),B("click",function(){return s.previousClicked()}),k(),C(10,"button",8),B("click",function(){return s.nextClicked()}),k()()(),C(11,"label",9),P(12),k()),2&n&&(y(2),ge("aria-label",s.periodButtonLabel)("aria-describedby",s._periodButtonLabelId),y(2),_e(s.periodButtonText),y(1),Se("mat-calendar-invert","month"!==s.calendar.currentView),y(4),x("disabled",!s.previousEnabled()),ge("aria-label",s.prevButtonLabel),y(1),x("disabled",!s.nextEnabled()),ge("aria-label",s.nextButtonLabel),y(1),x("id",s._periodButtonLabelId),y(1),_e(s.periodButtonDescription))},dependencies:[Cr,wr],encapsulation:2,changeDetection:0})}return r})(),Nj=(()=>{class r{get startAt(){return this._startAt}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get selected(){return this._selected}set selected(i){this._selected=i instanceof fl?i:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get activeDate(){return this._clampedActiveDate}set activeDate(i){this._clampedActiveDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(i){const n=this._currentView!==i?i:null;this._currentView=i,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),n&&this.viewChanged.emit(n)}constructor(i,n,s,l){this._dateAdapter=n,this._dateFormats=s,this._changeDetectorRef=l,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new X,this.yearSelected=new X,this.monthSelected=new X,this.viewChanged=new X(!0),this._userSelection=new X,this._userDragDrop=new X,this._activeDrag=null,this.stateChanges=new Ge,this._intlChanges=i.changes.subscribe(()=>{l.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new QC(this.headerComponent||iXe),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(i){const n=i.minDate&&!this._dateAdapter.sameDate(i.minDate.previousValue,i.minDate.currentValue)?i.minDate:void 0,s=i.maxDate&&!this._dateAdapter.sameDate(i.maxDate.previousValue,i.maxDate.currentValue)?i.maxDate:void 0,l=n||s||i.dateFilter;if(l&&!l.firstChange){const d=this._getCurrentViewComponent();d&&(this._changeDetectorRef.detectChanges(),d._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(i){const n=i.value;(this.selected instanceof fl||n&&!this._dateAdapter.sameDate(n,this.selected))&&this.selectedChange.emit(n),this._userSelection.emit(i)}_yearSelectedInMultiYearView(i){this.yearSelected.emit(i)}_monthSelectedInYearView(i){this.monthSelected.emit(i)}_goToDateInView(i,n){this.activeDate=i,this.currentView=n}_dragStarted(i){this._activeDrag=i}_dragEnded(i){this._activeDrag&&(i.value&&this._userDragDrop.emit(i),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}static#e=this.\u0275fac=function(n){return new(n||r)(T(OS),T(va,8),T(Tv,8),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-calendar"]],viewQuery:function(n,s){if(1&n&&(oe(Ire,5),oe(Mre,5),oe(Sre,5)),2&n){let l;G(l=j())&&(s.monthView=l.first),G(l=j())&&(s.yearView=l.first),G(l=j())&&(s.multiYearView=l.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Ye([Are]),ci],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(n,s){1&n&&(I(0,BQe,0,0,"ng-template",0),C(1,"div",1),I(2,VQe,1,11,"mat-month-view",2),I(3,zQe,1,6,"mat-year-view",3),I(4,HQe,1,6,"mat-multi-year-view",4),k()),2&n&&(x("cdkPortalOutlet",s._calendarHeaderPortal),y(1),x("ngSwitch",s.currentView),y(1),x("ngSwitchCase","month"),y(1),x("ngSwitchCase","year"),y(1),x("ngSwitchCase","multi-year"))},dependencies:[ed,ju,lbe,ZC,Ire,Mre,Sre],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size);font-weight:var(--mat-datepicker-calendar-period-button-text-weight)}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-content .mat-calendar-next-button{color:var(--mat-datepicker-calendar-navigation-button-icon-color)}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-weight)}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0})}return r})();const Rre={transformPanel:hr("transformPanel",[Fi("void => enter-dropdown",Di("120ms cubic-bezier(0, 0, 0.2, 1)",Zd([gt({opacity:0,transform:"scale(1, 0.8)"}),gt({opacity:1,transform:"scale(1, 1)"})]))),Fi("void => enter-dialog",Di("150ms cubic-bezier(0, 0, 0.2, 1)",Zd([gt({opacity:0,transform:"scale(0.7)"}),gt({transform:"none",opacity:1})]))),Fi("* => void",Di("100ms linear",gt({opacity:0})))]),fadeInCalendar:hr("fadeInCalendar",[yn("void",gt({opacity:0})),yn("enter",gt({opacity:1})),Fi("void => *",Di("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let nXe=0;const Pre=new $e("mat-datepicker-scroll-strategy"),rXe={provide:Pre,deps:[_a],useFactory:function oXe(r){return()=>r.scrollStrategies.reposition()}},sXe=Iv(class{constructor(r){this._elementRef=r}});let aXe=(()=>{class r extends sXe{constructor(i,n,s,l,d,p){super(i),this._changeDetectorRef=n,this._globalModel=s,this._dateAdapter=l,this._rangeSelectionStrategy=d,this._subscriptions=new Ce,this._animationDone=new Ge,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=p.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(i){const n=this._model.selection,s=i.value,l=n instanceof fl;if(l&&this._rangeSelectionStrategy){const d=this._rangeSelectionStrategy.selectionFinished(s,n,i.event);this._model.updateSelection(d,this)}else s&&(l||!this._dateAdapter.sameDate(s,n))&&this._model.add(s);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(i){this._model.updateSelection(i.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(i){this._isAnimating="start"===i.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(i,n){this._model=i?this._globalModel.clone():this._globalModel,this._actionsPortal=i,n&&this._changeDetectorRef.detectChanges()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(xf),T(va),T(R5,8),T(OS))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-datepicker-content"]],viewQuery:function(n,s){if(1&n&&oe(Nj,5),2&n){let l;G(l=j())&&(s._calendar=l.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(n,s){1&n&&gp("@transformPanel.start",function(d){return s._handleAnimationEvent(d)})("@transformPanel.done",function(d){return s._handleAnimationEvent(d)}),2&n&&(nv("@transformPanel",s._animationState),Se("mat-datepicker-content-touch",s.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[Ae],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"mat-calendar",1),B("yearSelected",function(d){return s.datepicker._selectYear(d)})("monthSelected",function(d){return s.datepicker._selectMonth(d)})("viewChanged",function(d){return s.datepicker._viewChanged(d)})("_userSelection",function(d){return s._handleUserSelection(d)})("_userDragDrop",function(d){return s._handleUserDragDrop(d)}),k(),I(2,GQe,0,0,"ng-template",2),C(3,"button",3),B("focus",function(){return s._closeButtonFocused=!0})("blur",function(){return s._closeButtonFocused=!1})("click",function(){return s.datepicker.close()}),P(4),k()()),2&n){let l;Se("mat-datepicker-content-container-with-custom-header",s.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",s._actionsPortal),ge("aria-modal",!0)("aria-labelledby",null!==(l=s._dialogLabelId)&&void 0!==l?l:void 0),y(1),x("id",s.datepicker.id)("ngClass",s.datepicker.panelClass)("startAt",s.datepicker.startAt)("startView",s.datepicker.startView)("minDate",s.datepicker._getMinDate())("maxDate",s.datepicker._getMaxDate())("dateFilter",s.datepicker._getDateFilter())("headerComponent",s.datepicker.calendarHeaderComponent)("selected",s._getSelected())("dateClass",s.datepicker.dateClass)("comparisonStart",s.comparisonStart)("comparisonEnd",s.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",s.startDateAccessibleName)("endDateAccessibleName",s.endDateAccessibleName),y(1),x("cdkPortalOutlet",s._actionsPortal),y(1),Se("cdk-visually-hidden",!s._closeButtonFocused),x("color",s.color||"primary"),y(1),_e(s._closeButtonText)}},dependencies:[Xt,Cr,Jve,ZC,Nj],styles:[".mat-datepicker-content{box-shadow:0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[Rre.transformPanel,Rre.fadeInCalendar]},changeDetection:0})}return r})(),Ore=(()=>{class r{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(i){this._color=i}get touchUi(){return this._touchUi}set touchUi(i){this._touchUi=Et(i)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(i){const n=Et(i);n!==this._disabled&&(this._disabled=n,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(i){this._restoreFocus=Et(i)}get panelClass(){return this._panelClass}set panelClass(i){this._panelClass=BQ(i)}get opened(){return this._opened}set opened(i){Et(i)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(i,n,s,l,d,p,f){this._overlay=i,this._ngZone=n,this._viewContainerRef=s,this._dateAdapter=d,this._dir=p,this._model=f,this._inputStateChanges=Ce.EMPTY,this._document=st(Tt),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new X,this.monthSelected=new X,this.viewChanged=new X(!0),this.openedStream=new X,this.closedStream=new X,this._opened=!1,this.id="mat-datepicker-"+nXe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Ge,this._scrollStrategy=l}ngOnChanges(i){const n=i.xPosition||i.yPosition;if(n&&!n.firstChange&&this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;s instanceof pX&&(this._setConnectedPositions(s),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(i){this._model.add(i)}_selectYear(i){this.yearSelected.emit(i)}_selectMonth(i){this.monthSelected.emit(i)}_viewChanged(i){this.viewChanged.emit(i)}registerInput(i){return this._inputStateChanges.unsubscribe(),this.datepickerInput=i,this._inputStateChanges=i.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(i){this._actionsPortal=i,this._componentRef?.instance._assignActions(i,!0)}removeActions(i){i===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=UC(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const i=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,n=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:s,location:l}=this._componentRef;s._startExitAnimation(),s._animationDone.pipe(An(1)).subscribe(()=>{const d=this._document.activeElement;i&&(!d||d===this._document.activeElement||l.nativeElement.contains(d))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}i?setTimeout(n):n()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(i){i.datepicker=this,i.color=this.color,i._dialogLabelId=this.datepickerInput.getOverlayLabelId(),i._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const i=this.touchUi,n=new QC(aXe,this._viewContainerRef),s=this._overlayRef=this._overlay.create(new JC({positionStrategy:i?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[i?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:i?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(i?"dialog":"popup")}));this._getCloseStream(s).subscribe(l=>{l&&l.preventDefault(),this.close()}),s.keydownEvents().subscribe(l=>{const d=l.keyCode;(38===d||40===d||37===d||39===d||33===d||34===d)&&l.preventDefault()}),this._componentRef=s.attach(n),this._forwardContentValues(this._componentRef.instance),i||this._ngZone.onStable.pipe(An(1)).subscribe(()=>s.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const i=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(i)}_setConnectedPositions(i){const n="end"===this.xPosition?"end":"start",s="start"===n?"end":"start",l="above"===this.yPosition?"bottom":"top",d="top"===l?"bottom":"top";return i.withPositions([{originX:n,originY:d,overlayX:n,overlayY:l},{originX:n,originY:l,overlayX:n,overlayY:d},{originX:s,originY:d,overlayX:s,overlayY:l},{originX:s,originY:l,overlayX:s,overlayY:d}])}_getCloseStream(i){const n=["ctrlKey","shiftKey","metaKey"];return rn(i.backdropClick(),i.detachments(),i.keydownEvents().pipe(xi(s=>27===s.keyCode&&!Nr(s)||this.datepickerInput&&Nr(s,"altKey")&&38===s.keyCode&&n.every(l=>!Nr(s,l)))))}static#e=this.\u0275fac=function(n){return new(n||r)(T(_a),T(et),T(ei),T(Pre),T(va,8),T(Yr,8),T(xf))};static#t=this.\u0275dir=re({type:r,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[ci]})}return r})(),lXe=(()=>{class r extends Ore{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Ye([Are,{provide:Ore,useExisting:r}]),Ae],decls:0,vars:0,template:function(n,s){},encapsulation:2,changeDetection:0})}return r})();class P5{constructor(a,i){this.target=a,this.targetElement=i,this.value=this.target.value}}let cXe=(()=>{class r{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(i){this._assignValueProgrammatically(i)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(i){const n=Et(i),s=this._elementRef.nativeElement;this._disabled!==n&&(this._disabled=n,this.stateChanges.next(void 0)),n&&this._isInitialized&&s.blur&&s.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(i){this._model=i,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(n=>{if(this._shouldHandleChangeEvent(n)){const s=this._getValueFromModel(n.selection);this._lastValueValid=this._isValidValue(s),this._cvaOnChange(s),this._onTouched(),this._formatValue(s),this.dateInput.emit(new P5(this,this._elementRef.nativeElement)),this.dateChange.emit(new P5(this,this._elementRef.nativeElement))}})}constructor(i,n,s){this._elementRef=i,this._dateAdapter=n,this._dateFormats=s,this.dateChange=new X,this.dateInput=new X,this.stateChanges=new Ge,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Ce.EMPTY,this._localeSubscription=Ce.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value));return!d||this._matchesFilter(d)?null:{matDatepickerFilter:!0}},this._minValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),p=this._getMinDate();return!p||!d||this._dateAdapter.compareDate(p,d)<=0?null:{matDatepickerMin:{min:p,actual:d}}},this._maxValidator=l=>{const d=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(l.value)),p=this._getMaxDate();return!p||!d||this._dateAdapter.compareDate(p,d)>=0?null:{matDatepickerMax:{max:p,actual:d}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(i){(function dXe(r,a){const i=Object.keys(r);for(let n of i){const{previousValue:s,currentValue:l}=r[n];if(!a.isDateInstance(s)||!a.isDateInstance(l))return!0;if(!a.sameDate(s,l))return!0}return!1})(i,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(i){this._validatorOnChange=i}validate(i){return this._validator?this._validator(i):null}writeValue(i){this._assignValueProgrammatically(i)}registerOnChange(i){this._cvaOnChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_onKeydown(i){Nr(i,"altKey")&&40===i.keyCode&&["ctrlKey","shiftKey","metaKey"].every(l=>!Nr(i,l))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),i.preventDefault())}_onInput(i){const n=this._lastValueValid;let s=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(s),s=this._dateAdapter.getValidDateOrNull(s);const l=!this._dateAdapter.sameDate(s,this.value);!s||l?this._cvaOnChange(s):(i&&!this.value&&this._cvaOnChange(s),n!==this._lastValueValid&&this._validatorOnChange()),l&&(this._assignValue(s),this.dateInput.emit(new P5(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new P5(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(i){this._elementRef.nativeElement.value=null!=i?this._dateAdapter.format(i,this._dateFormats.display.dateInput):""}_assignValue(i){this._model?(this._assignValueToModel(i),this._pendingValue=null):this._pendingValue=i}_isValidValue(i){return!i||this._dateAdapter.isValid(i)}_parentDisabled(){return!1}_assignValueProgrammatically(i){i=this._dateAdapter.deserialize(i),this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._assignValue(i),this._formatValue(i)}_matchesFilter(i){const n=this._getDateFilter();return!n||n(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(va,8),T(Tv,8))};static#t=this.\u0275dir=re({type:r,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ci]})}return r})();const uXe={provide:Yn,useExisting:J(()=>Lj),multi:!0},hXe={provide:io,useExisting:J(()=>Lj),multi:!0};let Lj=(()=>{class r extends cXe{set matDatepicker(i){i&&(this._datepicker=i,this._closedSubscription=i.closedStream.subscribe(()=>this._onTouched()),this._registerModel(i.registerInput(this)))}get min(){return this._min}set min(i){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(n,this._min)||(this._min=n,this._validatorOnChange())}get max(){return this._max}set max(i){const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i));this._dateAdapter.sameDate(n,this._max)||(this._max=n,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(i){const n=this._matchesFilter(this.value);this._dateFilter=i,this._matchesFilter(this.value)!==n&&this._validatorOnChange()}constructor(i,n,s,l){super(i,n,s),this._formField=l,this._closedSubscription=Ce.EMPTY,this._validator=Ft.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(i){return i}_assignValueToModel(i){this._model&&this._model.updateSelection(i,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(i){return i.source!==this}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(va,8),T(Tv,8),T(Gw,8))};static#t=this.\u0275dir=re({type:r,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(n,s){1&n&&B("input",function(d){return s._onInput(d.target.value)})("change",function(){return s._onChange()})("blur",function(){return s._onBlur()})("keydown",function(d){return s._onKeydown(d)}),2&n&&(ur("disabled",s.disabled),ge("aria-haspopup",s._datepicker?"dialog":null)("aria-owns",(null==s._datepicker?null:s._datepicker.opened)&&s._datepicker.id||null)("min",s.min?s._dateAdapter.toIso8601(s.min):null)("max",s.max?s._dateAdapter.toIso8601(s.max):null)("data-mat-calendar",s._datepicker?s._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[Ye([uXe,hXe,{provide:Voe,useExisting:r}]),Ae]})}return r})(),pXe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275dir=re({type:r,selectors:[["","matDatepickerToggleIcon",""]]})}return r})(),gXe=(()=>{class r{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(i){this._disabled=Et(i)}constructor(i,n,s){this._intl=i,this._changeDetectorRef=n,this._stateChanges=Ce.EMPTY;const l=Number(s);this.tabIndex=l||0===l?l:null}ngOnChanges(i){i.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(i){this.datepicker&&!this.disabled&&(this.datepicker.open(),i.stopPropagation())}_watchStateChanges(){const i=this.datepicker?this.datepicker.stateChanges:Dt(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Dt(),s=this.datepicker?rn(this.datepicker.openedStream,this.datepicker.closedStream):Dt();this._stateChanges.unsubscribe(),this._stateChanges=rn(this._intl.changes,i,n,s).subscribe(()=>this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(n){return new(n||r)(T(OS),T(rt),Ns("tabindex"))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-datepicker-toggle"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,pXe,5),2&n){let d;G(d=j())&&(s._customIcon=d.first)}},viewQuery:function(n,s){if(1&n&&oe(jQe,5),2&n){let l;G(l=j())&&(s._button=l.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(n,s){1&n&&B("click",function(d){return s._open(d)}),2&n&&(ge("tabindex",null)("data-mat-calendar",s.datepicker?s.datepicker.id:null),Se("mat-datepicker-toggle-active",s.datepicker&&s.datepicker.opened)("mat-accent",s.datepicker&&"accent"===s.datepicker.color)("mat-warn",s.datepicker&&"warn"===s.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[ci],ngContentSelectors:WQe,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(n,s){1&n&&(pt(UQe),C(0,"button",0,1),I(2,$Qe,2,0,"svg",2),Ie(3),k()),2&n&&(x("disabled",s.disabled)("disableRipple",s.disableRipple),ge("aria-haspopup",s.datepicker?"dialog":null)("aria-label",s.ariaLabel||s._intl.openCalendarLabel)("tabindex",s.disabled?-1:s.tabIndex),y(2),x("ngIf",!s._customIcon))},dependencies:[Qe,wr],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0})}return r})(),_Xe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[OS,rXe],imports:[Gs,C5,Pm,iI,Dv,Ai,kv]})}return r})();function Nre(r,a){return a?i=>EA(a.pipe(An(1),function vXe(){return Cn((r,a)=>{r.subscribe(qt(a,te))})}()),i.pipe(Nre(r))):vo((i,n)=>Ar(r(i,n)).pipe(An(1),eY(i)))}function Vj(r,a=WC){const i=xv(r,a);return Nre(()=>i)}const bXe=["panel"];function yXe(r,a){if(1&r){const i=ce();C(0,"div",0,1),B("@panelAnimation.done",function(s){return z(i),H(S()._animationDone.next(s))}),Ie(2),k()}if(2&r){const i=a.id,n=S();x("id",n.id)("ngClass",n._classList)("@panelAnimation",n.isOpen?"visible":"hidden"),ge("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby(i))}}const CXe=["*"],wXe=hr("panelAnimation",[yn("void, hidden",gt({opacity:0,transform:"scaleY(0.8)"})),Fi(":enter, hidden => visible",[YA([Di("0.03s linear",gt({opacity:1})),Di("0.12s cubic-bezier(0, 0, 0.2, 1)",gt({transform:"scaleY(1)"}))])]),Fi(":leave, visible => hidden",[Di("0.075s linear",gt({opacity:0}))])]);let xXe=0;class kXe{constructor(a,i){this.source=a,this.option=i}}const DXe=Om(class{}),Lre=new $e("mat-autocomplete-default-options",{providedIn:"root",factory:function AXe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}});let IXe=(()=>{class r extends DXe{get isOpen(){return this._isOpen&&this.showPanel}_setColor(i){this._color=i,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(i){this._autoActiveFirstOption=Et(i)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(i){this._autoSelectActiveOption=Et(i)}get requireSelection(){return this._requireSelection}set requireSelection(i){this._requireSelection=Et(i)}set classList(i){this._classList=i&&i.length?BQ(i).reduce((n,s)=>(n[s]=!0,n),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(i,n,s,l){super(),this._changeDetectorRef=i,this._elementRef=n,this._defaults=s,this._activeOptionChanges=Ce.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new X,this.opened=new X,this.closed=new X,this.optionActivated=new X,this._classList={},this.id="mat-autocomplete-"+xXe++,this.inertGroups=l?.SAFARI||!1,this._autoActiveFirstOption=!!s.autoActiveFirstOption,this._autoSelectActiveOption=!!s.autoSelectActiveOption,this._requireSelection=!!s.requireSelection}ngAfterContentInit(){this._keyManager=new XQ(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(i=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[i]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(i){this.panel&&(this.panel.nativeElement.scrollTop=i)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(i){const n=new kXe(this,i);this.optionSelected.emit(n)}_getPanelAriaLabelledby(i){return this.ariaLabel?null:this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_setVisibilityClasses(i){i[this._visibleClass]=this.showPanel,i[this._hiddenClass]=!this.showPanel}_setThemeClasses(i){i["mat-primary"]="primary"===this._color,i["mat-warn"]="warn"===this._color,i["mat-accent"]="accent"===this._color}_skipPredicate(i){return i.disabled}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(Lre),T(Po))};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&(oe(je,7),oe(bXe,5)),2&n){let l;G(l=j())&&(s.template=l.first),G(l=j())&&(s.panel=l.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",requireSelection:"requireSelection",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[Ae]})}return r})(),NS=(()=>{class r extends IXe{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new X,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=Et(i),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const i of this.options)i._changeDetectorRef.markForCheck()}ngOnDestroy(){super.ngOnDestroy(),this._animationDone.complete()}_skipPredicate(i){return!1}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-autocomplete"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,r8,5),Fe(l,Fm,5)),2&n){let d;G(d=j())&&(s.optionGroups=d),G(d=j())&&(s.options=d)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[Ye([{provide:o8,useExisting:r}]),Ae],ngContentSelectors:CXe,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(n,s){1&n&&(pt(),I(0,yXe,3,5,"ng-template"))},dependencies:[Xt],styles:["div.mat-mdc-autocomplete-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[wXe]},changeDetection:0})}return r})();const SXe={provide:Yn,useExisting:J(()=>Ww),multi:!0},Bre=new $e("mat-autocomplete-scroll-strategy"),EXe={provide:Bre,deps:[_a],useFactory:function TXe(r){return()=>r.scrollStrategies.reposition()}};let MXe=(()=>{class r{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(i){this._autocompleteDisabled=Et(i)}constructor(i,n,s,l,d,p,f,v,D,E,F){this._element=i,this._overlay=n,this._viewContainerRef=s,this._zone=l,this._changeDetectorRef=d,this._dir=f,this._formField=v,this._document=D,this._viewportRuler=E,this._defaults=F,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Ce.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new Ge,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=mv(()=>{const L=this.autocomplete?this.autocomplete.options:null;return L?L.changes.pipe(go(L),Jn(()=>rn(...L.map($=>$.onSelectionChange)))):this._zone.onStable.pipe(An(1),Jn(()=>this.optionSelections))}),this._handlePanelKeydown=L=>{(27===L.keyCode&&!Nr(L)||38===L.keyCode&&Nr(L,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),L.stopPropagation(),L.preventDefault())},this._trackedModal=null,this._scrollStrategy=p}ngAfterViewInit(){const i=this._getWindow();typeof i<"u"&&this._zone.runOutsideAngular(()=>i.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(i){i.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const i=this._getWindow();typeof i<"u"&&i.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel(),this._trackedModal&&w3(this._trackedModal,"aria-owns",this.autocomplete.id)}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)&&qC(this._trackedModal,"aria-owns",this.autocomplete.id)}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return rn(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(xi(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(xi(()=>this._overlayAttached)):Dt()).pipe(Rt(i=>i instanceof TX?i:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return rn(Ri(this._document,"click"),Ri(this._document,"auxclick"),Ri(this._document,"touchend")).pipe(xi(i=>{const n=Np(i),s=this._formField?this._formField._elementRef.nativeElement:null,l=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!s||!s.contains(n))&&(!l||!l.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(i){Promise.resolve(null).then(()=>this._assignOptionValue(i))}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this._element.nativeElement.disabled=i}_handleKeydown(i){const n=i.keyCode,s=Nr(i);if(27===n&&!s&&i.preventDefault(),this.activeOption&&13===n&&this.panelOpen&&!s)this.activeOption._selectViaInteraction(),this._resetActiveItem(),i.preventDefault();else if(this.autocomplete){const l=this.autocomplete._keyManager.activeItem,d=38===n||40===n;9===n||d&&!s&&this.panelOpen?this.autocomplete._keyManager.onKeydown(i):d&&this._canOpen()&&this.openPanel(),(d||this.autocomplete._keyManager.activeItem!==l)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(i){let n=i.target,s=n.value;"number"===n.type&&(s=""==s?null:parseFloat(s)),this._previousValue!==s&&(this._previousValue=s,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(s),s||this._clearPreviousSelectedOption(null,!1),this._canOpen()&&this._document.activeElement===i.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(i=!1){this._formField&&"auto"===this._formField.floatLabel&&(i?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return rn(this._zone.onStable.pipe(An(1)),this.autocomplete.options.changes.pipe(Or(()=>this._positionStrategy.reapplyLastPosition()),Vj(0))).pipe(Jn(()=>(this._zone.run(()=>{const s=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),s!==this.panelOpen&&(this.panelOpen?(this._captureValueOnAttach(),this._emitOpened()):this.autocomplete.closed.emit())}),this.panelClosingActions)),An(1)).subscribe(s=>this._setValueAndClose(s))}_emitOpened(){this.autocomplete.opened.emit()}_captureValueOnAttach(){this._valueOnAttach=this._element.nativeElement.value}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(i){const n=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(i):i;this._updateNativeInputValue(n??"")}_updateNativeInputValue(i){this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}_setValueAndClose(i){const n=this.autocomplete,s=i?i.source:this._pendingAutoselectedOption;s?(this._clearPreviousSelectedOption(s),this._assignOptionValue(s.value),this._onChange(s.value),n._emitSelectEvent(s),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),n._animationDone?n._animationDone.pipe(An(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(i,n){this.autocomplete?.options?.forEach(s=>{s!==i&&s.selected&&s.deselect(n)})}_attachOverlay(){let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new XC(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const n=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this._captureValueOnAttach(),this.panelOpen&&n!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const i=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=i.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=i.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new JC({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const i=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(i),this._positionStrategy=i,i}_setStrategyPositions(i){const n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],s=this._aboveClass,l=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:s},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:s}];let d;d="above"===this.position?l:"below"===this.position?n:[...n,...l],i.withPositions(d)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const i=this.autocomplete;if(i.autoActiveFirstOption){let n=-1;for(let s=0;s .cdk-overlay-container [aria-modal="true"]');if(!i)return;const n=this.autocomplete.id;this._trackedModal&&qC(this._trackedModal,"aria-owns",n),w3(i,"aria-owns",n),this._trackedModal=i}_clearFromModal(){this._trackedModal&&(qC(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(_a),T(ei),T(et),T(rt),T(Bre),T(Yr,8),T(Gw,9),T(Tt,8),T(Rm),T(Lre,8))};static#t=this.\u0275dir=re({type:r,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[ci]})}return r})(),Ww=(()=>{class r extends MXe{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,s){1&n&&B("focusin",function(){return s._handleFocus()})("blur",function(){return s._onTouched()})("input",function(d){return s._handleInput(d)})("keydown",function(d){return s._handleKeydown(d)})("click",function(){return s._handleClick()}),2&n&&ge("autocomplete",s.autocompleteAttribute)("role",s.autocompleteDisabled?null:"combobox")("aria-autocomplete",s.autocompleteDisabled?null:"list")("aria-activedescendant",s.panelOpen&&s.activeOption?s.activeOption.id:null)("aria-expanded",s.autocompleteDisabled?null:s.panelOpen.toString())("aria-controls",s.autocompleteDisabled||!s.panelOpen||null==s.autocomplete?null:s.autocomplete.id)("aria-haspopup",s.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[Ye([SXe]),Ae]})}return r})(),RXe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[EXe],imports:[Pm,P3,Ai,Gs,kv,P3,Ai]})}return r})();function PXe(r,a){1&r&&Q(0,"mat-datepicker-toggle",25),2&r&&(S(),x("for",ee(26)))}function OXe(r,a){1&r&&(C(0,"button",26),P(1,"C\u1eadp nh\u1eadp"),k())}let FXe=(()=>{class r{constructor(i,n,s,l){this.builder=i,this.toastr=n,this.userService=s,this.sessionService=l,this.isEditMode=!1,this.userform=this.builder.group({Email:this.builder.control("",Ft.required),Fullname:this.builder.control("",Ft.required),Sex:this.builder.control(""),Gender:this.builder.control(0),DateOfBirth:this.builder.control(new Date),PhoneNumber:this.builder.control(""),Introduction:this.builder.control("")})}ngOnInit(){this.GetUserInfor()}GetUserInfor(){this.userService.GetUserDetail().subscribe(i=>{const n=i.resultObj;this.userform.patchValue({Email:n.email,Fullname:n.fullname,DateOfBirth:n.dateOfBirth,PhoneNumber:n.phoneNumber,Introduction:n.introduction,Gender:n.gender,Sex:this.CheckGender(n.gender)}),this.UserName=n.email,this.Fullname=n.fullname,this.DateOfBirth=n.dateOfBirth,this.Gender=this.CheckGender(n.gender),this.Introduction=n.introduction,this.PhoneNumber=n.phoneNumber,this.sessionService.setDescriptionUser(this.Introduction)},i=>{console.error("L\u1ed7i khi g\u1ecdi API",i)})}CheckGender(i){return 0==i?"Nam":1==i?"N\u1eef":"Kh\xf4ng"}ResvertGender(){const i=this.userform.get("Sex"),n=this.userform.get("Gender");i&&n&&n.setValue("Nam"===i.value?0:"N\u1eef"===i.value?1:2)}cancelEdit(){this.userform.patchValue({Email:this.UserName,Fullname:this.Fullname,DateOfBirth:this.DateOfBirth,PhoneNumber:this.PhoneNumber,Introduction:this.Introduction,Sex:this.Gender})}toggleEditMode(){this.isEditMode?(this.cancelEdit(),this.isEditMode=!this.isEditMode):this.isEditMode=!this.isEditMode}updateuserinfor(){this.ResvertGender(),this.userService.UpdateUser(this.userform.value).subscribe(i=>{const n=i.resultObj;this.userform.patchValue({Email:n.email,Fullname:n.fullname,Gender:n.Gender,DateOfBirth:n.dateOfBirth,PhoneNumber:n.phoneNumber,Introduction:n.introduction}),this.UserName=n.email,this.Fullname=n.fullname,this.DateOfBirth=n.dateOfBirth,this.Gender=n.gender,this.Introduction=n.introduction,this.PhoneNumber=n.phoneNumber,this.toastr.success("\u0110\xe3 c\u1eadp nh\u1eadp"),this.sessionService.setDescriptionUser(this.Introduction)},i=>{console.error("L\u1ed7i khi g\u1ecdi API",i)}),this.isEditMode=!1}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(Mi),T(wj),T(Rn))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updateuserinfor"]],decls:50,vars:12,consts:[[1,"font"],[2,"max-width","700px"],[1,"dis-flex",2,"justify-content","space-between","align-items","center"],[1,"pb"],["mat-button","",1,"pl-1",2,"top","3px",3,"title","click"],[3,"formGroup","ngSubmit"],[1,"w-100"],["matInput","","formControlName","Email","readonly",""],[1,"flex-center"],["matInput","","formControlName","Fullname",3,"readonly"],[1,"pl-1","w-40"],["matInput","","formControlName","DateOfBirth",3,"matDatepicker","readonly"],["matIconSuffix","",3,"for",4,"ngIf"],["picker",""],[1,"w-40"],["type","text","matInput","","placeholder","Ch\u1ecdn gi\u1edbi t\xednh","formControlName","Sex",3,"readonly","matAutocomplete"],["auto","matAutocomplete"],["value","Nam"],["value","N\u1eef"],["value","Kh\xf4ng"],[1,"pl-1","w-100"],["matInput","","formControlName","PhoneNumber",3,"readonly"],["matInput","","formControlName","Introduction",3,"readonly"],[1,"mt-1",2,"justify-content","flex-end","display","flex"],["mat-raised-button","","color","primary",4,"ngIf"],["matIconSuffix","",3,"for"],["mat-raised-button","","color","primary"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2)(3,"h5",3),P(4,"C\u1eadp nh\u1eadp th\xf4ng tin"),k(),C(5,"button",4),B("click",function(){return s.toggleEditMode()}),C(6,"mat-icon"),P(7),k()()(),C(8,"form",5),B("ngSubmit",function(){return s.updateuserinfor()}),C(9,"mat-form-field",6)(10,"mat-label"),P(11,"T\xean t\xe0i kho\u1ea3n (m\u1eb7c \u0111\u1ecbnh)"),k(),Q(12,"input",7),k(),C(13,"div",8)(14,"mat-form-field",6)(15,"mat-label"),P(16,"H\u1ecd v\xe0 t\xean"),k(),Q(17,"input",9),k(),C(18,"mat-form-field",10)(19,"mat-label"),P(20,"Ng\xe0y sinh"),k(),Q(21,"input",11),C(22,"mat-hint"),P(23,"dd/MM/yyyy"),k(),I(24,PXe,1,1,"mat-datepicker-toggle",12),Q(25,"mat-datepicker",null,13),k()(),C(27,"div",8)(28,"mat-form-field",14)(29,"mat-label"),P(30,"Gi\u1edbi t\xednh"),k(),Q(31,"input",15),C(32,"mat-autocomplete",null,16)(34,"mat-option",17),P(35," Nam "),k(),C(36,"mat-option",18),P(37," N\u1eef "),k(),C(38,"mat-option",19),P(39," Kh\xf4ng "),k()()(),C(40,"mat-form-field",20)(41,"mat-label"),P(42,"S\u1ed1 \u0111i\u1ec7n tho\u1ea1i"),k(),Q(43,"input",21),k()(),C(44,"mat-form-field",6)(45,"mat-label"),P(46,"Gi\u1edbi thi\u1ec7u"),k(),Q(47,"textarea",22),k(),C(48,"div",23),I(49,OXe,2,0,"button",24),k()()()()),2&n){const l=ee(26),d=ee(33);y(5),x("title",s.isEditMode?"H\u1ee7y":"Ch\u1ec9nh s\u1eeda"),y(2),_e(s.isEditMode?"cancel":"edit"),y(1),x("formGroup",s.userform),y(9),x("readonly",!s.isEditMode),y(4),x("matDatepicker",l)("readonly",!s.isEditMode),y(3),x("ngIf",s.isEditMode),y(7),x("readonly",!s.isEditMode)("matAutocomplete",d),y(12),x("readonly",!s.isEditMode),y(4),x("readonly",!s.isEditMode),y(2),x("ngIf",s.isEditMode)}},dependencies:[Qe,cl,Sn,gn,Qr,hs,ml,ud,pj,Us,Fm,Cr,Fo,lXe,Lj,gXe,NS,Ww,jo,ba]})}return r})();function NXe(r,a){if(1&r){const i=ce();C(0,"button",9),B("click",function(){return z(i),H(S().changeemail())}),P(1,"C\u1eadp nh\u1eadp"),k()}}let Vre=(()=>{class r{constructor(i,n,s,l){this.toastr=i,this.router=n,this.service=s,this.sessionService=l,this.isEditMode=!1,this.email="",this.emailcurrent=l.getEmail()}toggleEditMode(){this.isEditMode?(this.cancelEdit(),this.isEditMode=!this.isEditMode):this.isEditMode=!this.isEditMode}cancelEdit(){this.email=""}changeemail(){null!=this.email?this.service.ChangeEmail(this.email).subscribe(i=>{const n=i.resultObj;this.toastr.success("Vui l\xf2ng nh\u1eadp m\xe3 x\xe1c nh\u1eadn \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn email c\u1ee7a b\u1ea1n","Thay \u0111\u1ed5i email th\xe0nh c\xf4ng"),this.sessionService.setEmail(this.email),this.sessionService.setName(this.email),this.sessionService.setToken(n),this.emailcurrent=this.email,this.cancelEdit()},i=>{const n=i.error.message;this.toastr.error(null==n?"L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y":n)}):this.toastr.warning("Vui l\xf2ng nh\u1eadp \u0111\xfang email!")}static#e=this.\u0275fac=function(n){return new(n||r)(T(Mi),T(di),T(Qu),T(Rn))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-changeemail"]],decls:17,vars:6,consts:[[1,"dis-block","w-50","font"],[1,"dis-flex",2,"justify-content","space-between","align-items","center"],["mat-button","",1,"pl-1",2,"top","3px",3,"title","click"],[1,"w-100"],["matInput","","readonly","",3,"value"],[1,"w-100","dis-block"],["matInput","","type","email",3,"ngModel","readonly","ngModelChange"],[2,"justify-content","flex-end","display","flex"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"h6"),P(3,"Thay \u0111\u1ed5i email"),k(),C(4,"button",2),B("click",function(){return s.toggleEditMode()}),C(5,"mat-icon"),P(6),k()()(),C(7,"mat-form-field",3)(8,"mat-label"),P(9,"Email hi\u1ec7n t\u1ea1i"),k(),Q(10,"input",4),k(),C(11,"mat-form-field",5)(12,"mat-label"),P(13,"Email m\u1edbi"),k(),C(14,"input",6),B("ngModelChange",function(d){return s.email=d}),k()(),C(15,"div",7),I(16,NXe,2,0,"button",8),k()()),2&n&&(y(4),x("title",s.isEditMode?"H\u1ee7y":"Ch\u1ec9nh s\u1eeda"),y(2),_e(s.isEditMode?"cancel":"edit"),y(4),x("value",s.emailcurrent),y(4),x("ngModel",s.email)("readonly",!s.isEditMode),y(2),x("ngIf",s.isEditMode))},dependencies:[Qe,Sn,gn,ss,hs,ml,ud,Cr,Fo]})}return r})();function LXe(r,a){if(1&r){const i=ce();C(0,"button",12),B("click",function(){return z(i),H(S().changepass())}),P(1,"C\u1eadp nh\u1eadp"),k()}}let zre=(()=>{class r{constructor(i,n,s){this.builder=i,this.toastr=n,this.service=s,this.isEditMode=!1,this.hide=!0,this.passform=this.builder.group({Email:this.builder.control("",Ft.required),Password:this.builder.control("",Ft.required),Confirm:this.builder.control(""),NewPassword:this.builder.control("",Ft.compose([Ft.required,Ft.pattern("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*_=+-/]).{6,16}$")]))}),this.passform.patchValue({Email:sessionStorage.getItem("email")})}toggleEditMode(){this.isEditMode?(this.cancelEdit(),this.isEditMode=!this.isEditMode):this.isEditMode=!this.isEditMode}cancelEdit(){this.passform.patchValue({Password:"",NewPassword:"",Confirm:""})}changepass(){if(this.passform.valid)this.passform.value.NewPassword===this.passform.value.Confirm?this.service.ChangePassword(this.passform.value).subscribe(i=>{this.toastr.success("Thay \u0111\u1ed5i m\u1eadt kh\u1ea9u th\xe0nh c\xf4ng"),this.cancelEdit()},i=>{const n=i.error.message;this.toastr.error(null==n?"L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y":n)}):this.toastr.warning("M\u1eadt kh\u1ea9u m\u1edbi kh\xf4ng kh\u1edbp!");else{const i=this.passform.get("NewPassword")??null;i&&i.hasError("pattern")?this.toastr.warning("V\xed d\u1ee5: Manh5/","M\u1eadt kh\u1ea9u \xedt nh\u1ea5t ph\u1ea3i c\xf3 6 k\xfd t\u1ef1, bao g\u1ed3m: Hoa, th\u01b0\u1eddng, s\u1ed1 v\xe0 k\xfd t\u1ef1 \u0111\u1eb7c bi\u1ec7t",{timeOut:5e3}):this.toastr.warning("Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin!")}}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(Mi),T(Qu))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-changepassword"]],decls:28,vars:15,consts:[[1,"dis-block","w-50","font"],[1,"dis-flex",2,"justify-content","space-between","align-items","center"],["mat-button","",1,"pl-1",2,"top","3px",3,"title","click"],[3,"formGroup","ngSubmit"],[1,"w-100"],["matInput","","type","password","placeholder","V\xed d\u1ee5: 'Mk5manh/'","formControlName","Password","autocomplete","password",3,"type","readonly"],["type","button","mat-icon-button","","matSuffix","",3,"click"],[1,"w-100","dis-block"],["matInput","","type","password","placeholder","V\xed d\u1ee5: 'Mk5manh/'","formControlName","NewPassword","autocomplete","new-password",3,"type","readonly"],["matInput","","formControlName","Confirm","autocomplete","new-password",3,"readonly"],[2,"justify-content","flex-end","display","flex"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"h6"),P(3,"Thay \u0111\u1ed5i m\u1eadt kh\u1ea9u"),k(),C(4,"button",2),B("click",function(){return s.toggleEditMode()}),C(5,"mat-icon"),P(6),k()()(),C(7,"form",3),B("ngSubmit",function(){return s.changepass()}),C(8,"mat-form-field",4)(9,"mat-label"),P(10,"M\u1eadt kh\u1ea9u hi\u1ec7n t\u1ea1i"),k(),Q(11,"input",5),C(12,"button",6),B("click",function(){return s.hide=!s.hide}),C(13,"mat-icon"),P(14),k()()(),C(15,"mat-form-field",7)(16,"mat-label"),P(17,"M\u1eadt kh\u1ea9u m\u1edbi"),k(),Q(18,"input",8),C(19,"button",6),B("click",function(){return s.hide=!s.hide}),C(20,"mat-icon"),P(21),k()()(),C(22,"mat-form-field",4)(23,"mat-label"),P(24,"Nh\u1eadp l\u1ea1i m\u1eadt kh\u1ea9u m\u1edbi"),k(),Q(25,"input",9),k(),C(26,"div",10),I(27,LXe,2,0,"button",11),k()()()),2&n&&(y(4),x("title",s.isEditMode?"H\u1ee7y":"Ch\u1ec9nh s\u1eeda"),y(2),_e(s.isEditMode?"cancel":"edit"),y(1),x("formGroup",s.passform),y(4),x("type",s.hide?"password":"text")("readonly",!s.isEditMode),y(1),ge("aria-label","Hide password")("aria-pressed",s.hide),y(2),_e(s.hide?"visibility_off":"visibility"),y(4),x("type",s.hide?"password":"text")("readonly",!s.isEditMode),y(1),ge("aria-label","Hide password")("aria-pressed",s.hide),y(2),_e(s.hide?"visibility_off":"visibility"),y(4),x("readonly",!s.isEditMode),y(2),x("ngIf",s.isEditMode))},dependencies:[Qe,cl,Sn,gn,Qr,hs,ml,ud,Us,Cr,wr,Fo,jo,ba]})}return r})(),BXe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updateaccount"]],decls:3,vars:0,consts:[[1,"pl-2"]],template:function(n,s){1&n&&(C(0,"div",0),Q(1,"app-changeemail")(2,"app-changepassword"),k())},dependencies:[Vre,zre]})}return r})(),Hre=(()=>{class r{constructor(i,n,s){this.service=i,this.router=n,this.toastr=s}canActivate(i,n){return!!this.service.isAuthenticated()||(this.toastr.warning("B\u1ea1n ch\u01b0a \u0111\u0103ng nh\u1eadp"),this.router.navigate(["/login"]),!1)}static#e=this.\u0275fac=function(n){return new(n||r)(De(Qu),De(di),De(Mi))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();class VXe{}function zj(r){return r&&"function"==typeof r.connect&&!(r instanceof nH)}class Gre{applyChanges(a,i,n,s,l){a.forEachOperation((d,p,f)=>{let v,D;if(null==d.previousIndex){const E=n(d,p,f);v=i.createEmbeddedView(E.templateRef,E.context,E.index),D=1}else null==f?(i.remove(p),D=3):(v=i.get(p),i.move(v,f),D=2);l&&l({context:v?.context,operation:D,record:d})})}detach(){}}class zXe{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(a=!1,i,n=!0,s){this._multiple=a,this._emitChanges=n,this.compareWith=s,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ge,i&&i.length&&(a?i.forEach(l=>this._markSelected(l)):this._markSelected(i[0]),this._selectedToEmit.length=0)}select(...a){this._verifyValueAssignment(a),a.forEach(n=>this._markSelected(n));const i=this._hasQueuedChanges();return this._emitChangeEvent(),i}deselect(...a){this._verifyValueAssignment(a),a.forEach(n=>this._unmarkSelected(n));const i=this._hasQueuedChanges();return this._emitChangeEvent(),i}setSelection(...a){this._verifyValueAssignment(a);const i=this.selected,n=new Set(a);a.forEach(l=>this._markSelected(l)),i.filter(l=>!n.has(l)).forEach(l=>this._unmarkSelected(l));const s=this._hasQueuedChanges();return this._emitChangeEvent(),s}toggle(a){return this.isSelected(a)?this.deselect(a):this.select(a)}clear(a=!0){this._unmarkAll();const i=this._hasQueuedChanges();return a&&this._emitChangeEvent(),i}isSelected(a){return this._selection.has(this._getConcreteValue(a))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(a){this._multiple&&this.selected&&this._selected.sort(a)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(a){a=this._getConcreteValue(a),this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))}_unmarkSelected(a){a=this._getConcreteValue(a),this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))}_unmarkAll(){this.isEmpty()||this._selection.forEach(a=>this._unmarkSelected(a))}_verifyValueAssignment(a){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(a){if(this.compareWith){for(let i of this._selection)if(this.compareWith(a,i))return i;return a}return a}}let HXe=(()=>{class r{constructor(){this._listeners=[]}notify(i,n){for(let s of this._listeners)s(i,n)}listen(i){return this._listeners.push(i),()=>{this._listeners=this._listeners.filter(n=>i!==n)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const LS=new $e("_ViewRepeater"),GXe=["input"],jXe=["*"];let $re=0;class Ure{constructor(a,i){this.source=a,this.value=i}}const $Xe={provide:Yn,useExisting:J(()=>O5),multi:!0},Wre=new $e("MatRadioGroup"),UXe=new $e("mat-radio-default-options",{providedIn:"root",factory:function WXe(){return{color:"accent"}}});let qXe=(()=>{class r{get name(){return this._name}set name(i){this._name=i,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(i){this._labelPosition="before"===i?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(i){this._value!==i&&(this._value=i,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(i){this._selected=i,this.value=i?i.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._markRadiosForCheck()}get required(){return this._required}set required(i){this._required=Et(i),this._markRadiosForCheck()}constructor(i){this._changeDetector=i,this._value=null,this._name="mat-radio-group-"+$re++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new X}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(i=>i===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(i=>{i.name=this.name,i._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(n=>{n.checked=this.value===n.value,n.checked&&(this._selected=n)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new Ure(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(i=>i._markForCheck())}writeValue(i){this.value=i,this._changeDetector.markForCheck()}registerOnChange(i){this._controlValueAccessorChangeFn=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.disabled=i,this._changeDetector.markForCheck()}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt))};static#t=this.\u0275dir=re({type:r,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}})}return r})();class KXe{constructor(a){this._elementRef=a}}const YXe=Om(Sv(KXe));let QXe=(()=>{class r extends YXe{get checked(){return this._checked}set checked(i){const n=Et(i);this._checked!==n&&(this._checked=n,n&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!n&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),n&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(i){this._value!==i&&(this._value=i,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===i),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(i){this._labelPosition=i}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(i){this._setDisabled(Et(i))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(i){this._required=Et(i)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(i){this._color=i}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(i,n,s,l,d,p,f,v){super(n),this._changeDetector=s,this._focusMonitor=l,this._radioDispatcher=d,this._providerOverride=f,this._uniqueId="mat-radio-"+ ++$re,this.id=this._uniqueId,this.change=new X,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=i,this._noopAnimations="NoopAnimations"===p,v&&(this.tabIndex=Ba(v,0))}focus(i,n){n?this._focusMonitor.focusVia(this._inputElement,n,i):this._inputElement.nativeElement.focus(i)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((i,n)=>{i!==this.id&&n===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{!i&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new Ure(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(i){i.stopPropagation()}_onInputInteraction(i){if(i.stopPropagation(),!this.checked&&!this.disabled){const n=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),n&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(i){this._onInputInteraction(i),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(i){this._disabled!==i&&(this._disabled=i,this._changeDetector.markForCheck())}_updateTabIndex(){const i=this.radioGroup;let n;if(n=i&&i.selected&&!this.disabled?i.selected===this?this.tabIndex:-1:this.tabIndex,n!==this._previousTabIndex){const s=this._inputElement?.nativeElement;s&&(s.setAttribute("tabindex",n+""),this._previousTabIndex=n)}}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&oe(GXe,5),2&n){let l;G(l=j())&&(s._inputElement=l.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[Ae]})}return r})(),O5=(()=>{class r extends qXe{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["mat-radio-group"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,F5,5),2&n){let d;G(d=j())&&(s._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[Ye([$Xe,{provide:Wre,useExisting:r}]),Ae]})}return r})(),F5=(()=>{class r extends QXe{constructor(i,n,s,l,d,p,f,v){super(i,n,s,l,d,p,f,v)}static#e=this.\u0275fac=function(n){return new(n||r)(T(Wre,8),T(ke),T(rt),T(al),T(HXe),T(Eo,8),T(UXe,8),Ns("tabindex"))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(n,s){1&n&&B("focus",function(){return s._inputElement.nativeElement.focus()}),2&n&&(ge("id",s.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Se("mat-primary","primary"===s.color)("mat-accent","accent"===s.color)("mat-warn","warn"===s.color)("mat-mdc-radio-checked",s.checked)("_mat-animation-noopable",s._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[Ae],ngContentSelectors:jXe,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(n,s){if(1&n&&(pt(),C(0,"div",0,1)(2,"div",2)(3,"div",3),B("click",function(d){return s._onTouchTargetClick(d)}),k(),C(4,"input",4,5),B("change",function(d){return s._onInputInteraction(d)}),k(),C(6,"div",6),Q(7,"div",7)(8,"div",8),k(),C(9,"div",9),Q(10,"div",10),k()(),C(11,"label",11),Ie(12),k()()),2&n){const l=ee(1);Se("mdc-form-field--align-end","before"==s.labelPosition),y(2),Se("mdc-radio--disabled",s.disabled),y(2),x("id",s.inputId)("checked",s.checked)("disabled",s.disabled)("required",s.required),ge("name",s.name)("value",s.value)("aria-label",s.ariaLabel)("aria-labelledby",s.ariaLabelledby)("aria-describedby",s.ariaDescribedby),y(5),x("matRippleTrigger",l)("matRippleDisabled",s._isRippleDisabled())("matRippleCentered",!0),y(2),x("for",s.inputId)}},dependencies:[zp],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-radio-button{--mdc-radio-disabled-selected-icon-opacity:0.38;--mdc-radio-disabled-unselected-icon-opacity:0.38;--mdc-radio-state-layer-size:40px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}return r})(),XXe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Gs,Hp,Ai]})}return r})();function ZXe(r,a){if(1&r&&(C(0,"mat-radio-button",9),P(1),k()),2&r){const i=a.$implicit;x("value",i.id),y(1),_e(i.title)}}let JXe=(()=>{class r{constructor(i,n,s,l,d,p){this.data=i,this.builder=n,this.session=s,this.service=l,this.toastr=d,this.dialogRef=p,this.reportform=this.builder.group({PostId:[""],UserId:[this.session.getUserId()],ReportId:["",Ft.required],Description:["",Ft.maxLength(500)],ReportDate:[new Date],Checked:[!1]}),this.reports=null,this.reportform.get("PostId")?.setValue(i.SubId),this.GetReportPost()}GetReportPost(){this.service.getReport().subscribe(i=>{this.reports=i.resultObj})}onSubmit(){console.log(this.reportform.value),this.reportform.valid?this.service.ReportPost(this.reportform.value).subscribe(i=>{this.toastr.success("\u0110\xe3 g\u1eedi b\xe1o c\xe1o! B\u1ea1n s\u1ebd s\u1edbm nh\u1eadn \u0111\u01b0\u1ee3c ph\u1ea3n h\u1ed3i!"),this.dialogRef.close()}):this.toastr.info("B\u1ea1n c\u1ea7n ch\u1ecdn n\u1ed9i dung b\xe1o c\xe1o!")}static#e=this.\u0275fac=function(n){return new(n||r)(T(RS),T(za),T(Rn),T(In),T(Mi),T(hd))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-reportpost"]],decls:14,vars:2,consts:[[3,"formGroup"],[1,"flex-center-sb","plr-24","mt-1"],[1,"flex-center",2,"font-size","1.4rem","font-weight","500"],["mat-raised-button","",3,"click"],["mat-dialog-content","",2,"height","300px"],["formControlName","ReportId"],["class","dis-block",3,"value",4,"ngFor","ngForOf"],[1,"pt-1","ml-2"],["matLine","2","formControlName","Description",1,"ml-2","font",2,"max-width","90%","width","90%","; border-radius","4px","font-size","1rem","max-height","100px"],[1,"dis-block",3,"value"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"span",2),P(3,"B\xe1o c\xe1o b\xe0i \u0111\u1ecdc"),k(),C(4,"button",3),B("click",function(){return s.onSubmit()}),P(5,"G\u1eedi"),k()(),C(6,"div",4)(7,"mat-radio-group",5),I(8,ZXe,2,2,"mat-radio-button",6),k()(),C(9,"span",7),P(10,"M\xf4 t\u1ea3 th\xeam"),k(),C(11,"div")(12,"textarea",8),P(13," "),k()()()),2&n&&(x("formGroup",s.reportform),y(8),x("ngForOf",s.reports))},dependencies:[Vt,Sn,gn,Qr,O5,F5,sre,Cr,n8,jo,ba]})}return r})();var eZe=bl(930),qw=bl.n(eZe);const tZe=[0,2e3,1e4,3e4,null];class qre{constructor(a){this._retryDelays=void 0!==a?[...a,null]:tZe}nextRetryDelayInMilliseconds(a){return this._retryDelays[a.previousRetryCount]}}let BS=(()=>{class r{}return r.Authorization="Authorization",r.Cookie="Cookie",r})();class Kre{constructor(a,i,n){this.statusCode=a,this.statusText=i,this.content=n}}class N5{get(a,i){return this.send({...i,method:"GET",url:a})}post(a,i){return this.send({...i,method:"POST",url:a})}delete(a,i){return this.send({...i,method:"DELETE",url:a})}getCookieString(a){return""}}class iZe extends N5{constructor(a,i){super(),this._innerClient=a,this._accessTokenFactory=i}send(a){var i=this;return qi(function*(){let n=!0;i._accessTokenFactory&&(!i._accessToken||a.url&&a.url.indexOf("/negotiate?")>0)&&(n=!1,i._accessToken=yield i._accessTokenFactory()),i._setAuthorizationHeader(a);const s=yield i._innerClient.send(a);return n&&401===s.statusCode&&i._accessTokenFactory?(i._accessToken=yield i._accessTokenFactory(),i._setAuthorizationHeader(a),yield i._innerClient.send(a)):s})()}_setAuthorizationHeader(a){a.headers||(a.headers={}),this._accessToken?a.headers[BS.Authorization]=`Bearer ${this._accessToken}`:this._accessTokenFactory&&a.headers[BS.Authorization]&&delete a.headers[BS.Authorization]}getCookieString(a){return this._innerClient.getCookieString(a)}}class vb extends Error{constructor(a,i){const n=new.target.prototype;super(`${a}: Status code '${i}'`),this.statusCode=i,this.__proto__=n}}class Hj extends Error{constructor(a="A timeout occurred."){const i=new.target.prototype;super(a),this.__proto__=i}}class pu extends Error{constructor(a="An abort occurred."){const i=new.target.prototype;super(a),this.__proto__=i}}class nZe extends Error{constructor(a,i){const n=new.target.prototype;super(a),this.transport=i,this.errorType="UnsupportedTransportError",this.__proto__=n}}class oZe extends Error{constructor(a,i){const n=new.target.prototype;super(a),this.transport=i,this.errorType="DisabledTransportError",this.__proto__=n}}class rZe extends Error{constructor(a,i){const n=new.target.prototype;super(a),this.transport=i,this.errorType="FailedToStartTransportError",this.__proto__=n}}class Yre extends Error{constructor(a){const i=new.target.prototype;super(a),this.errorType="FailedToNegotiateWithServerError",this.__proto__=i}}class sZe extends Error{constructor(a,i){const n=new.target.prototype;super(a),this.innerErrors=i,this.__proto__=n}}var tt=function(r){return r[r.Trace=0]="Trace",r[r.Debug=1]="Debug",r[r.Information=2]="Information",r[r.Warning=3]="Warning",r[r.Error=4]="Error",r[r.Critical=5]="Critical",r[r.None=6]="None",r}(tt||{});class VS{constructor(){}log(a,i){}}VS.instance=new VS;const aZe="8.0.0";class ps{static isRequired(a,i){if(null==a)throw new Error(`The '${i}' argument is required.`)}static isNotEmpty(a,i){if(!a||a.match(/^\s*$/))throw new Error(`The '${i}' argument should not be empty.`)}static isIn(a,i,n){if(!(a in i))throw new Error(`Unknown ${n} value: ${a}.`)}}class xr{static get isBrowser(){return!xr.isNode&&"object"==typeof window&&"object"==typeof window.document}static get isWebWorker(){return!xr.isNode&&"object"==typeof self&&"importScripts"in self}static get isReactNative(){return!xr.isNode&&"object"==typeof window&&typeof window.document>"u"}static get isNode(){return typeof process<"u"&&process.release&&"node"===process.release.name}}function zS(r,a){let i="";return bb(r)?(i=`Binary data of length ${r.byteLength}`,a&&(i+=`. Content: '${function lZe(r){const a=new Uint8Array(r);let i="";return a.forEach(n=>{i+=`0x${n<16?"0":""}${n.toString(16)} `}),i.substr(0,i.length-1)}(r)}'`)):"string"==typeof r&&(i=`String data of length ${r.length}`,a&&(i+=`. Content: '${r}'`)),i}function bb(r){return r&&typeof ArrayBuffer<"u"&&(r instanceof ArrayBuffer||r.constructor&&"ArrayBuffer"===r.constructor.name)}function Qre(r,a,i,n,s,l){return Gj.apply(this,arguments)}function Gj(){return Gj=qi(function*(r,a,i,n,s,l){const d={},[p,f]=Kw();d[p]=f,r.log(tt.Trace,`(${a} transport) sending data. ${zS(s,l.logMessageContent)}.`);const v=bb(s)?"arraybuffer":"text",D=yield i.post(n,{content:s,headers:{...d,...l.headers},responseType:v,timeout:l.timeout,withCredentials:l.withCredentials});r.log(tt.Trace,`(${a} transport) request complete. Response status: ${D.statusCode}.`)}),Gj.apply(this,arguments)}class dZe{constructor(a,i){this._subject=a,this._observer=i}dispose(){const a=this._subject.observers.indexOf(this._observer);a>-1&&this._subject.observers.splice(a,1),0===this._subject.observers.length&&this._subject.cancelCallback&&this._subject.cancelCallback().catch(i=>{})}}class L5{constructor(a){this._minLevel=a,this.out=console}log(a,i){if(a>=this._minLevel){const n=`[${(new Date).toISOString()}] ${tt[a]}: ${i}`;switch(a){case tt.Critical:case tt.Error:this.out.error(n);break;case tt.Warning:this.out.warn(n);break;case tt.Information:this.out.info(n);break;default:this.out.log(n)}}}}function Kw(){let r="X-SignalR-User-Agent";return xr.isNode&&(r="User-Agent"),[r,uZe(aZe,hZe(),xr.isNode?"NodeJS":"Browser",pZe())]}function uZe(r,a,i,n){let s="Microsoft SignalR/";const l=r.split(".");return s+=`${l[0]}.${l[1]}`,s+=` (${r}; `,s+=a&&""!==a?`${a}; `:"Unknown OS; ",s+=`${i}`,s+=n?`; ${n}`:"; Unknown Runtime Version",s+=")",s}function hZe(){if(!xr.isNode)return"";switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}}function pZe(){if(xr.isNode)return process.versions.node}function Xre(r){return r.stack?r.stack:r.message?r.message:`${r}`}class yZe extends N5{constructor(a){super(),this._logger=a;const i={_fetchType:void 0,_jar:void 0};!function fZe(r){return!!(typeof fetch>"u"||xr.isNode)&&(r._jar=new(bl(333).CookieJar),r._fetchType=typeof fetch>"u"?bl(190):fetch,r._fetchType=bl(45)(r._fetchType,r._jar),!0)}(i)?this._fetchType=fetch.bind(function mZe(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("could not find global")}()):(this._fetchType=i._fetchType,this._jar=i._jar),this._abortControllerType=AbortController;const n={_abortControllerType:this._abortControllerType};(function _Ze(r){return typeof AbortController>"u"&&(r._abortControllerType=bl(771),!0)})(n)&&(this._abortControllerType=n._abortControllerType)}send(a){var i=this;return qi(function*(){if(a.abortSignal&&a.abortSignal.aborted)throw new pu;if(!a.method)throw new Error("No method defined.");if(!a.url)throw new Error("No url defined.");const n=new i._abortControllerType;let s;a.abortSignal&&(a.abortSignal.onabort=()=>{n.abort(),s=new pu});let d,l=null;a.timeout&&(l=setTimeout(()=>{n.abort(),i._logger.log(tt.Warning,"Timeout from HTTP request."),s=new Hj},a.timeout)),""===a.content&&(a.content=void 0),a.content&&(a.headers=a.headers||{},a.headers["Content-Type"]=bb(a.content)?"application/octet-stream":"text/plain;charset=UTF-8");try{d=yield i._fetchType(a.url,{body:a.content,cache:"no-cache",credentials:!0===a.withCredentials?"include":"same-origin",headers:{"X-Requested-With":"XMLHttpRequest",...a.headers},method:a.method,mode:"cors",redirect:"follow",signal:n.signal})}catch(v){throw s||(i._logger.log(tt.Warning,`Error from HTTP request. ${v}.`),v)}finally{l&&clearTimeout(l),a.abortSignal&&(a.abortSignal.onabort=null)}if(!d.ok){const v=yield Zre(d,"text");throw new vb(v||d.statusText,d.status)}const f=yield Zre(d,a.responseType);return new Kre(d.status,d.statusText,f)})()}getCookieString(a){let i="";return xr.isNode&&this._jar&&this._jar.getCookies(a,(n,s)=>i=s.join("; ")),i}}function Zre(r,a){let i;switch(a){case"arraybuffer":i=r.arrayBuffer();break;case"text":default:i=r.text();break;case"blob":case"document":case"json":throw new Error(`${a} is not supported.`)}return i}class CZe extends N5{constructor(a){super(),this._logger=a}send(a){return a.abortSignal&&a.abortSignal.aborted?Promise.reject(new pu):a.method?a.url?new Promise((i,n)=>{const s=new XMLHttpRequest;s.open(a.method,a.url,!0),s.withCredentials=void 0===a.withCredentials||a.withCredentials,s.setRequestHeader("X-Requested-With","XMLHttpRequest"),""===a.content&&(a.content=void 0),a.content&&(bb(a.content)?s.setRequestHeader("Content-Type","application/octet-stream"):s.setRequestHeader("Content-Type","text/plain;charset=UTF-8"));const l=a.headers;l&&Object.keys(l).forEach(d=>{s.setRequestHeader(d,l[d])}),a.responseType&&(s.responseType=a.responseType),a.abortSignal&&(a.abortSignal.onabort=()=>{s.abort(),n(new pu)}),a.timeout&&(s.timeout=a.timeout),s.onload=()=>{a.abortSignal&&(a.abortSignal.onabort=null),s.status>=200&&s.status<300?i(new Kre(s.status,s.statusText,s.response||s.responseText)):n(new vb(s.response||s.responseText||s.statusText,s.status))},s.onerror=()=>{this._logger.log(tt.Warning,`Error from HTTP request. ${s.status}: ${s.statusText}.`),n(new vb(s.statusText,s.status))},s.ontimeout=()=>{this._logger.log(tt.Warning,"Timeout from HTTP request."),n(new Hj)},s.send(a.content)}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}}class wZe extends N5{constructor(a){if(super(),typeof fetch<"u"||xr.isNode)this._httpClient=new yZe(a);else{if(!(typeof XMLHttpRequest<"u"))throw new Error("No usable HttpClient found.");this._httpClient=new CZe(a)}}send(a){return a.abortSignal&&a.abortSignal.aborted?Promise.reject(new pu):a.method?a.url?this._httpClient.send(a):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(a){return this._httpClient.getCookieString(a)}}var Ws=function(r){return r[r.None=0]="None",r[r.WebSockets=1]="WebSockets",r[r.ServerSentEvents=2]="ServerSentEvents",r[r.LongPolling=4]="LongPolling",r}(Ws||{}),_l=function(r){return r[r.Text=1]="Text",r[r.Binary=2]="Binary",r}(_l||{});class xZe{constructor(){this._isAborted=!1,this.onabort=null}abort(){this._isAborted||(this._isAborted=!0,this.onabort&&this.onabort())}get signal(){return this}get aborted(){return this._isAborted}}class Jre{get pollAborted(){return this._pollAbort.aborted}constructor(a,i,n){this._httpClient=a,this._logger=i,this._pollAbort=new xZe,this._options=n,this._running=!1,this.onreceive=null,this.onclose=null}connect(a,i){var n=this;return qi(function*(){if(ps.isRequired(a,"url"),ps.isRequired(i,"transferFormat"),ps.isIn(i,_l,"transferFormat"),n._url=a,n._logger.log(tt.Trace,"(LongPolling transport) Connecting."),i===_l.Binary&&typeof XMLHttpRequest<"u"&&"string"!=typeof(new XMLHttpRequest).responseType)throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");const[s,l]=Kw(),d={[s]:l,...n._options.headers},p={abortSignal:n._pollAbort.signal,headers:d,timeout:1e5,withCredentials:n._options.withCredentials};i===_l.Binary&&(p.responseType="arraybuffer");const f=`${a}&_=${Date.now()}`;n._logger.log(tt.Trace,`(LongPolling transport) polling: ${f}.`);const v=yield n._httpClient.get(f,p);200!==v.statusCode?(n._logger.log(tt.Error,`(LongPolling transport) Unexpected response code: ${v.statusCode}.`),n._closeError=new vb(v.statusText||"",v.statusCode),n._running=!1):n._running=!0,n._receiving=n._poll(n._url,p)})()}_poll(a,i){var n=this;return qi(function*(){try{for(;n._running;)try{const s=`${a}&_=${Date.now()}`;n._logger.log(tt.Trace,`(LongPolling transport) polling: ${s}.`);const l=yield n._httpClient.get(s,i);204===l.statusCode?(n._logger.log(tt.Information,"(LongPolling transport) Poll terminated by server."),n._running=!1):200!==l.statusCode?(n._logger.log(tt.Error,`(LongPolling transport) Unexpected response code: ${l.statusCode}.`),n._closeError=new vb(l.statusText||"",l.statusCode),n._running=!1):l.content?(n._logger.log(tt.Trace,`(LongPolling transport) data received. ${zS(l.content,n._options.logMessageContent)}.`),n.onreceive&&n.onreceive(l.content)):n._logger.log(tt.Trace,"(LongPolling transport) Poll timed out, reissuing.")}catch(s){n._running?s instanceof Hj?n._logger.log(tt.Trace,"(LongPolling transport) Poll timed out, reissuing."):(n._closeError=s,n._running=!1):n._logger.log(tt.Trace,`(LongPolling transport) Poll errored after shutdown: ${s.message}`)}}finally{n._logger.log(tt.Trace,"(LongPolling transport) Polling complete."),n.pollAborted||n._raiseOnClose()}})()}send(a){var i=this;return qi(function*(){return i._running?Qre(i._logger,"LongPolling",i._httpClient,i._url,a,i._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){var a=this;return qi(function*(){a._logger.log(tt.Trace,"(LongPolling transport) Stopping polling."),a._running=!1,a._pollAbort.abort();try{yield a._receiving,a._logger.log(tt.Trace,`(LongPolling transport) sending DELETE request to ${a._url}.`);const i={},[n,s]=Kw();i[n]=s;const l={headers:{...i,...a._options.headers},timeout:a._options.timeout,withCredentials:a._options.withCredentials};let d;try{yield a._httpClient.delete(a._url,l)}catch(p){d=p}d?d instanceof vb&&a._logger.log(tt.Trace,404===d.statusCode?"(LongPolling transport) A 404 response was returned from sending a DELETE request.":`(LongPolling transport) Error sending a DELETE request: ${d}`):a._logger.log(tt.Trace,"(LongPolling transport) DELETE request accepted.")}finally{a._logger.log(tt.Trace,"(LongPolling transport) Stop finished."),a._raiseOnClose()}})()}_raiseOnClose(){if(this.onclose){let a="(LongPolling transport) Firing onclose event.";this._closeError&&(a+=" Error: "+this._closeError),this._logger.log(tt.Trace,a),this.onclose(this._closeError)}}}class kZe{constructor(a,i,n,s){this._httpClient=a,this._accessToken=i,this._logger=n,this._options=s,this.onreceive=null,this.onclose=null}connect(a,i){var n=this;return qi(function*(){return ps.isRequired(a,"url"),ps.isRequired(i,"transferFormat"),ps.isIn(i,_l,"transferFormat"),n._logger.log(tt.Trace,"(SSE transport) Connecting."),n._url=a,n._accessToken&&(a+=(a.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(n._accessToken)}`),new Promise((s,l)=>{let p,d=!1;if(i===_l.Text){if(xr.isBrowser||xr.isWebWorker)p=new n._options.EventSource(a,{withCredentials:n._options.withCredentials});else{const f=n._httpClient.getCookieString(a),v={};v.Cookie=f;const[D,E]=Kw();v[D]=E,p=new n._options.EventSource(a,{withCredentials:n._options.withCredentials,headers:{...v,...n._options.headers}})}try{p.onmessage=f=>{if(n.onreceive)try{n._logger.log(tt.Trace,`(SSE transport) data received. ${zS(f.data,n._options.logMessageContent)}.`),n.onreceive(f.data)}catch(v){return void n._close(v)}},p.onerror=f=>{d?n._close():l(new Error("EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky sessions are enabled."))},p.onopen=()=>{n._logger.log(tt.Information,`SSE connected to ${n._url}`),n._eventSource=p,d=!0,s()}}catch(f){return void l(f)}}else l(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"))})})()}send(a){var i=this;return qi(function*(){return i._eventSource?Qre(i._logger,"SSE",i._httpClient,i._url,a,i._options):Promise.reject(new Error("Cannot send until the transport is connected"))})()}stop(){return this._close(),Promise.resolve()}_close(a){this._eventSource&&(this._eventSource.close(),this._eventSource=void 0,this.onclose&&this.onclose(a))}}class DZe{constructor(a,i,n,s,l,d){this._logger=n,this._accessTokenFactory=i,this._logMessageContent=s,this._webSocketConstructor=l,this._httpClient=a,this.onreceive=null,this.onclose=null,this._headers=d}connect(a,i){var n=this;return qi(function*(){let s;return ps.isRequired(a,"url"),ps.isRequired(i,"transferFormat"),ps.isIn(i,_l,"transferFormat"),n._logger.log(tt.Trace,"(WebSockets transport) Connecting."),n._accessTokenFactory&&(s=yield n._accessTokenFactory()),new Promise((l,d)=>{let p;a=a.replace(/^http/,"ws");const f=n._httpClient.getCookieString(a);let v=!1;if(xr.isNode||xr.isReactNative){const D={},[E,F]=Kw();D[E]=F,s&&(D[BS.Authorization]=`Bearer ${s}`),f&&(D[BS.Cookie]=f),p=new n._webSocketConstructor(a,void 0,{headers:{...D,...n._headers}})}else s&&(a+=(a.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(s)}`);p||(p=new n._webSocketConstructor(a)),i===_l.Binary&&(p.binaryType="arraybuffer"),p.onopen=D=>{n._logger.log(tt.Information,`WebSocket connected to ${a}.`),n._webSocket=p,v=!0,l()},p.onerror=D=>{let E=null;E=typeof ErrorEvent<"u"&&D instanceof ErrorEvent?D.error:"There was an error with the transport",n._logger.log(tt.Information,`(WebSockets transport) ${E}.`)},p.onmessage=D=>{if(n._logger.log(tt.Trace,`(WebSockets transport) data received. ${zS(D.data,n._logMessageContent)}.`),n.onreceive)try{n.onreceive(D.data)}catch(E){return void n._close(E)}},p.onclose=D=>{if(v)n._close(D);else{let E=null;E=typeof ErrorEvent<"u"&&D instanceof ErrorEvent?D.error:"WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",d(new Error(E))}}})})()}send(a){return this._webSocket&&this._webSocket.readyState===this._webSocketConstructor.OPEN?(this._logger.log(tt.Trace,`(WebSockets transport) sending data. ${zS(a,this._logMessageContent)}.`),this._webSocket.send(a),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")}stop(){return this._webSocket&&this._close(void 0),Promise.resolve()}_close(a){this._webSocket&&(this._webSocket.onclose=()=>{},this._webSocket.onmessage=()=>{},this._webSocket.onerror=()=>{},this._webSocket.close(),this._webSocket=void 0),this._logger.log(tt.Trace,"(WebSockets transport) socket closed."),this.onclose&&(!this._isCloseEvent(a)||!1!==a.wasClean&&1e3===a.code?a instanceof Error?this.onclose(a):this.onclose():this.onclose(new Error(`WebSocket closed with status code: ${a.code} (${a.reason||"no reason given"}).`)))}_isCloseEvent(a){return a&&"boolean"==typeof a.wasClean&&"number"==typeof a.code}}class AZe{constructor(a,i={}){if(this._stopPromiseResolver=()=>{},this.features={},this._negotiateVersion=1,ps.isRequired(a,"url"),this._logger=function cZe(r){return void 0===r?new L5(tt.Information):null===r?VS.instance:void 0!==r.log?r:new L5(r)}(i.logger),this.baseUrl=this._resolveUrl(a),(i=i||{}).logMessageContent=void 0!==i.logMessageContent&&i.logMessageContent,"boolean"!=typeof i.withCredentials&&void 0!==i.withCredentials)throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");i.withCredentials=void 0===i.withCredentials||i.withCredentials,i.timeout=void 0===i.timeout?1e5:i.timeout;let n=null,s=null;xr.isNode&&(n=function vZe(){return bl(139)}(),s=function bZe(){return bl(22)}()),!xr.isNode&&typeof WebSocket<"u"&&!i.WebSocket?i.WebSocket=WebSocket:xr.isNode&&!i.WebSocket&&n&&(i.WebSocket=n),!xr.isNode&&typeof EventSource<"u"&&!i.EventSource?i.EventSource=EventSource:xr.isNode&&!i.EventSource&&typeof s<"u"&&(i.EventSource=s),this._httpClient=new iZe(i.httpClient||new wZe(this._logger),i.accessTokenFactory),this._connectionState="Disconnected",this._connectionStarted=!1,this._options=i,this.onreceive=null,this.onclose=null}start(a){var i=this;return qi(function*(){if(ps.isIn(a=a||_l.Binary,_l,"transferFormat"),i._logger.log(tt.Debug,`Starting connection with transfer format '${_l[a]}'.`),"Disconnected"!==i._connectionState)return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));if(i._connectionState="Connecting",i._startInternalPromise=i._startInternal(a),yield i._startInternalPromise,"Disconnecting"===i._connectionState){const n="Failed to start the HttpConnection before stop() was called.";return i._logger.log(tt.Error,n),yield i._stopPromise,Promise.reject(new pu(n))}if("Connected"!==i._connectionState){const n="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";return i._logger.log(tt.Error,n),Promise.reject(new pu(n))}i._connectionStarted=!0})()}send(a){return"Connected"!==this._connectionState?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this._sendQueue||(this._sendQueue=new jj(this.transport)),this._sendQueue.send(a))}stop(a){var i=this;return qi(function*(){return"Disconnected"===i._connectionState?(i._logger.log(tt.Debug,`Call to HttpConnection.stop(${a}) ignored because the connection is already in the disconnected state.`),Promise.resolve()):"Disconnecting"===i._connectionState?(i._logger.log(tt.Debug,`Call to HttpConnection.stop(${a}) ignored because the connection is already in the disconnecting state.`),i._stopPromise):(i._connectionState="Disconnecting",i._stopPromise=new Promise(n=>{i._stopPromiseResolver=n}),yield i._stopInternal(a),void(yield i._stopPromise))})()}_stopInternal(a){var i=this;return qi(function*(){i._stopError=a;try{yield i._startInternalPromise}catch{}if(i.transport){try{yield i.transport.stop()}catch(n){i._logger.log(tt.Error,`HttpConnection.transport.stop() threw error '${n}'.`),i._stopConnection()}i.transport=void 0}else i._logger.log(tt.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.")})()}_startInternal(a){var i=this;return qi(function*(){let n=i.baseUrl;i._accessTokenFactory=i._options.accessTokenFactory,i._httpClient._accessTokenFactory=i._accessTokenFactory;try{if(i._options.skipNegotiation){if(i._options.transport!==Ws.WebSockets)throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");i.transport=i._constructTransport(Ws.WebSockets),yield i._startTransport(n,a)}else{let s=null,l=0;do{if(s=yield i._getNegotiationResponse(n),"Disconnecting"===i._connectionState||"Disconnected"===i._connectionState)throw new pu("The connection was stopped during negotiation.");if(s.error)throw new Error(s.error);if(s.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");if(s.url&&(n=s.url),s.accessToken){const d=s.accessToken;i._accessTokenFactory=()=>d,i._httpClient._accessToken=d,i._httpClient._accessTokenFactory=void 0}l++}while(s.url&&l<100);if(100===l&&s.url)throw new Error("Negotiate redirection limit exceeded.");yield i._createTransport(n,i._options.transport,s,a)}i.transport instanceof Jre&&(i.features.inherentKeepAlive=!0),"Connecting"===i._connectionState&&(i._logger.log(tt.Debug,"The HttpConnection connected successfully."),i._connectionState="Connected")}catch(s){return i._logger.log(tt.Error,"Failed to start the connection: "+s),i._connectionState="Disconnected",i.transport=void 0,i._stopPromiseResolver(),Promise.reject(s)}})()}_getNegotiationResponse(a){var i=this;return qi(function*(){const n={},[s,l]=Kw();n[s]=l;const d=i._resolveNegotiateUrl(a);i._logger.log(tt.Debug,`Sending negotiation request: ${d}.`);try{const p=yield i._httpClient.post(d,{content:"",headers:{...n,...i._options.headers},timeout:i._options.timeout,withCredentials:i._options.withCredentials});if(200!==p.statusCode)return Promise.reject(new Error(`Unexpected status code returned from negotiate '${p.statusCode}'`));const f=JSON.parse(p.content);return(!f.negotiateVersion||f.negotiateVersion<1)&&(f.connectionToken=f.connectionId),f.useStatefulReconnect&&!0!==i._options._useStatefulReconnect?Promise.reject(new Yre("Client didn't negotiate Stateful Reconnect but the server did.")):f}catch(p){let f="Failed to complete negotiation with the server: "+p;return p instanceof vb&&404===p.statusCode&&(f+=" Either this is not a SignalR endpoint or there is a proxy blocking the connection."),i._logger.log(tt.Error,f),Promise.reject(new Yre(f))}})()}_createConnectUrl(a,i){return i?a+(-1===a.indexOf("?")?"?":"&")+`id=${i}`:a}_createTransport(a,i,n,s){var l=this;return qi(function*(){let d=l._createConnectUrl(a,n.connectionToken);if(l._isITransport(i))return l._logger.log(tt.Debug,"Connection was provided an instance of ITransport, using that directly."),l.transport=i,yield l._startTransport(d,s),void(l.connectionId=n.connectionId);const p=[],f=n.availableTransports||[];let v=n;for(const D of f){const E=l._resolveTransportOrError(D,i,s,!0===v?.useStatefulReconnect);if(E instanceof Error)p.push(`${D.transport} failed:`),p.push(E);else if(l._isITransport(E)){if(l.transport=E,!v){try{v=yield l._getNegotiationResponse(a)}catch(F){return Promise.reject(F)}d=l._createConnectUrl(a,v.connectionToken)}try{return yield l._startTransport(d,s),void(l.connectionId=v.connectionId)}catch(F){if(l._logger.log(tt.Error,`Failed to start the transport '${D.transport}': ${F}`),v=void 0,p.push(new rZe(`${D.transport} failed: ${F}`,Ws[D.transport])),"Connecting"!==l._connectionState){const L="Failed to select transport before stop() was called.";return l._logger.log(tt.Debug,L),Promise.reject(new pu(L))}}}}return Promise.reject(p.length>0?new sZe(`Unable to connect to the server with any of the available transports. ${p.join(" ")}`,p):new Error("None of the transports supported by the client are supported by the server."))})()}_constructTransport(a){switch(a){case Ws.WebSockets:if(!this._options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new DZe(this._httpClient,this._accessTokenFactory,this._logger,this._options.logMessageContent,this._options.WebSocket,this._options.headers||{});case Ws.ServerSentEvents:if(!this._options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new kZe(this._httpClient,this._httpClient._accessToken,this._logger,this._options);case Ws.LongPolling:return new Jre(this._httpClient,this._logger,this._options);default:throw new Error(`Unknown transport: ${a}.`)}}_startTransport(a,i){var n=this;return this.transport.onreceive=this.onreceive,this.transport.onclose=this.features.reconnect?function(){var s=qi(function*(l){let d=!1;if(n.features.reconnect){try{n.features.disconnected(),yield n.transport.connect(a,i),yield n.features.resend()}catch{d=!0}d&&n._stopConnection(l)}else n._stopConnection(l)});return function(l){return s.apply(this,arguments)}}():s=>this._stopConnection(s),this.transport.connect(a,i)}_resolveTransportOrError(a,i,n,s){const l=Ws[a.transport];if(null==l)return this._logger.log(tt.Debug,`Skipping transport '${a.transport}' because it is not supported by this client.`),new Error(`Skipping transport '${a.transport}' because it is not supported by this client.`);if(!function IZe(r,a){return!r||0!=(a&r)}(i,l))return this._logger.log(tt.Debug,`Skipping transport '${Ws[l]}' because it was disabled by the client.`),new oZe(`'${Ws[l]}' is disabled by the client.`,l);if(!(a.transferFormats.map(p=>_l[p]).indexOf(n)>=0))return this._logger.log(tt.Debug,`Skipping transport '${Ws[l]}' because it does not support the requested transfer format '${_l[n]}'.`),new Error(`'${Ws[l]}' does not support ${_l[n]}.`);if(l===Ws.WebSockets&&!this._options.WebSocket||l===Ws.ServerSentEvents&&!this._options.EventSource)return this._logger.log(tt.Debug,`Skipping transport '${Ws[l]}' because it is not supported in your environment.'`),new nZe(`'${Ws[l]}' is not supported in your environment.`,l);this._logger.log(tt.Debug,`Selecting transport '${Ws[l]}'.`);try{return this.features.reconnect=l===Ws.WebSockets?s:void 0,this._constructTransport(l)}catch(p){return p}}_isITransport(a){return a&&"object"==typeof a&&"connect"in a}_stopConnection(a){if(this._logger.log(tt.Debug,`HttpConnection.stopConnection(${a}) called while in state ${this._connectionState}.`),this.transport=void 0,a=this._stopError||a,this._stopError=void 0,"Disconnected"!==this._connectionState){if("Connecting"===this._connectionState)throw this._logger.log(tt.Warning,`Call to HttpConnection.stopConnection(${a}) was ignored because the connection is still in the connecting state.`),new Error(`HttpConnection.stopConnection(${a}) was called while the connection is still in the connecting state.`);if("Disconnecting"===this._connectionState&&this._stopPromiseResolver(),a?this._logger.log(tt.Error,`Connection disconnected with error '${a}'.`):this._logger.log(tt.Information,"Connection disconnected."),this._sendQueue&&(this._sendQueue.stop().catch(i=>{this._logger.log(tt.Error,`TransportSendQueue.stop() threw error '${i}'.`)}),this._sendQueue=void 0),this.connectionId=void 0,this._connectionState="Disconnected",this._connectionStarted){this._connectionStarted=!1;try{this.onclose&&this.onclose(a)}catch(i){this._logger.log(tt.Error,`HttpConnection.onclose(${a}) threw error '${i}'.`)}}}else this._logger.log(tt.Debug,`Call to HttpConnection.stopConnection(${a}) was ignored because the connection is already in the disconnected state.`)}_resolveUrl(a){if(0===a.lastIndexOf("https://",0)||0===a.lastIndexOf("http://",0))return a;if(!xr.isBrowser)throw new Error(`Cannot resolve '${a}'.`);const i=window.document.createElement("a");return i.href=a,this._logger.log(tt.Information,`Normalizing '${a}' to '${i.href}'.`),i.href}_resolveNegotiateUrl(a){const i=new URL(a);i.pathname.endsWith("/")?i.pathname+="negotiate":i.pathname+="/negotiate";const n=new URLSearchParams(i.searchParams);return n.has("negotiateVersion")||n.append("negotiateVersion",this._negotiateVersion.toString()),n.has("useStatefulReconnect")?"true"===n.get("useStatefulReconnect")&&(this._options._useStatefulReconnect=!0):!0===this._options._useStatefulReconnect&&n.append("useStatefulReconnect","true"),i.search=n.toString(),i.toString()}}class jj{constructor(a){this._transport=a,this._buffer=[],this._executing=!0,this._sendBufferedData=new B5,this._transportResult=new B5,this._sendLoopPromise=this._sendLoop()}send(a){return this._bufferData(a),this._transportResult||(this._transportResult=new B5),this._transportResult.promise}stop(){return this._executing=!1,this._sendBufferedData.resolve(),this._sendLoopPromise}_bufferData(a){if(this._buffer.length&&typeof this._buffer[0]!=typeof a)throw new Error(`Expected data to be of type ${typeof this._buffer} but was of type ${typeof a}`);this._buffer.push(a),this._sendBufferedData.resolve()}_sendLoop(){var a=this;return qi(function*(){for(;;){if(yield a._sendBufferedData.promise,!a._executing){a._transportResult&&a._transportResult.reject("Connection stopped.");break}a._sendBufferedData=new B5;const i=a._transportResult;a._transportResult=void 0;const n="string"==typeof a._buffer[0]?a._buffer.join(""):jj._concatBuffers(a._buffer);a._buffer.length=0;try{yield a._transport.send(n),i.resolve()}catch(s){i.reject(s)}}})()}static _concatBuffers(a){const i=a.map(l=>l.byteLength).reduce((l,d)=>l+d),n=new Uint8Array(i);let s=0;for(const l of a)n.set(new Uint8Array(l),s),s+=l.byteLength;return n.buffer}}class B5{constructor(){this.promise=new Promise((a,i)=>[this._resolver,this._rejecter]=[a,i])}resolve(){this._resolver()}reject(a){this._rejecter(a)}}class Ic{static write(a){return`${a}${Ic.RecordSeparator}`}static parse(a){if(a[a.length-1]!==Ic.RecordSeparator)throw new Error("Message is incomplete.");const i=a.split(Ic.RecordSeparator);return i.pop(),i}}Ic.RecordSeparatorCode=30,Ic.RecordSeparator=String.fromCharCode(Ic.RecordSeparatorCode);class SZe{writeHandshakeRequest(a){return Ic.write(JSON.stringify(a))}parseHandshakeResponse(a){let i,n;if(bb(a)){const p=new Uint8Array(a),f=p.indexOf(Ic.RecordSeparatorCode);if(-1===f)throw new Error("Message is incomplete.");const v=f+1;i=String.fromCharCode.apply(null,Array.prototype.slice.call(p.slice(0,v))),n=p.byteLength>v?p.slice(v).buffer:null}else{const p=a,f=p.indexOf(Ic.RecordSeparator);if(-1===f)throw new Error("Message is incomplete.");const v=f+1;i=p.substring(0,v),n=p.length>v?p.substring(v):null}const s=Ic.parse(i),l=JSON.parse(s[0]);if(l.type)throw new Error("Expected a handshake response from the server.");return[n,l]}}var Li=function(r){return r[r.Invocation=1]="Invocation",r[r.StreamItem=2]="StreamItem",r[r.Completion=3]="Completion",r[r.StreamInvocation=4]="StreamInvocation",r[r.CancelInvocation=5]="CancelInvocation",r[r.Ping=6]="Ping",r[r.Close=7]="Close",r[r.Ack=8]="Ack",r[r.Sequence=9]="Sequence",r}(Li||{});class TZe{constructor(){this.observers=[]}next(a){for(const i of this.observers)i.next(a)}error(a){for(const i of this.observers)i.error&&i.error(a)}complete(){for(const a of this.observers)a.complete&&a.complete()}subscribe(a){return this.observers.push(a),new dZe(this,a)}}class EZe{constructor(a,i,n){this._bufferSize=1e5,this._messages=[],this._totalMessageCount=0,this._waitForSequenceMessage=!1,this._nextReceivingSequenceId=1,this._latestReceivedSequenceId=0,this._bufferedByteCount=0,this._reconnectInProgress=!1,this._protocol=a,this._connection=i,this._bufferSize=n}_send(a){var i=this;return qi(function*(){const n=i._protocol.writeMessage(a);let s=Promise.resolve();if(i._isInvocationMessage(a)){i._totalMessageCount++;let l=()=>{},d=()=>{};bb(n)?i._bufferedByteCount+=n.byteLength:i._bufferedByteCount+=n.length,i._bufferedByteCount>=i._bufferSize&&(s=new Promise((p,f)=>{l=p,d=f})),i._messages.push(new MZe(n,i._totalMessageCount,l,d))}try{i._reconnectInProgress||(yield i._connection.send(n))}catch{i._disconnected()}yield s})()}_ack(a){let i=-1;for(let n=0;nthis._nextReceivingSequenceId?this._connection.stop(new Error("Sequence ID greater than amount of messages we've received.")):this._nextReceivingSequenceId=a.sequenceId}_disconnected(){this._reconnectInProgress=!0,this._waitForSequenceMessage=!0}_resend(){var a=this;return qi(function*(){const i=0!==a._messages.length?a._messages[0]._id:a._totalMessageCount+1;yield a._connection.send(a._protocol.writeMessage({type:Li.Sequence,sequenceId:i}));const n=a._messages;for(const s of n)yield a._connection.send(s._message);a._reconnectInProgress=!1})()}_dispose(a){a??(a=new Error("Unable to reconnect to server."));for(const i of this._messages)i._rejector(a)}_isInvocationMessage(a){switch(a.type){case Li.Invocation:case Li.StreamItem:case Li.Completion:case Li.StreamInvocation:case Li.CancelInvocation:return!0;case Li.Close:case Li.Sequence:case Li.Ping:case Li.Ack:return!1}}_ackTimer(){var a=this;void 0===this._ackTimerHandle&&(this._ackTimerHandle=setTimeout(qi(function*(){try{a._reconnectInProgress||(yield a._connection.send(a._protocol.writeMessage({type:Li.Ack,sequenceId:a._latestReceivedSequenceId})))}catch{}clearTimeout(a._ackTimerHandle),a._ackTimerHandle=void 0}),1e3))}}class MZe{constructor(a,i,n,s){this._message=a,this._id=i,this._resolver=n,this._rejector=s}}var kr=function(r){return r.Disconnected="Disconnected",r.Connecting="Connecting",r.Connected="Connected",r.Disconnecting="Disconnecting",r.Reconnecting="Reconnecting",r}(kr||{});class $j{static create(a,i,n,s,l,d,p){return new $j(a,i,n,s,l,d,p)}constructor(a,i,n,s,l,d,p){this._nextKeepAlive=0,this._freezeEventListener=()=>{this._logger.log(tt.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep")},ps.isRequired(a,"connection"),ps.isRequired(i,"logger"),ps.isRequired(n,"protocol"),this.serverTimeoutInMilliseconds=l??3e4,this.keepAliveIntervalInMilliseconds=d??15e3,this._statefulReconnectBufferSize=p??1e5,this._logger=i,this._protocol=n,this.connection=a,this._reconnectPolicy=s,this._handshakeProtocol=new SZe,this.connection.onreceive=f=>this._processIncomingData(f),this.connection.onclose=f=>this._connectionClosed(f),this._callbacks={},this._methods={},this._closedCallbacks=[],this._reconnectingCallbacks=[],this._reconnectedCallbacks=[],this._invocationId=0,this._receivedHandshakeResponse=!1,this._connectionState=kr.Disconnected,this._connectionStarted=!1,this._cachedPingMessage=this._protocol.writeMessage({type:Li.Ping})}get state(){return this._connectionState}get connectionId(){return this.connection&&this.connection.connectionId||null}get baseUrl(){return this.connection.baseUrl||""}set baseUrl(a){if(this._connectionState!==kr.Disconnected&&this._connectionState!==kr.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!a)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=a}start(){return this._startPromise=this._startWithStateTransitions(),this._startPromise}_startWithStateTransitions(){var a=this;return qi(function*(){if(a._connectionState!==kr.Disconnected)return Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."));a._connectionState=kr.Connecting,a._logger.log(tt.Debug,"Starting HubConnection.");try{yield a._startInternal(),xr.isBrowser&&window.document.addEventListener("freeze",a._freezeEventListener),a._connectionState=kr.Connected,a._connectionStarted=!0,a._logger.log(tt.Debug,"HubConnection connected successfully.")}catch(i){return a._connectionState=kr.Disconnected,a._logger.log(tt.Debug,`HubConnection failed to start successfully because of error '${i}'.`),Promise.reject(i)}})()}_startInternal(){var a=this;return qi(function*(){a._stopDuringStartError=void 0,a._receivedHandshakeResponse=!1;const i=new Promise((n,s)=>{a._handshakeResolver=n,a._handshakeRejecter=s});yield a.connection.start(a._protocol.transferFormat);try{let n=a._protocol.version;a.connection.features.reconnect||(n=1);const s={protocol:a._protocol.name,version:n};if(a._logger.log(tt.Debug,"Sending handshake request."),yield a._sendMessage(a._handshakeProtocol.writeHandshakeRequest(s)),a._logger.log(tt.Information,`Using HubProtocol '${a._protocol.name}'.`),a._cleanupTimeout(),a._resetTimeoutPeriod(),a._resetKeepAliveInterval(),yield i,a._stopDuringStartError)throw a._stopDuringStartError;!!a.connection.features.reconnect&&(a._messageBuffer=new EZe(a._protocol,a.connection,a._statefulReconnectBufferSize),a.connection.features.disconnected=a._messageBuffer._disconnected.bind(a._messageBuffer),a.connection.features.resend=()=>{if(a._messageBuffer)return a._messageBuffer._resend()}),a.connection.features.inherentKeepAlive||(yield a._sendMessage(a._cachedPingMessage))}catch(n){throw a._logger.log(tt.Debug,`Hub handshake failed with error '${n}' during start(). Stopping HubConnection.`),a._cleanupTimeout(),a._cleanupPingTimer(),yield a.connection.stop(n),n}})()}stop(){var a=this;return qi(function*(){const i=a._startPromise;a.connection.features.reconnect=!1,a._stopPromise=a._stopInternal(),yield a._stopPromise;try{yield i}catch{}})()}_stopInternal(a){if(this._connectionState===kr.Disconnected)return this._logger.log(tt.Debug,`Call to HubConnection.stop(${a}) ignored because it is already in the disconnected state.`),Promise.resolve();if(this._connectionState===kr.Disconnecting)return this._logger.log(tt.Debug,`Call to HttpConnection.stop(${a}) ignored because the connection is already in the disconnecting state.`),this._stopPromise;const i=this._connectionState;return this._connectionState=kr.Disconnecting,this._logger.log(tt.Debug,"Stopping HubConnection."),this._reconnectDelayHandle?(this._logger.log(tt.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this._reconnectDelayHandle),this._reconnectDelayHandle=void 0,this._completeClose(),Promise.resolve()):(i===kr.Connected&&this._sendCloseMessage(),this._cleanupTimeout(),this._cleanupPingTimer(),this._stopDuringStartError=a||new pu("The connection was stopped before the hub handshake could complete."),this.connection.stop(a))}_sendCloseMessage(){var a=this;return qi(function*(){try{yield a._sendWithProtocol(a._createCloseMessage())}catch{}})()}stream(a,...i){const[n,s]=this._replaceStreamingParams(i),l=this._createStreamInvocation(a,i,s);let d;const p=new TZe;return p.cancelCallback=()=>{const f=this._createCancelInvocation(l.invocationId);return delete this._callbacks[l.invocationId],d.then(()=>this._sendWithProtocol(f))},this._callbacks[l.invocationId]=(f,v)=>{v?p.error(v):f&&(f.type===Li.Completion?f.error?p.error(new Error(f.error)):p.complete():p.next(f.item))},d=this._sendWithProtocol(l).catch(f=>{p.error(f),delete this._callbacks[l.invocationId]}),this._launchStreams(n,d),p}_sendMessage(a){return this._resetKeepAliveInterval(),this.connection.send(a)}_sendWithProtocol(a){return this._messageBuffer?this._messageBuffer._send(a):this._sendMessage(this._protocol.writeMessage(a))}send(a,...i){const[n,s]=this._replaceStreamingParams(i),l=this._sendWithProtocol(this._createInvocation(a,i,!0,s));return this._launchStreams(n,l),l}invoke(a,...i){const[n,s]=this._replaceStreamingParams(i),l=this._createInvocation(a,i,!1,s);return new Promise((p,f)=>{this._callbacks[l.invocationId]=(D,E)=>{E?f(E):D&&(D.type===Li.Completion?D.error?f(new Error(D.error)):p(D.result):f(new Error(`Unexpected message type: ${D.type}`)))};const v=this._sendWithProtocol(l).catch(D=>{f(D),delete this._callbacks[l.invocationId]});this._launchStreams(n,v)})}on(a,i){!a||!i||(a=a.toLowerCase(),this._methods[a]||(this._methods[a]=[]),-1===this._methods[a].indexOf(i)&&this._methods[a].push(i))}off(a,i){if(!a)return;a=a.toLowerCase();const n=this._methods[a];if(n)if(i){const s=n.indexOf(i);-1!==s&&(n.splice(s,1),0===n.length&&delete this._methods[a])}else delete this._methods[a]}onclose(a){a&&this._closedCallbacks.push(a)}onreconnecting(a){a&&this._reconnectingCallbacks.push(a)}onreconnected(a){a&&this._reconnectedCallbacks.push(a)}_processIncomingData(a){if(this._cleanupTimeout(),this._receivedHandshakeResponse||(a=this._processHandshakeResponse(a),this._receivedHandshakeResponse=!0),a){const i=this._protocol.parseMessages(a,this._logger);for(const n of i)if(!this._messageBuffer||this._messageBuffer._shouldProcessMessage(n))switch(n.type){case Li.Invocation:this._invokeClientMethod(n);break;case Li.StreamItem:case Li.Completion:{const s=this._callbacks[n.invocationId];if(s){n.type===Li.Completion&&delete this._callbacks[n.invocationId];try{s(n)}catch(l){this._logger.log(tt.Error,`Stream callback threw error: ${Xre(l)}`)}}break}case Li.Ping:break;case Li.Close:{this._logger.log(tt.Information,"Close message received from server.");const s=n.error?new Error("Server returned an error on close: "+n.error):void 0;!0===n.allowReconnect?this.connection.stop(s):this._stopPromise=this._stopInternal(s);break}case Li.Ack:this._messageBuffer&&this._messageBuffer._ack(n);break;case Li.Sequence:this._messageBuffer&&this._messageBuffer._resetSequence(n);break;default:this._logger.log(tt.Warning,`Invalid message type: ${n.type}.`)}}this._resetTimeoutPeriod()}_processHandshakeResponse(a){let i,n;try{[n,i]=this._handshakeProtocol.parseHandshakeResponse(a)}catch(s){const l="Error parsing handshake response: "+s;this._logger.log(tt.Error,l);const d=new Error(l);throw this._handshakeRejecter(d),d}if(i.error){const s="Server returned handshake error: "+i.error;this._logger.log(tt.Error,s);const l=new Error(s);throw this._handshakeRejecter(l),l}return this._logger.log(tt.Debug,"Server handshake complete."),this._handshakeResolver(),n}_resetKeepAliveInterval(){this.connection.features.inherentKeepAlive||(this._nextKeepAlive=(new Date).getTime()+this.keepAliveIntervalInMilliseconds,this._cleanupPingTimer())}_resetTimeoutPeriod(){var a=this;if(!(this.connection.features&&this.connection.features.inherentKeepAlive||(this._timeoutHandle=setTimeout(()=>this.serverTimeout(),this.serverTimeoutInMilliseconds),void 0!==this._pingServerHandle))){let i=this._nextKeepAlive-(new Date).getTime();i<0&&(i=0),this._pingServerHandle=setTimeout(qi(function*(){if(a._connectionState===kr.Connected)try{yield a._sendMessage(a._cachedPingMessage)}catch{a._cleanupPingTimer()}}),i)}}serverTimeout(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))}_invokeClientMethod(a){var i=this;return qi(function*(){const n=a.target.toLowerCase(),s=i._methods[n];if(!s)return i._logger.log(tt.Warning,`No client method with the name '${n}' found.`),void(a.invocationId&&(i._logger.log(tt.Warning,`No result given for '${n}' method and invocation ID '${a.invocationId}'.`),yield i._sendWithProtocol(i._createCompletionMessage(a.invocationId,"Client didn't provide a result.",null))));const l=s.slice(),d=!!a.invocationId;let p,f,v;for(const D of l)try{const E=p;p=yield D.apply(i,a.arguments),d&&p&&E&&(i._logger.log(tt.Error,`Multiple results provided for '${n}'. Sending error to server.`),v=i._createCompletionMessage(a.invocationId,"Client provided multiple results.",null)),f=void 0}catch(E){f=E,i._logger.log(tt.Error,`A callback for the method '${n}' threw error '${E}'.`)}v?yield i._sendWithProtocol(v):d?(f?v=i._createCompletionMessage(a.invocationId,`${f}`,null):void 0!==p?v=i._createCompletionMessage(a.invocationId,null,p):(i._logger.log(tt.Warning,`No result given for '${n}' method and invocation ID '${a.invocationId}'.`),v=i._createCompletionMessage(a.invocationId,"Client didn't provide a result.",null)),yield i._sendWithProtocol(v)):p&&i._logger.log(tt.Error,`Result given for '${n}' method but server is not expecting a result.`)})()}_connectionClosed(a){this._logger.log(tt.Debug,`HubConnection.connectionClosed(${a}) called while in state ${this._connectionState}.`),this._stopDuringStartError=this._stopDuringStartError||a||new pu("The underlying connection was closed before the hub handshake could complete."),this._handshakeResolver&&this._handshakeResolver(),this._cancelCallbacksWithError(a||new Error("Invocation canceled due to the underlying connection being closed.")),this._cleanupTimeout(),this._cleanupPingTimer(),this._connectionState===kr.Disconnecting?this._completeClose(a):this._connectionState===kr.Connected&&this._reconnectPolicy?this._reconnect(a):this._connectionState===kr.Connected&&this._completeClose(a)}_completeClose(a){if(this._connectionStarted){this._connectionState=kr.Disconnected,this._connectionStarted=!1,this._messageBuffer&&(this._messageBuffer._dispose(a??new Error("Connection closed.")),this._messageBuffer=void 0),xr.isBrowser&&window.document.removeEventListener("freeze",this._freezeEventListener);try{this._closedCallbacks.forEach(i=>i.apply(this,[a]))}catch(i){this._logger.log(tt.Error,`An onclose callback called with error '${a}' threw error '${i}'.`)}}}_reconnect(a){var i=this;return qi(function*(){const n=Date.now();let s=0,l=void 0!==a?a:new Error("Attempting to reconnect due to a unknown error."),d=i._getNextRetryDelay(s++,0,l);if(null===d)return i._logger.log(tt.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),void i._completeClose(a);if(i._connectionState=kr.Reconnecting,i._logger.log(tt.Information,a?`Connection reconnecting because of error '${a}'.`:"Connection reconnecting."),0!==i._reconnectingCallbacks.length){try{i._reconnectingCallbacks.forEach(p=>p.apply(i,[a]))}catch(p){i._logger.log(tt.Error,`An onreconnecting callback called with error '${a}' threw error '${p}'.`)}if(i._connectionState!==kr.Reconnecting)return void i._logger.log(tt.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.")}for(;null!==d;){if(i._logger.log(tt.Information,`Reconnect attempt number ${s} will start in ${d} ms.`),yield new Promise(p=>{i._reconnectDelayHandle=setTimeout(p,d)}),i._reconnectDelayHandle=void 0,i._connectionState!==kr.Reconnecting)return void i._logger.log(tt.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting.");try{if(yield i._startInternal(),i._connectionState=kr.Connected,i._logger.log(tt.Information,"HubConnection reconnected successfully."),0!==i._reconnectedCallbacks.length)try{i._reconnectedCallbacks.forEach(p=>p.apply(i,[i.connection.connectionId]))}catch(p){i._logger.log(tt.Error,`An onreconnected callback called with connectionId '${i.connection.connectionId}; threw error '${p}'.`)}return}catch(p){if(i._logger.log(tt.Information,`Reconnect attempt failed because of error '${p}'.`),i._connectionState!==kr.Reconnecting)return i._logger.log(tt.Debug,`Connection moved to the '${i._connectionState}' from the reconnecting state during reconnect attempt. Done reconnecting.`),void(i._connectionState===kr.Disconnecting&&i._completeClose());l=p instanceof Error?p:new Error(p.toString()),d=i._getNextRetryDelay(s++,Date.now()-n,l)}}i._logger.log(tt.Information,`Reconnect retries have been exhausted after ${Date.now()-n} ms and ${s} failed attempts. Connection disconnecting.`),i._completeClose()})()}_getNextRetryDelay(a,i,n){try{return this._reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:i,previousRetryCount:a,retryReason:n})}catch(s){return this._logger.log(tt.Error,`IRetryPolicy.nextRetryDelayInMilliseconds(${a}, ${i}) threw error '${s}'.`),null}}_cancelCallbacksWithError(a){const i=this._callbacks;this._callbacks={},Object.keys(i).forEach(n=>{const s=i[n];try{s(null,a)}catch(l){this._logger.log(tt.Error,`Stream 'error' callback called with '${a}' threw error: ${Xre(l)}`)}})}_cleanupPingTimer(){this._pingServerHandle&&(clearTimeout(this._pingServerHandle),this._pingServerHandle=void 0)}_cleanupTimeout(){this._timeoutHandle&&clearTimeout(this._timeoutHandle)}_createInvocation(a,i,n,s){if(n)return 0!==s.length?{arguments:i,streamIds:s,target:a,type:Li.Invocation}:{arguments:i,target:a,type:Li.Invocation};{const l=this._invocationId;return this._invocationId++,0!==s.length?{arguments:i,invocationId:l.toString(),streamIds:s,target:a,type:Li.Invocation}:{arguments:i,invocationId:l.toString(),target:a,type:Li.Invocation}}}_launchStreams(a,i){if(0!==a.length){i||(i=Promise.resolve());for(const n in a)a[n].subscribe({complete:()=>{i=i.then(()=>this._sendWithProtocol(this._createCompletionMessage(n)))},error:s=>{let l;l=s instanceof Error?s.message:s&&s.toString?s.toString():"Unknown error",i=i.then(()=>this._sendWithProtocol(this._createCompletionMessage(n,l)))},next:s=>{i=i.then(()=>this._sendWithProtocol(this._createStreamItemMessage(n,s)))}})}}_replaceStreamingParams(a){const i=[],n=[];for(let s=0;s0?s+" n\u1eefa":s+" tr\u01b0\u1edbc":s},formatLong:WZe,formatRelative:function(a,i,n,s){return KZe[a]},localize:{ordinalNumber:function(a,i){var n=Number(a),s=i?.unit;if("quarter"===s)switch(n){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if("day"===s)switch(n){case 1:return"th\u1ee9 2";case 2:return"th\u1ee9 3";case 3:return"th\u1ee9 4";case 4:return"th\u1ee9 5";case 5:return"th\u1ee9 6";case 6:return"th\u1ee9 7";case 7:return"ch\u1ee7 nh\u1eadt"}else{if("week"===s)return 1===n?"th\u1ee9 nh\u1ea5t":"th\u1ee9 "+n;if("dayOfYear"===s)return 1===n?"\u0111\u1ea7u ti\xean":"th\u1ee9 "+n}return String(n)},era:qu({values:{narrow:["TCN","SCN"],abbreviated:["tr\u01b0\u1edbc CN","sau CN"],wide:["tr\u01b0\u1edbc C\xf4ng Nguy\xean","sau C\xf4ng Nguy\xean"]},defaultWidth:"wide"}),quarter:qu({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Qu\xfd 1","Qu\xfd 2","Qu\xfd 3","Qu\xfd 4"]},defaultWidth:"wide",formattingValues:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["qu\xfd I","qu\xfd II","qu\xfd III","qu\xfd IV"]},defaultFormattingWidth:"wide",argumentCallback:function(a){return a-1}}),month:qu({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Th\xe1ng M\u1ed9t","Th\xe1ng Hai","Th\xe1ng Ba","Th\xe1ng T\u01b0","Th\xe1ng N\u0103m","Th\xe1ng S\xe1u","Th\xe1ng B\u1ea3y","Th\xe1ng T\xe1m","Th\xe1ng Ch\xedn","Th\xe1ng M\u01b0\u1eddi","Th\xe1ng M\u01b0\u1eddi M\u1ed9t","Th\xe1ng M\u01b0\u1eddi Hai"]},defaultWidth:"wide",formattingValues:{narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["th\xe1ng 01","th\xe1ng 02","th\xe1ng 03","th\xe1ng 04","th\xe1ng 05","th\xe1ng 06","th\xe1ng 07","th\xe1ng 08","th\xe1ng 09","th\xe1ng 10","th\xe1ng 11","th\xe1ng 12"]},defaultFormattingWidth:"wide"}),day:qu({values:{narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Th\u1ee9 2","Th\u1ee9 3","Th\u1ee9 4","Th\u1ee9 5","Th\u1ee9 6","Th\u1ee9 7"],wide:["Ch\u1ee7 Nh\u1eadt","Th\u1ee9 Hai","Th\u1ee9 Ba","Th\u1ee9 T\u01b0","Th\u1ee9 N\u0103m","Th\u1ee9 S\xe1u","Th\u1ee9 B\u1ea3y"]},defaultWidth:"wide"}),dayPeriod:qu({values:{narrow:{am:"am",pm:"pm",midnight:"n\u1eeda \u0111\xeam",noon:"tr",morning:"sg",afternoon:"ch",evening:"t\u1ed1i",night:"\u0111\xeam"},abbreviated:{am:"AM",pm:"PM",midnight:"n\u1eeda \u0111\xeam",noon:"tr\u01b0a",morning:"s\xe1ng",afternoon:"chi\u1ec1u",evening:"t\u1ed1i",night:"\u0111\xeam"},wide:{am:"SA",pm:"CH",midnight:"n\u1eeda \u0111\xeam",noon:"tr\u01b0a",morning:"s\xe1ng",afternoon:"chi\u1ec1u",evening:"t\u1ed1i",night:"\u0111\xeam"}},defaultWidth:"wide",formattingValues:{narrow:{am:"am",pm:"pm",midnight:"n\u1eeda \u0111\xeam",noon:"tr",morning:"sg",afternoon:"ch",evening:"t\u1ed1i",night:"\u0111\xeam"},abbreviated:{am:"AM",pm:"PM",midnight:"n\u1eeda \u0111\xeam",noon:"tr\u01b0a",morning:"s\xe1ng",afternoon:"chi\u1ec1u",evening:"t\u1ed1i",night:"\u0111\xeam"},wide:{am:"SA",pm:"CH",midnight:"n\u1eeda \u0111\xeam",noon:"gi\u1eefa tr\u01b0a",morning:"v\xe0o bu\u1ed5i s\xe1ng",afternoon:"v\xe0o bu\u1ed5i chi\u1ec1u",evening:"v\xe0o bu\u1ed5i t\u1ed1i",night:"v\xe0o ban \u0111\xeam"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:gQ({matchPattern:/^(\d+)/i,parsePattern:/\d+/i,valueCallback:function(a){return parseInt(a,10)}}),era:Ku({matchPatterns:{narrow:/^(tcn|scn)/i,abbreviated:/^(tr\u01b0\u1edbc CN|sau CN)/i,wide:/^(tr\u01b0\u1edbc C\xf4ng Nguy\xean|sau C\xf4ng Nguy\xean)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^t/i,/^s/i]},defaultParseWidth:"any"}),quarter:Ku({matchPatterns:{narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^qu\xfd ([1234]|i{1,3}v?)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},defaultParseWidth:"any",valueCallback:function(a){return a+1}}),month:Ku({matchPatterns:{narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^th\xe1ng ?(M\u1ed9t|Hai|Ba|T\u01b0|N\u0103m|S\xe1u|B\u1ea3y|T\xe1m|Ch\xedn|M\u01b0\u1eddi|M\u01b0\u1eddi ?M\u1ed9t|M\u01b0\u1eddi ?Hai|0?[1-9](?!\d)|10|11|12)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^th\xe1ng ?(M\u1ed9t|0?1(?!\d))/i,/^th\xe1ng ?(Hai|0?2)/i,/^th\xe1ng ?(Ba|0?3)/i,/^th\xe1ng ?(T\u01b0|0?4)/i,/^th\xe1ng ?(N\u0103m|0?5)/i,/^th\xe1ng ?(S\xe1u|0?6)/i,/^th\xe1ng ?(B\u1ea3y|0?7)/i,/^th\xe1ng ?(T\xe1m|0?8)/i,/^th\xe1ng ?(Ch\xedn|0?9)/i,/^th\xe1ng ?(M\u01b0\u1eddi|10)/i,/^th\xe1ng ?(M\u01b0\u1eddi ?M\u1ed9t|11)/i,/^th\xe1ng ?(M\u01b0\u1eddi ?Hai|12)/i]},defaultParseWidth:"wide"}),day:Ku({matchPatterns:{narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Ch\u1ee7 ?Nh\u1eadt|Ch\xfaa ?Nh\u1eadt|th\u1ee9 ?Hai|th\u1ee9 ?Ba|th\u1ee9 ?T\u01b0|th\u1ee9 ?N\u0103m|th\u1ee9 ?S\xe1u|th\u1ee9 ?B\u1ea3y)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Ch\u1ee7|Ch\xfaa) ?Nh\u1eadt/i,/Hai/i,/Ba/i,/T\u01b0/i,/N\u0103m/i,/S\xe1u/i,/B\u1ea3y/i]},defaultParseWidth:"wide"}),dayPeriod:Ku({matchPatterns:{narrow:/^(a|p|n\u1eeda \u0111\xeam|tr\u01b0a|(gi\u1edd) (s\xe1ng|chi\u1ec1u|t\u1ed1i|\u0111\xeam))/i,abbreviated:/^(am|pm|n\u1eeda \u0111\xeam|tr\u01b0a|(gi\u1edd) (s\xe1ng|chi\u1ec1u|t\u1ed1i|\u0111\xeam))/i,wide:/^(ch[^i]*|sa|n\u1eeda \u0111\xeam|tr\u01b0a|(gi\u1edd) (s\xe1ng|chi\u1ec1u|t\u1ed1i|\u0111\xeam))/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/n\u1eeda \u0111\xeam/i,noon:/tr\u01b0a/i,morning:/s\xe1ng/i,afternoon:/chi\u1ec1u/i,evening:/t\u1ed1i/i,night:/^\u0111\xeam/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},wJe=["mat-menu-item",""];function xJe(r,a){1&r&&(mr(),C(0,"svg",3),Q(1,"polygon",4),k())}const kJe=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],DJe=["mat-icon, [matMenuItemIcon]","*"];function AJe(r,a){if(1&r){const i=ce();C(0,"div",0),B("keydown",function(s){return z(i),H(S()._handleKeydown(s))})("click",function(){return z(i),H(S().closed.emit("click"))})("@transformMenu.start",function(s){return z(i),H(S()._onAnimationStart(s))})("@transformMenu.done",function(s){return z(i),H(S()._onAnimationDone(s))}),C(1,"div",1),Ie(2),k()()}if(2&r){const i=S();x("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),ge("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}const IJe=["*"],Wj=new $e("MAT_MENU_PANEL"),SJe=Om(Vp(class{}));let yb=(()=>{class r extends SJe{constructor(i,n,s,l,d){super(),this._elementRef=i,this._document=n,this._focusMonitor=s,this._parentMenu=l,this._changeDetectorRef=d,this.role="menuitem",this._hovered=new Ge,this._focused=new Ge,this._highlighted=!1,this._triggersSubmenu=!1,l?.addItem?.(this)}focus(i,n){this._focusMonitor&&i?this._focusMonitor.focusVia(this._getHostElement(),i,n):this._getHostElement().focus(n),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const i=this._elementRef.nativeElement.cloneNode(!0),n=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s enter",Di("120ms cubic-bezier(0, 0, 0.2, 1)",gt({opacity:1,transform:"scale(1)"}))),Fi("* => void",Di("100ms 25ms linear",gt({opacity:0})))]),fadeInItems:hr("fadeInItems",[yn("showing",gt({opacity:1})),Fi("void => *",[gt({opacity:0}),Di("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let EJe=0;const tse=new $e("mat-menu-default-options",{providedIn:"root",factory:function MJe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let HS=(()=>{class r{get xPosition(){return this._xPosition}set xPosition(i){this._xPosition=i,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(i){this._yPosition=i,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(i){this._overlapTrigger=Et(i)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(i){this._hasBackdrop=Et(i)}set panelClass(i){const n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(s=>{this._classList[s]=!1}),this._previousPanelClass=i,i&&i.length&&(i.split(" ").forEach(s=>{this._classList[s]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(i){this.panelClass=i}constructor(i,n,s,l){this._elementRef=i,this._ngZone=n,this._changeDetectorRef=l,this._directDescendantItems=new zo,this._classList={},this._panelAnimationState="void",this._animationDone=new Ge,this.closed=new X,this.close=this.closed,this.panelId="mat-menu-panel-"+EJe++,this.overlayPanelClass=s.overlayPanelClass||"",this._xPosition=s.xPosition,this._yPosition=s.yPosition,this.backdropClass=s.backdropClass,this._overlapTrigger=s.overlapTrigger,this._hasBackdrop=s.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new D3(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(go(this._directDescendantItems),Jn(i=>rn(...i.map(n=>n._focused)))).subscribe(i=>this._keyManager.updateActiveItem(i)),this._directDescendantItems.changes.subscribe(i=>{const n=this._keyManager;if("enter"===this._panelAnimationState&&n.activeItem?._hasFocus()){const s=i.toArray(),l=Math.max(0,Math.min(s.length-1,n.activeItemIndex||0));s[l]&&!s[l].disabled?n.setActiveItem(l):n.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(go(this._directDescendantItems),Jn(n=>rn(...n.map(s=>s._hovered))))}addItem(i){}removeItem(i){}_handleKeydown(i){const n=i.keyCode,s=this._keyManager;switch(n){case 27:Nr(i)||(i.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===n||40===n)&&s.setFocusOrigin("keyboard"),void s.onKeydown(i)}i.stopPropagation()}focusFirstItem(i="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(An(1)).subscribe(()=>{let n=null;if(this._directDescendantItems.length&&(n=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!n||!n.contains(document.activeElement)){const s=this._keyManager;s.setFocusOrigin(i).setFirstItemActive(),!s.activeItem&&n&&n.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(i){const n=Math.min(this._baseElevation+i,24),s=`${this._elevationPrefix}${n}`,l=Object.keys(this._classList).find(d=>d.startsWith(this._elevationPrefix));(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}setPositionClasses(i=this.xPosition,n=this.yPosition){const s=this._classList;s["mat-menu-before"]="before"===i,s["mat-menu-after"]="after"===i,s["mat-menu-above"]="above"===n,s["mat-menu-below"]="below"===n,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(i){this._animationDone.next(i),this._isAnimating=!1}_onAnimationStart(i){this._isAnimating=!0,"enter"===i.toState&&0===this._keyManager.activeItemIndex&&(i.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(go(this._allItems)).subscribe(i=>{this._directDescendantItems.reset(i.filter(n=>n._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et),T(tse),T(rt))};static#t=this.\u0275dir=re({type:r,contentQueries:function(n,s,l){if(1&n&&(Fe(l,TJe,5),Fe(l,yb,5),Fe(l,yb,4)),2&n){let d;G(d=j())&&(s.lazyContent=d.first),G(d=j())&&(s._allItems=d),G(d=j())&&(s.items=d)}},viewQuery:function(n,s){if(1&n&&oe(je,5),2&n){let l;G(l=j())&&(s.templateRef=l.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}return r})(),z5=(()=>{class r extends HS{constructor(i,n,s,l){super(i,n,s,l),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et),T(tse),T(rt))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(n,s){2&n&&ge("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Ye([{provide:Wj,useExisting:r}]),Ae],ngContentSelectors:IJe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(n,s){1&n&&(pt(),I(0,AJe,3,6,"ng-template"))},dependencies:[Xt],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[V5.transformMenu,V5.fadeInItems]},changeDetection:0})}return r})();const ise=new $e("mat-menu-scroll-strategy"),PJe={provide:ise,deps:[_a],useFactory:function RJe(r){return()=>r.scrollStrategies.reposition()}},nse=eu({passive:!0});let OJe=(()=>{class r{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(i){this.menu=i}get menu(){return this._menu}set menu(i){i!==this._menu&&(this._menu=i,this._menuCloseSubscription.unsubscribe(),i&&(this._menuCloseSubscription=i.close.subscribe(n=>{this._destroyMenu(n),("click"===n||"tab"===n)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(n)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(i,n,s,l,d,p,f,v,D){this._overlay=i,this._element=n,this._viewContainerRef=s,this._menuItemInstance=p,this._dir=f,this._focusMonitor=v,this._ngZone=D,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Ce.EMPTY,this._hoverSubscription=Ce.EMPTY,this._menuCloseSubscription=Ce.EMPTY,this._changeDetectorRef=st(rt),this._handleTouchStart=E=>{UH(E)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new X,this.onMenuOpen=this.menuOpened,this.menuClosed=new X,this.onMenuClose=this.menuClosed,this._scrollStrategy=l,this._parentMaterialMenu=d instanceof HS?d:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,nse)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,nse),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const i=this.menu;if(this._menuOpen||!i)return;const n=this._createOverlay(i),s=n.getConfig(),l=s.positionStrategy;this._setPosition(i,l),s.hasBackdrop=null==i.hasBackdrop?!this.triggersSubmenu():i.hasBackdrop,n.attach(this._getPortal(i)),i.lazyContent&&i.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(i),i instanceof HS&&(i._startAnimation(),i._directDescendantItems.changes.pipe(xe(i.close)).subscribe(()=>{l.withLockedPosition(!1).reapplyLastPosition(),l.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(i,n){this._focusMonitor&&i?this._focusMonitor.focusVia(this._element,i,n):this._element.nativeElement.focus(n)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(i){if(!this._overlayRef||!this.menuOpen)return;const n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===i||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,n instanceof HS?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(xi(s=>"void"===s.toState),An(1),xe(n.lazyContent._attached)).subscribe({next:()=>n.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n?.lazyContent?.detach())}_initMenu(i){i.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,i.direction=this.dir,this._setMenuElevation(i),i.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(i){if(i.setElevation){let n=0,s=i.parentMenu;for(;s;)n++,s=s.parentMenu;i.setElevation(n)}}_setIsMenuOpen(i){i!==this._menuOpen&&(this._menuOpen=i,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(i),this._changeDetectorRef.markForCheck())}_createOverlay(i){if(!this._overlayRef){const n=this._getOverlayConfig(i);this._subscribeToPositions(i,n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(i){return new JC({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:i.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:i.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(i,n){i.setPositionClasses&&n.positionChanges.subscribe(s=>{const l="start"===s.connectionPair.overlayX?"after":"before",d="top"===s.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>i.setPositionClasses(l,d)):i.setPositionClasses(l,d)})}_setPosition(i,n){let[s,l]="before"===i.xPosition?["end","start"]:["start","end"],[d,p]="above"===i.yPosition?["bottom","top"]:["top","bottom"],[f,v]=[d,p],[D,E]=[s,l],F=0;if(this.triggersSubmenu()){if(E=s="before"===i.xPosition?"start":"end",l=D="end"===s?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const L=this._parentMaterialMenu.items.first;this._parentInnerPadding=L?L._getHostElement().offsetTop:0}F="bottom"===d?this._parentInnerPadding:-this._parentInnerPadding}}else i.overlapTrigger||(f="top"===d?"bottom":"top",v="top"===p?"bottom":"top");n.withPositions([{originX:s,originY:f,overlayX:D,overlayY:d,offsetY:F},{originX:l,originY:f,overlayX:E,overlayY:d,offsetY:F},{originX:s,originY:v,overlayX:D,overlayY:p,offsetY:-F},{originX:l,originY:v,overlayX:E,overlayY:p,offsetY:-F}])}_menuClosingActions(){const i=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return rn(i,this._parentMaterialMenu?this._parentMaterialMenu.closed:Dt(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(xi(d=>d!==this._menuItemInstance),xi(()=>this._menuOpen)):Dt(),n)}_handleMousedown(i){$H(i)||(this._openedBy=0===i.button?"mouse":void 0,this.triggersSubmenu()&&i.preventDefault())}_handleKeydown(i){const n=i.keyCode;(13===n||32===n)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===n&&"ltr"===this.dir||37===n&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(i){this.triggersSubmenu()?(i.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(xi(i=>i===this._menuItemInstance&&!i.disabled),Vj(0,KH)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof HS&&this.menu._isAnimating?this.menu._animationDone.pipe(An(1),Vj(0,KH),xe(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(i){return(!this._portal||this._portal.templateRef!==i.templateRef)&&(this._portal=new XC(i.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(n){return new(n||r)(T(_a),T(ke),T(ei),T(ise),T(Wj,8),T(yb,10),T(Yr,8),T(al),T(et))};static#t=this.\u0275dir=re({type:r,hostVars:3,hostBindings:function(n,s){1&n&&B("click",function(d){return s._handleClick(d)})("mousedown",function(d){return s._handleMousedown(d)})("keydown",function(d){return s._handleKeydown(d)}),2&n&&ge("aria-haspopup",s.menu?"menu":null)("aria-expanded",s.menuOpen)("aria-controls",s.menuOpen?s.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}return r})(),H5=(()=>{class r extends OJe{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[Ae]})}return r})(),FJe=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[PJe],imports:[Gs,Hp,Ai,Pm,kv,Ai]})}return r})();function rse(r,a=new Set){const i=[r],n=new Set;let s=0;for(;i.length>s;){const l=i[s++];if(!n.has(l)&&LJe(l)&&!a.has(l))if(n.add(l),Symbol.iterator in l)try{for(const d of l)i.push(d)}catch{}else for(const d in l)"defaultValue"!==d&&i.push(l[d])}return n}function LJe(r){const a=Object.prototype.toString.call(r),i=typeof r;return!("number"===i||"boolean"===i||"string"===i||"symbol"===i||"function"===i||"[object Date]"===a||"[object RegExp]"===a||"[object Module]"===a||null==r||r._watchdogExcluded||r instanceof EventTarget||r instanceof Event)}Symbol("MainQueueId");class zJe{constructor(a){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof a.crashNumberLimit?a.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof a.minimumNonErrorTimePeriod?a.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=i=>{const n="error"in i?i.error:i.reason;n instanceof Error&&this._handleError(n,i)},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(a,i){this._listeners[a]||(this._listeners[a]=[]),this._listeners[a].push(i)}off(a,i){this._listeners[a]=this._listeners[a].filter(n=>n!==i)}_fire(a,...i){const n=this._listeners[a]||[];for(const s of n)s.apply(this,[null,...i])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(a,i){if(this._shouldReactToError(a)){this.crashes.push({message:a.message,stack:a.stack,filename:i instanceof ErrorEvent?i.filename:void 0,lineno:i instanceof ErrorEvent?i.lineno:void 0,colno:i instanceof ErrorEvent?i.colno:void 0,date:this._now()});const n=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:a,causesRestart:n}),n?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(a){return a.is&&a.is("CKEditorError")&&null!=a.context&&"ready"===this.state&&this._isErrorComingFromThisItem(a)}_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}}const qj=function(){return iu.Date.now()};var GJe=/\s/;var UJe=/^\s+/;const qJe=function WJe(r){return r&&r.slice(0,function jJe(r){for(var a=r.length;a--&&GJe.test(r.charAt(a)););return a}(r)+1).replace(UJe,"")};var XJe=/^[-+]0x[0-9a-f]+$/i,ZJe=/^0b[01]+$/i,JJe=/^0o[0-7]+$/i,eet=parseInt;const ase=function tet(r){if("number"==typeof r)return r;if(function YJe(r){return"symbol"==typeof r||Gp(r)&&"[object Symbol]"==Fv(r)}(r))return NaN;if(td(r)){var a="function"==typeof r.valueOf?r.valueOf():r;r=td(a)?a+"":a}if("string"!=typeof r)return 0===r?r:+r;r=qJe(r);var i=ZJe.test(r);return i||JJe.test(r)?eet(r.slice(2),i?2:8):XJe.test(r)?NaN:+r};var net=Math.max,oet=Math.min;const det=function cet(r,a,i){var n=!0,s=!0;if("function"!=typeof r)throw new TypeError("Expected a function");return td(i)&&(n="leading"in i?!!i.leading:n,s="trailing"in i?!!i.trailing:s),function ret(r,a,i){var n,s,l,d,p,f,v=0,D=!1,E=!1,F=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function L(it){var yt=n,xt=s;return n=s=void 0,v=it,d=r.apply(xt,yt)}function Z(it){var yt=it-f;return void 0===f||yt>=a||yt<0||E&&it-v>=l}function se(){var it=qj();if(Z(it))return ue(it);p=setTimeout(se,function q(it){var Si=a-(it-f);return E?oet(Si,l-(it-v)):Si}(it))}function ue(it){return p=void 0,F&&n?L(it):(n=s=void 0,d)}function Ze(){var it=qj(),yt=Z(it);if(n=arguments,s=this,f=it,yt){if(void 0===p)return function $(it){return v=it,p=setTimeout(se,a),D?L(it):d}(f);if(E)return clearTimeout(p),p=setTimeout(se,a),L(f)}return void 0===p&&(p=setTimeout(se,a)),d}return a=ase(a)||0,td(i)&&(D=!!i.leading,l=(E="maxWait"in i)?net(ase(i.maxWait)||0,a):l,F="trailing"in i?!!i.trailing:F),Ze.cancel=function Oe(){void 0!==p&&clearTimeout(p),v=0,n=f=s=p=void 0},Ze.flush=function ze(){return void 0===p?d:ue(qj())},Ze}(r,a,{leading:n,maxWait:a,trailing:s})},lse=function uet(r){return Gp(r)&&1===r.nodeType&&!sJ(r)},met=XZ(Object.keys,Object);var _et=Object.prototype.hasOwnProperty;const Kj=function yet(r){return X3(r)?hJ(r):function vet(r){if(!B8(r))return met(r);var a=[];for(var i in Object(r))_et.call(r,i)&&"constructor"!=i&&a.push(i);return a}(r)},cse=function Iet(){return[]};var Eet=Object.prototype.propertyIsEnumerable,dse=Object.getOwnPropertySymbols,Met=dse?function(r){return null==r?[]:(r=Object(r),function Det(r,a){for(var i=-1,n=null==r?0:r.length,s=0,l=[];++ia.create(n,s)),this._destructor=n=>n.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(a){this._creator=a}setDestructor(a){this._destructor=a}_restart(){return Promise.resolve().then(()=>(this.state="initializing",this._fire("stateChange"),this._destroy())).catch(a=>{console.error("An error happened during the editor destroying.",a)}).then(()=>{const a={},i=[],n=this._config.rootsAttributes||{},s={};for(const[d,p]of Object.entries(this._data.roots))p.isLoaded?(a[d]="",s[d]=n[d]||{}):i.push(d);const l={...this._config,extraPlugins:this._config.extraPlugins||[],lazyRoots:i,rootsAttributes:s,_watchdogInitialData:this._data};return delete l.initialData,l.extraPlugins.push(yit),this._initUsingData?this.create(a,l,l.context):lse(this._elementOrData)?this.create(this._elementOrData,l,l.context):this.create(this._editables,l,l.context)}).then(()=>{this._fire("restart")})}create(a=this._elementOrData,i=this._config,n){return Promise.resolve().then(()=>(super._startErrorHandling(),this._elementOrData=a,this._initUsingData="string"==typeof a||Object.keys(a).length>0&&"string"==typeof Object.values(a)[0],this._config=this._cloneEditorConfiguration(i)||{},this._config.context=n,this._creator(a,this._config))).then(s=>{this._editor=s,s.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=s.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 a=this._editor;return this._editor=null,a.model.document.off("change:data",this._throttledSave),this._destructor(a)})}_save(){const a=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=a}catch(i){console.error(i,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(a){this._excludedProps=a}_getData(){const a=this._editor,i=a.model.document.roots.filter(p=>p.isAttached()&&"$graveyard"!=p.rootName),{plugins:n}=a,s=n.has("CommentsRepository")&&n.get("CommentsRepository"),l=n.has("TrackChanges")&&n.get("TrackChanges"),d={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};i.forEach(p=>{d.roots[p.rootName]={content:JSON.stringify(Array.from(p.getChildren())),attributes:JSON.stringify(Array.from(p.getAttributes())),isLoaded:p._isLoaded}});for(const p of a.model.markers)p._affectsData&&(d.markers[p.name]={rangeJSON:p.getRange().toJSON(),usingOperation:p._managedUsingOperations,affectsData:p._affectsData});return s&&(d.commentThreads=JSON.stringify(s.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),l&&(d.suggestions=JSON.stringify(l.getSuggestions({toJSON:!0,skipNotAttached:!0}))),d}_getEditables(){const a={};for(const i of this.editor.model.document.getRootNames()){const n=this.editor.ui.getEditableElement(i);n&&(a[i]=n)}return a}_isErrorComingFromThisItem(a){return function BJe(r,a,i=new Set){if(r===a&&function VJe(r){return"object"==typeof r&&null!==r}(r))return!0;const n=rse(r,i),s=rse(a,i);for(const l of n)if(s.has(l))return!0;return!1}(this._editor,a.context,this._excludedProps)}_cloneEditorConfiguration(a){return function _it(r,a){return git(r,5,a="function"==typeof a?a:void 0)}(a,(i,n)=>{if(lse(i)||"context"===n)return i})}}class yit{constructor(a){this.editor=a,this._data=a.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",a=>{a.stop(),this.editor.model.enqueueChange({isUndoable:!1},i=>{this._restoreCollaborationData(),this._restoreEditorData(i)}),this.editor.data.fire("ready")},{priority:999})}_createNode(a,i){if("name"in i){const n=a.createElement(i.name,i.attributes);if(i.children)for(const s of i.children)n._appendChild(this._createNode(a,s));return n}return a.createText(i.data,i.attributes)}_restoreEditorData(a){const i=this.editor;Object.entries(this._data.roots).forEach(([n,{content:s,attributes:l}])=>{const d=JSON.parse(s),p=JSON.parse(l),f=i.model.document.getRoot(n);for(const[v,D]of p)a.setAttribute(v,D,f);for(const v of d){const D=this._createNode(a,v);a.insert(D,f,"end")}}),Object.entries(this._data.markers).forEach(([n,s])=>{const{document:l}=i.model,{rangeJSON:{start:d,end:p},...f}=s,v=l.getRoot(d.root),D=a.createPositionFromPath(v,d.path,d.stickiness),E=a.createPositionFromPath(v,p.path,p.stickiness),F=a.createRange(D,E);a.addMarker(n,{range:F,...f})})}_restoreCollaborationData(){const a=JSON.parse(this._data.commentThreads),i=JSON.parse(this._data.suggestions);a.forEach(n=>{const s=this.editor.config.get("collaboration.channelId"),l=this.editor.plugins.get("CommentsRepository");l.hasCommentThread(n.threadId)&&l.getCommentThread(n.threadId).remove(),l.addCommentThread({channelId:s,...n})}),i.forEach(n=>{const s=this.editor.plugins.get("TrackChangesEditing");s.hasSuggestion(n.id)?s.getSuggestion(n.id).attributes=n.attributes:s.addSuggestionData(n)})}}function Cit(r,a){}const Ka=new Array(256).fill(0).map((r,a)=>("0"+a.toString(16)).slice(-2)),t$="Lock from Angular integration (@ckeditor/ckeditor5-angular)";let Yw=(()=>{class r{constructor(i,n){this.config={},this.data="",this.tagName="div",this.disableTwoWayDataBinding=!1,this.ready=new X,this.change=new X,this.blur=new X,this.focus=new X,this.error=new X,this.initiallyDisabled=!1,this.isEditorSettingData=!1,this.id=function wit(){const r=4294967296*Math.random()>>>0,a=4294967296*Math.random()>>>0,i=4294967296*Math.random()>>>0,n=4294967296*Math.random()>>>0;return"e"+Ka[r>>0&255]+Ka[r>>8&255]+Ka[r>>16&255]+Ka[r>>24&255]+Ka[a>>0&255]+Ka[a>>8&255]+Ka[a>>16&255]+Ka[a>>24&255]+Ka[i>>0&255]+Ka[i>>8&255]+Ka[i>>16&255]+Ka[i>>24&255]+Ka[n>>0&255]+Ka[n>>8&255]+Ka[n>>16&255]+Ka[n>>24&255]}(),this.ngZone=n,this.elementRef=i;const{CKEDITOR_VERSION:s}=window;if(s){const[l]=s.split(".").map(Number);l<37&&console.warn("The component requires using CKEditor 5 in version 37 or higher.")}else console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.')}set disabled(i){this.setDisabledState(i)}get disabled(){return this.editorInstance?this.editorInstance.isReadOnly:this.initiallyDisabled}get editorInstance(){let i=this.editorWatchdog;return this.watchdog&&(i=this.watchdog._watchdogs.get(this.id)),i?i.editor:null}getId(){return this.id}ngOnChanges(i){Object.prototype.hasOwnProperty.call(i,"data")&&i.data&&!i.data.isFirstChange()&&this.writeValue(i.data.currentValue)}ngAfterViewInit(){this.attachToWatchdog()}ngOnDestroy(){var i=this;return qi(function*(){i.watchdog?yield i.watchdog.remove(i.id):i.editorWatchdog&&i.editorWatchdog.editor&&(yield i.editorWatchdog.destroy(),i.editorWatchdog=void 0)})()}writeValue(i){null===i&&(i=""),this.editorInstance?(this.isEditorSettingData=!0,this.editorInstance.data.set(i),this.isEditorSettingData=!1):(this.data=i,this.ready.pipe(mi()).subscribe(n=>{n.data.set(this.data)}))}registerOnChange(i){this.cvaOnChange=i}registerOnTouched(i){this.cvaOnTouched=i}setDisabledState(i){this.editorInstance&&(i?this.editorInstance.enableReadOnlyMode(t$):this.editorInstance.disableReadOnlyMode(t$)),this.initiallyDisabled=i}attachToWatchdog(){var i=this;const n=(f,v)=>this.ngZone.runOutsideAngular(qi(function*(){i.elementRef.nativeElement.appendChild(f);const D=yield i.editor.create(f,v);return i.initiallyDisabled&&D.enableReadOnlyMode(t$),i.ngZone.run(()=>{i.ready.emit(D)}),i.setUpEditorEvents(D),D})),s=function(){var f=qi(function*(v){yield v.destroy(),i.elementRef.nativeElement.removeChild(i.editorElement)});return function(D){return f.apply(this,arguments)}}(),l=f=>{(function xit(r){return r.observed||r.observers.length>0})(this.error)&&this.ngZone.run(()=>this.error.emit(f))},d=document.createElement(this.tagName),p=this.getConfig();if(this.editorElement=d,this.watchdog)this.watchdog.add({id:this.id,type:"editor",creator:n,destructor:s,sourceElementOrData:d,config:p}).catch(f=>{l(f)}),this.watchdog.on("itemError",(f,{itemId:v})=>{v===this.id&&l()});else{const f=new bit(this.editor,this.editorWatchdogConfig);f.setCreator(n),f.setDestructor(s),f.on("error",l),this.editorWatchdog=f,this.ngZone.runOutsideAngular(()=>{f.create(d,p).catch(v=>{l(v)})})}}getConfig(){if(this.data&&this.config.initialData)throw new Error("Editor data should be provided either using `config.initialData` or `data` properties.");const i={...this.config},n=this.config.initialData||this.data;return n&&(i.initialData=n),i}setUpEditorEvents(i){const s=i.editing.view.document;i.model.document.on("change:data",l=>{this.ngZone.run(()=>{if(!this.disableTwoWayDataBinding){if(this.cvaOnChange&&!this.isEditorSettingData){const d=i.data.get();this.cvaOnChange(d)}this.change.emit({event:l,editor:i})}})}),s.on("focus",l=>{this.ngZone.run(()=>{this.focus.emit({event:l,editor:i})})}),s.on("blur",l=>{this.ngZone.run(()=>{this.cvaOnTouched&&this.cvaOnTouched(),this.blur.emit({event:l,editor:i})})})}}return r.\u0275fac=function(i){return new(i||r)(T(ke),T(et))},r.\u0275cmp=de({type:r,selectors:[["ckeditor"]],inputs:{editor:"editor",config:"config",data:"data",tagName:"tagName",watchdog:"watchdog",editorWatchdogConfig:"editorWatchdogConfig",disableTwoWayDataBinding:"disableTwoWayDataBinding",disabled:"disabled"},outputs:{ready:"ready",change:"change",blur:"blur",focus:"focus",error:"error"},features:[Ye([{provide:Yn,useExisting:J(()=>r),multi:!0}]),ci],decls:1,vars:0,template:function(i,n){1&i&&I(0,Cit,0,0,"ng-template")},encapsulation:2}),r})(),kit=(()=>{class r{}return r.\u0275fac=function(i){return new(i||r)},r.\u0275mod=Ht({type:r}),r.\u0275inj=zt({imports:[[Zu,Gs]]}),r})();function Dit(r,a){if(1&r){const i=ce();C(0,"button",16),B("click",function(){return z(i),H(S(2).sendComment())}),P(1,"\u0110\u0103ng"),k()}}function Ait(r,a){if(1&r){const i=ce();C(0,"button",17),B("click",function(){return z(i),H(S(2).cancelComment())}),P(1,"H\u1ee7y"),k()}}function Iit(r,a){if(1&r){const i=ce();C(0,"div",7)(1,"div",8),Q(2,"img",9),C(3,"strong",10),P(4),k()(),C(5,"div",11)(6,"ckeditor",12),B("ngModelChange",function(s){return z(i),H(S().createCommentContent=s)})("change",function(s){return z(i),H(S().onEditorChange(s))})("paste",function(s){return z(i),H(S().onPaste(s))}),k()(),C(7,"div",13),I(8,Dit,2,0,"button",14),I(9,Ait,2,0,"button",15),k()()}if(2&r){const i=S();y(2),x("src",i.imgUser||"assets/Icon/user.png",oi),y(2),_e(i.userName),y(2),x("editor",i.Editor)("config",i.editorConfig)("ngModel",i.createCommentContent),y(2),x("ngIf",i.isCheckCommented()),y(1),x("ngIf",i.isCheckCommented())}}function Sit(r,a){if(1&r){const i=ce();C(0,"span",18),P(1,"\u0110\u0103ng nh\u1eadp \u0111\u1ec3 b\xecnh lu\u1eadn "),k(),C(2,"button",16),B("click",function(){return z(i),H(S().loginUser())}),P(3,"\u0110\u0103ng nh\u1eadp"),k()}}function Tit(r,a){1&r&&(C(0,"button",30)(1,"span",31),P(2," more_horiz "),k()()),2&r&&(S(),x("matMenuTriggerFor",ee(11)))}function Eit(r,a){if(1&r){const i=ce();C(0,"button",16),B("click",function(){return z(i),H(S(4).submitEdited())}),P(1,"C\u1eadp nh\u1eadp"),k()}}function Mit(r,a){if(1&r){const i=ce();C(0,"button",17),B("click",function(){return z(i),H(S(4).cancelEditComment())}),P(1,"H\u1ee7y"),k()}}function Rit(r,a){if(1&r){const i=ce();C(0,"div",7)(1,"div",8),Q(2,"img",9),C(3,"strong",10),P(4),k()(),C(5,"div",11)(6,"ckeditor",12),B("ngModelChange",function(s){return z(i),H(S(3).contentUpdate=s)})("change",function(s){return z(i),H(S(3).onEditChange(s))})("paste",function(s){return z(i),H(S(3).onPaste(s))}),k()(),C(7,"div",13),I(8,Eit,2,0,"button",14),I(9,Mit,2,0,"button",15),k()()}if(2&r){const i=S().$implicit,n=S(2);let s;y(2),x("src",n.imgUser||"assets/Icon/user.png",oi),y(2),_e(n.userName),y(2),x("editor",n.Editor)("config",n.editorConfig)("ngModel",n.contentUpdate),y(2),x("ngIf",n.isUpdateCommented),y(1),x("ngIf",n.isCheckEdit(null!==(s=i.id)&&void 0!==s?s:""))}}function Pit(r,a){if(1&r){const i=ce();C(0,"div",11)(1,"div",20)(2,"div")(3,"div",21)(4,"div",22),Q(5,"img",9),C(6,"strong",10),P(7),k()(),I(8,Tit,3,1,"button",23),C(9,"div",24)(10,"mat-menu",null,25)(12,"button",26),B("click",function(){const l=z(i).$implicit;let p;return H(S(2).editComment(null!==(p=l.id)&&void 0!==p?p:""))}),C(13,"mat-icon"),P(14,"edit"),k(),C(15,"span"),P(16,"S\u1eeda"),k()(),C(17,"button",26),B("click",function(){const l=z(i).$implicit;let p;return H(S(2).deleteComment(null!==(p=l.id)&&void 0!==p?p:""))}),C(18,"mat-icon"),P(19,"delete"),k(),C(20,"span"),P(21,"X\xf3a"),k()()()()(),C(22,"div",27),P(23),k()(),Q(24,"div",28),k(),I(25,Rit,10,7,"div",29),k()}if(2&r){const i=a.$implicit,n=S(2);let s,l;y(5),x("src",(null==i.userShort?null:i.userShort.image)||"assets/Icon/user.png",oi),y(2),_e(null==i.userShort?null:i.userShort.fullName),y(1),x("ngIf",(null==i.userShort?null:i.userShort.id)===n.userId),y(14),ri("matTooltip",i.updatedAt?"Ng\xe0y c\u1eadp nh\u1eadp":"Ng\xe0y t\u1ea1o"),y(1),_e(null!==(s=i.updatedAt)&&void 0!==s?s:i.createdAt),y(1),x("innerHTML",i.content,il),y(1),x("ngIf",n.isCheckEdit(null!==(l=i.id)&&void 0!==l?l:""))}}function Oit(r,a){if(1&r&&(C(0,"div"),I(1,Pit,26,7,"div",19),k()),2&r){const i=S();y(1),x("ngForOf",i.comments)}}let Fit=(()=>{class r{constructor(i,n,s,l,d){this.data=i,this.session=n,this.service=s,this.toastr=l,this.router=d,this.isCommented=!1,this.isUpdateCommented=!1,this.isEdit="",this.Editor=qw(),this.userName=null,this.imgUser=null,this.userId=null,this.postId="",this.comments=null,this.createComment={userId:"",postId:"",userShort:null,content:"",createdAt:new Date,updatedAt:null,subComment:null},this.updateComment={userId:"",postId:"",userShort:null,content:"",createdAt:new Date,updatedAt:null,subComment:null},this.createCommentContent="",this.contentUpdate="",this.editorConfig={toolbar:{items:["heading","bold","italic","blockQuote","bulletedList","numberedList","link"]},placeholder:"Vi\u1ebft b\xecnh lu\u1eadn...",language:"vi"},this.postId=i.SubId,this.userId=n.getUserId(),this.userName=n.getName(),this.imgUser=n.getAvatar(),this.GetChatPost(),this.hubConnection=(new Uj).withUrl(s.getChatSignRl()).build(),this.hubConnection.start().then(()=>{console.log("K\u1ebft n\u1ed1i th\xe0nh c\xf4ng!")}).catch(p=>console.error("L\u1ed7i khi thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i:",p)),this.hubConnection.on("ReceiveComment",p=>{this.comments=this.ConvertChatDate(p.resultObj)})}GetChatPost(){this.service.getPostComment(this.postId).subscribe(i=>{this.comments=this.ConvertChatDate(i.resultObj)})}ConvertChatDate(i){return i?.forEach(n=>{const s=fi(n.createdAt.toString()),l=fi(n.updatedAt?.toString()??"");isNaN(s.getTime())||(n.createdAt=_i(s,"dd-MM-yyyy hh:mm",{locale:kf})),isNaN(l.getTime())||(n.updatedAt=_i(l,"dd-MM-yyyy hh:mm",{locale:kf}))}),i}onEditorChange(i){this.isCommented=!0,this.createCommentContent=i.editor.getData(),this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")}onEditChange(i){this.isUpdateCommented=!0,this.contentUpdate=i.editor.getData(),this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")}hasImage(i){return!!/]+src\s*=\s*['"]([^'"]+)['"][^>]*>/g.test(i)}sendComment(){this.hasImage(this.createCommentContent)?this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!"):(this.createComment.postId=this.postId,this.createComment.userId=this.userId??"",this.createComment.content=this.createCommentContent.trim(),this.service.CreatePostComment(this.createComment).subscribe(i=>{this.cancelComment()},i=>{console.log(i)}))}submitEdited(){this.hasImage(this.contentUpdate)?this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!"):(this.updateComment.content=this.contentUpdate?.trim(),this.updateComment.createdAt=new Date,this.updateComment.updatedAt=new Date,""!=this.contentUpdate.trim()?this.service.UpdatePostComment(this.updateComment).subscribe(i=>{this.contentUpdate="",this.cancelEditComment()},i=>{console.log(i)}):this.toastr.info("Vui l\xf2ng kh\xf4ng \u0111\u1ec3 tr\u1ed1ng b\xecnh lu\u1eadn"))}cancelComment(){this.isCommented=!1,this.createCommentContent=""}isCheckCommented(){return this.isCommented}cancelEditComment(){this.isUpdateCommented=!1,this.contentUpdate="",this.isEdit="-1"}editComment(i){var n=this.comments?.find(s=>s.id===i);n&&(this.updateComment=n,this.contentUpdate=n.content,this.isEdit=i)}deleteComment(i){this.service.deleteComment(i).subscribe(n=>{},n=>{this.toastr.error("L\u1ed7i: "+n)})}isCheckEdit(i){return this.isEdit==i}loginUser(){this.router.navigate(["/login"],{state:{redirect:this.router.url}})}onPaste(i){const n=i.clipboardData||i.originalEvent&&i.originalEvent.clipboardData;if(n){const s=n.items;console.log(1);for(let l=0;l.ck-editor__editable:not(.ck-focused){border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{box-shadow:none!important}#btn-comment[_ngcontent-%COMP%]{margin-right:16px!important;right:16px!important}"]})}return r})();function Nit(r,a){1&r&&(C(0,"span",7),Ie(1,1),k())}function Lit(r,a){1&r&&(C(0,"span",8),Ie(1,2),k())}const Ase=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Ise=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Bit(r,a){1&r&&(C(0,"span",8),Ie(1,1),C(2,"span",9),mr(),C(3,"svg",10),Q(4,"path",11),k()()())}function Vit(r,a){1&r&&(C(0,"span",12),Ie(1,2),k())}const Sse='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}';function zit(r,a){1&r&&(be(0),Q(1,"span",8),ve())}function Hit(r,a){1&r&&(C(0,"span",9),Ie(1),k())}function Git(r,a){1&r&&(be(0),Ie(1,1),ve())}function jit(r,a){1&r&&Ie(0,2,["*ngIf","contentEditInput; else defaultMatChipEditInput"])}function $it(r,a){1&r&&Q(0,"span",12)}function Uit(r,a){if(1&r&&(be(0),I(1,jit,1,0,"ng-content",10),I(2,$it,1,0,"ng-template",null,11,pe),ve()),2&r){const i=ee(3),n=S();y(1),x("ngIf",n.contentEditInput)("ngIfElse",i)}}function Wit(r,a){1&r&&(C(0,"span",13),Ie(1,3),k())}const qit=[[["mat-chip-avatar"],["","matChipAvatar",""]],"*",[["","matChipEditInput",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Kit=["mat-chip-avatar, [matChipAvatar]","*","[matChipEditInput]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],i$=["*"],j5=new $e("mat-chips-default-options"),n$=new $e("MatChipAvatar"),o$=new $e("MatChipTrailingIcon"),r$=new $e("MatChipRemove"),$5=new $e("MatChip");class Yit{}const Qit=Sv(Yit,-1);let Qw=(()=>{class r extends Qit{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(i){this._disabled=Et(i)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(i,n){super(),this._elementRef=i,this._parentChip=n,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(13===i.keyCode||32===i.keyCode)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T($5))};static#t=this.\u0275dir=re({type:r,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(n,s){1&n&&B("click",function(d){return s._handleClick(d)})("keydown",function(d){return s._handleKeydown(d)}),2&n&&(ge("tabindex",s._getTabindex())("disabled",s._getDisabledAttribute())("aria-disabled",s.disabled),Se("mdc-evolution-chip__action--primary",s._isPrimary)("mdc-evolution-chip__action--presentational",!s.isInteractive)("mdc-evolution-chip__action--trailing",!s._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[Ae]})}return r})(),jS=(()=>{class r extends Qw{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(i){this.disabled||(i.stopPropagation(),i.preventDefault(),this._parentChip.remove())}_handleKeydown(i){(13===i.keyCode||32===i.keyCode)&&!this.disabled&&(i.stopPropagation(),i.preventDefault(),this._parentChip.remove())}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(n,s){2&n&&ge("aria-hidden",null)},features:[Ye([{provide:r$,useExisting:r}]),Ae]})}return r})(),Jit=0;const ent=Sv(Iv(Om(Vp(class{constructor(r){this._elementRef=r}})),"primary"),-1);let ph=(()=>{class r extends ent{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get removable(){return this._removable}set removable(i){this._removable=Et(i)}get highlighted(){return this._highlighted}set highlighted(i){this._highlighted=Et(i)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}constructor(i,n,s,l,d,p,f,v){super(n),this._changeDetectorRef=i,this._ngZone=s,this._focusMonitor=l,this._globalRippleOptions=f,this._onFocus=new Ge,this._onBlur=new Ge,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+Jit++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new X,this.destroyed=new X,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=st(FX),this._document=d,this._animationsDisabled="NoopAnimations"===p,null!=v&&(this.tabIndex=parseInt(v)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=rn(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(i){(8===i.keyCode||46===i.keyCode)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(n=>{const s=n._elementRef.nativeElement;return s===i||s.contains(i)})}_getActions(){const i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{const n=null!==i;n!==this._hasFocusInternal&&(this._hasFocusInternal=n,n?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe(An(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(et),T(al),T(Tt),T(Eo,8),T(ew,8),Ns("tabindex"))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,n$,5),Fe(l,o$,5),Fe(l,r$,5),Fe(l,n$,5),Fe(l,o$,5),Fe(l,r$,5)),2&n){let d;G(d=j())&&(s.leadingIcon=d.first),G(d=j())&&(s.trailingIcon=d.first),G(d=j())&&(s.removeIcon=d.first),G(d=j())&&(s._allLeadingIcons=d),G(d=j())&&(s._allTrailingIcons=d),G(d=j())&&(s._allRemoveIcons=d)}},viewQuery:function(n,s){if(1&n&&oe(Qw,5),2&n){let l;G(l=j())&&(s.primaryAction=l.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(n,s){1&n&&B("keydown",function(d){return s._handleKeydown(d)}),2&n&&(ur("id",s.id),ge("role",s.role)("tabindex",s.role?s.tabIndex:null)("aria-label",s.ariaLabel),Se("mdc-evolution-chip",!s._isBasicChip)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",s.leadingIcon)("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-basic-chip",s._isBasicChip)("mat-mdc-standard-chip",!s._isBasicChip)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon())("_mat-animation-noopable",s._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Ye([{provide:$5,useExisting:r}]),Ae],ngContentSelectors:Ise,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,s){1&n&&(pt(Ase),Q(0,"span",0),C(1,"span",1)(2,"span",2),I(3,Nit,2,0,"span",3),C(4,"span",4),Ie(5),Q(6,"span",5),k()()(),I(7,Lit,2,0,"span",6)),2&n&&(y(2),x("isInteractive",!1),y(1),x("ngIf",s.leadingIcon),y(4),x("ngIf",s._hasTrailingIcon()))},dependencies:[Qe,Qw],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return r})(),$S=(()=>{class r extends ph{constructor(){super(...arguments),this._defaultOptions=st(j5,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new X}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(i){this._selectable=Et(i),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(i){this._setSelectedState(Et(i),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(i=!1){return this._setSelectedState(!this.selected,i,!0),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(!0))}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(i,n,s){i!==this.selected&&(this._selected=i,s&&this.selectionChange.emit({source:this,isUserInput:n,selected:this.selected}),this._changeDetectorRef.markForCheck())}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(n,s){2&n&&(ur("id",s.id),ge("tabindex",null)("aria-label",null)("aria-description",null)("role",s.role),Se("mdc-evolution-chip",!s._isBasicChip)("mdc-evolution-chip--filter",!s._isBasicChip)("mdc-evolution-chip--selectable",!s._isBasicChip)("mat-mdc-chip-selected",s.selected)("mat-mdc-chip-multiple",s._chipListMultiple)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-chip-with-avatar",s.leadingIcon)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--selected",s.selected)("mdc-evolution-chip--selecting",!s._animationsDisabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-primary-graphic",s._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[Ye([{provide:ph,useExisting:r},{provide:$5,useExisting:r}]),Ae],ngContentSelectors:Ise,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,s){1&n&&(pt(Ase),Q(0,"span",0),C(1,"span",1)(2,"button",2),I(3,Bit,5,0,"span",3),C(4,"span",4),Ie(5),Q(6,"span",5),k()()(),I(7,Vit,2,0,"span",6),C(8,"span",7),P(9),k()),2&n&&(y(2),x("tabIndex",s.tabIndex)("_allowFocusWhenDisabled",!0),ge("aria-selected",s.ariaSelected)("aria-label",s.ariaLabel)("aria-describedby",s._ariaDescriptionId),y(1),x("ngIf",s._hasLeadingGraphic()),y(4),x("ngIf",s._hasTrailingIcon()),y(1),x("id",s._ariaDescriptionId),y(1),_e(s.ariaDescription))},dependencies:[Qe,Qw],styles:[Sse],encapsulation:2,changeDetection:0})}return r})(),U5=(()=>{class r{constructor(i,n){this._elementRef=i,this._document=n}initialize(i){this.getNativeElement().focus(),this.setValue(i)}getNativeElement(){return this._elementRef.nativeElement}setValue(i){this.getNativeElement().textContent=i,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){const i=this._document.createRange();i.selectNodeContents(this.getNativeElement()),i.collapse(!1);const n=window.getSelection();n.removeAllRanges(),n.addRange(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Tt))};static#t=this.\u0275dir=re({type:r,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"]})}return r})(),Xw=(()=>{class r extends ph{constructor(i,n,s,l,d,p,f,v){super(i,n,s,l,d,p,f,v),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new X,this._isEditing=!1,this.role="row",this._onBlur.pipe(xe(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(i){13!==i.keyCode||this.disabled?this._isEditing?i.stopPropagation():super._handleKeydown(i):this._isEditing?(i.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(i)}_handleDoubleclick(i){!this.disabled&&this.editable&&this._startEditing(i)}_startEditing(i){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(i.target)===this.removeIcon)return;const n=this.value;this._isEditing=this._editStartPending=!0,this._changeDetectorRef.detectChanges(),setTimeout(()=>{this._getEditInput().initialize(n),this._editStartPending=!1})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static#e=this.\u0275fac=function(n){return new(n||r)(T(rt),T(ke),T(et),T(al),T(Tt),T(Eo,8),T(ew,8),Ns("tabindex"))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(n,s,l){if(1&n&&Fe(l,U5,5),2&n){let d;G(d=j())&&(s.contentEditInput=d.first)}},viewQuery:function(n,s){if(1&n&&oe(U5,5),2&n){let l;G(l=j())&&(s.defaultEditInput=l.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(n,s){1&n&&B("focus",function(d){return s._handleFocus(d)})("dblclick",function(d){return s._handleDoubleclick(d)}),2&n&&(ur("id",s.id),ge("tabindex",s.disabled?null:-1)("aria-label",null)("aria-description",null)("role",s.role),Se("mat-mdc-chip-with-avatar",s.leadingIcon)("mat-mdc-chip-disabled",s.disabled)("mat-mdc-chip-editing",s._isEditing)("mat-mdc-chip-editable",s.editable)("mdc-evolution-chip--disabled",s.disabled)("mdc-evolution-chip--with-trailing-action",s._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",s.leadingIcon)("mdc-evolution-chip--with-primary-icon",s.leadingIcon)("mdc-evolution-chip--with-avatar",s.leadingIcon)("mat-mdc-chip-highlighted",s.highlighted)("mat-mdc-chip-with-trailing-icon",s._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",editable:"editable"},outputs:{edited:"edited"},features:[Ye([{provide:ph,useExisting:r},{provide:$5,useExisting:r}]),Ae],ngContentSelectors:Kit,decls:10,vars:12,consts:[[4,"ngIf"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"tabIndex","disabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label",3,"ngSwitch"],[4,"ngSwitchCase"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing","role","gridcell",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[4,"ngIf","ngIfElse"],["defaultMatChipEditInput",""],["matChipEditInput",""],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(n,s){1&n&&(pt(qit),I(0,zit,2,0,"ng-container",0),C(1,"span",1),I(2,Hit,2,0,"span",2),C(3,"span",3),I(4,Git,2,0,"ng-container",4),I(5,Uit,4,2,"ng-container",4),Q(6,"span",5),k()(),I(7,Wit,2,0,"span",6),C(8,"span",7),P(9),k()),2&n&&(x("ngIf",!s._isEditing),y(1),x("tabIndex",s.tabIndex)("disabled",s.disabled),ge("aria-label",s.ariaLabel)("aria-describedby",s._ariaDescriptionId),y(1),x("ngIf",s.leadingIcon),y(1),x("ngSwitch",s._isEditing),y(1),x("ngSwitchCase",!1),y(1),x("ngSwitchCase",!0),y(2),x("ngIf",s._hasTrailingIcon()),y(1),x("id",s._ariaDescriptionId),y(1),_e(s.ariaDescription))},dependencies:[Qe,ed,ju,Qw,U5],styles:[Sse],encapsulation:2,changeDetection:0})}return r})();class tnt{constructor(a){}}const int=Sv(tnt);let wb=(()=>{class r extends int{get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get disabled(){return this._disabled}set disabled(i){this._disabled=Et(i),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}constructor(i,n,s){super(i),this._elementRef=i,this._changeDetectorRef=n,this._dir=s,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new Ge,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new zo}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(i=>{i.disabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&ithis.tabIndex=i)}}_getChipStream(i){return this._chips.changes.pipe(go(null),Jn(()=>rn(...this._chips.map(i))))}_originatesFromChip(i){let n=i.target;for(;n&&n!==this._elementRef.nativeElement;){if(n.classList.contains("mat-mdc-chip"))return!0;n=n.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(go(this._chips)).subscribe(i=>{const n=[];i.forEach(s=>s._getActions().forEach(l=>n.push(l))),this._chipActions.reset(n),this._chipActions.notifyOnChanges()}),this._keyManager=new D3(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(xe(this._destroyed)).subscribe(({chip:i})=>{const n=i._getSourceAction(document.activeElement);n&&this._keyManager.updateActiveItem(n)}),this._dir?.change.pipe(xe(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(go(null),xe(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(xe(this._destroyed)).subscribe(i=>{const s=this._chips.toArray().indexOf(i.chip);this._isValidIndex(s)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=s)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),n=this._chips.toArray()[i];n.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():n.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(Yr,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-chip-set"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,ph,5),2&n){let d;G(d=j())&&(s._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(n,s){1&n&&B("keydown",function(d){return s._handleKeydown(d)}),2&n&&ge("role",s.role)},inputs:{disabled:"disabled",role:"role"},features:[Ae],ngContentSelectors:i$,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,s){1&n&&(pt(),C(0,"div",0),Ie(1),k())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return r})();class rnt{constructor(a,i){this.source=a,this.value=i}}class snt extends wb{constructor(a,i,n,s,l,d,p){super(a,i,n),this._defaultErrorStateMatcher=s,this._parentForm=l,this._parentFormGroup=d,this.ngControl=p,this.stateChanges=new Ge}}const ant=t8(snt);let US=(()=>{class r extends ant{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(i){this._disabled=Et(i),this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||0===this._chips.length)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(i){this._placeholder=i,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ft.required)??!1}set required(i){this._required=Et(i),this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(i){this._value=i}get chipBlurChanges(){return this._getChipStream(i=>i._onBlur)}constructor(i,n,s,l,d,p,f){super(i,n,s,p,l,d,f),this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new X,this.valueChange=new X,this._chips=void 0,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.chipBlurChanges.pipe(xe(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),rn(this.chipFocusChanges,this._chips.changes).pipe(xe(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit()}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(i){this._chipInput=i,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(i){!this.disabled&&!this._originatesFromChip(i)&&this.focus()}focus(){this.disabled||this._chipInput.focused||(!this._chips.length||this._chips.first.disabled?Promise.resolve().then(()=>this._chipInput.focus()):this._chips.length&&this._keyManager.setFirstItemActive(),this.stateChanges.next())}setDescribedByIds(i){this._ariaDescribedbyIds=i,this._chipInput?.setDescribedByIds(i)}writeValue(i){this._value=i}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i,this.stateChanges.next()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(i){9===i.keyCode?this._chipInput.focused&&Nr(i,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(i.preventDefault(),this._keyManager.activeItem?this._keyManager.setActiveItem(this._keyManager.activeItem):this._focusLastChip()):super._allowFocusEscape():this._chipInput.focused||super._handleKeydown(i),this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){const i=this._chips.length?this._chips.toArray().map(n=>n.value):[];this._value=i,this.change.emit(new rnt(this,i)),this.valueChange.emit(i),this._onChange(i),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(Yr,8),T(iw,8),T(jo,8),T(Ev),T(ws,10))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-chip-grid"]],contentQueries:function(n,s,l){if(1&n&&Fe(l,Xw,5),2&n){let d;G(d=j())&&(s._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(n,s){1&n&&B("focus",function(){return s.focus()})("blur",function(){return s._blur()}),2&n&&(ur("tabIndex",s._chips&&0===s._chips.length?-1:s.tabIndex),ge("role",s.role)("aria-disabled",s.disabled.toString())("aria-invalid",s.errorState),Se("mat-mdc-chip-list-disabled",s.disabled)("mat-mdc-chip-list-invalid",s.errorState)("mat-mdc-chip-list-required",s.required))},inputs:{tabIndex:"tabIndex",disabled:"disabled",placeholder:"placeholder",required:"required",value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},features:[Ye([{provide:f5,useExisting:r}]),Ae],ngContentSelectors:i$,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(n,s){1&n&&(pt(),C(0,"div",0),Ie(1),k())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return r})(),lnt=0,WS=(()=>{class r{set chipGrid(i){i&&(this._chipGrid=i,this._chipGrid.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(i){this._addOnBlur=Et(i)}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(i){this._disabled=Et(i)}get empty(){return!this.inputElement.value}constructor(i,n,s){this._elementRef=i,this.focused=!1,this._addOnBlur=!1,this.chipEnd=new X,this.placeholder="",this.id="mat-mdc-chip-list-input-"+lnt++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=n.separatorKeyCodes,s&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(i){if(i){if(8===i.keyCode&&this._focusLastChipOnBackspace)return this._chipGrid._focusLastChip(),void i.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(i)}_keyup(i){!this._focusLastChipOnBackspace&&8===i.keyCode&&this.empty&&(this._focusLastChipOnBackspace=!0,i.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipGrid.stateChanges.next()}_emitChipEnd(i){(!i||this._isSeparatorKey(i))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),i?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}setDescribedByIds(i){const n=this._elementRef.nativeElement;i.length?n.setAttribute("aria-describedby",i.join(" ")):n.removeAttribute("aria-describedby")}_isSeparatorKey(i){return!Nr(i)&&new Set(this.separatorKeyCodes).has(i.keyCode)}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(j5),T(Gw,8))};static#t=this.\u0275dir=re({type:r,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(n,s){1&n&&B("keydown",function(d){return s._keydown(d)})("keyup",function(d){return s._keyup(d)})("blur",function(){return s._blur()})("focus",function(){return s._focus()})("input",function(){return s._onInput()}),2&n&&(ur("id",s.id),ge("disabled",s.disabled||null)("placeholder",s.placeholder||null)("aria-invalid",s._chipGrid&&s._chipGrid.ngControl?s._chipGrid.ngControl.invalid:null)("aria-required",s._chipGrid&&s._chipGrid.required||null)("required",s._chipGrid&&s._chipGrid.required||null))},inputs:{chipGrid:["matChipInputFor","chipGrid"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[ci]})}return r})(),cnt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[Ev,{provide:j5,useValue:{separatorKeyCodes:[13]}}],imports:[Ai,Gs,Hp,Ai]})}return r})();const dnt=["topicInput"],unt=["TagInput"];function hnt(r,a){1&r&&P(0,"N\u1ed9i dung c\xe2u chuy\u1ec7n")}function pnt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function gnt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 255 k\xfd t\u1ef1 "),k())}function mnt(r,a){1&r&&P(0,"Trang tr\xed")}function fnt(r,a){1&r&&Q(0,"img",41),2&r&&x("src",S().selectedImage,oi)}function _nt(r,a){1&r&&Q(0,"img",41),2&r&&x("src",S().updatepostform.value.Image,oi)}function vnt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",42),B("removed",function(){const l=z(i).$implicit;return H(S().removeTopic(l))}),P(1),C(2,"button",43)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function bnt(r,a){if(1&r&&(C(0,"mat-option",44),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function ynt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",42),B("removed",function(){const l=z(i).$implicit;return H(S().removeTag(l))}),P(1),C(2,"button",43)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function Cnt(r,a){if(1&r&&(C(0,"mat-option",44),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function wnt(r,a){1&r&&P(0,"Ho\xe0n th\xe0nh")}function xnt(r,a){if(1&r&&(C(0,"mat-chip",47),P(1),k()),2&r){const i=a.$implicit;y(1),_e(i)}}function knt(r,a){if(1&r&&(C(0,"div")(1,"div",45)(2,"mat-chip-set",46)(3,"mat-chip",47),P(4),k()(),C(5,"span"),P(6),k()(),C(7,"div")(8,"h5"),P(9),k(),C(10,"div"),Q(11,"div",48),k()(),C(12,"div")(13,"mat-chip-set",49),I(14,xnt,2,1,"mat-chip",50),k()()()),2&r){const i=S();let n,s,l;y(4),_e(null==(n=i.updatepostform.get("TopicName"))?null:n.value),y(2),me(" ",i.currentDate," "),y(3),_e(null==(s=i.updatepostform.get("Title"))?null:s.value),y(2),x("innerHTML",null==(l=i.updatepostform.get("Content"))?null:l.value,il),y(3),x("ngForOf",i.chooseTag)}}function Dnt(r,a){1&r&&(C(0,"i",51),P(1,"*Vui l\xf2ng \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin y\xeau c\u1ea7u!"),k())}let Mse=(()=>{class r{onEditorChange({}){}constructor(i,n,s,l,d,p){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.dataService=p,this.postId="",this.subId="",this.updatepostform=this._formBuilder.group({Title:["",[Ft.required,Ft.maxLength(255)]],Content:[" ",Ft.required],Image:[""],TopicId:["",Ft.required],TopicName:["",Ft.required],Tag:[[]]}),this.currentDate=this.service.getCurrentDate(),this.isEditable=!0,this.Editor=qw(),this.selectedImage=null,this.topics=[],this.listTopic=[],this.choosetopic=[],this.topicCtrl=new Hl(""),this.announcer=st(Lp),this.separatorKeysCodes=[13,188],this.listTag=[],this.chooseTag=[],this.tagCtrl=new Hl(""),this.announcerTag=st(Lp),this.separatorKeysCodesTag=[13,188],this.editorConfig={toolbar:["undo","redo","|","heading","|","bold","italic","bulletedList","numberedList","link","insertTable","blockQuote","mediaEmbed"],placeholder:"Nh\u1eadp n\u1ed9i dung \u1edf \u0111\xe2y...",language:"vi"},this.GetAllTopic(),this.GetAllTag(),this.filteredTopics=this.topicCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTopic(f):this.listTopic.slice())),this.filteredTags=this.tagCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTag(f):this.listTag.slice()))}ngOnInit(){this.dataService.currentSubId.subscribe(i=>{this.subId=i??this.subId,this.dataService.isRequestInProgress||(this.dataService.isRequestInProgress=!0,this.getDetail(this.subId),this.dataService.isRequestInProgress=!1)})}getDetail(i){this.service.GetPostDetail(this.subId).subscribe(n=>{console.log(n.resultObj),this.postData=n.resultObj,this.updatepostform.patchValue({Tag:this.postData.tags.map(s=>s.name),Title:this.postData.title,Content:this.postData.content,Image:this.postData.image,TopicName:this.postData.topicName}),this.choosetopic.push(this.postData.topicName),this.chooseTag=this.updatepostform.value.Tag})}addTopic(i){const n=i.value;n&&this.isValueInList(n)&&(this.choosetopic.length>0?this.choosetopic[0]=n:this.choosetopic.push(n)),i.chipInput.clear(),this.topicCtrl.setValue(null)}isValueInList(i){return-1!==this.listTopic.indexOf(i)}addTag(i){const n=i.value;n&&this.isDupplication(n)&&this.chooseTag.length<=5&&this.chooseTag.push(n.trim()),i.chipInput.clear(),this.tagCtrl.setValue(null)}isDupplication(i){return!(""==i||i.trim().length>31||this.chooseTag.includes(i))}removeTag(i){const n=this.chooseTag.indexOf(i);n>=0&&(this.chooseTag.splice(n,1),this.announcerTag.announce(`Removed ${i}`))}removeTopic(i){const n=this.listTopic.indexOf(i);n>=0&&(this.choosetopic.splice(n,1),this.announcer.announce(`Removed ${i}`))}selectedTopic(i){this.choosetopic.length>0?this.choosetopic[0]=i.option.viewValue:(this.choosetopic.push(i.option.viewValue),this.topicInput.nativeElement.value="",this.topicCtrl.setValue(null))}selectedTag(i){this.isDupplication(i.option.viewValue)&&(this.chooseTag.push(i.option.viewValue),this.TagInput.nativeElement.value="",this.tagCtrl.setValue(null))}_filterTopic(i){const n=i.toLowerCase();return this.listTopic.filter(s=>s.toLowerCase().includes(n))}_filterTag(i){const n=i.toLowerCase();return this.listTag.filter(s=>s.toLowerCase().includes(n))}GetAllTopic(){this.service.GetTopic().subscribe(i=>{this.topics=i.resultObj,this.topics.forEach(n=>{this.listTopic.push(n.title),this.listTag.push(n.title)})})}GetAllTag(){this.service.GetAllTag().subscribe(i=>{this.listTag=i.resultObj})}onFileSelected(i){const n=i.files[0];if(n){if(this.checkSize(n))return;const s=new FileReader;s.onload=()=>{this.selectedImage=s.result,this.updatepostform.get("Image")?.setValue(n)},s.readAsDataURL(n)}}checkSize(i){return i.size>2097152&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 2MB."),!0)}Check(){if(this.choosetopic.length>0){const n=this.topics.find(s=>s.title===this.choosetopic[0]);n&&(this.updatepostform.get("TopicId")?.setValue(n.id),this.updatepostform.get("TopicName")?.setValue(n.title))}const i=this.updatepostform.get("Tag");return i&&i.setValue(this.chooseTag),!!this.updatepostform.valid}UpdatePost(){const i=new FormData,n=this.updatepostform;this.updatepostform.get("Image")?.value==this.postData.image&&this.updatepostform.get("Image")?.setValue(null),i.append("Id",this.postData.id||""),i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Content",n.get("Content")?.value?.trim()||""),i.append("Image",n.get("Image")?.value||""),i.append("TopicId",n.get("TopicId")?.value||"");const l=n.get("Tag")?.value;Array.isArray(l)&&l.forEach((d,p)=>{i.append(`Tag[${p}]`,d)}),this.service.UpdatePost(i).subscribe(d=>{this.router.navigate(["/discover",d.resultObj.subId]),setTimeout(()=>{this.triggerReloadDetailPage()},0),this.dialogRef.close(),this.toastr.success("\u0110\xe3 c\u1eadp nh\u1eadp b\xe0i vi\u1ebft")},d=>{const p=d.error.message;null==p?this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y"):(this.toastr.error(p),console.log(d))})}triggerReloadDetailPage(){this.dataService.triggerReloadDetailPage(this.postId)}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updatepost"]],viewQuery:function(n,s){if(1&n&&(oe(dnt,5),oe(unt,5)),2&n){let l;G(l=j())&&(s.topicInput=l.first),G(l=j())&&(s.TagInput=l.first)}},decls:71,vars:30,consts:[[1,"Post-Create-Card"],["linear",""],["stepper",""],[3,"editable"],[2,"margin-top","8px"],[3,"formGroup"],["matStepLabel",""],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.4em","line-height","0"],[4,"ngIf"],["formControlName","Content",2,"max-height","650px","overflow","auto",3,"editor","config","change"],[1,"mt-1"],["mat-raised-button","","color","primary","matStepperNext",""],[1,"image-upload-container","btn","btn-bwm","font"],[1,"mb"],["type","file","accept","image/*",1,"font",3,"change"],["imageInput",""],[1,"image-card"],["class","img-cover","alt","Selected Image",3,"src",4,"ngIf","ngIfElse"],["style","height: 300px;"],["imageCurent",""],[1,"w-100","mt-1"],["aria-label","Ch\u1ecdn 1 ch\u1ee7 \u0111\u1ec1"],["chipGrid",""],[3,"removed",4,"ngFor","ngForOf"],["matSuffix",""],["placeholder","T\xecm ki\u1ebfm ch\u1ee7 \u0111\u1ec1...",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["topicInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["aria-label","Hashtag l\xe0m cho c\xe1c b\xe0i vi\u1ebft c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c d\u1ec5 t\xecm th\u1ea5y h\u01a1n"],["chipGridTag",""],["placeholder","G\u1eafn th\u1ebb (kh\xf4ng b\u1eaft bu\u1ed9c)",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["TagInput",""],["autoTag","matAutocomplete"],["mat-button","","matStepperPrevious",""],[3,"stepControl"],[4,"ngIf","ngIfElse"],["Invalid",""],["mat-raised-button","","color","primary",3,"disabled","click"],["alt","Selected Image",1,"img-cover",3,"src"],[3,"removed"],["matChipRemove",""],[3,"value"],[1,"flex-center-sb"],["cdkDropListOrientation","horizontal"],["cdkDrag",""],[3,"innerHTML"],["cdkDropList","","cdkDropListOrientation","horizontal"],["cdkDrag","",4,"ngFor","ngForOf"],[1,"text-red"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"mat-stepper",1,2)(3,"mat-step",3),Q(4,"div",4),C(5,"form",5),I(6,hnt,1,0,"ng-template",6),C(7,"mat-form-field",7),Q(8,"input",8),I(9,pnt,2,0,"mat-error",9),I(10,gnt,2,0,"mat-error",9),k(),C(11,"div")(12,"ckeditor",10),B("change",function(p){return s.onEditorChange(p)}),k()(),C(13,"div",11)(14,"button",12),P(15,"Ti\u1ebfp theo"),k()()()(),C(16,"mat-step",3),I(17,mnt,1,0,"ng-template",6),C(18,"form",5),Q(19,"div",4),C(20,"label",13)(21,"span",14),P(22,"Ch\u1ecdn \u1ea3nh b\xeca"),k(),C(23,"input",15,16),B("change",function(){z(l);const p=ee(24);return H(s.onFileSelected(p))}),k()(),C(25,"div",17),I(26,fnt,1,1,"img",18),I(27,_nt,1,1,"ng-template",19,20,pe),k(),C(29,"mat-form-field",21)(30,"mat-chip-grid",22,23),I(32,vnt,5,2,"mat-chip-row",24),k(),C(33,"mat-label")(34,"mat-icon",25),P(35,"new_label"),k()(),C(36,"input",26,27),B("matChipInputTokenEnd",function(p){return s.addTopic(p)}),k(),C(38,"mat-autocomplete",28,29),B("optionSelected",function(p){return s.selectedTopic(p)}),I(40,bnt,2,2,"mat-option",30),le(41,"async"),k()(),C(42,"mat-form-field",7)(43,"mat-chip-grid",31,32),I(45,ynt,5,2,"mat-chip-row",24),k(),C(46,"mat-label")(47,"mat-icon",25),P(48,"tag"),k()(),C(49,"input",33,34),B("matChipInputTokenEnd",function(p){return s.addTag(p)}),k(),C(51,"mat-autocomplete",28,35),B("optionSelected",function(p){return s.selectedTag(p)}),I(53,Cnt,2,2,"mat-option",30),le(54,"async"),k()(),C(55,"div")(56,"button",36),P(57,"Quay l\u1ea1i"),k(),C(58,"button",12),P(59,"Ti\u1ebfp theo"),k()()()(),C(60,"mat-step",37),Q(61,"div",4),I(62,wnt,1,0,"ng-template",6),I(63,knt,15,5,"div",38),I(64,Dnt,2,0,"ng-template",null,39,pe),C(66,"div")(67,"button",36),P(68,"Quay l\u1ea1i"),k(),C(69,"button",40),B("click",function(){return s.UpdatePost()}),P(70,"C\u1eadp nh\u1eadp"),k()()()()()}if(2&n){const l=ee(28),d=ee(31),p=ee(39),f=ee(44),v=ee(52),D=ee(65);let E,F;y(3),x("editable",s.isEditable),y(2),x("formGroup",s.updatepostform),y(4),x("ngIf",null==(E=s.updatepostform.get("Title"))?null:E.hasError("required")),y(1),x("ngIf",null==(F=s.updatepostform.get("Title"))?null:F.hasError("maxlength")),y(2),x("editor",s.Editor)("config",s.editorConfig),y(4),x("editable",s.isEditable),y(2),x("formGroup",s.updatepostform),y(8),x("ngIf",s.selectedImage)("ngIfElse",l),y(6),x("ngForOf",s.choosetopic),y(4),x("formControl",s.topicCtrl)("matChipInputFor",d)("matAutocomplete",p)("matChipInputSeparatorKeyCodes",s.separatorKeysCodes),y(4),x("ngForOf",ln(41,26,s.filteredTopics)),y(5),x("ngForOf",s.chooseTag),y(4),x("formControl",s.tagCtrl)("matChipInputFor",f)("matAutocomplete",v)("matChipInputSeparatorKeyCodes",s.separatorKeysCodesTag),y(4),x("ngForOf",ln(54,28,s.filteredTags)),y(7),x("stepControl",s.updatepostform),y(3),x("ngIf",s.Check())("ngIfElse",D),y(6),x("disabled",!s.Check())}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,ud,Cf,Us,Fm,Cr,Fo,I5,$w,S5,yj,Cj,NS,Ww,ph,US,WS,jS,Xw,wb,tu,jo,ba,Yw,hv],styles:[".Post-Create-Card[_ngcontent-%COMP%]{max-height:650px;height:620px;min-height:100px;overflow:auto}.image-upload-container[_ngcontent-%COMP%]{position:absolute;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:#007bff;color:#fff;cursor:pointer;padding:8px 10px}.image-upload-container[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%]{background-color:#0056b3}.image-card[_ngcontent-%COMP%]{width:100%;height:300px;min-height:50px;border:8px dashed #ccc;border-width:1px;border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden}.img-cover[_ngcontent-%COMP%]{max-width:600px;object-fit:cover;max-height:300px}[_nghost-%COMP%] .ck.ck-editor{border:none!important;outline:none!important}[_nghost-%COMP%] .ck.ck-toolbar{border:none!important}[_nghost-%COMP%] .ck.ck-content{outline:none!important}[_nghost-%COMP%] .ck.ck-input{outline:none!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{box-shadow:none!important}"]})}return r})();const Ant=new $e("WindowToken",typeof window<"u"&&window.document?{providedIn:"root",factory:()=>window}:{providedIn:"root",factory:()=>{}});let W5=(()=>{class r{constructor(i,n,s){this.ngZone=i,this.document=n,this.window=s,this.copySubject=new Ge,this.copyResponse$=this.copySubject.asObservable(),this.config={}}configure(i){this.config=i}copy(i){if(!this.isSupported||!i)return this.pushCopyResponse({isSuccess:!1,content:i});const n=this.copyFromContent(i);return this.pushCopyResponse(n?{content:i,isSuccess:n}:{isSuccess:!1,content:i})}get isSupported(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}isTargetValid(i){if(i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement){if(i.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}copyFromInputElement(i,n=!0){try{this.selectTarget(i);const s=this.copyText();return this.clearSelection(n?i:void 0,this.window),s&&this.isCopySuccessInIE11()}catch{return!1}}isCopySuccessInIE11(){const i=this.window.clipboardData;return!(i&&i.getData&&!i.getData("Text"))}copyFromContent(i,n=this.document.body){if(this.tempTextArea&&!n.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{n.appendChild(this.tempTextArea)}catch{throw new Error("Container should be a Dom element")}}this.tempTextArea.value=i;const s=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),s}destroy(i=this.document.body){this.tempTextArea&&(i.removeChild(this.tempTextArea),this.tempTextArea=void 0)}selectTarget(i){return i.select(),i.setSelectionRange(0,i.value.length),i.value.length}copyText(){return this.document.execCommand("copy")}clearSelection(i,n){i&&i.focus(),n.getSelection()?.removeAllRanges()}createTempTextArea(i,n){const s="rtl"===i.documentElement.getAttribute("dir");let l;return l=i.createElement("textarea"),l.style.fontSize="12pt",l.style.border="0",l.style.padding="0",l.style.margin="0",l.style.position="absolute",l.style[s?"right":"left"]="-9999px",l.style.top=(n.pageYOffset||i.documentElement.scrollTop)+"px",l.setAttribute("readonly",""),l}pushCopyResponse(i){this.copySubject.observers.length>0&&this.ngZone.run(()=>{this.copySubject.next(i)})}pushCopyReponse(i){this.pushCopyResponse(i)}}return r.\u0275fac=function(i){return new(i||r)(De(et),De(Tt),De(Ant,8))},r.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),Int=(()=>{class r{}return r.\u0275fac=function(i){return new(i||r)},r.\u0275mod=Ht({type:r}),r.\u0275inj=zt({imports:[Gs]}),r})();function Snt(r,a){if(1&r){const i=ce();C(0,"button",32),B("click",function(){return z(i),H(S().toggleThumb())}),C(1,"span",6),P(2," thumb_up "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.likeNumber," ")}}function Tnt(r,a){if(1&r){const i=ce();C(0,"button",33),B("click",function(){return z(i),H(S().toggleThumb())}),C(1,"span",34),P(2," thumb_up "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.likeNumber," ")}}function Ent(r,a){if(1&r){const i=ce();C(0,"button",35),B("click",function(){return z(i),H(S().IsSave())}),C(1,"span",6),P(2," bookmark_add "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.saveNumber," ")}}function Mnt(r,a){if(1&r){const i=ce();C(0,"button",36),B("click",function(){return z(i),H(S().IsSave())}),C(1,"span",34),P(2," bookmark_added "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.saveNumber," ")}}function Rnt(r,a){if(1&r){const i=ce();C(0,"div")(1,"button",37),B("click",function(){return z(i),H(S().updatePost())}),C(2,"span",6),P(3," edit "),k()(),C(4,"button",38),B("click",function(){return z(i),H(S().deletePost())}),C(5,"span",6),P(6," delete "),k()()()}}function Pnt(r,a){1&r&&Q(0,"img",39)}function Ont(r,a){if(1&r&&Q(0,"img",40),2&r){const i=S();ri("src",null==i.postData||null==i.postData.userShort?null:i.postData.userShort.image,oi)}}function Fnt(r,a){if(1&r){const i=ce();C(0,"mat-chip",43),B("click",function(){const l=z(i).$implicit;return H(S(2).findByTag(l.name))}),C(1,"span",44),P(2),k()()}if(2&r){const i=a.$implicit;y(2),me(" ",i.name," ")}}function Nnt(r,a){if(1&r&&(C(0,"div",41)(1,"mat-icon",25),P(2,"tag"),k(),I(3,Fnt,3,1,"mat-chip",42),k()),2&r){const i=S();y(3),x("ngForOf",null==i.postData?null:i.postData.tags)}}function Lnt(r,a){if(1&r){const i=ce();C(0,"div",18)(1,"a",45),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),Q(2,"img",46),C(3,"div",47)(4,"span",48),P(5),k()()()()}if(2&r){const i=a.$implicit;y(2),ri("src",i.image,oi),y(3),_e(i.title)}}let Bnt=(()=>{class r{constructor(i,n,s,l,d,p,f,v,D,E){this.route=i,this.router=n,this.service=s,this.dataService=l,this.dialog=d,this.session=p,this.toastr=f,this.overlay=v,this.clipboardService=D,this.location=E,this.reloadSubscription=null,this.postData=null,this.posts=[],this.postId="",this.isThumbUp=null,this.isSave=null,this.currentUrl="",this.likeNumber=0,this.saveNumber=0,this.commentNum=0,this.userIdOfPost="",this.route.params.subscribe(F=>{this.postId=F.postId??""}),this.getDetail(),this.getInteract(),this.currentUrl=this.location.path()}ngOnInit(){this.reloadSubscription=this.dataService.reloadDetailPage$.subscribe(i=>{""!=i&&i&&(this.postId=i,this.router.navigate([],{relativeTo:this.route}),this.getDetail())})}getDetail(){this.service.GetPostDetail(this.postId).subscribe(i=>{if(this.postData=i.resultObj,this.likeNumber=i.resultObj.likeNumber,this.saveNumber=i.resultObj.saveNumber,this.commentNum=i.resultObj.commentNumber,this.userIdOfPost=i.resultObj.userShort.id,this.postData){const n=fi(this.postData.createdAt),s=fi(this.postData.updatedAt??"");isNaN(n.getTime())||(this.postData.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(this.postData.updatedAt=_i(s,"dd-MM-yyyy"))}this.getPosts()})}postDetail(i){const n=i.subId;this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate(["/discover",n])}getInteract(){this.session.getUserId()&&(this.service.getLike(this.postId,this.session.getUserId()||"").subscribe(i=>{this.isThumbUp=i.resultObj.check},i=>{console.error(i)}),this.service.getSave(this.postId,this.session.getUserId()||"").subscribe(i=>{this.isSave=i.resultObj.check},i=>{console.error(i)}))}getPosts(){this.service.getRandomPost(8).subscribe(i=>{this.posts=i.resultObj.filter(s=>s.id!==this.postData?.id)},i=>{console.error("L\u1ed7i: ",i)})}findByTag(i){this.dataService.changeKeyword("#"+i),this.router.navigate(["/searchposts"])}toggleThumb(){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const i=new FormData;i.append("PostId",this.postId),i.append("UserId",this.session.getUserId()??""),this.service.LikeOrUnlike(i).subscribe(n=>{const s=n.resultObj;this.isThumbUp=s.check,this.likeNumber=s.quantity})}IsSave(){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const i=new FormData;i.append("PostId",this.postId),i.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSave(i).subscribe(n=>{const s=n.resultObj;this.isSave=s.check,this.saveNumber=s.quantity})}Report(){this.session.getUserId()?this.openDialog("10ms","10ms"):this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!")}openDialog(i,n){this.dialog.open(JXe,{enterAnimationDuration:i,exitAnimationDuration:n,width:"900px",height:"500px",data:{SubId:this.postId}})}comment(){this.openDialogComment("10ms","10ms")}openDialogComment(i,n){(new MS).hasBackdrop=!1,this.dialog.open(Fit,{enterAnimationDuration:i,exitAnimationDuration:n,width:"414px",height:"100%",data:{SubId:this.postId},panelClass:"right-aligned-dialog",backdropClass:"custom-backdrop",scrollStrategy:this.overlay.scrollStrategies.noop()})}getComment(){this.service.getPostComment(this.postId).subscribe(i=>{this.commentNum=i.resultObj.length})}updatePost(){this.dataService.changeSubId(this.postId),this.openDialogUpdatePost("100ms","600ms")}openDialogUpdatePost(i,n){this.dialog.open(Mse,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}deletePost(){this.service.DeletePost(this.postData?.id??"").subscribe(i=>{i.isSuccessed?(this.toastr.success("X\xf3a b\xe0i th\xe0nh c\xf4ng"),this.router.navigate(["/discover"])):this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}copyToClipboard(){this.clipboardService.copy(this.service.getUrl()+this.currentUrl),this.toastr.info("\u0110\xe3 sao ch\xe9p \u0111\u01b0\u1eddng link")}canEditDelete(){return this.session.getUserId()==this.userIdOfPost}static#e=this.\u0275fac=function(n){return new(n||r)(T(_c),T(di),T(In),T(Fr),T(Dc),T(Rn),T(Mi),T(_a),T(W5),T(Gu))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-postdetail"]],decls:56,vars:17,consts:[[1,"po-re"],[2,"position","fixed"],[1,"interact"],["mat-icon-button","","matTooltip","Th\xedch","matTooltipPosition","left","class","btn-interact",3,"click",4,"ngIf","ngIfElse"],["liked",""],["matTooltip","B\xecnh lu\u1eadn","matTooltipPosition","left","mat-icon-button","",1,"btn-interact",3,"click"],[1,"material-symbols-outlined"],[1,"likeNumber"],["matTooltip","L\u01b0u xem sau","matTooltipPosition","left","mat-icon-button","","class","btn-interact",3,"click",4,"ngIf","ngIfElse"],["saved",""],["matTooltip","B\xe1o c\xe1o","matTooltipPosition","left","mat-icon-button","",1,"dis-flex",3,"click"],["matTooltip","Copy","matTooltipPosition","left","mat-icon-button","","title","Chia s\u1ebb link b\xe0i vi\u1ebft",1,"dis-flex",3,"click"],[4,"ngIf"],[1,"mt-50","plr-200","dis-flex","mh-page"],[1,"font",2,"flex-grow","1"],[1,"flex-center-sb"],["cdkDropListOrientation","horizontal"],["cdkDrag",""],[1,"dis-flex"],["avaterdefault",""],[1,"pr"],["alt","","class","icon-24","style","margin-left: 8px;",3,"src",4,"ngIf","ngIfElse"],[1,"font","fw-6"],[1,"font",2,"margin","16px 0px",3,"innerHTML"],["matTooltipPosition","left",1,"flex-center-h","cursor-d",3,"matTooltip"],["matSuffix",""],["cdkDropList","","cdkDropListOrientation","horizontal"],["class","flex-center-h",4,"ngIf"],[1,"card_more"],[2,"text-align","center"],[2,"margin-top","4px"],["class","dis-flex",4,"ngFor","ngForOf"],["mat-icon-button","","matTooltip","Th\xedch","matTooltipPosition","left",1,"btn-interact",3,"click"],["mat-icon-button","","matTooltip","B\u1ecf th\xedch","matTooltipPosition","left",1,"selected","btn-interact",3,"click"],[1,"material-symbols-outlined","selected-icon"],["matTooltip","L\u01b0u xem sau","matTooltipPosition","left","mat-icon-button","",1,"btn-interact",3,"click"],["matTooltip","B\u1ecf l\u01b0u","matTooltipPosition","left","mat-icon-button","",1,"selected","btn-interact",3,"click"],["matTooltip","S\u1eeda b\xe0i","matTooltipPosition","left","mat-icon-button","",1,"dis-flex",3,"click"],["matTooltip","X\xf3a b\xe0i","matTooltipPosition","left","mat-icon-button","",1,"dis-flex",2,"display","block",3,"click"],["src","assets/Icon/user.png","alt","",1,"icon-24"],["alt","",1,"icon-24",2,"margin-left","8px",3,"src"],[1,"flex-center-h"],["matTooltip","T\xecm ki\u1ebfm tag n\xe0y","matTooltipPosition","below","cdkDrag","",3,"click",4,"ngFor","ngForOf"],["matTooltip","T\xecm ki\u1ebfm tag n\xe0y","matTooltipPosition","below","cdkDrag","",3,"click"],[2,"cursor","pointer"],[1,"small-post-card","plr-12","font","pt","pb",3,"click"],["alt","","loading","lazy",1,"post-img",3,"src"],[1,"pl",2,"display","inline-block"],[1,"text-3-line"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2),I(3,Snt,5,1,"button",3),I(4,Tnt,5,1,"ng-template",null,4,pe),C(6,"button",5),B("click",function(){return s.comment()}),C(7,"span",6),P(8," forum "),k(),C(9,"div",7),P(10),k()(),I(11,Ent,5,1,"button",8),I(12,Mnt,5,1,"ng-template",null,9,pe),C(14,"button",10),B("click",function(){return s.Report()}),C(15,"span",6),P(16," error "),k()(),C(17,"button",11),B("click",function(){return s.copyToClipboard()}),C(18,"span",6),P(19," content_copy "),k()(),I(20,Rnt,7,0,"div",12),k()()(),C(21,"div",13)(22,"div",14)(23,"div",15)(24,"mat-chip-set",16)(25,"mat-chip",17),P(26),k()(),C(27,"div",18),I(28,Pnt,1,0,"ng-template",null,19,pe),C(30,"span",20),P(31),k(),I(32,Ont,1,1,"img",21),k()(),C(33,"div")(34,"h1",22),P(35),k(),C(36,"div"),Q(37,"p",23),C(38,"div",15)(39,"div")(40,"strong"),P(41),k()(),C(42,"div",24)(43,"mat-icon",25),P(44,"today"),k(),P(45),k()()()(),C(46,"div")(47,"mat-chip-set",26),I(48,Nnt,4,1,"div",27),k()()(),C(49,"div",28)(50,"div",29)(51,"p",30)(52,"strong"),P(53,"C\xe1c b\xe0i vi\u1ebft li\xean quan"),k()()(),C(54,"div"),I(55,Lnt,6,2,"div",31),k()()()),2&n){const l=ee(5),d=ee(13),p=ee(29);let f;y(3),x("ngIf",!s.isThumbUp)("ngIfElse",l),y(7),me(" ",s.commentNum," "),y(1),x("ngIf",!s.isSave)("ngIfElse",d),y(9),x("ngIf",s.canEditDelete()),y(6),_e(null==s.postData?null:s.postData.topicName),y(5),_e(null==s.postData||null==s.postData.userShort?null:s.postData.userShort.fullName),y(1),x("ngIf",""!==(null==s.postData||null==s.postData.userShort?null:s.postData.userShort.image))("ngIfElse",p),y(3),_e(null==s.postData?null:s.postData.title),y(2),x("innerHTML",null==s.postData?null:s.postData.content,il),y(4),me("L\u01b0\u1ee3t xem: ",null==s.postData?null:s.postData.viewNumber,""),y(1),ri("matTooltip",null!=s.postData&&s.postData.updatedAt?"Ng\xe0y c\u1eadp nh\u1eadp":"Ng\xe0y t\u1ea1o"),y(3),me(" ",null!==(f=null==s.postData?null:s.postData.updatedAt)&&void 0!==f?f:null==s.postData?null:s.postData.createdAt," "),y(3),x("ngIf",null==s.postData||null==s.postData.tags?null:s.postData.tags.length),y(7),x("ngForOf",s.posts)}},dependencies:[Vt,Qe,Us,wr,Fo,ph,wb,er]})}return r})();const Vnt=["trigger"],znt=["panel"];function Hnt(r,a){if(1&r&&(C(0,"span",10),P(1),k()),2&r){const i=S();y(1),_e(i.placeholder)}}function Gnt(r,a){if(1&r&&(C(0,"span",14),P(1),k()),2&r){const i=S(2);y(1),_e(i.triggerValue)}}function jnt(r,a){1&r&&Ie(0,0,["*ngSwitchCase","true"])}function $nt(r,a){1&r&&(C(0,"span",11),I(1,Gnt,2,1,"span",12),I(2,jnt,1,0,"ng-content",13),k()),2&r&&(x("ngSwitch",!!S().customTrigger),y(2),x("ngSwitchCase",!0))}function Unt(r,a){if(1&r){const i=ce();mr(),vt(),C(0,"div",15,16),B("@transformPanel.done",function(s){return z(i),H(S()._panelDoneAnimatingStream.next(s.toState))})("keydown",function(s){return z(i),H(S()._handleKeydown(s))}),Ie(2,1),k()}if(2&r){const i=S();Wd("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",i._getPanelTheme(),""),x("ngClass",i.panelClass)("@transformPanel","showing"),ge("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}const Wnt=[[["mat-select-trigger"]],"*"],qnt=["mat-select-trigger","*"],Knt={transformPanelWrap:hr("transformPanelWrap",[Fi("* => void",GC("@transformPanel",[HC()],{optional:!0}))]),transformPanel:hr("transformPanel",[yn("void",gt({opacity:0,transform:"scale(1, 0.8)"})),Fi("void => showing",Di("120ms cubic-bezier(0, 0, 0.2, 1)",gt({opacity:1,transform:"scale(1, 1)"}))),Fi("* => void",Di("100ms linear",gt({opacity:0})))])};let Rse=0;const Pse=new $e("mat-select-scroll-strategy"),Qnt=new $e("MAT_SELECT_CONFIG"),Xnt={provide:Pse,deps:[_a],useFactory:function Ynt(r){return()=>r.scrollStrategies.reposition()}},Znt=new $e("MatSelectTrigger");class Jnt{constructor(a,i){this.source=a,this.value=i}}const eot=Om(Sv(Vp(t8(class{constructor(r,a,i,n,s){this._elementRef=r,this._defaultErrorStateMatcher=a,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s,this.stateChanges=new Ge}}))));let tot=(()=>{class r extends eot{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(i){this._placeholder=i,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ft.required)??!1}set required(i){this._required=Et(i),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(i){this._multiple=Et(i)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(i){this._disableOptionCentering=Et(i)}get compareWith(){return this._compareWith}set compareWith(i){this._compareWith=i,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(i){this._assignValue(i)&&this._onChange(i)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(i){this._typeaheadDebounceInterval=Ba(i)}get id(){return this._id}set id(i){this._id=i||this._uid,this.stateChanges.next()}constructor(i,n,s,l,d,p,f,v,D,E,F,L,$,q){super(d,l,f,v,E),this._viewportRuler=i,this._changeDetectorRef=n,this._ngZone=s,this._dir=p,this._parentFormField=D,this._liveAnnouncer=$,this._defaultOptions=q,this._panelOpen=!1,this._compareWith=(Z,se)=>Z===se,this._uid="mat-select-"+Rse++,this._triggerAriaLabelledBy=null,this._destroy=new Ge,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Rse++,this._panelDoneAnimatingStream=new Ge,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=mv(()=>{const Z=this.options;return Z?Z.changes.pipe(go(Z),Jn(()=>rn(...Z.map(se=>se.onSelectionChange)))):this._ngZone.onStable.pipe(An(1),Jn(()=>this.optionSelectionChanges))}),this.openedChange=new X,this._openedStream=this.openedChange.pipe(xi(Z=>Z),Rt(()=>{})),this._closedStream=this.openedChange.pipe(xi(Z=>!Z),Rt(()=>{})),this.selectionChange=new X,this.valueChange=new X,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),null!=q?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=q.typeaheadDebounceInterval),this._scrollStrategyFactory=L,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(F)||0,this.id=this.id}ngOnInit(){this._selectionModel=new zXe(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Qs(),xe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(xe(this._destroy)).subscribe(i=>{i.added.forEach(n=>n.select()),i.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(go(null),xe(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const i=this._getTriggerAriaLabelledby(),n=this.ngControl;if(i!==this._triggerAriaLabelledBy){const s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=i,i?s.setAttribute("aria-labelledby",i):s.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(void 0!==this._previousControl&&null!==n.disabled&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(i){(i.disabled||i.userAriaDescribedBy)&&this.stateChanges.next(),i.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){const i=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!i)return;const n=`${this.id}-panel`;this._trackedModal&&qC(this._trackedModal,"aria-owns",n),w3(i,"aria-owns",n),this._trackedModal=i}_clearFromModal(){this._trackedModal&&(qC(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(i){this._assignValue(i)}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const i=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&i.reverse(),i.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(i){this.disabled||(this.panelOpen?this._handleOpenKeydown(i):this._handleClosedKeydown(i))}_handleClosedKeydown(i){const n=i.keyCode,s=40===n||38===n||37===n||39===n,l=13===n||32===n,d=this._keyManager;if(!d.isTyping()&&l&&!Nr(i)||(this.multiple||i.altKey)&&s)i.preventDefault(),this.open();else if(!this.multiple){const p=this.selected;d.onKeydown(i);const f=this.selected;f&&p!==f&&this._liveAnnouncer.announce(f.viewValue,1e4)}}_handleOpenKeydown(i){const n=this._keyManager,s=i.keyCode,l=40===s||38===s,d=n.isTyping();if(l&&i.altKey)i.preventDefault(),this.close();else if(d||13!==s&&32!==s||!n.activeItem||Nr(i))if(!d&&this._multiple&&65===s&&i.ctrlKey){i.preventDefault();const p=this.options.some(f=>!f.disabled&&!f.selected);this.options.forEach(f=>{f.disabled||(p?f.select():f.deselect())})}else{const p=n.activeItemIndex;n.onKeydown(i),this._multiple&&l&&i.shiftKey&&n.activeItem&&n.activeItemIndex!==p&&n.activeItem._selectViaInteraction()}else i.preventDefault(),n.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(An(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(i){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&i)Array.isArray(i),i.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{const n=this._selectOptionByValue(i);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(i){const n=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return null!=s.value&&this._compareWith(s.value,i)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(i){return!!(i!==this._value||this._multiple&&Array.isArray(i))&&(this.options&&this._setSelectionByValue(i),this._value=i,!0)}_skipPredicate(i){return i.disabled}_initKeyManager(){this._keyManager=new XQ(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const i=rn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(xe(i)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),rn(...this.options.map(n=>n._stateChanges)).pipe(xe(i)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(i,n){const s=this._selectionModel.isSelected(i);null!=i.value||this._multiple?(s!==i.selected&&(i.selected?this._selectionModel.select(i):this._selectionModel.deselect(i)),n&&this._keyManager.setActiveItem(i),this.multiple&&(this._sortValues(),n&&this.focus())):(i.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(i.value)),s!==this._selectionModel.isSelected(i)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const i=this.options.toArray();this._selectionModel.sort((n,s)=>this.sortComparator?this.sortComparator(n,s,i):i.indexOf(n)-i.indexOf(s)),this.stateChanges.next()}}_propagateChanges(i){let n=null;n=this.multiple?this.selected.map(s=>s.value):this.selected?this.selected.value:i,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let i=-1;for(let n=0;n0}focus(i){this._elementRef.nativeElement.focus(i)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const i=this._parentFormField?.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const i=this._parentFormField?.getLabelId();let n=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(i){this.openedChange.emit(i)}setDescribedByIds(i){i.length?this._elementRef.nativeElement.setAttribute("aria-describedby",i.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}static#e=this.\u0275fac=function(n){return new(n||r)(T(Rm),T(rt),T(et),T(Ev),T(ke),T(Yr,8),T(iw,8),T(jo,8),T(Gw,8),T(ws,10),Ns("tabindex"),T(Pse),T(Lp),T(Qnt,8))};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&(oe(Vnt,5),oe(znt,5),oe(vX,5)),2&n){let l;G(l=j())&&(s.trigger=l.first),G(l=j())&&(s.panel=l.first),G(l=j())&&(s._overlayDir=l.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[Ae,ci]})}return r})(),iot=(()=>{class r extends tot{constructor(){super(...arguments),this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=i=>!this.panelOpen&&i.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(xe(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}open(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(i){const n=this.options.toArray()[i];if(n){const s=this.panel.nativeElement,l=EX(i,this.options,this.optionGroups),d=n._getHostElement();s.scrollTop=0===i&&1===l?0:MX(d.offsetTop,d.offsetHeight,s.scrollTop,s.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(i){return new Jnt(this,i)}_getOverlayWidth(i){return"auto"===this.panelWidth?(i instanceof e8?i.elementRef:i||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=Et(i),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const i of this.options)i._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-select"]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,Znt,5),Fe(l,Fm,5),Fe(l,r8,5)),2&n){let d;G(d=j())&&(s.customTrigger=d.first),G(d=j())&&(s.options=d),G(d=j())&&(s.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,s){1&n&&B("keydown",function(d){return s._handleKeydown(d)})("focus",function(){return s._onFocus()})("blur",function(){return s._onBlur()}),2&n&&(ge("id",s.id)("tabindex",s.tabIndex)("aria-controls",s.panelOpen?s.id+"-panel":null)("aria-expanded",s.panelOpen)("aria-label",s.ariaLabel||null)("aria-required",s.required.toString())("aria-disabled",s.disabled.toString())("aria-invalid",s.errorState)("aria-activedescendant",s._getAriaActiveDescendant()),Se("mat-mdc-select-disabled",s.disabled)("mat-mdc-select-invalid",s.errorState)("mat-mdc-select-required",s.required)("mat-mdc-select-empty",s.empty)("mat-mdc-select-multiple",s.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",panelWidth:"panelWidth",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[Ye([{provide:f5,useExisting:r},{provide:o8,useExisting:r}]),Ae],ngContentSelectors:qnt,decls:11,vars:10,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(n,s){if(1&n&&(pt(Wnt),C(0,"div",0,1),B("click",function(){return s.toggle()}),C(3,"div",2),I(4,Hnt,2,1,"span",3),I(5,$nt,3,2,"span",4),k(),C(6,"div",5)(7,"div",6),mr(),C(8,"svg",7),Q(9,"path",8),k()()()(),I(10,Unt,3,9,"ng-template",9),B("backdropClick",function(){return s.close()})("attach",function(){return s._onAttached()})("detach",function(){return s.close()})),2&n){const l=ee(1);y(3),x("ngSwitch",s.empty),ge("id",s._valueId),y(1),x("ngSwitchCase",!0),y(1),x("ngSwitchCase",!1),y(5),x("cdkConnectedOverlayPanelClass",s._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",s._scrollStrategy)("cdkConnectedOverlayOrigin",s._preferredOverlayOrigin||l)("cdkConnectedOverlayOpen",s.panelOpen)("cdkConnectedOverlayPositions",s._positions)("cdkConnectedOverlayWidth",s._overlayWidth)}},dependencies:[Xt,ed,ju,yC,vX,e8],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Knt.transformPanel]},changeDetection:0})}return r})(),Ose=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[Xnt],imports:[Gs,Pm,P3,Ai,kv,_5,P3,Ai]})}return r})();function not(r,a){if(1&r&&(C(0,"mat-option",19),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function oot(r,a){if(1&r){const i=ce();C(0,"mat-form-field",16)(1,"mat-select",17),B("selectionChange",function(s){return z(i),H(S(2)._changePageSize(s.value))}),I(2,not,2,2,"mat-option",18),k()()}if(2&r){const i=S(2);x("appearance",i._formFieldAppearance)("color",i.color),y(1),x("value",i.pageSize)("disabled",i.disabled)("aria-labelledby",i._pageSizeLabelId)("panelClass",i.selectConfig.panelClass||"")("disableOptionCentering",i.selectConfig.disableOptionCentering),y(1),x("ngForOf",i._displayedPageSizeOptions)}}function rot(r,a){if(1&r&&(C(0,"div",20),P(1),k()),2&r){const i=S(2);y(1),_e(i.pageSize)}}function sot(r,a){if(1&r&&(C(0,"div",12)(1,"div",13),P(2),k(),I(3,oot,3,8,"mat-form-field",14),I(4,rot,2,1,"div",15),k()),2&r){const i=S();y(1),ri("id",i._pageSizeLabelId),y(1),me(" ",i._intl.itemsPerPageLabel," "),y(1),x("ngIf",i._displayedPageSizeOptions.length>1),y(1),x("ngIf",i._displayedPageSizeOptions.length<=1)}}function aot(r,a){if(1&r){const i=ce();C(0,"button",21),B("click",function(){return z(i),H(S().firstPage())}),mr(),C(1,"svg",7),Q(2,"path",22),k()()}if(2&r){const i=S();x("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),ge("aria-label",i._intl.firstPageLabel)}}function lot(r,a){if(1&r){const i=ce();mr(),vt(),C(0,"button",23),B("click",function(){return z(i),H(S().lastPage())}),mr(),C(1,"svg",7),Q(2,"path",24),k()()}if(2&r){const i=S();x("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),ge("aria-label",i._intl.lastPageLabel)}}let Zw=(()=>{class r{constructor(){this.changes=new Ge,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(i,n,s)=>{if(0==s||0==n)return`0 of ${s}`;const l=i*n;return`${l+1} \u2013 ${l<(s=Math.max(s,0))?Math.min(l+n,s):l+n} of ${s}`}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const dot={provide:Zw,deps:[[new da,new Ml,Zw]],useFactory:function cot(r){return r||new Zw}},hot=new $e("MAT_PAGINATOR_DEFAULT_OPTIONS"),pot=Vp(CX(class{}));let got=(()=>{class r extends pot{get pageIndex(){return this._pageIndex}set pageIndex(i){this._pageIndex=Math.max(Ba(i),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(i){this._length=Ba(i),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(i){this._pageSize=Math.max(Ba(i),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(i){this._pageSizeOptions=(i||[]).map(n=>Ba(n)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(i){this._hidePageSize=Et(i)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(i){this._showFirstLastButtons=Et(i)}constructor(i,n,s){if(super(),this._intl=i,this._changeDetectorRef=n,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new X,this._intlChanges=i.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),s){const{pageSize:l,pageSizeOptions:d,hidePageSize:p,showFirstLastButtons:f}=s;null!=l&&(this._pageSize=l),null!=d&&(this._pageSizeOptions=d),null!=p&&(this._hidePageSize=p),null!=f&&(this._showFirstLastButtons=f)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const i=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(i)}previousPage(){if(!this.hasPreviousPage())return;const i=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(i)}firstPage(){if(!this.hasPreviousPage())return;const i=this.pageIndex;this.pageIndex=0,this._emitPageEvent(i)}lastPage(){if(!this.hasNextPage())return;const i=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(i)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const i=this.getNumberOfPages()-1;return this.pageIndexi-n),this._changeDetectorRef.markForCheck())}_emitPageEvent(i){this.page.emit({previousPageIndex:i,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[Ae]})}return r})(),mot=0,xb=(()=>{class r extends got{constructor(i,n,s){super(i,n,s),this._pageSizeLabelId="mat-paginator-page-size-label-"+mot++,this._formFieldAppearance=s?.formFieldAppearance||"outline"}static#e=this.\u0275fac=function(n){return new(n||r)(T(Zw),T(rt),T(hot,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[Ae],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1),I(2,sot,5,4,"div",2),C(3,"div",3)(4,"div",4),P(5),k(),I(6,aot,3,5,"button",5),C(7,"button",6),B("click",function(){return s.previousPage()}),mr(),C(8,"svg",7),Q(9,"path",8),k()(),vt(),C(10,"button",9),B("click",function(){return s.nextPage()}),mr(),C(11,"svg",7),Q(12,"path",10),k()(),I(13,lot,3,5,"button",11),k()()()),2&n&&(y(2),x("ngIf",!s.hidePageSize),y(3),me(" ",s._intl.getRangeLabel(s.pageIndex,s.pageSize,s.length)," "),y(1),x("ngIf",s.showFirstLastButtons),y(1),x("matTooltip",s._intl.previousPageLabel)("matTooltipDisabled",s._previousButtonsDisabled())("matTooltipPosition","above")("disabled",s._previousButtonsDisabled()),ge("aria-label",s._intl.previousPageLabel),y(3),x("matTooltip",s._intl.nextPageLabel)("matTooltipDisabled",s._nextButtonsDisabled())("matTooltipPosition","above")("disabled",s._nextButtonsDisabled()),ge("aria-label",s._intl.nextPageLabel),y(3),x("ngIf",s.showFirstLastButtons))},dependencies:[Vt,Qe,wr,ml,iot,Fm,er],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size)}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return r})(),fot=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[dot],imports:[Gs,C5,Ose,l8]})}return r})();const _ot=["innerContainer"];function vot(r,a){if(1&r){const i=ce();C(0,"mat-chip-option",18),B("click",function(){const l=z(i).$implicit;return H(S().selectTag(l))}),P(1),k()}if(2&r){const i=a.$implicit;x("selected",S().selectedTag===i),y(1),_e(i)}}function bot(r,a){if(1&r){const i=ce();C(0,"button",32),B("click",function(s){z(i);const l=S().$implicit;return H(S().IsSave(l,s))}),C(1,"mat-icon",33),P(2," bookmark_add "),k()()}}function yot(r,a){if(1&r){const i=ce();C(0,"button",34),B("click",function(s){z(i);const l=S().$implicit;return H(S().IsSave(l,s))}),C(1,"mat-icon",35),P(2," bookmark_added "),k()()}}function Cot(r,a){if(1&r&&(C(0,"span",36),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.userShort.fullName)}}function wot(r,a){1&r&&P(0),2&r&&_e(S().$implicit.userShort.fullName)}function xot(r,a){if(1&r&&(C(0,"div"),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.createdAt)}}function kot(r,a){1&r&&P(0),2&r&&_e(S().$implicit.updatedAt)}function Dot(r,a){if(1&r){const i=ce();C(0,"div",19)(1,"div"),I(2,bot,3,0,"button",20),I(3,yot,3,0,"ng-template",null,21,pe),k(),C(5,"a",22),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),Q(6,"img",23),C(7,"strong",24),P(8),k(),C(9,"div",25),Q(10,"img",26),I(11,Cot,2,1,"span",27),I(12,wot,1,1,"ng-template",28,29,pe),k(),C(14,"div",2)(15,"div"),P(16),k(),C(17,"div"),I(18,xot,2,1,"div",30),I(19,kot,1,1,"ng-template",null,31,pe),k()()()()}if(2&r){const i=a.$implicit,n=ee(4),s=ee(13),l=ee(20);y(2),x("ngIf",!i.isSaved)("ngIfElse",n),y(4),ri("src",i.image,oi),y(2),_e(i.title),y(2),ri("src",""===i.userShort.image?"assets/Icon/user.png":i.userShort.image,oi),y(1),x("ngIf",""!==i.userShort.fullName)("ngIfElse",s),y(5),me(" ",i.viewNumber," l\u01b0\u1ee3t xem "),y(2),x("ngIf",null==i.updatedAt)("ngIfElse",l)}}const Aot=function(){return[12,24,36]};let Iot=(()=>{class r{constructor(i,n,s,l,d){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.posts=[],this.tags=[],this.selectedTag=null,this.isSave=null,this.postFpk={userId:this.session.getUserId()??"",postId:""},this.postSaved=[],this.postNews=[],this.currentPage=1,this.pageSize=12,this.getPosts(),this.getTags(20),this.session.getUserId()&&this.GetSaved()}selectTag(i){this.selectedTag===i?(this.selectedTag=null,this.getPosts()):(this.selectedTag=i,this.service.getpostbytag(i).subscribe(n=>{this.posts=n.resultObj,this.updatePagedPosts(),this.posts.forEach(s=>{if(s){const l=fi(s.createdAt),d=fi(s.updatedAt??"");isNaN(l.getTime())||(s.createdAt=_i(l,"dd-MM-yyyy")),isNaN(d.getTime())||(s.updatedAt=_i(d,"dd-MM-yyyy"))}})},n=>{console.error("Error fetching posts:",n)}))}getTags(i){this.service.GetTopTags(i).subscribe(n=>{this.tags=n.resultObj})}scrollLeft(){this.innerContainer&&(this.innerContainer.nativeElement.scrollLeft-=900)}scrollRight(){this.innerContainer&&(this.innerContainer.nativeElement.scrollLeft+=900)}postDetail(i){this.router.navigate(["/discover",i.subId])}getPosts(){this.service.GetPost().subscribe(i=>{this.posts=i.resultObj,this.ConvertDate(),this.updatePagedPosts()},i=>{console.error("Error fetching posts:",i)})}ConvertDate(){this.posts.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}IsSave(i,n){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const s=new FormData;s.append("PostId",i.subId),s.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSave(s).subscribe(l=>{i.isSaved=!i.isSaved}),n.stopPropagation()}GetSaved(){this.service.GetMyPostSaved().subscribe(i=>{this.postSaved=i.resultObj,this.posts.forEach(n=>{n.isSaved=this.checkSave(n)})})}checkSave(i){return!!this.postSaved.some(n=>n.id===i.id)&&(i.isSaved=!0,!0)}search(){this.keyWord?.trim()&&(this.dataService.changeKeyword(this.keyWord),this.router.navigate(["/searchposts"]))}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedPosts()}updatePagedPosts(){const i=(this.currentPage-1)*this.pageSize;this.postNews=this.posts.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-discover"]],viewQuery:function(n,s){if(1&n&&oe(_ot,5),2&n){let l;G(l=j())&&(s.innerContainer=l.first)}},decls:25,vars:8,consts:[[1,"mt-60"],[1,"plr-200"],[1,"flex-center-sb"],[1,"card-title"],[1,"search-container"],["type","text","matInput","","placeholder","T\xecm ki\u1ebfm",1,"input-search","font",3,"ngModel","ngModelChange","keyup.enter"],[1,"btn-search",3,"click"],["matSuffix","","matRipple","",1,"mr","btn-search-icon"],[1,"flex-container"],["mat-icon-button","",1,"scroll-button",3,"click"],[1,"material-symbols-outlined"],["mat-chip-listbox","",1,"inner-container"],["innerContainer",""],["style","margin-bottom: 4px;","class","ml-1 mat-chip-tag",3,"selected","click",4,"ngFor","ngForOf"],["mat-icon-button","",1,"scroll-button",2,"margin-left","8px",3,"click"],[2,"text-align","center"],["style","display: inline-flex;",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],[1,"ml-1","mat-chip-tag",2,"margin-bottom","4px",3,"selected","click"],[2,"display","inline-flex"],["matTooltip","L\u01b0u v\xe0o xem sau","matTooltipPosition","right","mat-mini-fab","","class","btn-interact po-ab","style","margin-top: 16px; margin-left: 12px;background-color: #00000073 ;",3,"click",4,"ngIf","ngIfElse"],["saved",""],[1,"card-post","plr-12","font","pt-1",3,"click"],["alt","","loading","lazy",1,"post-img",3,"src"],[1,"text-2-line",2,"text-align","start"],[1,"dis-flex","mt"],["alt","",1,"icon-24",3,"src"],["class","pl-1 w-90 of-h",4,"ngIf","ngIfElse"],["class","pl-1"],["fullname",""],[4,"ngIf","ngIfElse"],["updateAt",""],["matTooltip","L\u01b0u v\xe0o xem sau","matTooltipPosition","right","mat-mini-fab","",1,"btn-interact","po-ab",2,"margin-top","16px","margin-left","12px","background-color","#00000073",3,"click"],[1,"material-symbols-outlined","text-white"],["mat-mini-fab","",1,"selected","btn-interact","po-ab",2,"margin-top","16px","margin-left","12px",3,"click"],["color","primary",1,"material-symbols-outlined","selected-icon","text-white"],[1,"pl-1","w-90","of-h"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),P(4,"Kh\xe1m ph\xe1 l\u1ecbch s\u1eed"),k(),C(5,"div",4)(6,"input",5),B("ngModelChange",function(d){return s.keyWord=d})("keyup.enter",function(){return s.search()}),k(),C(7,"button",6),B("click",function(){return s.search()}),C(8,"mat-icon",7),P(9,"search"),k()()()(),Q(10,"div"),C(11,"div",8)(12,"button",9),B("click",function(){return s.scrollLeft()}),C(13,"span",10),P(14,"keyboard_arrow_left"),k()(),C(15,"div",11,12),I(17,vot,2,2,"mat-chip-option",13),k(),C(18,"button",14),B("click",function(){return s.scrollRight()}),C(19,"span",10),P(20,"keyboard_arrow_right"),k()()(),C(21,"div",15),I(22,Dot,21,10,"div",16),C(23,"mat-paginator",17),B("page",function(d){return s.pageEvent(d)}),k()()(),Q(24,"div"),k()),2&n&&(y(6),x("ngModel",s.keyWord),y(11),x("ngForOf",s.tags),y(5),x("ngForOf",s.postNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.posts.length)("pageSizeOptions",Dn(7,Aot)))},dependencies:[Vt,Qe,Sn,gn,ss,hs,Us,xb,wr,jw,Fo,$S,er],styles:[".mat-chip-tag[_ngcontent-%COMP%]{white-space:nowrap;margin-left:5px}.scroll-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font-size:20px}.scroll-button[_ngcontent-%COMP%]:disabled{opacity:.5}"]})}return r})();const Sot=["innerContainer"];function Tot(r,a){if(1&r&&(C(0,"div",18)(1,"i")(2,"strong"),P(3),k(),P(4," b\xe0i vi\u1ebft \u0111\u01b0\u1ee3c t\xecm th\u1ea5y"),k()()),2&r){const i=S();y(3),_e(i.countResult)}}function Eot(r,a){if(1&r&&(C(0,"div",18)(1,"i")(2,"strong"),P(3),k(),P(4," b\xe0i vi\u1ebft \u0111\u01b0\u1ee3c t\xecm th\u1ea5y"),k()()),2&r){const i=S();y(3),_e(i.countResult)}}function Mot(r,a){if(1&r){const i=ce();C(0,"mat-chip-option",19),B("click",function(){const l=z(i).$implicit;return H(S().selectTag(l))}),P(1),k()}if(2&r){const i=a.$implicit;x("selected",S().selectedTag===i),y(1),_e(i)}}function Rot(r,a){if(1&r){const i=ce();C(0,"button",37),B("click",function(s){z(i);const l=S().$implicit;return H(S().IsSave(l,s))}),C(1,"mat-icon",38),P(2," bookmark_add "),k()()}}function Pot(r,a){if(1&r){const i=ce();C(0,"button",39),B("click",function(s){z(i);const l=S().$implicit;return H(S().IsSave(l,s))}),C(1,"mat-icon",40),P(2," bookmark_added "),k()()}}function Oot(r,a){1&r&&Q(0,"img",41),2&r&&ri("src",S().$implicit.userShort.image,oi)}function Fot(r,a){1&r&&Q(0,"img",42)}function Not(r,a){if(1&r&&(C(0,"span",43),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.userShort.fullName)}}function Lot(r,a){1&r&&P(0),2&r&&_e(S().$implicit.userShort.fullName)}function Bot(r,a){if(1&r&&(C(0,"div"),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.createdAt)}}function Vot(r,a){1&r&&P(0),2&r&&_e(S().$implicit.updatedAt)}function zot(r,a){if(1&r){const i=ce();C(0,"div",20)(1,"div",21),I(2,Rot,3,0,"button",22),I(3,Pot,3,0,"ng-template",null,23,pe),k(),C(5,"a",24),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),Q(6,"img",25),C(7,"div",26)(8,"strong",27),P(9),k(),C(10,"div",28),I(11,Oot,1,1,"img",29),I(12,Fot,1,0,"ng-template",null,30,pe),I(14,Not,2,1,"span",31),I(15,Lot,1,1,"ng-template",32,33,pe),k(),C(17,"div",34)(18,"div"),P(19),k(),C(20,"div"),I(21,Bot,2,1,"div",35),I(22,Vot,1,1,"ng-template",null,36,pe),k()()()()()}if(2&r){const i=a.$implicit,n=ee(4),s=ee(13),l=ee(16),d=ee(23);y(2),x("ngIf",!i.isSaved)("ngIfElse",n),y(4),ri("src",i.image,oi),y(3),_e(i.title),y(2),x("ngIf",""!==i.userShort.image)("ngIfElse",s),y(3),x("ngIf",""!==i.userShort.fullName)("ngIfElse",l),y(5),me(" ",i.viewNumber," l\u01b0\u1ee3t xem "),y(2),x("ngIf",null==i.updatedAt)("ngIfElse",d)}}const Hot=function(){return[12,24,36]};let Got=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.route=s,this.dataService=l,this.session=d,this.toastr=p,this.keyWord="",this.posts=[],this.tags=[],this.countResult=0,this.postSaved=[],this.isSave=null,this.selectedTag=null,this.postNews=[],this.currentPage=1,this.pageSize=12,this.getTags(20)}ngOnInit(){this.dataService.currentKeyword.subscribe(i=>{this.keyWord=i??this.keyWord,this.findPost()})}findPost(){this.containsOnlySpaces(this.keyWord)||this.service.postSearch(this.keyWord).subscribe(i=>{this.posts=i.resultObj,this.updatePagedPosts(),this.session.getUserId()&&this.GetSaved(),this.ConvertDate(),this.countResult=this.posts.length})}search(){this.containsOnlySpaces(this.keyWord)||this.service.postSearch(this.keyWord).subscribe(i=>{this.posts=i.resultObj,this.updatePagedPosts(),this.session.getUserId()&&this.GetSaved(),this.countResult=this.posts.length,this.ConvertDate()}),this.router.navigate(["/discover"])}containsOnlySpaces(i){return""===i.trim()}getTags(i){this.service.GetTopTags(i).subscribe(n=>{this.tags=n.resultObj})}scrollLeft(){this.innerContainer&&(this.innerContainer.nativeElement.scrollLeft-=900)}scrollRight(){this.innerContainer&&(this.innerContainer.nativeElement.scrollLeft+=900)}selectTag(i){this.selectedTag===i?(this.selectedTag=null,this.getPosts()):(this.selectedTag=i,this.service.getpostbytag(i).subscribe(n=>{this.posts=n.resultObj,this.updatePagedPosts(),this.posts.forEach(s=>{if(s){const l=fi(s.createdAt),d=fi(s.updatedAt??"");isNaN(l.getTime())||(s.createdAt=_i(l,"dd-MM-yyyy")),isNaN(d.getTime())||(s.updatedAt=_i(d,"dd-MM-yyyy"))}})},n=>{console.error("Error fetching posts:",n)}))}getPosts(){this.service.GetPost().subscribe(i=>{this.posts=i.resultObj,this.updatePagedPosts(),this.posts.length>0&&this.ConvertDate()},i=>{console.error("Error fetching posts:",i)})}ConvertDate(){this.posts.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}postDetail(i){const n=i.subId;this.dataService.changeKeyword(this.keyWord),this.router.navigate(["/discover",n])}IsSave(i,n){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const s=new FormData;s.append("PostId",i.subId),s.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSave(s).subscribe(l=>{i.isSaved=!i.isSaved}),n.stopPropagation()}GetSaved(){this.service.GetMyPostSaved().subscribe(i=>{this.postSaved=i.resultObj,this.posts.forEach(n=>{n.isSaved=this.checkSave(n)})})}checkSave(i){return!!this.postSaved.some(n=>n.id===i.id)&&(i.isSaved=!0,!0)}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedPosts()}updatePagedPosts(){const i=(this.currentPage-1)*this.pageSize;this.postNews=this.posts.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(_c),T(Fr),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-searchpage"]],viewQuery:function(n,s){if(1&n&&oe(Sot,5),2&n){let l;G(l=j())&&(s.innerContainer=l.first)}},decls:24,vars:10,consts:[[1,"mt-60"],[1,"plr-200"],[1,"flex-center","font","po-re"],[1,"search-container"],["type","text","matInput","","placeholder","T\xecm ki\u1ebfm",1,"input-search","font",3,"ngModel","ngModelChange","keyup.enter"],[1,"btn-search",3,"click"],["matSuffix","","matRipple","",1,"mr","btn-search-icon"],["class","po-ab","style","right: 0px;font-size: 12px; font-weight: 500;",4,"ngIf","ngIfElse"],["notfoundpost",""],[1,"flex-container"],["mat-icon-button","",1,"scroll-button",3,"click"],[1,"material-symbols-outlined"],["mat-chip-listbox","",1,"inner-container"],["innerContainer",""],["style","margin-bottom: 4px;","class","ml-1 mat-chip-tag",3,"selected","click",4,"ngFor","ngForOf"],["mat-icon-button","",1,"scroll-button",2,"margin-left","8px",3,"click"],["class","","style","display: inline-flex;",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],[1,"po-ab",2,"right","0px","font-size","12px","font-weight","500"],[1,"ml-1","mat-chip-tag",2,"margin-bottom","4px",3,"selected","click"],[1,"",2,"display","inline-flex"],[2,"z-index","1"],["matTooltip","L\u01b0u v\xe0o xem sau","mat-mini-fab","","class","btn-interact po-ab","style","margin-top: 16px; margin-left: 12px;background-color: #00000073 !important;",3,"click",4,"ngIf","ngIfElse"],["saved",""],[1,"card-post-search","po-re","mlr-12","font","pt-1",3,"click"],["alt","","loading","lazy",1,"post-img",3,"src"],[1,"po-ab","card-postt",2,"background","linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%)"],[1,"text-2-line"],[1,"dis-flex","mt"],["alt","","class","icon-24",3,"src",4,"ngIf","ngIfElse"],["avaterdefault",""],["class","pl-1 w-90 of-h",4,"ngIf","ngIfElse"],["class","pl-1"],["fullname",""],[1,"flex-center-sb"],[4,"ngIf","ngIfElse"],["updateAt",""],["matTooltip","L\u01b0u v\xe0o xem sau","mat-mini-fab","",1,"btn-interact","po-ab",2,"margin-top","16px","margin-left","12px","background-color","#00000073 !important",3,"click"],[1,"material-symbols-outlined","text-white"],["mat-mini-fab","",1,"selected","btn-interact","po-ab",2,"margin-top","16px","margin-left","12px",3,"click"],["color","primary",1,"material-symbols-outlined","selected-icon","text-white"],["alt","",1,"icon-24",3,"src"],["src","assets/Icon/user.png","alt","",1,"icon-24"],[1,"pl-1","w-90","of-h"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"input",4),B("ngModelChange",function(d){return s.keyWord=d})("keyup.enter",function(){return s.search()}),k(),C(5,"button",5),B("click",function(){return s.search()}),C(6,"mat-icon",6),P(7,"search"),k()()(),I(8,Tot,5,1,"div",7),I(9,Eot,5,1,"ng-template",null,8,pe),k(),C(11,"div",9)(12,"button",10),B("click",function(){return s.scrollLeft()}),C(13,"span",11),P(14,"keyboard_arrow_left"),k()(),C(15,"div",12,13),I(17,Mot,2,2,"mat-chip-option",14),k(),C(18,"button",15),B("click",function(){return s.scrollRight()}),C(19,"span",11),P(20,"keyboard_arrow_right"),k()()(),C(21,"div"),I(22,zot,24,11,"div",16),C(23,"mat-paginator",17),B("page",function(d){return s.pageEvent(d)}),k()()()()),2&n){const l=ee(10);y(4),x("ngModel",s.keyWord),y(4),x("ngIf",0!=s.countResult)("ngIfElse",l),y(9),x("ngForOf",s.tags),y(5),x("ngForOf",s.postNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.posts.length)("pageSizeOptions",Dn(9,Hot))}},dependencies:[Vt,Qe,Sn,gn,ss,hs,Us,xb,wr,jw,Fo,$S,er]})}return r})();function jot(r,a){1&r&&(C(0,"button",13)(1,"mat-icon"),P(2,"edit_square"),k(),C(3,"span",7),P(4,"Tr\u1eafc nghi\u1ec7m"),k()())}let $ot=(()=>{class r{constructor(i,n){this.router=i,this.sessionService=n,this.objectList=[{categoryname:"B\xe0i Vi\u1ebft",url:"post"},{categoryname:"B\xe0i h\u1ecdc",url:"lesson"},{categoryname:"B\xe0i t\u1eadp",url:"exercise"},{categoryname:"C\xe2u H\u1ecfi",url:"question"},{categoryname:"T\xe0i li\u1ec7u",url:"document"}],this.defaultLink=this.objectList[0].url}isCheckAdmin(){return"admin"===this.sessionService.getRole()}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(Rn))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-mycategory"]],decls:35,vars:2,consts:[[1,"mt-50","pl-1","mh-page"],[1,"flex-center",2,"height","48px","position","fixed"],["mat-menu-item","",3,"matMenuTriggerFor"],[2,"font-size","20px","padding-right","4px","display","flex"],[1,"material-symbols-outlined"],["category","matMenu"],["mat-menu-item","","routerLink","/mycategory/post"],[1,"fs"],["mat-menu-item","","disabled","","routerLink","/mycategory/post"],["mat-menu-item","","routerLink","/mycategory/exam",4,"ngIf"],["mat-menu-item","","routerLink","/mycategory/question"],["mat-menu-item","","routerLink","/mycategory/document"],["tabPanel",""],["mat-menu-item","","routerLink","/mycategory/exam"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"mat-icon"),P(4,"category"),k(),C(5,"strong",3),P(6,"Danh m\u1ee5c "),C(7,"span",4),P(8," keyboard_arrow_down "),k()()(),C(9,"mat-menu",null,5)(11,"button",6)(12,"mat-icon"),P(13,"menu_book"),k(),C(14,"span",7),P(15,"B\xe0i vi\u1ebft"),k()(),C(16,"button",8)(17,"mat-icon"),P(18,"local_library"),k(),C(19,"span",7),P(20,"B\xe0i h\u1ecdc"),k()(),I(21,jot,5,0,"button",9),C(22,"button",10)(23,"mat-icon"),P(24,"live_help"),k(),C(25,"span",7),P(26,"C\xe2u h\u1ecfi"),k()(),C(27,"button",11)(28,"mat-icon"),P(29,"receipt_long"),k(),C(30,"span",7),P(31,"T\xe0i li\u1ec7u"),k()()()(),C(32,"mat-tab-nav-panel",null,12),Q(34,"router-outlet"),k()()),2&n){const l=ee(10);y(2),x("matMenuTriggerFor",l),y(19),x("ngIf",s.isCheckAdmin())}},dependencies:[RC,js,Qe,Fo,Ij,z5,yb,H5]})}return r})();const Uot=["mat-sort-header",""];function Wot(r,a){if(1&r){const i=ce();C(0,"div",3),B("@arrowPosition.start",function(){return z(i),H(S()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return z(i),H(S()._disableViewStateAnimation=!1)}),Q(1,"div",4),C(2,"div",5),Q(3,"div",6)(4,"div",7)(5,"div",8),k()()}if(2&r){const i=S();x("@arrowOpacity",i._getArrowViewState())("@arrowPosition",i._getArrowViewState())("@allowChildren",i._getArrowDirectionState()),y(2),x("@indicator",i._getArrowDirectionState()),y(1),x("@leftPointer",i._getArrowDirectionState()),y(1),x("@rightPointer",i._getArrowDirectionState())}}const qot=["*"],Fse=new $e("MAT_SORT_DEFAULT_OPTIONS"),Kot=CX(Vp(class{}));let gu=(()=>{class r extends Kot{get direction(){return this._direction}set direction(i){this._direction=i}get disableClear(){return this._disableClear}set disableClear(i){this._disableClear=Et(i)}constructor(i){super(),this._defaultOptions=i,this.sortables=new Map,this._stateChanges=new Ge,this.start="asc",this._direction="",this.sortChange=new X}register(i){this.sortables.set(i.id,i)}deregister(i){this.sortables.delete(i.id)}sort(i){this.active!=i.id?(this.active=i.id,this.direction=i.start?i.start:this.start):this.direction=this.getNextSortDirection(i),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(i){if(!i)return"";let s=function Yot(r,a){let i=["asc","desc"];return"desc"==r&&i.reverse(),a||i.push(""),i}(i.start||this.start,i?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),l=s.indexOf(this.direction)+1;return l>=s.length&&(l=0),s[l]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}static#e=this.\u0275fac=function(n){return new(n||r)(T(Fse,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[Ae,ci]})}return r})();const Df=Jbe.ENTERING+" "+Zbe.STANDARD_CURVE,Jw={indicator:hr("indicator",[yn("active-asc, asc",gt({transform:"translateY(0px)"})),yn("active-desc, desc",gt({transform:"translateY(10px)"})),Fi("active-asc <=> active-desc",Di(Df))]),leftPointer:hr("leftPointer",[yn("active-asc, asc",gt({transform:"rotate(-45deg)"})),yn("active-desc, desc",gt({transform:"rotate(45deg)"})),Fi("active-asc <=> active-desc",Di(Df))]),rightPointer:hr("rightPointer",[yn("active-asc, asc",gt({transform:"rotate(45deg)"})),yn("active-desc, desc",gt({transform:"rotate(-45deg)"})),Fi("active-asc <=> active-desc",Di(Df))]),arrowOpacity:hr("arrowOpacity",[yn("desc-to-active, asc-to-active, active",gt({opacity:1})),yn("desc-to-hint, asc-to-hint, hint",gt({opacity:.54})),yn("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",gt({opacity:0})),Fi("* => asc, * => desc, * => active, * => hint, * => void",Di("0ms")),Fi("* <=> *",Di(Df))]),arrowPosition:hr("arrowPosition",[Fi("* => desc-to-hint, * => desc-to-active",Di(Df,Zd([gt({transform:"translateY(-25%)"}),gt({transform:"translateY(0)"})]))),Fi("* => hint-to-desc, * => active-to-desc",Di(Df,Zd([gt({transform:"translateY(0)"}),gt({transform:"translateY(25%)"})]))),Fi("* => asc-to-hint, * => asc-to-active",Di(Df,Zd([gt({transform:"translateY(25%)"}),gt({transform:"translateY(0)"})]))),Fi("* => hint-to-asc, * => active-to-asc",Di(Df,Zd([gt({transform:"translateY(0)"}),gt({transform:"translateY(-25%)"})]))),yn("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",gt({transform:"translateY(0)"})),yn("hint-to-desc, active-to-desc, desc",gt({transform:"translateY(-25%)"})),yn("hint-to-asc, active-to-asc, asc",gt({transform:"translateY(25%)"}))]),allowChildren:hr("allowChildren",[Fi("* <=> *",[GC("@*",HC(),{optional:!0})])])};let q5=(()=>{class r{constructor(){this.changes=new Ge}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Xot={provide:q5,deps:[[new da,new Ml,q5]],useFactory:function Qot(r){return r||new q5}},Zot=Vp(class{});let qS=(()=>{class r extends Zot{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(i){this._updateSortActionDescription(i)}get disableClear(){return this._disableClear}set disableClear(i){this._disableClear=Et(i)}constructor(i,n,s,l,d,p,f,v){super(),this._intl=i,this._changeDetectorRef=n,this._sort=s,this._columnDef=l,this._focusMonitor=d,this._elementRef=p,this._ariaDescriber=f,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",v?.arrowPosition&&(this.arrowPosition=v?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{const n=!!i;n!==this._showIndicatorHint&&(this._setIndicatorHintVisible(n),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(i){this._isDisabled()&&i||(this._showIndicatorHint=i,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(i){this._viewState=i||{},this._disableViewStateAnimation&&(this._viewState={toState:i.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(i){!this._isDisabled()&&(32===i.keyCode||13===i.keyCode)&&(i.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const i=this._viewState.fromState;return(i?`${i}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(i){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,i)),this._sortActionDescription=i}_handleStateChanges(){this._rerenderSubscription=rn(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(q5),T(rt),T(gu,8),T("MAT_SORT_HEADER_COLUMN_DEF",8),T(al),T(ke),T(KQ,8),T(Fse,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(n,s){1&n&&B("click",function(){return s._handleClick()})("keydown",function(d){return s._handleKeydown(d)})("mouseenter",function(){return s._setIndicatorHintVisible(!0)})("mouseleave",function(){return s._setIndicatorHintVisible(!1)}),2&n&&(ge("aria-sort",s._getAriaSortAttribute()),Se("mat-sort-header-disabled",s._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[Ae],attrs:Uot,ngContentSelectors:qot,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(n,s){1&n&&(pt(),C(0,"div",0)(1,"div",1),Ie(2),k(),I(3,Wot,6,6,"div",2),k()),2&n&&(Se("mat-sort-header-sorted",s._isSorted())("mat-sort-header-position-before","before"===s.arrowPosition),ge("tabindex",s._isDisabled()?null:0)("role",s._isDisabled()?null:"button"),y(3),x("ngIf",s._renderArrow()))},dependencies:[Qe],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Jw.indicator,Jw.leftPointer,Jw.rightPointer,Jw.arrowOpacity,Jw.arrowPosition,Jw.allowChildren]},changeDetection:0})}return r})(),Nse=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[Xot],imports:[Gs,Ai]})}return r})();const Jot=[[["caption"]],[["colgroup"],["col"]]],ert=["caption","colgroup, col"];function s$(r){return class extends r{get sticky(){return this._sticky}set sticky(a){const i=this._sticky;this._sticky=Et(a),this._hasStickyChanged=i!==this._sticky}hasStickyChanged(){const a=this._hasStickyChanged;return this._hasStickyChanged=!1,a}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...a){super(...a),this._sticky=!1,this._hasStickyChanged=!1}}}const ex=new $e("CDK_TABLE");let tx=(()=>{class r{constructor(i){this.template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkCellDef",""]]})}return r})(),ix=(()=>{class r{constructor(i){this.template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkHeaderCellDef",""]]})}return r})(),K5=(()=>{class r{constructor(i){this.template=i}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkFooterCellDef",""]]})}return r})();class ort{}const rrt=s$(ort);let rg=(()=>{class r extends rrt{get name(){return this._name}set name(i){this._setNameInput(i)}get stickyEnd(){return this._stickyEnd}set stickyEnd(i){const n=this._stickyEnd;this._stickyEnd=Et(i),this._hasStickyChanged=n!==this._stickyEnd}constructor(i){super(),this._table=i,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(i){i&&(this._name=i,this.cssClassFriendlyName=i.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(n){return new(n||r)(T(ex,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,tx,5),Fe(l,ix,5),Fe(l,K5,5)),2&n){let d;G(d=j())&&(s.cell=d.first),G(d=j())&&(s.headerCell=d.first),G(d=j())&&(s.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ye([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:r}]),Ae]})}return r})();class a${constructor(a,i){i.nativeElement.classList.add(...a._columnCssClassName)}}let l$=(()=>{class r extends a${constructor(i,n){super(i,n)}static#e=this.\u0275fac=function(n){return new(n||r)(T(rg),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ae]})}return r})(),c$=(()=>{class r extends a${constructor(i,n){if(super(i,n),1===i._table?._elementRef.nativeElement.nodeType){const s=i._table._elementRef.nativeElement.getAttribute("role");n.nativeElement.setAttribute("role","grid"===s||"treegrid"===s?"gridcell":"cell")}}static#e=this.\u0275fac=function(n){return new(n||r)(T(rg),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Ae]})}return r})();class Bse{constructor(){this.tasks=[],this.endTasks=[]}}const d$=new $e("_COALESCED_STYLE_SCHEDULER");let Vse=(()=>{class r{constructor(i){this._ngZone=i,this._currentSchedule=null,this._destroyed=new Ge}schedule(i){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(i)}scheduleEnd(i){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(i)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Bse,this._getScheduleObservable().pipe(xe(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const i=this._currentSchedule;this._currentSchedule=new Bse;for(const n of i.tasks)n();for(const n of i.endTasks)n()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?wn(Promise.resolve(void 0)):this._ngZone.onStable.pipe(An(1))}static#e=this.\u0275fac=function(n){return new(n||r)(De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),u$=(()=>{class r{constructor(i,n){this.template=i,this._differs=n}ngOnChanges(i){if(!this._columnsDiffer){const n=i.columns&&i.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(i){return this instanceof KS?i.headerCell.template:this instanceof YS?i.footerCell.template:i.cell.template}static#e=this.\u0275fac=function(n){return new(n||r)(T(je),T(qr))};static#t=this.\u0275dir=re({type:r,features:[ci]})}return r})();class srt extends u${}const art=s$(srt);let KS=(()=>{class r extends art{constructor(i,n,s){super(i,n),this._table=s}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(je),T(qr),T(ex,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[Ae,ci]})}return r})();class lrt extends u${}const crt=s$(lrt);let YS=(()=>{class r extends crt{constructor(i,n,s){super(i,n),this._table=s}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(n){return new(n||r)(T(je),T(qr),T(ex,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[Ae,ci]})}return r})(),Y5=(()=>{class r extends u${constructor(i,n,s){super(i,n),this._table=s}static#e=this.\u0275fac=function(n){return new(n||r)(T(je),T(qr),T(ex,8))};static#t=this.\u0275dir=re({type:r,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[Ae]})}return r})(),sg=(()=>{class r{static#e=this.mostRecentCellOutlet=null;constructor(i){this._viewContainer=i,r.mostRecentCellOutlet=this}ngOnDestroy(){r.mostRecentCellOutlet===this&&(r.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(n){return new(n||r)(T(ei))};static#i=this.\u0275dir=re({type:r,selectors:[["","cdkCellOutlet",""]]})}return r})(),h$=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,s){1&n&&ye(0,0)},dependencies:[sg],encapsulation:2})}return r})(),g$=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,s){1&n&&ye(0,0)},dependencies:[sg],encapsulation:2})}return r})(),Q5=(()=>{class r{constructor(i){this.templateRef=i,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(n){return new(n||r)(T(je))};static#t=this.\u0275dir=re({type:r,selectors:[["ng-template","cdkNoDataRow",""]]})}return r})();const zse=["top","bottom","left","right"];class drt{constructor(a,i,n,s,l=!0,d=!0,p){this._isNativeHtmlTable=a,this._stickCellCss=i,this.direction=n,this._coalescedStyleScheduler=s,this._isBrowser=l,this._needsPositionStickyOnElement=d,this._positionListener=p,this._cachedCellWidths=[],this._borderCellCss={top:`${i}-border-elem-top`,bottom:`${i}-border-elem-bottom`,left:`${i}-border-elem-left`,right:`${i}-border-elem-right`}}clearStickyPositioning(a,i){const n=[];for(const s of a)if(s.nodeType===s.ELEMENT_NODE){n.push(s);for(let l=0;l{for(const s of n)this._removeStickyStyle(s,i)})}updateStickyColumns(a,i,n,s=!0){if(!a.length||!this._isBrowser||!i.some(F=>F)&&!n.some(F=>F))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const l=a[0],d=l.children.length,p=this._getCellWidths(l,s),f=this._getStickyStartColumnPositions(p,i),v=this._getStickyEndColumnPositions(p,n),D=i.lastIndexOf(!0),E=n.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const F="rtl"===this.direction,L=F?"right":"left",$=F?"left":"right";for(const q of a)for(let Z=0;Zi[Z]?q:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===E?[]:p.slice(E).map((q,Z)=>n[Z+E]?q:null).reverse()}))})}stickRows(a,i,n){if(!this._isBrowser)return;const s="bottom"===n?a.slice().reverse():a,l="bottom"===n?i.slice().reverse():i,d=[],p=[],f=[];for(let D=0,E=0;D{for(let D=0;D{i.some(s=>!s)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1)})}_removeStickyStyle(a,i){for(const s of i)a.style[s]="",a.classList.remove(this._borderCellCss[s]);zse.some(s=>-1===i.indexOf(s)&&a.style[s])?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))}_addStickyStyle(a,i,n,s){a.classList.add(this._stickCellCss),s&&a.classList.add(this._borderCellCss[i]),a.style[i]=`${n}px`,a.style.zIndex=this._getCalculatedZIndex(a),this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(a){const i={top:100,bottom:10,left:1,right:1};let n=0;for(const s of zse)a.style[s]&&(n+=i[s]);return n?`${n}`:""}_getCellWidths(a,i=!0){if(!i&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],s=a.children;for(let l=0;l0;l--)i[l]&&(n[l]=s,s+=a[l]);return n}}const m$=new $e("CDK_SPL");let X5=(()=>{class r{constructor(i,n){this.viewContainer=i,this.elementRef=n}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","rowOutlet",""]]})}return r})(),Z5=(()=>{class r{constructor(i,n){this.viewContainer=i,this.elementRef=n}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","headerRowOutlet",""]]})}return r})(),J5=(()=>{class r{constructor(i,n){this.viewContainer=i,this.elementRef=n}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","footerRowOutlet",""]]})}return r})(),e4=(()=>{class r{constructor(i,n){this.viewContainer=i,this.elementRef=n}static#e=this.\u0275fac=function(n){return new(n||r)(T(ei),T(ke))};static#t=this.\u0275dir=re({type:r,selectors:[["","noDataRowOutlet",""]]})}return r})(),t4=(()=>{class r{get trackBy(){return this._trackByFn}set trackBy(i){this._trackByFn=i}get dataSource(){return this._dataSource}set dataSource(i){this._dataSource!==i&&this._switchDataSource(i)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(i){this._multiTemplateDataRows=Et(i),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(i){this._fixedLayout=Et(i),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(i,n,s,l,d,p,f,v,D,E,F,L){this._differs=i,this._changeDetectorRef=n,this._elementRef=s,this._dir=d,this._platform=f,this._viewRepeater=v,this._coalescedStyleScheduler=D,this._viewportRuler=E,this._stickyPositioningListener=F,this._ngZone=L,this._onDestroy=new Ge,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new X,this.viewChange=new Pn({start:0,end:Number.MAX_VALUE}),l||this._elementRef.nativeElement.setAttribute("role","table"),this._document=p,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((i,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe(xe(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(i=>{i.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),zj(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const i=this._dataDiffer.diff(this._renderRows);if(!i)return this._updateNoDataRow(),void this.contentChanged.next();const n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(i,n,(s,l,d)=>this._getEmbeddedViewArgs(s.item,d),s=>s.item.data,s=>{1===s.operation&&s.context&&this._renderCellTemplateForItem(s.record.item.rowDef,s.context)}),this._updateRowIndexContext(),i.forEachIdentityChange(s=>{n.get(s.currentIndex).context.$implicit=s.item.data}),this._updateNoDataRow(),this._ngZone&&et.isInAngularZone()?this._ngZone.onStable.pipe(An(1),xe(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(i){this._customColumnDefs.add(i)}removeColumnDef(i){this._customColumnDefs.delete(i)}addRowDef(i){this._customRowDefs.add(i)}removeRowDef(i){this._customRowDefs.delete(i)}addHeaderRowDef(i){this._customHeaderRowDefs.add(i),this._headerRowDefChanged=!0}removeHeaderRowDef(i){this._customHeaderRowDefs.delete(i),this._headerRowDefChanged=!0}addFooterRowDef(i){this._customFooterRowDefs.add(i),this._footerRowDefChanged=!0}removeFooterRowDef(i){this._customFooterRowDefs.delete(i),this._footerRowDefChanged=!0}setNoDataRow(i){this._customNoDataRow=i}updateStickyHeaderRowStyles(){const i=this._getRenderedRows(this._headerRowOutlet),s=this._elementRef.nativeElement.querySelector("thead");s&&(s.style.display=i.length?"":"none");const l=this._headerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(i,["top"]),this._stickyStyler.stickRows(i,l,"top"),this._headerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyFooterRowStyles(){const i=this._getRenderedRows(this._footerRowOutlet),s=this._elementRef.nativeElement.querySelector("tfoot");s&&(s.style.display=i.length?"":"none");const l=this._footerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(i,["bottom"]),this._stickyStyler.stickRows(i,l,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,l),this._footerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyColumnStyles(){const i=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),s=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...i,...n,...s],["left","right"]),this._stickyColumnStylesNeedReset=!1),i.forEach((l,d)=>{this._addStickyColumnStyles([l],this._headerRowDefs[d])}),this._rowDefs.forEach(l=>{const d=[];for(let p=0;p{this._addStickyColumnStyles([l],this._footerRowDefs[d])}),Array.from(this._columnDefsByName.values()).forEach(l=>l.resetStickyChanged())}_getAllRenderRows(){const i=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let s=0;s{const p=s&&s.has(d)?s.get(d):[];if(p.length){const f=p.shift();return f.dataIndex=n,f}return{data:i,rowDef:d,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),n4(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=n4(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=n4(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=n4(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const i=this._rowDefs.filter(n=>!n.when);this._defaultRowDef=i[0]}_renderUpdatedColumns(){const i=(d,p)=>d||!!p.getColumnsDiff(),n=this._rowDefs.reduce(i,!1);n&&this._forceRenderDataRows();const s=this._headerRowDefs.reduce(i,!1);s&&this._forceRenderHeaderRows();const l=this._footerRowDefs.reduce(i,!1);return l&&this._forceRenderFooterRows(),n||s||l}_switchDataSource(i){this._data=[],zj(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),i||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=i}_observeRenderChanges(){if(!this.dataSource)return;let i;zj(this.dataSource)?i=this.dataSource.connect(this):YK(this.dataSource)?i=this.dataSource:Array.isArray(this.dataSource)&&(i=Dt(this.dataSource)),this._renderChangeSubscription=i.pipe(xe(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((i,n)=>this._renderRow(this._headerRowOutlet,i,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((i,n)=>this._renderRow(this._footerRowOutlet,i,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(i,n){const s=Array.from(n.columns||[]).map(p=>this._columnDefsByName.get(p)),l=s.map(p=>p.sticky),d=s.map(p=>p.stickyEnd);this._stickyStyler.updateStickyColumns(i,l,d,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(i){const n=[];for(let s=0;s!l.when||l.when(n,i));else{let l=this._rowDefs.find(d=>d.when&&d.when(n,i))||this._defaultRowDef;l&&s.push(l)}return s}_getEmbeddedViewArgs(i,n){return{templateRef:i.rowDef.template,context:{$implicit:i.data},index:n}}_renderRow(i,n,s,l={}){const d=i.viewContainer.createEmbeddedView(n.template,l,s);return this._renderCellTemplateForItem(n,l),d}_renderCellTemplateForItem(i,n){for(let s of this._getCellTemplates(i))sg.mostRecentCellOutlet&&sg.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const i=this._rowOutlet.viewContainer;for(let n=0,s=i.length;n{const s=this._columnDefsByName.get(n);return i.extractCellTemplate(s)}):[]}_applyNativeTableSections(){const i=this._document.createDocumentFragment(),n=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const s of n){const l=this._document.createElement(s.tag);l.setAttribute("role","rowgroup");for(const d of s.outlets)l.appendChild(d.elementRef.nativeElement);i.appendChild(l)}this._elementRef.nativeElement.appendChild(i)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const i=(n,s)=>n||s.hasStickyChanged();this._headerRowDefs.reduce(i,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(i,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(i,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new drt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Dt()).pipe(xe(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(i){return i.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){const i=this._customNoDataRow||this._noDataRow;if(!i)return;const n=0===this._rowOutlet.viewContainer.length;if(n===this._isShowingNoDataRow)return;const s=this._noDataRowOutlet.viewContainer;if(n){const l=s.createEmbeddedView(i.templateRef),d=l.rootNodes[0];1===l.rootNodes.length&&d?.nodeType===this._document.ELEMENT_NODE&&(d.setAttribute("role","row"),d.classList.add(i._contentClassName))}else s.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(n){return new(n||r)(T(qr),T(rt),T(ke),Ns("role"),T(Yr,8),T(Tt),T(Po),T(LS),T(d$),T(Rm),T(m$,12),T(et,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,s,l){if(1&n&&(Fe(l,Q5,5),Fe(l,rg,5),Fe(l,Y5,5),Fe(l,KS,5),Fe(l,YS,5)),2&n){let d;G(d=j())&&(s._noDataRow=d.first),G(d=j())&&(s._contentColumnDefs=d),G(d=j())&&(s._contentRowDefs=d),G(d=j())&&(s._contentHeaderRowDefs=d),G(d=j())&&(s._contentFooterRowDefs=d)}},viewQuery:function(n,s){if(1&n&&(oe(X5,7),oe(Z5,7),oe(J5,7),oe(e4,7)),2&n){let l;G(l=j())&&(s._rowOutlet=l.first),G(l=j())&&(s._headerRowOutlet=l.first),G(l=j())&&(s._footerRowOutlet=l.first),G(l=j())&&(s._noDataRowOutlet=l.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(n,s){2&n&&Se("cdk-table-fixed-layout",s.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ye([{provide:ex,useExisting:r},{provide:LS,useClass:Gre},{provide:d$,useClass:Vse},{provide:m$,useValue:null}])],ngContentSelectors:ert,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,s){1&n&&(pt(Jot),Ie(0),Ie(1,1),ye(2,0)(3,1)(4,2)(5,3))},dependencies:[X5,Z5,J5,e4],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return r})();function n4(r,a){return r.concat(Array.from(a))}let hrt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[YH]})}return r})();const prt=[[["caption"]],[["colgroup"],["col"]]],grt=["caption","colgroup, col"];let nx=(()=>{class r extends t4{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,s){2&n&&Se("mdc-table-fixed-layout",s.fixedLayout)},exportAs:["matTable"],features:[Ye([{provide:t4,useExisting:r},{provide:ex,useExisting:r},{provide:d$,useClass:Vse},{provide:LS,useClass:Gre},{provide:m$,useValue:null}]),Ae],ngContentSelectors:grt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,s){1&n&&(pt(prt),Ie(0),Ie(1,1),ye(2,0)(3,1)(4,2)(5,3))},dependencies:[X5,Z5,J5,e4],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return r})(),kb=(()=>{class r extends tx{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matCellDef",""]],features:[Ye([{provide:tx,useExisting:r}]),Ae]})}return r})(),Db=(()=>{class r extends ix{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matHeaderCellDef",""]],features:[Ye([{provide:ix,useExisting:r}]),Ae]})}return r})(),Ab=(()=>{class r extends rg{get name(){return this._name}set name(i){this._setNameInput(i)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ye([{provide:rg,useExisting:r},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:r}]),Ae]})}return r})(),Ib=(()=>{class r extends l${static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Ae]})}return r})(),Sb=(()=>{class r extends c${static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Ae]})}return r})(),ox=(()=>{class r extends KS{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ye([{provide:KS,useExisting:r}]),Ae]})}return r})(),rx=(()=>{class r extends Y5{static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275dir=re({type:r,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ye([{provide:Y5,useExisting:r}]),Ae]})}return r})(),sx=(()=>{class r extends h${static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Ye([{provide:h$,useExisting:r}]),Ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,s){1&n&&ye(0,0)},dependencies:[sg],encapsulation:2})}return r})(),ax=(()=>{class r extends g${static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275cmp=de({type:r,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Ye([{provide:g$,useExisting:r}]),Ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,s){1&n&&ye(0,0)},dependencies:[sg],encapsulation:2})}return r})(),wrt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,hrt,Ai]})}return r})();class krt extends VXe{get data(){return this._data.value}set data(a){a=Array.isArray(a)?a:[],this._data.next(a),this._renderChangesSubscription||this._filterData(a)}get filter(){return this._filter.value}set filter(a){this._filter.next(a),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(a){this._sort=a,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(a){this._paginator=a,this._updateChangeSubscription()}constructor(a=[]){super(),this._renderData=new Pn([]),this._filter=new Pn(""),this._internalPageChanges=new Ge,this._renderChangesSubscription=null,this.sortingDataAccessor=(i,n)=>{const s=i[n];if(LQ(s)){const l=Number(s);return l<9007199254740991?l:s}return s},this.sortData=(i,n)=>{const s=n.active,l=n.direction;return s&&""!=l?i.sort((d,p)=>{let f=this.sortingDataAccessor(d,s),v=this.sortingDataAccessor(p,s);const D=typeof f,E=typeof v;D!==E&&("number"===D&&(f+=""),"number"===E&&(v+=""));let F=0;return null!=f&&null!=v?f>v?F=1:f{const s=Object.keys(i).reduce((d,p)=>d+i[p]+"\u25ec","").toLowerCase(),l=n.trim().toLowerCase();return-1!=s.indexOf(l)},this._data=new Pn(a),this._updateChangeSubscription()}_updateChangeSubscription(){const a=this._sort?rn(this._sort.sortChange,this._sort.initialized):Dt(null),i=this._paginator?rn(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Dt(null),s=gv([this._data,this._filter]).pipe(Rt(([p])=>this._filterData(p))),l=gv([s,a]).pipe(Rt(([p])=>this._orderData(p))),d=gv([l,i]).pipe(Rt(([p])=>this._pageData(p)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=d.subscribe(p=>this._renderData.next(p))}_filterData(a){return this.filteredData=null==this.filter||""===this.filter?a:a.filter(i=>this.filterPredicate(i,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(a){return this.sort?this.sortData(a.slice(),this.sort):a}_pageData(a){if(!this.paginator)return a;const i=this.paginator.pageIndex*this.paginator.pageSize;return a.slice(i,i+this.paginator.pageSize)}_updatePaginator(a){Promise.resolve().then(()=>{const i=this.paginator;if(i&&(i.length=a,i.pageIndex>0)){const n=Math.ceil(i.length/i.pageSize)-1||0,s=Math.min(i.pageIndex,n);s!==i.pageIndex&&(i.pageIndex=s,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class gh extends krt{}const Drt=["TagInput"];function Art(r,a){1&r&&(C(0,"mat-error"),P(1," \u0110\u1eb7t c\xe2u h\u1ecfi t\u1ea1i \u0111\xe2y... "),k())}function Irt(r,a){1&r&&(C(0,"mat-error"),P(1," C\xe2u h\u1ecfi kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}function Srt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",18),B("removed",function(){const l=z(i).$implicit;return H(S().removeTag(l))}),P(1),C(2,"button",19)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function Trt(r,a){if(1&r&&(C(0,"mat-option",20),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}let Gse=(()=>{class r{onEditorChange({}){}constructor(i,n,s,l,d,p){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.dataService=p,this.questionId="",this.subQuestionId="",this.updateQuestionForm=this._formBuilder.group({Id:[""],Title:["",[Ft.required,Ft.maxLength(255)]],Content:["",Ft.required],Tag:[[]]}),this.currentDate=this.service.getCurrentDate(),this.isEditable=!0,this.Editor=qw(),this.topicCtrl=new Hl(""),this.announcer=st(Lp),this.listTag=[],this.chooseTag=[],this.tagCtrl=new Hl(""),this.announcerTag=st(Lp),this.separatorKeysCodesTag=[13,188],this.editorConfig={toolbar:["undo","redo","|","heading","|","bold","italic","bulletedList","numberedList","link","insertTable","blockQuote","mediaEmbed"],placeholder:"Mi\xeau t\u1ea3 th\xeam \u1edf \u0111\xe2y... (kh\xf4ng b\u1eaft bu\u1ed9c)",language:"vi"},this.dataService.currentSubId.subscribe(f=>{this.subQuestionId=f??this.subQuestionId,this.getDetail(),console.log(this.updateQuestionForm.value.Title)}),this.GetAllTag(),this.filteredTags=this.tagCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTag(f):this.listTag.slice()))}getDetail(){this.service.GetQuestionDetail(this.subQuestionId).subscribe(i=>{this.updateQuestionForm.get("Title")?.setValue(i.resultObj.title),this.updateQuestionForm.get("Content")?.setValue(i.resultObj.content),this.chooseTag.push(...i.resultObj.tags.map(s=>s.name)),this.updateQuestionForm.get("Id")?.setValue(i.resultObj.id),this.questionId=i.resultObj.id},i=>{this.toastr.error("L\u1ed7i: "+i)})}addTag(i){console.log(0),console.log(this.chooseTag.values);const n=i.value;n&&this.isDupplication(n)&&this.chooseTag.length<=5&&(this.chooseTag.push(n.trim()),console.log(1)),i.chipInput.clear(),this.tagCtrl.setValue(null)}isDupplication(i){return!(""==i||i.trim().length>31||this.chooseTag.includes(i))}removeTag(i){const n=this.chooseTag.indexOf(i);n>=0&&(this.chooseTag.splice(n,1),this.announcerTag.announce(`Removed ${i}`))}selectedTag(i){this.isDupplication(i.option.viewValue)&&(this.chooseTag.push(i.option.viewValue),this.TagInput.nativeElement.value="",this.tagCtrl.setValue(null))}_filterTag(i){const n=i.toLowerCase();return this.listTag.filter(s=>s.toLowerCase().includes(n))}GetAllTag(){this.service.GetAllTag().subscribe(i=>{this.listTag=i.resultObj})}Check(){const i=this.updateQuestionForm.get("Tag");return i&&i.setValue(this.chooseTag),!!this.updateQuestionForm.valid}UpdateQuestion(){const i=new FormData,n=this.updateQuestionForm;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Content",n.get("Content")?.value||""),i.append("Id",n.get("Id")?.value||"");const s=n.get("Tag")?.value;Array.isArray(s)&&s.forEach((l,d)=>{i.append(`Tag[${d}]`,l)}),this.service.UpdateQuestion(i).subscribe(l=>{const d=l.resultObj.subId;this.dataService.changeIdQuestion(l.resultObj.id),this.router.navigate(["/forum",d]),setTimeout(()=>{this.dataService.triggerReloadDetailPage(d)},10),this.dialogRef.close()},l=>{const d=l.error.message;null==d?this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y"):(this.toastr.error(d),console.log(l))})}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-update"]],viewQuery:function(n,s){if(1&n&&oe(Drt,5),2&n){let l;G(l=j())&&(s.TagInput=l.first)}},decls:27,vars:14,consts:[[1,"plr-1","create-question"],[3,"formGroup"],[1,"flex-center-sb","pt-1","pb"],["mat-raised-button","","color","primary",3,"disabled","click"],["appearance","outline",1,"w-100","specific-border"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp c\xe2u h\u1ecfi \u1edf \u0111\xe2y...","required","",1,"fw-5","title-question"],[4,"ngIf"],["formControlName","Content",2,"max-height","650px","overflow","auto",3,"editor","config","change"],["appearance","outline",1,"w-100","specific-border","mt-1"],["aria-label","Hashtag l\xe0m cho c\xe1c b\xe0i vi\u1ebft c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c d\u1ec5 t\xecm th\u1ea5y h\u01a1n"],["chipGridTag",""],[3,"removed",4,"ngFor","ngForOf"],["matSuffix",""],[3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["TagInput",""],[3,"optionSelected"],["autoTag","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removed"],["matChipRemove",""],[3,"value"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"form",1)(2,"mat-label",2)(3,"strong"),P(4,"Ch\u1ec9nh s\u1eeda c\xe2u h\u1ecfi"),k(),C(5,"button",3),B("click",function(){return s.UpdateQuestion()}),P(6,"C\u1eadp nh\u1eadp"),k()(),C(7,"mat-form-field",4),Q(8,"textarea",5),I(9,Art,2,0,"mat-error",6),I(10,Irt,2,0,"mat-error",6),k(),C(11,"div")(12,"ckeditor",7),B("change",function(d){return s.onEditorChange(d)}),k()(),C(13,"mat-form-field",8)(14,"mat-chip-grid",9,10),I(16,Srt,5,2,"mat-chip-row",11),k(),C(17,"mat-label")(18,"mat-icon",12),P(19,"tag"),k(),P(20," G\u1eafn th\u1ebb (kh\xf4ng b\u1eaft bu\u1ed9c) "),k(),C(21,"input",13,14),B("matChipInputTokenEnd",function(d){return s.addTag(d)}),k(),C(23,"mat-autocomplete",15,16),B("optionSelected",function(d){return s.selectedTag(d)}),I(25,Trt,2,2,"mat-option",17),le(26,"async"),k()()()()),2&n){const l=ee(15),d=ee(24);let p,f;y(1),x("formGroup",s.updateQuestionForm),y(4),x("disabled",!s.Check()),y(4),x("ngIf",null==(p=s.updateQuestionForm.get("Title"))?null:p.hasError("required")),y(1),x("ngIf",null==(f=s.updateQuestionForm.get("Title"))?null:f.hasError("maxlength")),y(2),x("editor",s.Editor)("config",s.editorConfig),y(4),x("ngForOf",s.chooseTag),y(5),x("formControl",s.tagCtrl)("matChipInputFor",l)("matAutocomplete",d)("matChipInputSeparatorKeyCodes",s.separatorKeysCodesTag),y(4),x("ngForOf",ln(26,12,s.filteredTags))}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,ud,Cf,Us,Fm,Cr,Fo,NS,Ww,US,WS,jS,Xw,tu,jo,ba,Yw,hv],styles:[".mat-form-field-appearance-outline.specific-border .mat-form-field-outline{background-color:#fff!important;border-radius:5px;outline:.5px solid #ccccccb6!important}.title-question[_ngcontent-%COMP%]{font-size:1em;max-width:100%;min-width:100%;height:106px;max-height:106px}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0;min-height:6.5em!important;max-height:11.5em!important;overflow:auto}"]})}return r})();function Ert(r,a){1&r&&(C(0,"th",21),P(1," Ti\xeau \u0111\u1ec1 "),k())}function Mrt(r,a){if(1&r){const i=ce();C(0,"td",22)(1,"a",23),B("click",function(){const l=z(i).$implicit;return H(S().QuestionDetail(l))}),C(2,"strong"),P(3),k()(),C(4,"div",24)(5,"button",25),B("click",function(){const l=z(i).$implicit;return H(S().updateQuestion(l))}),P(6,"S\u1eeda"),k(),C(7,"button",26),P(8,"X\xf3a"),k()()()}if(2&r){const i=a.$implicit;y(3),_e(i.title)}}function Rrt(r,a){1&r&&(C(0,"th",27),P(1," Ng\xe0y vi\u1ebft "),k())}function Prt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.createdAt," ")}}function Ort(r,a){1&r&&(C(0,"th",27),P(1," Ng\xe0y s\u1eeda "),k())}function Frt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.updatedAt," ")}}function Nrt(r,a){1&r&&(C(0,"th",21),P(1," L\u01b0\u1ee3t xem "),k())}function Lrt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.viewNumber," ")}}function Brt(r,a){1&r&&(C(0,"th",21),P(1," Th\xedch "),k())}function Vrt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.likeNumber," ")}}function zrt(r,a){1&r&&(C(0,"th",21),P(1," C\xe2u tr\u1ea3 l\u1eddi "),k())}function Hrt(r,a){if(1&r&&(C(0,"td",28)(1,"strong"),P(2),k()()),2&r){const i=a.$implicit;y(2),_e(i.commentNumber)}}function Grt(r,a){1&r&&(C(0,"th",21),P(1," L\u01b0u "),k())}function jrt(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.saveNumber," ")}}function $rt(r,a){1&r&&Q(0,"tr",29)}function Urt(r,a){1&r&&Q(0,"tr",30)}let Wrt=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.dialog=p,this.dataSource=new gh([]),this.questions=[],this.displayedColumns=["title","createdAt","updatedAt","viewNumber","likeNumber","commentNumber","saveNumber"],this.userId=l.getUserId()??"",this.GetMyQuestion()}ngOnInit(){this.dataSource.sort=this.sort}GetMyQuestion(){this.service.GetMyQuestion().subscribe(i=>{this.questions=i.resultObj,this.ConvertDate(),this.dataSource=new gh(this.questions),this.dataSource.sort=this.sort})}ConvertDate(){this.questions.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}QuestionDetail(i){this.router.navigate(["/forum",i.subId])}updateQuestion(i){this.dataService.changeSubId(i.subId),this.openDialogUpdateQuestion("100ms","600ms")}openDialogUpdateQuestion(i,n){this.dialog.open(Gse,{enterAnimationDuration:i,exitAnimationDuration:n,width:"50%"})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(Dc))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-myquestion"]],viewQuery:function(n,s){if(1&n&&oe(gu,5),2&n){let l;G(l=j())&&(s.sort=l.first)}},decls:35,vars:3,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","C\xe2u h\u1ecfi c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","C\xe2u h\u1ecfi \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/questionsaved",1,"btn-interact",2,"top","148px"],[2,"min-width","400px","max-width","1000px"],["mat-table","","matSort","",1,"font",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","style","cursor: pointer;","class","font",4,"matCellDef"],["matColumnDef","createdAt"],["mat-header-cell","","mat-sort-header","","style","width: 110px;",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","updatedAt"],["matColumnDef","viewNumber"],["matColumnDef","likeNumber"],["matColumnDef","commentNumber"],["matColumnDef","saveNumber"],["style","height: 48px;","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"tag-category","plr-1","pt","pb","text-white"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"font",2,"cursor","pointer"],[1,"text-5-line",3,"click"],[1,"mb"],[1,"mr","text-white",2,"border-radius","2px","background-color","#ED7D2D","border","none",3,"click"],[1,"text-white",2,"border-radius","2px","background-color","#DE3B40","border","none"],["mat-header-cell","","mat-sort-header","",2,"width","110px"],["mat-cell",""],["mat-header-row","",2,"height","48px"],["mat-row",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," indeterminate_question_box "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5)(9,"table",6),be(10,7),I(11,Ert,2,0,"th",8),I(12,Mrt,9,1,"td",9),ve(),be(13,10),I(14,Rrt,2,0,"th",11),I(15,Prt,2,1,"td",12),ve(),be(16,13),I(17,Ort,2,0,"th",11),I(18,Frt,2,1,"td",12),ve(),be(19,14),I(20,Nrt,2,0,"th",8),I(21,Lrt,2,1,"td",12),ve(),be(22,15),I(23,Brt,2,0,"th",8),I(24,Vrt,2,1,"td",12),ve(),be(25,16),I(26,zrt,2,0,"th",8),I(27,Hrt,3,1,"td",12),ve(),be(28,17),I(29,Grt,2,0,"th",8),I(30,jrt,2,1,"td",12),ve(),I(31,$rt,1,0,"tr",18),I(32,Urt,1,0,"tr",19),k()(),C(33,"div",20),P(34," C\xe2u h\u1ecfi "),k()()),2&n&&(y(9),x("dataSource",s.dataSource),y(22),x("matHeaderRowDef",s.displayedColumns),y(1),x("matRowDefColumns",s.displayedColumns))},dependencies:[js,nx,Db,ox,Ab,kb,rx,Ib,Sb,sx,ax,gu,qS,wr,er],styles:[".card-mypost[_ngcontent-%COMP%]{object-fit:cover;height:130px;width:200px}.seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}"]})}return r})();const qrt=new $e("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),Yrt=Iv(class{constructor(r){this._elementRef=r}},"primary");let f$=(()=>{class r extends Yrt{constructor(i,n,s,l,d){super(i),this._ngZone=n,this._changeDetectorRef=s,this._animationMode=l,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new X,this._mode="determinate",this._transitionendHandler=p=>{0===this.animationEnd.observers.length||!p.target||!p.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===l,d&&(d.color&&(this.color=this.defaultColor=d.color),this.mode=d.mode||this.mode)}get value(){return this._value}set value(i){this._value=jse(Ba(i)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(i){this._bufferValue=jse(Ba(i)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(i){this._mode=i,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(et),T(rt),T(Eo,8),T(qrt,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(n,s){2&n&&(ge("aria-valuenow",s._isIndeterminate()?null:s.value)("mode",s.mode),Se("_mat-animation-noopable",s._isNoopAnimation)("mdc-linear-progress--animation-ready",!s._isNoopAnimation)("mdc-linear-progress--indeterminate",s._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[Ae],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,s){1&n&&(C(0,"div",0),Q(1,"div",1)(2,"div",2),k(),C(3,"div",3),Q(4,"span",4),k(),C(5,"div",5),Q(6,"span",4),k()),2&n&&(y(1),Pe("flex-basis",s._getBufferBarFlexBasis()),y(2),Pe("transform",s._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E\");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill=''/%3E%3C/svg%3E\")}}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-height:4px;--mdc-linear-progress-track-height:4px;--mdc-linear-progress-track-shape:0}.mat-mdc-progress-bar{display:block;text-align:left;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}[dir=rtl] .mat-mdc-progress-bar{text-align:right}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0})}return r})();function jse(r,a=0,i=100){return Math.max(a,Math.min(i,r))}let Qrt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai]})}return r})();function Xrt(r,a){1&r&&(C(0,"div",19)(1,"i"),P(2,"Vui l\xf2ng ch\u1edd, \u0111ang t\u1ea3i ... "),k(),Q(3,"mat-progress-bar",20),k())}function Zrt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function Jrt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i hay qu\xe1 ng\u1eafn "),k())}function est(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}let $se=(()=>{class r{constructor(i,n,s,l,d,p,f,v){this.data=i,this._formBuilder=n,this.service=s,this.router=l,this.toastr=d,this.dialogRef=p,this.dataService=f,this.route=v,this.documentId="",this.documentSubId="",this.selectedFile=null,this.fileName="",this.progessing=!1,this.updatedocumentform=this._formBuilder.group({Title:["",[Ft.required,Ft.maxLength(255),Ft.minLength(10)]],Description:[""],Document:[null],SubId:[""]}),this.dataService.currentSubId.subscribe(D=>{this.documentSubId=D??"",this.getDetail()})}getDetail(){var i=this;this.documentSubId&&this.service.DocumentDetail(this.documentSubId).subscribe(function(){var n=qi(function*(s){if(s.isSuccessed){console.log(s);const l=s.resultObj;i.updatedocumentform.get("Title")?.setValue(l.title??""),i.updatedocumentform.get("Description")?.setValue(l.description),i.updatedocumentform.get("SubId")?.setValue(l.subId??"")}});return function(s){return n.apply(this,arguments)}}())}toggleProgressing(){this.fileName="",setTimeout(()=>{this.progessing=!0},1e3)}onFileSelected(i){const n=i?.files[0];if(n&&this.isValidFileType(n)){if(this.checkSize(n))return void(this.progessing=!1);this.updatedocumentform.get("Document")?.setValue(n),this.progessing=!1,this.fileName=n.name}else this.progessing=!1,this.selectedFile=null,this.toastr.warning("Vui l\xf2ng ch\u1ecdn \u0111\xfang file: PDF ho\u1eb7c DOCX")}onFileInputBlur(){this.progessing=!1}isValidFileType(i){return["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(i.type)}UpdateDocument(){const i=new FormData,n=this.updatedocumentform;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Description",n.get("Description")?.value?.trim()||""),i.append("FileName",n.get("Document")?.value||""),i.append("SubId",n.get("SubId")?.value||""),this.service.UpdateDocument(i).subscribe(s=>{s.isSuccessed?(this.dialogRef.close(),this.documentSubId=s.resultObj.subId,this.updateRouteAndReload(this.documentSubId),this.toastr.success("C\u1eadp nh\u1eadp t\xe0i li\u1ec7u th\xe0nh c\xf4ng")):this.toastr.error("L\u1ed7i: "+s.message)},s=>{this.toastr.error("L\u1ed7i: "+s)})}updateRouteAndReload(i){const n=window.location.href,s=n.indexOf("/document/"),l=n.substring(0,s)+`/document/${i}`;window.location.href=l,location.reload()}checkSize(i){return i.size>8388608&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 8MB."),!0)}static#e=this.\u0275fac=function(n){return new(n||r)(T(RS),T(za),T(In),T(di),T(Mi),T(hd),T(Fr),T(_c))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updatedocument"]],decls:28,vars:10,consts:[[1,"plr-1","create-document"],[1,"flex-center-sb"],[3,"matTooltip"],["mat-raised-button","","color","primary","matTooltip","Chia s\u1ebb",3,"disabled","click"],[3,"formGroup"],[1,"mt"],["appearance","outline",1,"w-100","specific-border","flex-center-h"],[1,"image-upload-container","btn","btn-bwm","font",3,"click","focusout"],[1,"mb","inputfile"],["type","file","accept",".pdf, .docx",1,"font",3,"change"],["imageInput",""],[1,"ml-1","pl",2,"border-left","2px solid rgb(31, 31, 31)"],["class","ml-1 pl","style","color: blue;",4,"ngIf"],[1,"mb",2,"font-size","12px"],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0",3,"value"],[4,"ngIf"],[1,"w-100",2,"max-height","170px"],["matInput","","formControlName","Description","placeholder","Nh\u1eadp m\xf4 t\u1ea3 t\xe0i li\u1ec7u...","required","",1,"fw-5",2,"max-height","126px",3,"value"],[1,"ml-1","pl",2,"color","blue"],["mode","indeterminate"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"div",1)(2,"h5"),P(3," Chia s\u1ebb t\xe0i li\u1ec7u "),k(),C(4,"div",2)(5,"button",3),B("click",function(){return s.UpdateDocument()}),P(6,"C\u1eadp nh\u1eadp"),k()()(),C(7,"form",4),Q(8,"div",5),C(9,"div",6)(10,"label",7),B("click",function(){return s.toggleProgressing()})("focusout",function(){return s.onFileInputBlur()}),C(11,"span",8),P(12,"C\u1eadp nh\u1eadp file t\xe0i li\u1ec7u"),k(),C(13,"input",9,10),B("change",function(){z(l);const p=ee(14);return H(s.onFileSelected(p))}),k()(),C(15,"div",11),P(16),k(),I(17,Xrt,4,0,"div",12),k(),C(18,"div",13)(19,"i"),P(20,"* File c\u1eadp nh\u1eadp y\xeau c\u1ea7u l\xe0 file pdf ho\u1eb7c file word (N\u1ebfu kh\xf4ng thay \u0111\u1ed5i file th\xec \u0111\u1ec3 tr\u1ed1ng)"),k()(),C(21,"mat-form-field",14),Q(22,"input",15),I(23,Zrt,2,0,"mat-error",16),I(24,Jrt,2,0,"mat-error",16),I(25,est,2,0,"mat-error",16),k(),C(26,"mat-form-field",17),Q(27,"textarea",18),k()()()}if(2&n){let l,d,p;y(4),ri("matTooltip",s.updatedocumentform.invalid?"Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin":""),y(1),x("disabled",s.updatedocumentform.invalid),y(2),x("formGroup",s.updatedocumentform),y(9),_e(s.fileName),y(1),x("ngIf",s.progessing),y(5),x("value",s.updatedocumentform.value.Title),y(1),x("ngIf",null==(l=s.updatedocumentform.get("Title"))?null:l.hasError("required")),y(1),x("ngIf",null==(d=s.updatedocumentform.get("Title"))?null:d.hasError("maxlength")),y(1),x("ngIf",null==(p=s.updatedocumentform.get("Title"))?null:p.hasError("minlength")),y(2),x("value",s.updatedocumentform.value.Description)}},dependencies:[Qe,cl,Sn,gn,Qr,vc,hs,ml,Cf,Cr,er,f$,jo,ba],styles:[".image-upload-container[_ngcontent-%COMP%]{position:relative;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;cursor:pointer;padding:8px 10px}.inputfile[_ngcontent-%COMP%]{background-color:#007bff}.inputfile[_ngcontent-%COMP%]:hover{background-color:#0056b3!important}"]})}return r})();function tst(r,a){1&r&&(C(0,"th",21),P(1," Ti\xeau \u0111\u1ec1 "),k())}function ist(r,a){if(1&r){const i=ce();C(0,"td",22)(1,"a",23),B("click",function(){const l=z(i).$implicit;return H(S().DocumentDetail(l))}),C(2,"strong"),P(3),k()(),C(4,"div",24)(5,"button",25),B("click",function(){const l=z(i).$implicit;return H(S().UpdateQuestion(l))}),P(6,"S\u1eeda"),k(),C(7,"button",26),B("click",function(){const l=z(i).$implicit;return H(S().DeleteDocument(l))}),P(8,"X\xf3a"),k()()()}if(2&r){const i=a.$implicit;y(3),_e(i.title)}}function nst(r,a){1&r&&(C(0,"th",27),P(1," M\xf4 t\u1ea3 "),k())}function ost(r,a){if(1&r&&(C(0,"td",28),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.description," ")}}function rst(r,a){1&r&&(C(0,"th",27),P(1," Ng\xe0y vi\u1ebft "),k())}function sst(r,a){if(1&r&&(C(0,"td",29),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.createdAt," ")}}function ast(r,a){1&r&&(C(0,"th",27),P(1," Ng\xe0y s\u1eeda "),k())}function lst(r,a){if(1&r&&(C(0,"td",29),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.updatedAt," ")}}function cst(r,a){1&r&&(C(0,"th",21),P(1," L\u01b0\u1ee3t xem "),k())}function dst(r,a){if(1&r&&(C(0,"td",29),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.viewNumber," ")}}function ust(r,a){1&r&&(C(0,"th",21),P(1," L\u01b0u "),k())}function hst(r,a){if(1&r&&(C(0,"td",29),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.saveNumber," ")}}function pst(r,a){1&r&&Q(0,"tr",30)}function gst(r,a){1&r&&Q(0,"tr",31)}let mst=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.dialog=p,this.dataSource=new gh([]),this.documents=[],this.displayedColumns=["title","description","createdAt","updatedAt","viewNumber","saveNumber"],this.userId=l.getUserId()??"",this.GetMyDocument()}ngOnInit(){this.dataSource.sort=this.sort}GetMyDocument(){this.service.GetMyDocument().subscribe(i=>{this.documents=i.resultObj,this.ConvertDate(),this.dataSource=new gh(this.documents),this.dataSource.sort=this.sort})}ConvertDate(){this.documents.forEach(i=>{if(i){const n=fi(i.createdAt??""),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}DocumentDetail(i){this.router.navigate(["/document",i.subId])}UpdateQuestion(i){this.dataService.changeSubId(i.subId),this.openDialogUpdateQuestion("100ms","600ms")}openDialogUpdateQuestion(i,n){this.dialog.open($se,{enterAnimationDuration:i,exitAnimationDuration:n,width:"50%"})}DeleteDocument(i){this.service.DeleteDocument(i.subId).subscribe(s=>{s.isSuccessed?(this.toastr.success("\u0110\xe3 x\xf3a t\xe0i li\u1ec7u"),window.location.reload()):this.toastr.error("L\u1ed7i: "+s.message)},s=>{this.toastr.error("L\u1ed7i: "+s)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(Dc))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-mydocument"]],viewQuery:function(n,s){if(1&n&&oe(gu,5),2&n){let l;G(l=j())&&(s.sort=l.first)}},decls:32,vars:3,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","T\xe0i li\u1ec7u c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","C\xe2u h\u1ecfi \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/documentsaved",1,"btn-interact",2,"top","148px"],[2,"min-width","400px","max-width","1000px"],["mat-table","","matSort","",1,"font",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","style","cursor: pointer;","class","font",4,"matCellDef"],["matColumnDef","description"],["mat-header-cell","","mat-sort-header","","style","width: 110px;",4,"matHeaderCellDef"],["mat-cell","","class","text-6-line",4,"matCellDef"],["matColumnDef","createdAt"],["mat-cell","",4,"matCellDef"],["matColumnDef","updatedAt"],["matColumnDef","viewNumber"],["matColumnDef","saveNumber"],["style","height: 48px;","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"tag-category","plr-1","pt","pb","text-white"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"font",2,"cursor","pointer"],[1,"text-5-line",3,"click"],[1,"mb"],[1,"mr","text-white",2,"border-radius","2px","background-color","#ED7D2D","border","none",3,"click"],[1,"text-white",2,"border-radius","2px","background-color","#DE3B40","border","none",3,"click"],["mat-header-cell","","mat-sort-header","",2,"width","110px"],["mat-cell","",1,"text-6-line"],["mat-cell",""],["mat-header-row","",2,"height","48px"],["mat-row",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," indeterminate_question_box "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5)(9,"table",6),be(10,7),I(11,tst,2,0,"th",8),I(12,ist,9,1,"td",9),ve(),be(13,10),I(14,nst,2,0,"th",11),I(15,ost,2,1,"td",12),ve(),be(16,13),I(17,rst,2,0,"th",11),I(18,sst,2,1,"td",14),ve(),be(19,15),I(20,ast,2,0,"th",11),I(21,lst,2,1,"td",14),ve(),be(22,16),I(23,cst,2,0,"th",8),I(24,dst,2,1,"td",14),ve(),be(25,17),I(26,ust,2,0,"th",8),I(27,hst,2,1,"td",14),ve(),I(28,pst,1,0,"tr",18),I(29,gst,1,0,"tr",19),k()(),C(30,"div",20),P(31," T\xe0i li\u1ec7u "),k()()),2&n&&(y(9),x("dataSource",s.dataSource),y(19),x("matHeaderRowDef",s.displayedColumns),y(1),x("matRowDefColumns",s.displayedColumns))},dependencies:[js,nx,Db,ox,Ab,kb,rx,Ib,Sb,sx,ax,gu,qS,wr,er],styles:[".card-mypost[_ngcontent-%COMP%]{object-fit:cover;height:130px;width:200px}.seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}.text-6-line[_ngcontent-%COMP%]{width:160px;line-height:21px;min-width:40px;height:130px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}"]})}return r})();function fst(r,a){1&r&&(C(0,"th",23),P(1," \u1ea2nh b\xeca "),k())}function _st(r,a){if(1&r){const i=ce();C(0,"td",24)(1,"img",25),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),k()()}if(2&r){const i=a.$implicit;y(1),x("src",i.image,oi)}}function vst(r,a){1&r&&(C(0,"th",26),P(1," Ti\xeau \u0111\u1ec1 "),k())}function bst(r,a){if(1&r){const i=ce();C(0,"td",27)(1,"a",28),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),C(2,"strong"),P(3),k()(),C(4,"button",29),B("click",function(){const l=z(i).$implicit;return H(S().updatePost(l))}),P(5,"S\u1eeda"),k(),C(6,"button",30),B("click",function(){const l=z(i).$implicit;return H(S().deletePost(l))}),P(7,"X\xf3a"),k()()}if(2&r){const i=a.$implicit;y(3),_e(i.title)}}function yst(r,a){1&r&&(C(0,"th",31),P(1," Ng\xe0y vi\u1ebft "),k())}function Cst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.createdAt," ")}}function wst(r,a){1&r&&(C(0,"th",31),P(1," Ng\xe0y s\u1eeda "),k())}function xst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.updatedAt," ")}}function kst(r,a){1&r&&(C(0,"th",26),P(1," L\u01b0\u1ee3t xem "),k())}function Dst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.viewNumber," ")}}function Ast(r,a){1&r&&(C(0,"th",26),P(1," Th\xedch "),k())}function Ist(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.likeNumber," ")}}function Sst(r,a){1&r&&(C(0,"th",26),P(1," B\xecnh lu\u1eadn "),k())}function Tst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.commentNumber," ")}}function Est(r,a){1&r&&(C(0,"th",26),P(1," L\u01b0u "),k())}function Mst(r,a){if(1&r&&(C(0,"td",24),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.saveNumber," ")}}function Rst(r,a){1&r&&Q(0,"tr",32)}function Pst(r,a){1&r&&Q(0,"tr",33)}let Ost=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.dialog=p,this.dataSource=new gh([]),this.posts=[],this.displayedColumns=["image","title","createdAt","updatedAt","viewNumber","likeNumber","commentNumber","saveNumber"],this.userId=l.getUserId()??"",this.GetMyPost()}ngOnInit(){this.dataSource.sort=this.sort}GetMyPost(){this.service.GetMyPost().subscribe(i=>{this.posts=i.resultObj,this.ConvertDate(),this.dataSource=new gh(this.posts),this.dataSource.sort=this.sort})}ConvertDate(){this.posts.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}postDetail(i){this.router.navigate(["/discover",i.subId])}updatePost(i){this.dataService.changeSubId(i.subId),this.openDialogUpdatePost("100ms","600ms")}openDialogUpdatePost(i,n){this.dialog.open(Mse,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}deletePost(i){this.service.DeletePost(i.id).subscribe(n=>{n.isSuccessed?(this.toastr.success("X\xf3a b\xe0i th\xe0nh c\xf4ng"),window.location.reload()):this.toastr.error("L\u1ed7i: "+n.message)},n=>{this.toastr.error("L\u1ed7i: "+n)})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(Dc))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-mypost"]],viewQuery:function(n,s){if(1&n&&oe(gu,5),2&n){let l;G(l=j())&&(s.sort=l.first)}},decls:38,vars:3,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","B\xe0i vi\u1ebft c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","B\xe0i vi\u1ebft \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/postsaved",1,"btn-interact",2,"top","148px"],[2,"min-width","400px","max-width","1000px"],["mat-table","","matSort","",1,"font",3,"dataSource"],["matColumnDef","image"],["mat-header-cell","","style","text-align: center;",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","style","cursor: pointer;","class","font",4,"matCellDef"],["matColumnDef","createdAt"],["mat-header-cell","","mat-sort-header","","style","width: 110px;",4,"matHeaderCellDef"],["matColumnDef","updatedAt"],["matColumnDef","viewNumber"],["matColumnDef","likeNumber"],["matColumnDef","commentNumber"],["matColumnDef","saveNumber"],["style","height: 48px;","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"tag-category","plr-1","pt","pb","text-white"],["mat-header-cell","",2,"text-align","center"],["mat-cell",""],["loading","lazy",1,"card-mypost",2,"cursor","pointer","border-radius","2px",3,"src","click"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"font",2,"cursor","pointer"],[1,"text-5-line",3,"click"],[1,"mr","text-white",2,"border-radius","2px","background-color","#ED7D2D","border","none",3,"click"],[1,"text-white",2,"border-radius","2px","background-color","#DE3B40","border","none",3,"click"],["mat-header-cell","","mat-sort-header","",2,"width","110px"],["mat-header-row","",2,"height","48px"],["mat-row",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," post "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5)(9,"table",6),be(10,7),I(11,fst,2,0,"th",8),I(12,_st,2,1,"td",9),ve(),be(13,10),I(14,vst,2,0,"th",11),I(15,bst,8,1,"td",12),ve(),be(16,13),I(17,yst,2,0,"th",14),I(18,Cst,2,1,"td",9),ve(),be(19,15),I(20,wst,2,0,"th",14),I(21,xst,2,1,"td",9),ve(),be(22,16),I(23,kst,2,0,"th",11),I(24,Dst,2,1,"td",9),ve(),be(25,17),I(26,Ast,2,0,"th",11),I(27,Ist,2,1,"td",9),ve(),be(28,18),I(29,Sst,2,0,"th",11),I(30,Tst,2,1,"td",9),ve(),be(31,19),I(32,Est,2,0,"th",11),I(33,Mst,2,1,"td",9),ve(),I(34,Rst,1,0,"tr",20),I(35,Pst,1,0,"tr",21),k()(),C(36,"div",22),P(37," B\xe0i vi\u1ebft "),k()()),2&n&&(y(9),x("dataSource",s.dataSource),y(25),x("matHeaderRowDef",s.displayedColumns),y(1),x("matRowDefColumns",s.displayedColumns))},dependencies:[js,nx,Db,ox,Ab,kb,rx,Ib,Sb,sx,ax,gu,qS,wr,er],styles:[".card-mypost[_ngcontent-%COMP%]{object-fit:cover;height:130px;width:200px}.seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}"]})}return r})();function Fst(r,a){1&r&&Q(0,"img",21),2&r&&ri("src",S().$implicit.userShort.image,oi)}function Nst(r,a){1&r&&Q(0,"img",22)}function Lst(r,a){if(1&r&&(C(0,"span",23),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.userShort.fullName)}}function Bst(r,a){if(1&r&&(C(0,"div"),P(1),k()),2&r){const i=S().$implicit;y(1),_e(i.createdAt)}}function Vst(r,a){1&r&&P(0),2&r&&_e(S().$implicit.updatedAt)}function zst(r,a){if(1&r){const i=ce();C(0,"div",8)(1,"div")(2,"button",9),B("click",function(s){const d=z(i).$implicit;return H(S().IsSave(d,s))}),C(3,"mat-icon",10),P(4," close "),k()()(),C(5,"a",11),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),Q(6,"img",12),C(7,"strong",13),P(8),k(),C(9,"div",14),I(10,Fst,1,1,"img",15),I(11,Nst,1,0,"ng-template",null,16,pe),I(13,Lst,2,1,"span",17),k(),C(14,"div",18)(15,"div"),P(16),k(),C(17,"div"),I(18,Bst,2,1,"div",19),I(19,Vst,1,1,"ng-template",null,20,pe),k()()()()}if(2&r){const i=a.$implicit,n=ee(12),s=ee(20);y(6),ri("src",i.image,oi),y(2),_e(i.title),y(2),x("ngIf",""!==i.userShort.image)("ngIfElse",n),y(3),x("ngIf",i.userShort.fullName),y(3),me(" ",i.viewNumber," l\u01b0\u1ee3t xem "),y(2),x("ngIf",null==i.updatedAt)("ngIfElse",s)}}let Hst=(()=>{class r{constructor(i,n,s,l){this.router=i,this.service=n,this.session=s,this.toastr=l,this.posts=[],this.userId=s.getUserId()??"",this.GetMyPost()}ngOnInit(){}GetMyPost(){this.service.GetMyPostSaved().subscribe(i=>{this.posts=i.resultObj,this.ConvertDate()})}ConvertDate(){this.posts.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}postDetail(i){this.router.navigate(["/discover",i.subId])}IsSave(i,n){const s=new FormData;s.append("PostId",i.subId),s.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSave(s).subscribe(l=>{this.GetMyPost()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-mypostsaved"]],decls:12,vars:1,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","B\xe0i vi\u1ebft c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/post",1,"btn-interact",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","B\xe0i vi\u1ebft \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","148px"],[2,"text-align","center","margin-top","48px"],["class","","style","display: inline-flex;",4,"ngFor","ngForOf"],[1,"plr-1","pt","pb","text-white","tag-category"],[1,"",2,"display","inline-flex"],["matTooltip","B\u1ecf l\u01b0u","matTooltipPosition","right","mat-mini-fab","",1,"po-ab",2,"margin-top","4px","margin-left","12px","background-color","#00000073",3,"click"],[1,"material-symbols-outlined","text-white"],[1,"card-post","font","pt-1",2,"padding","0 10px",3,"click"],["alt","","loading","lazy",1,"post-img",3,"src"],[1,"text-2-line",2,"text-align","start"],[1,"dis-flex","mt"],["alt","","class","icon-24",3,"src",4,"ngIf","ngIfElse"],["avaterdefault",""],["class","pl-1 w-90 of-h",4,"ngIf"],[1,"flex-center-sb"],[4,"ngIf","ngIfElse"],["updateAt",""],["alt","",1,"icon-24",3,"src"],["src","assets/Icon/user.png","alt","",1,"icon-24"],[1,"pl-1","w-90","of-h"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," post "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5),I(9,zst,21,8,"div",6),k(),C(10,"div",7),P(11," B\xe0i vi\u1ebft \u0111\xe3 l\u01b0u "),k()()),2&n&&(y(9),x("ngForOf",s.posts))},dependencies:[js,Vt,Qe,wr,jw,Fo,er],styles:[".seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}"]})}return r})(),Gst=(()=>{class r{constructor(i,n){this.el=i,this.renderer=n}onWindowScroll(){(window.scrollY||document.documentElement.scrollTop)>100?(this.renderer.setStyle(this.el.nativeElement,"position","fixed"),this.renderer.setStyle(this.el.nativeElement,"top","0")):(this.renderer.removeStyle(this.el.nativeElement,"position"),this.renderer.removeStyle(this.el.nativeElement,"top"))}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(Ui))};static#t=this.\u0275dir=re({type:r,selectors:[["","appScroll",""]],hostBindings:function(n,s){1&n&&B("scroll",function(){return s.onWindowScroll()},0,kk)}})}return r})();const jst=function(){return{exact:!0}};function $st(r,a){if(1&r&&(C(0,"a",12,13),P(2),k()),2&r){const i=a.$implicit,n=ee(1);x("routerLink",i.url)("routerLinkActiveOptions",Dn(4,jst))("active",n.isActive),y(2),me(" ",i.categoryname," ")}}let Ust=(()=>{class r{constructor(i,n,s,l,d){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.keyWord="",this.category=[{categoryname:"D\xe0nh cho b\u1ea1n",url:"foryou"},{categoryname:"N\u1ed5i b\u1eadt",url:"top"},{categoryname:"M\u1edbi nh\u1ea5t",url:"new"}]}search(){this.keyWord.trim()&&(this.dataService.changeKeyword(this.keyWord),this.router.navigate(["/searchquestion"]))}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum"]],decls:17,vars:3,consts:[[1,"mt-60"],["appScroll","",1,"fixed-menu","dis-flex","menu-forum"],[1,"card-title"],["mat-tab-nav-bar","",3,"tabPanel"],["mat-tab-link","","class","pl-1","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active",4,"ngFor","ngForOf"],[1,"flex-center","font","pl-1"],[1,"search-container"],["type","text","matInput","","placeholder","T\xecm ki\u1ebfm",1,"input-search","font",3,"ngModel","ngModelChange","keyup.enter"],[1,"btn-search",3,"click"],["matSuffix","","matRipple","",1,"mr","btn-search-icon"],[1,"plr-200"],["tabPanel",""],["mat-tab-link","","routerLinkActive","",1,"pl-1",3,"routerLink","routerLinkActiveOptions","active"],["rla","routerLinkActive"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div")(2,"div",1)(3,"h1",2),P(4,"Di\u1ec5n \u0111\xe0n l\u1ecbch s\u1eed"),k(),C(5,"nav",3),I(6,$st,3,5,"a",4),k(),C(7,"div",5)(8,"div",6)(9,"input",7),B("ngModelChange",function(d){return s.keyWord=d})("keyup.enter",function(){return s.search()}),k(),C(10,"button",8),B("click",function(){return s.search()}),C(11,"mat-icon",9),P(12,"search"),k()()()()()(),C(13,"div",10)(14,"mat-tab-nav-panel",null,11),Q(16,"router-outlet"),k()()()),2&n){const l=ee(15);y(5),x("tabPanel",l),y(1),x("ngForOf",s.category),y(3),x("ngModel",s.keyWord)}},dependencies:[RC,js,o3,Vt,Sn,gn,ss,hs,Us,Fo,T5,Ij,E5,Gst],styles:[".menu-forum[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;background-color:#fff}"]})}return r})(),o4=(()=>{class r{constructor(i){this.rendererFactory=i,this.animateButton=n=>{this.renderer.addClass(n,"animate"),setTimeout(()=>{this.renderer.removeClass(n,"animate")},1e3)},this.animateButton1=n=>{this.renderer.addClass(n,"animate1"),setTimeout(()=>{this.renderer.removeClass(n,"animate1")},1e3)},this.renderer=this.rendererFactory.createRenderer(null,null)}attachAnimationListener(){const i=document.getElementsByClassName("bubbly-button");for(let n=0;nthis.animateButton(s.target),{capture:!1})}attachAnimationListener_btn2(){const i=document.getElementsByClassName("bubbly-button-1");for(let n=0;nthis.animateButton1(s.target),{capture:!1})}static#e=this.\u0275fac=function(n){return new(n||r)(De(im))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function Wst(r,a){if(1&r&&(C(0,"div",7),P(1),k()),2&r){const i=S().$implicit;y(1),me(" \u{1f4a1}",i.likeNumber," ng\u01b0\u1eddi c\xf9ng th\u1eafc m\u1eafc ")}}function qst(r,a){if(1&r){const i=ce();C(0,"a",3),B("click",function(){const l=z(i).$implicit;return H(S().redirectToQuestion(l))}),C(1,"div",4)(2,"strong",5),P(3),k(),C(4,"div",6)(5,"div",7)(6,"span",8),P(7," fullscreen "),k(),P(8),k(),C(9,"div",7)(10,"span",8),P(11," notes "),k(),P(12),k(),C(13,"div",7)(14,"span",8),P(15," bookmark "),k(),P(16),k(),C(17,"div",7)(18,"span",8),P(19," send "),k(),P(20," chia s\u1ebb "),k(),I(21,Wst,2,1,"div",9),k()()()}if(2&r){const i=a.$implicit;y(3),me("\u{1f516}",i.title,""),y(5),me(" ",i.viewNumber," l\u01b0\u1ee3t xem "),y(4),me(" ",i.commentNumber," tr\u1ea3 l\u1eddi "),y(4),me(" ",i.saveNumber," l\u01b0\u1ee3t l\u01b0u "),y(5),x("ngIf",0!=i.likeNumber)}}const Kst=function(){return[10,20,50]};let Yst=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.animationService=p,this.questionNews=[],this.currentPage=1,this.pageSize=10,this.GetQuestions()}ngOnInit(){this.animationService.attachAnimationListener_btn2()}GetQuestions(){this.service.GetQuestionForYou().subscribe(i=>{this.questions=i.resultObj,this.updatePagedQuestions()},i=>{this.toastr.error("L\u1ed7i: "+i)})}redirectToQuestion(i){this.dataService.changeIdQuestion(i.id),this.router.navigate(["/forum",i.subId])}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedQuestions()}updatePagedQuestions(){const i=(this.currentPage-1)*this.pageSize;this.questionNews=this.questions.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(o4))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-foryou"]],decls:3,vars:6,consts:[[1,"mt-1","mh-page"],[3,"click",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],[3,"click"],[1,"question-card"],[1,"text-3-line","fs16"],[1,"flex-center-h"],[1,"flex-center-h","plr-12"],[1,"material-symbols-outlined","pr"],["class","flex-center-h plr-12",4,"ngIf"]],template:function(n,s){1&n&&(C(0,"div",0),I(1,qst,22,5,"a",1),C(2,"mat-paginator",2),B("page",function(d){return s.pageEvent(d)}),k()()),2&n&&(y(1),x("ngForOf",s.questionNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.questions.length)("pageSizeOptions",Dn(5,Kst)))},dependencies:[Vt,Qe,xb],styles:[".question-card[_ngcontent-%COMP%]{cursor:pointer;padding:16px 12px;box-shadow:#0000000d 0 0 0 1px}.question-card[_ngcontent-%COMP%]:hover{box-shadow:#11111a0d 0 4px 16px,#11111a0d 0 8px 32px}.text-3-line[_ngcontent-%COMP%]{height:80px;min-height:34px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;position:relative}"]})}return r})(),Qst=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-top"]],decls:2,vars:0,template:function(n,s){1&n&&(C(0,"p"),P(1,"S\u1eafp ra m\u1eaft!"),k())}})}return r})(),Xst=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-new"]],decls:2,vars:0,template:function(n,s){1&n&&(C(0,"p"),P(1,"S\u1eafp ra m\u1eaft!"),k())}})}return r})();function Zst(r,a){if(1&r&&(C(0,"mat-radio-button",9),P(1),k()),2&r){const i=a.$implicit;x("value",i.id),y(1),_e(i.title)}}let Jst=(()=>{class r{constructor(i,n,s,l,d,p){this.data=i,this.builder=n,this.session=s,this.service=l,this.toastr=d,this.dialogRef=p,this.reportform=this.builder.group({QuestionId:[""],UserId:[this.session.getUserId()],ReportId:["",Ft.required],Description:["",Ft.maxLength(500)],ReportDate:[new Date],Checked:[!1]}),this.reports=null,this.reportform.get("QuestionId")?.setValue(i.QuestionId),this.GetReport()}GetReport(){this.service.getReport().subscribe(i=>{this.reports=i.resultObj})}onSubmit(){console.log(this.reportform.value),this.reportform.valid?this.service.ReportQuestion(this.reportform.value).subscribe(i=>{this.toastr.success("\u0110\xe3 g\u1eedi b\xe1o c\xe1o! B\u1ea1n s\u1ebd s\u1edbm nh\u1eadn \u0111\u01b0\u1ee3c ph\u1ea3n h\u1ed3i!"),this.dialogRef.close()}):this.toastr.info("B\u1ea1n c\u1ea7n ch\u1ecdn n\u1ed9i dung b\xe1o c\xe1o!")}static#e=this.\u0275fac=function(n){return new(n||r)(T(RS),T(za),T(Rn),T(In),T(Mi),T(hd))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-report"]],decls:14,vars:2,consts:[[3,"formGroup"],[1,"flex-center-sb","plr-24","mt-1"],[1,"flex-center",2,"font-size","1.4rem","font-weight","500"],["mat-raised-button","",3,"click"],["mat-dialog-content","",2,"height","300px"],["formControlName","ReportId"],["class","dis-block",3,"value",4,"ngFor","ngForOf"],[1,"pt-1","ml-2"],["matLine","2","formControlName","Description",1,"ml-2","font","des-report"],[1,"dis-block",3,"value"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"span",2),P(3,"B\xe1o c\xe1o c\xe2u h\u1ecfi"),k(),C(4,"button",3),B("click",function(){return s.onSubmit()}),P(5,"G\u1eedi"),k()(),C(6,"div",4)(7,"mat-radio-group",5),I(8,Zst,2,2,"mat-radio-button",6),k()(),C(9,"span",7),P(10,"M\xf4 t\u1ea3 th\xeam"),k(),C(11,"div")(12,"textarea",8),P(13," "),k()()()),2&n&&(x("formGroup",s.reportform),y(8),x("ngForOf",s.reports))},dependencies:[Vt,Sn,gn,Qr,O5,F5,sre,Cr,n8,jo,ba],styles:[".des-report[_ngcontent-%COMP%]{max-width:90%;width:90%;min-width:90%;padding-left:8px!important;padding-right:8px!important;border-radius:4px;font-size:1rem;max-height:100px}"]})}return r})();function eat(r,a){if(1&r){const i=ce();C(0,"button",36),B("click",function(){return z(i),H(S().toggleThumb())}),C(1,"span",6),P(2," thumb_up "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.likeNumber," ")}}function tat(r,a){if(1&r){const i=ce();C(0,"button",37),B("click",function(){return z(i),H(S().toggleThumb())}),C(1,"span",38),P(2," thumb_up "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.likeNumber," ")}}function iat(r,a){if(1&r){const i=ce();C(0,"button",39),B("click",function(){return z(i),H(S().IsSave())}),C(1,"span",6),P(2," bookmark_add "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.saveNumber," ")}}function nat(r,a){if(1&r){const i=ce();C(0,"button",40),B("click",function(){return z(i),H(S().IsSave())}),C(1,"span",38),P(2," bookmark_added "),k(),C(3,"div",7),P(4),k()()}if(2&r){const i=S();y(4),me(" ",i.saveNumber," ")}}function oat(r,a){if(1&r){const i=ce();C(0,"div")(1,"button",41),B("click",function(){return z(i),H(S().updatePost())}),C(2,"span",6),P(3," edit "),k()(),C(4,"button",42)(5,"span",6),P(6," delete "),k()()()}}function rat(r,a){1&r&&Q(0,"img",43)}function sat(r,a){if(1&r&&Q(0,"img",44),2&r){const i=S();ri("src",null==i.question||null==i.question.userShort?null:i.question.userShort.image,oi)}}function aat(r,a){if(1&r){const i=ce();C(0,"mat-chip",47),B("click",function(){const l=z(i).$implicit;return H(S(2).findByTag(l.name))}),C(1,"span",48),P(2),k()()}if(2&r){const i=a.$implicit;y(2),me(" ",i.name," ")}}function lat(r,a){if(1&r&&(C(0,"div",45)(1,"mat-icon",23),P(2,"tag"),k(),I(3,aat,3,1,"mat-chip",46),k()),2&r){const i=S();y(3),x("ngForOf",null==i.question?null:i.question.tags)}}function cat(r,a){if(1&r){const i=ce();C(0,"button",57),B("click",function(){return z(i),H(S(2).sendAnswer())}),P(1,"Tr\u1ea3 l\u1eddi"),k()}}function dat(r,a){if(1&r){const i=ce();C(0,"button",58),B("click",function(){return z(i),H(S(2).cancelComment())}),P(1,"H\u1ee7y"),k()}}function uat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k()(),C(5,"div",52)(6,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S().createCommentContent=s)})("change",function(s){return z(i),H(S().onEditorChange(s))}),k()(),C(7,"div",54),I(8,cat,2,0,"button",55),I(9,dat,2,0,"button",56),k()()}if(2&r){const i=S();y(2),x("src",i.imgUser||"assets/Icon/user.png",oi),y(2),_e(i.userName),y(2),x("editor",i.Editor)("config",i.editorConfig)("ngModel",i.createCommentContent),y(2),x("ngIf",i.isCommented),y(1),x("ngIf",i.isCommented)}}function hat(r,a){if(1&r){const i=ce();C(0,"span",29),P(1,"\u0110\u0103ng nh\u1eadp \u0111\u1ec3 b\xecnh lu\u1eadn "),k(),C(2,"button",57),B("click",function(){return z(i),H(S().loginUser())}),P(3,"\u0110\u0103ng nh\u1eadp"),k()}}function pat(r,a){if(1&r&&(C(0,"div"),Q(1,"img",76),k()),2&r){const i=S(3);y(1),mp("matTooltip","",null==i.question||null==i.question.userShort?null:i.question.userShort.fullName," \u0111\xe3 ch\u1ecdn \u0111\xe2y l\xe0 c\xe2u tr\u1ea3 l\u1eddi \u0111\xfang nh\u1ea5t")}}function gat(r,a){1&r&&(C(0,"div"),Q(1,"img",77),k())}function mat(r,a){1&r&&(C(0,"button",78)(1,"span",6),P(2," more_horiz "),k()()),2&r&&(S(),x("matMenuTriggerFor",ee(15)))}function fat(r,a){1&r&&(C(0,"div",45)(1,"span",83),P(2," check_circle "),k(),C(3,"span",84),P(4,"C\xe2u tr\u1ea3 l\u1eddi \u0111\xfang nh\u1ea5t"),k()())}function _at(r,a){1&r&&(C(0,"span",83),P(1," check_circle "),k(),C(2,"span",84),P(3,"B\u1ecf ch\u1ecdn tr\u1ea3 l\u1eddi \u0111\xfang nh\u1ea5t"),k())}function vat(r,a){if(1&r){const i=ce();C(0,"div")(1,"button",79),B("click",function(){z(i);const s=S().$implicit;return H(S(2).confirmAnswerByQuestioner(s))}),I(2,fat,5,0,"div",80),I(3,_at,4,0,"ng-template",81,82,pe),k()()}if(2&r){const i=ee(4),n=S().$implicit;y(2),x("ngIf",!n.confirm)("ngIfElse",i)}}function bat(r,a){if(1&r){const i=ce();C(0,"div")(1,"button",79),B("click",function(){z(i);const s=S().$implicit;let d;return H(S(2).editAnswer(null!==(d=s.id)&&void 0!==d?d:""))}),C(2,"mat-icon"),P(3,"edit"),k(),C(4,"span"),P(5,"S\u1eeda"),k()(),C(6,"button",79),B("click",function(){z(i);const s=S().$implicit;let d;return H(S(2).deleteAnswer(null!==(d=s.id)&&void 0!==d?d:""))}),C(7,"mat-icon"),P(8,"delete"),k(),C(9,"span"),P(10,"X\xf3a"),k()()()}}function yat(r,a){if(1&r){const i=ce();C(0,"button",57),B("click",function(){return z(i),H(S(4).submitEdited())}),P(1,"C\u1eadp nh\u1eadp"),k()}}function Cat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k()(),C(5,"div",52)(6,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S(3).contentUpdate=s)})("change",function(s){return z(i),H(S(3).onEditChange(s))}),k()(),C(7,"div",54),I(8,yat,2,0,"button",55),C(9,"button",58),B("click",function(){return z(i),H(S(3).cancelEditComment())}),P(10,"H\u1ee7y"),k()()()}if(2&r){const i=S(3);y(2),x("src",i.imgUser||"assets/Icon/user.png",oi),y(2),_e(i.userName),y(2),x("editor",i.Editor)("config",i.editorConfig)("ngModel",i.contentUpdate),y(2),x("ngIf",i.isUpdateCommented)}}function wat(r,a){if(1&r){const i=ce();C(0,"div",85),B("click",function(){z(i);const s=S().$implicit;let d;return H(S(2).viewComments(null!==(d=s.id)&&void 0!==d?d:""))}),C(1,"span",86),P(2," notes "),k(),P(3),k()}if(2&r){const i=S().$implicit;y(3),me(" ",null==i.subAnswer?null:i.subAnswer.length," ")}}function xat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k(),C(5,"div",88),P(6," b\xecnh lu\u1eadn c\xe2u tr\u1ea3 l\u1eddi c\u1ee7a "),C(7,"i"),P(8),k()()(),C(9,"div",52)(10,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S(4).subAnswerContent=s)})("change",function(s){return z(i),H(S(4).onEditorChange(s))}),k()(),C(11,"div",54)(12,"button",57),B("click",function(){z(i);const s=S(2).$implicit;let d;return H(S(2).sendSubAnswer(null!==(d=s.id)&&void 0!==d?d:""))}),P(13,"B\xecnh lu\u1eadn"),k(),C(14,"button",58),B("click",function(){return z(i),H(S(4).cancelReply())}),P(15,"H\u1ee7y"),k()()()}if(2&r){const i=S(2).$implicit,n=S(2);y(2),x("src",n.imgUser||"assets/Icon/user.png",oi),y(2),_e(n.userName),y(4),_e(null==i.userShort?null:i.userShort.fullName),y(2),x("editor",n.Editor)("config",n.editorConfig)("ngModel",n.subAnswerContent)}}function kat(r,a){if(1&r&&(C(0,"div",87),I(1,xat,16,6,"div",33),k()),2&r){const i=S(3),n=ee(75);y(1),x("ngIf",i.userId)("ngIfElse",n)}}function Dat(r,a){1&r&&(C(0,"button",97)(1,"span",6),P(2," more_horiz "),k()()),2&r&&(S(),x("matMenuTriggerFor",ee(10)))}function Aat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k(),C(5,"div",88),P(6," tr\u1ea3 l\u1eddi b\xecnh lu\u1eadn c\xe2u c\u1ee7a "),C(7,"i"),P(8),k()()(),C(9,"div",52)(10,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S(6).subAnswerContent=s)})("change",function(s){return z(i),H(S(6).onEditorChange(s))}),k()(),C(11,"div",54)(12,"button",57),B("click",function(){z(i);const s=S(2).$implicit,l=S(2).$implicit;return H(S(2).sendSubAnswer(l.id,s.userShort))}),P(13,"B\xecnh lu\u1eadn"),k(),C(14,"button",58),B("click",function(){return z(i),H(S(6).cancelReply())}),P(15,"H\u1ee7y"),k()()()}if(2&r){const i=S(2).$implicit,n=S(4);y(2),x("src",n.imgUser||"assets/Icon/user.png",oi),y(2),_e(n.userName),y(4),_e(null==i.userShort?null:i.userShort.fullName),y(2),x("editor",n.Editor)("config",n.editorConfig)("ngModel",n.subAnswerContent)}}function Iat(r,a){if(1&r&&(C(0,"div",87),I(1,Aat,16,6,"div",33),k()),2&r){const i=S(5),n=ee(75);y(1),x("ngIf",i.userId)("ngIfElse",n)}}function Sat(r,a){if(1&r){const i=ce();C(0,"button",57),B("click",function(){return z(i),H(S(6).submitEditedSubAnswer())}),P(1,"C\u1eadp nh\u1eadp"),k()}}function Tat(r,a){if(1&r){const i=ce();C(0,"div",49)(1,"div",50),Q(2,"img",51),C(3,"strong",19),P(4),k()(),C(5,"div",52)(6,"ckeditor",53),B("ngModelChange",function(s){return z(i),H(S(5).contentSubUpdate=s)})("change",function(s){return z(i),H(S(5).onSubEditorChange(s))}),k()(),C(7,"div",54),I(8,Sat,2,0,"button",55),C(9,"button",58),B("click",function(){return z(i),H(S(5).cancelEditSubComment())}),P(10,"H\u1ee7y"),k()()()}if(2&r){const i=S(5);y(2),x("src",i.imgUser||"assets/Icon/user.png",oi),y(2),_e(i.userName),y(2),x("editor",i.Editor)("config",i.editorConfig)("ngModel",i.contentSubUpdate),y(2),x("ngIf",i.isEditSubCommented)}}function Eat(r,a){if(1&r){const i=ce();C(0,"div")(1,"div",90),Q(2,"img",91),C(3,"strong",19),P(4),k(),C(5,"div",92),P(6),k(),I(7,Dat,3,1,"button",93),k(),C(8,"div",66)(9,"mat-menu",null,94)(11,"button",79),B("click",function(){const l=z(i).$implicit;return H(S(4).editSubAnswer(l))}),C(12,"mat-icon"),P(13,"edit"),k(),C(14,"span"),P(15,"S\u1eeda"),k()(),C(16,"button",79),B("click",function(){const l=z(i).$implicit;let p;return H(S(4).deleteSubAnswer(null!==(p=l.id)&&void 0!==p?p:""))}),C(17,"mat-icon"),P(18,"delete"),k(),C(19,"span"),P(20,"X\xf3a"),k()()()(),Q(21,"div",68),C(22,"div")(23,"div",15),Q(24,"div"),C(25,"div",95),B("click",function(){const l=z(i).$implicit;let p;return H(S(4).Reply(null!==(p=null==l?null:l.id)&&void 0!==p?p:""))}),C(26,"div",96),P(27,"B\xecnh lu\u1eadn"),k()()(),I(28,Iat,2,2,"div",74),k(),I(29,Tat,11,6,"div",69),k()}if(2&r){const i=a.$implicit,n=S(2).$implicit,s=S(2);let l,d,p;y(2),x("src",""==(null==i.userShort?null:i.userShort.image)?"assets/Icon/user.png":null==i.userShort?null:i.userShort.image,oi),y(2),me("",null==i.userShort?null:i.userShort.fullName," "),y(1),ri("matTooltip",n.updatedAt?"Ng\xe0y c\u1eadp nh\u1eadp":"Ng\xe0y t\u1ea1o"),y(1),_e(null!==(l=i.updatedAt)&&void 0!==l?l:null==i?null:i.createdAt),y(1),x("ngIf",(null==i.userShort?null:i.userShort.id)===s.userId),y(14),x("innerHTML",i.content,il),y(7),x("ngIf",s.CheckReply(null!==(d=i.id)&&void 0!==d?d:"")),y(1),x("ngIf",s.isCheckSubEdit(null!==(p=null==i?null:i.id)&&void 0!==p?p:""))}}function Mat(r,a){if(1&r&&(C(0,"div",89),I(1,Eat,30,8,"div",59),k()),2&r){const i=S().$implicit;y(1),x("ngForOf",i.subAnswer)}}function Rat(r,a){if(1&r){const i=ce();C(0,"div")(1,"div",60)(2,"div")(3,"button",61),B("click",function(s){const d=z(i).$implicit;return H(S(2).onClickButton(s,d))}),k()(),Q(4,"img",62),C(5,"strong",19),P(6),k(),I(7,pat,2,1,"div",12),I(8,gat,2,0,"div",12),C(9,"div",63)(10,"div",64),P(11),k(),I(12,mat,3,1,"button",65),k()(),C(13,"div",66)(14,"mat-menu",null,67),I(16,vat,5,2,"div",12),I(17,bat,11,0,"div",12),k()(),Q(18,"div",68),I(19,Cat,11,6,"div",69),C(20,"div")(21,"div",15)(22,"div",45)(23,"div",70),P(24),k(),I(25,wat,4,1,"div",71),k(),C(26,"div",72),B("click",function(){const l=z(i).$implicit;let p;return H(S(2).Reply(null!==(p=null==l?null:l.id)&&void 0!==p?p:""))}),C(27,"span",6),P(28," reply "),k(),C(29,"div",73),P(30,"B\xecnh lu\u1eadn"),k()()(),I(31,kat,2,2,"div",74),k(),I(32,Mat,2,1,"div",75),k()}if(2&r){const i=a.$implicit,n=S(2);let s,l,d;y(4),x("src",""==(null==i.userShort?null:i.userShort.image)?"assets/Icon/user.png":null==i.userShort?null:i.userShort.image,oi),y(2),me("",null==i.userShort?null:i.userShort.fullName," "),y(1),x("ngIf",i.confirm),y(1),x("ngIf",i.mostConfirm),y(2),ri("matTooltip",i.updatedAt?"Ng\xe0y c\u1eadp nh\u1eadp":"Ng\xe0y t\u1ea1o"),y(1),_e(null!==(s=i.updatedAt)&&void 0!==s?s:null==i?null:i.createdAt),y(1),x("ngIf",(null==i.userShort?null:i.userShort.id)===n.userId||(null==n.question||null==n.question.userShort?null:n.question.userShort.id)===n.userId),y(4),x("ngIf",(null==n.question||null==n.question.userShort?null:n.question.userShort.id)===n.userId),y(1),x("ngIf",(null==i.userShort?null:i.userShort.id)===n.userId),y(1),x("innerHTML",i.content,il),y(1),x("ngIf",n.isCheckEdit(null!==(l=null==i?null:i.id)&&void 0!==l?l:"")),y(5),me(" ",0!=i.voteNumber?"+"+i.voteNumber:"0"," "),y(1),x("ngIf",null==i.subAnswer?null:i.subAnswer.length),y(6),x("ngIf",n.CheckReply(null!==(d=i.id)&&void 0!==d?d:"")),y(1),x("ngIf",n.viewComment==i.id)}}function Pat(r,a){if(1&r&&(C(0,"div"),I(1,Rat,33,15,"div",59),k()),2&r){const i=S();y(1),x("ngForOf",i.answers)}}let Oat=(()=>{class r{constructor(i,n,s,l,d,p,f,v,D,E,F,L){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.route=p,this.dialog=f,this.clipboardService=v,this.location=D,this.animation=E,this.el=F,this.renderer=L,this.isThumbUp=null,this.isSave=null,this.reply="",this.currentUrl="",this.likeNumber=0,this.saveNumber=0,this.commentNum=0,this.userIdOfPost="",this.question=null,this.isCommented=!1,this.isUpdateCommented=!1,this.isEdit="",this.Editor=qw(),this.createCommentContent="",this.contentUpdate="",this.createAnswer={authorId:"",questionId:"",content:"",confirm:!1,mostConfirm:!1,voteNumber:0},this.updateAnswer={authorId:"",questionId:"",content:"",confirm:!1,mostConfirm:!1,voteNumber:0},this.subAnswerContent="",this.subAnswerDto={authorId:"",preAnswerId:"",content:""},this.questionId="",this.isSubAnswerEdit="",this.updateSubAnswer={preAnswerId:"",authorId:"",content:""},this.contentSubUpdate="",this.isSubCommented=!1,this.isEditSubCommented=!1,this.viewComment="",this.editorConfig={toolbar:{items:["heading","bold","italic","blockQuote","bulletedList","numberedList","link"]},placeholder:"Vi\u1ebft b\xecnh lu\u1eadn...",language:"vi"},this.route.params.subscribe($=>{this.subQuestionId=$.id??""}),this.GetQuestion(),this.userId=l.getUserId(),this.userName=l.getName(),this.imgUser=l.getAvatar(),this.currentUrl=this.location.path(),this.connectChatSignal()}ngOnInit(){this.dataService.reloadDetailPage$.subscribe(i=>{""!=i&&i&&(this.subQuestionId=i,this.router.navigate([],{relativeTo:this.route}),this.GetQuestion())})}GetQuestion(){this.service.GetQuestionDetail(this.subQuestionId).subscribe(i=>{this.question=this.ConvertDate(i.resultObj),this.questionId=this.question.id,this.userIdOfPost=i.resultObj.userShort.id,this.commentNum=this.question.commentNumber,this.GetAnswers(),this.getInteract()},i=>{this.toastr.error("L\u1ed7i: "+i)})}GetAnswers(){this.service.GetAnswers(this.questionId).subscribe(i=>{this.answers=this.ConvertListDate(i.resultObj)},i=>{this.toastr.error("L\u1ed7i: "+i)})}connectChatSignal(){this.hubConnection=(new Uj).withUrl(this.service.getChatSignRl()).build(),this.hubConnection.start().then(()=>{}).catch(i=>console.error("Error while establishing connection:",i)),this.hubConnection.on("ReceiveAnswer",i=>{i&&(this.answers=this.ConvertListDate(i.resultObj),this.commentNum=this.answers.length)}),this.hubConnection.on("ReceiveSubAnswer",i=>{if(i.isSuccessed){var n=this.ConvertSubDate(i.resultObj);if(n?.length){var s=n[0].preAnswerId;for(const l of this.answers)if(s==l.id){l.subAnswer=n;break}}else this.GetAnswers()}})}ConvertDate(i){const n=fi(i.createdAt?.toString()??""),s=fi(i.updatedAt?.toString()??"");return isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy hh:mm",{locale:kf})),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy hh:mm",{locale:kf})),i}ConvertListDate(i){return i.forEach(n=>{0!=n.subAnswer?.length&&(n.subAnswer=this.ConvertSubDate(n.subAnswer));const s=fi(n.createdAt?.toString()??""),l=fi(n.updatedAt?.toString()??"");isNaN(s.getTime())||(n.createdAt=_i(s,"dd-MM-yyyy hh:mm",{locale:kf})),isNaN(l.getTime())||(n.updatedAt=_i(l,"dd-MM-yyyy hh:mm",{locale:kf}))}),i}ConvertSubDate(i){return i?.forEach(n=>{const s=fi(n.createdAt?.toString()??""),l=fi(n.updatedAt?.toString()??"");isNaN(s.getTime())||(n.createdAt=_i(s,"dd-MM-yyyy hh:mm",{locale:kf})),isNaN(l.getTime())||(n.updatedAt=_i(l,"dd-MM-yyyy hh:mm",{locale:kf}))}),i}getInteract(){this.session.getUserId()&&(this.service.getLikeQuestion(this.subQuestionId,this.session.getUserId()||"").subscribe(i=>{this.isThumbUp=i.resultObj.check,this.likeNumber=i.resultObj.quantity},i=>{console.error(i)}),this.service.getSaveQuestion(this.questionId,this.session.getUserId()||"").subscribe(i=>{this.isSave=i.resultObj.check,this.saveNumber=i.resultObj.quantity},i=>{console.error(i)}))}findByTag(i){this.dataService.changeKeyword("#"+i),this.router.navigate(["/searchquestion"])}toggleThumb(){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const i=new FormData;i.append("QuestionId",this.subQuestionId),i.append("UserId",this.session.getUserId()??""),this.service.LikeOrUnlikeQuestion(i).subscribe(n=>{const s=n.resultObj;this.isThumbUp=s.check,this.likeNumber=s.quantity})}IsSave(){if(!this.session.getUserId())return void this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!");const i=new FormData;i.append("QuestionId",this.questionId),i.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSaveQuestion(i).subscribe(n=>{const s=n.resultObj;this.isSave=s.check,this.saveNumber=s.quantity})}Report(){this.session.getUserId()?this.openDialog("10ms","10ms"):this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!")}openDialog(i,n){this.dialog.open(Jst,{enterAnimationDuration:i,exitAnimationDuration:n,width:"900px",height:"500px",data:{QuestionId:this.questionId}})}updatePost(){this.dataService.changeSubId(this.subQuestionId),this.openDialogUpdatePost("100ms","600ms")}openDialogUpdatePost(i,n){this.dialog.open(Gse,{enterAnimationDuration:i,exitAnimationDuration:n,width:"50%"})}copyToClipboard(){this.clipboardService.copy(this.service.getUrl()+this.currentUrl),this.toastr.info("\u0110\xe3 sao ch\xe9p \u0111\u01b0\u1eddng link")}canEditDelete(){return this.userId==this.userIdOfPost}onEditorChange(i){""!=i.editor.getData().trim()?(this.isCommented=!0,this.contentSubUpdate=i.editor.getData(),this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")):this.isCommented=!1}onSubEditorChange(i){console.log(this.isCommented),""!=i.editor.getData().trim()?(console.log(this.isCommented),this.contentUpdate=i.editor.getData(),this.isEditSubCommented=!0,this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")):this.isEditSubCommented=!1}onEditChange(i){""!=i.editor.getData().trim()?(this.isUpdateCommented=!0,this.contentUpdate=i.editor.getData(),this.hasImage(this.contentUpdate)&&this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!")):this.isUpdateCommented=!1}hasImage(i){return!!/]+src\s*=\s*['"]([^'"]+)['"][^>]*>/g.test(i)}sendAnswer(){this.createAnswer.questionId=this.questionId,this.createAnswer.authorId=this.userId??"",this.createAnswer.content=this.createCommentContent.trim(),this.service.CreateForumAnswer(this.createAnswer).subscribe(i=>{this.cancelComment()},i=>{console.log(i)})}submitEdited(){this.updateAnswer.subAnswer=[],this.updateAnswer.createdAt=new Date,this.updateAnswer.updatedAt=new Date,this.updateAnswer.content=this.contentUpdate?.trim(),""!=this.contentUpdate.trim()?this.service.UpdateForumAnswer(this.updateAnswer).subscribe(i=>{this.contentUpdate="",this.cancelEditComment()},i=>{console.log(i)}):this.toastr.info("Vui l\xf2ng kh\xf4ng \u0111\u1ec3 tr\u1ed1ng c\xe2u tr\u1ea3 l\u1eddi")}submitEditedSubAnswer(){this.hasImage(this.contentSubUpdate)?this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!"):(this.updateSubAnswer.createdAt=new Date,this.updateSubAnswer.updatedAt=new Date,this.updateSubAnswer.content=this.contentUpdate?.trim(),""!=this.contentUpdate.trim()?this.service.UpdateForumSubAnswer(this.updateSubAnswer).subscribe(i=>{this.contentSubUpdate="",this.cancelEditSubComment()},i=>{console.log(i)}):this.toastr.info("Vui l\xf2ng kh\xf4ng \u0111\u1ec3 tr\u1ed1ng b\xecnh lu\u1eadn"))}cancelComment(){this.isCommented=!1,this.createCommentContent=""}cancelSubComment(){this.subAnswerContent="",this.reply=""}cancelEditComment(){this.isUpdateCommented=!1,this.contentUpdate="",this.isEdit="-1"}cancelEditSubComment(){this.isEditSubCommented=!1,this.contentSubUpdate="",this.isSubAnswerEdit="-1"}editAnswer(i){var n=this.answers?.find(s=>s.id===i);n&&(this.updateAnswer=n,this.contentUpdate=n.content,this.isEdit=i)}editSubAnswer(i){this.updateSubAnswer=i,this.contentSubUpdate=i.content,this.isSubAnswerEdit=i.id??""}deleteAnswer(i){this.service.deleteAnswer(i).subscribe(n=>{},n=>{this.toastr.error("L\u1ed7i: "+n)})}deleteSubAnswer(i){this.service.deleteSubAnswer(i).subscribe(n=>{},n=>{this.toastr.error("L\u1ed7i: "+n)})}isCheckEdit(i){return this.isEdit==i}isCheckSubEdit(i){return this.isSubAnswerEdit==i}loginUser(){this.router.navigate(["/login"],{state:{redirect:this.router.url}})}Reply(i){this.session.getUserId()?this.reply=i??"":this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!")}CheckReply(i){return i==this.reply}cancelReply(){this.reply=""}sendSubAnswer(i,n){this.hasImage(this.subAnswerContent)?this.toastr.warning("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn c\xf3 n\u1ed9i dung l\xe0 \u1ea3nh!"):(this.subAnswerDto.authorId=this.userId??"",this.subAnswerDto.preAnswerId=i,this.subAnswerContent.trim()?(this.subAnswerDto.content=this.subAnswerContent.trim(),this.service.CreateForumSubAnswer(this.subAnswerDto).subscribe(s=>{this.viewComments(i),this.cancelSubComment()},s=>{console.log(s)})):this.toastr.info("Kh\xf4ng \u0111\u01b0\u1ee3c b\xecnh lu\u1eadn tr\u1ed1ng!"))}confirmAnswerByQuestioner(i){var n={answerId:"",questionId:"",questionUserId:"",userId:""};n.answerId=i.id??"",n.userId=this.session.getUserId()??"",n.questionId=i.questionId,n.questionUserId=this.userId??"",this.service.VoteAnswerByQuestioner(n).subscribe(s=>{s.isSuccessed?this.GetAnswers():this.toastr.error("L\u1ed7i: "+s.message)},s=>{this.toastr.error("L\u1ed7i: "+s)})}onClickButton(i,n){if(this.session.getUserId()){var s={answerId:"",questionId:"",questionUserId:"",userId:""};s.answerId=n.id??"",s.userId=this.userId??"",s.questionId=n.questionId,s.questionUserId=this.question?.userShort.id??"",this.service.VoteAnswer(s).subscribe(l=>{l.isSuccessed?(this.animation.animateButton(i.target),setTimeout(()=>{this.GetAnswers()},1e3)):this.toastr.error("L\u1ed7i: "+l.message)},l=>{this.toastr.error("L\u1ed7i: "+l)})}else this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp!")}onClickButton1(i){this.animation.animateButton1(i.target)}viewComments(i){this.viewComment=this.viewComment==i?"":i}scrollToAnswerCard(){const i=this.el.nativeElement.querySelector("#answerCard");i&&i.scrollIntoView({behavior:"smooth"})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(_c),T(Dc),T(W5),T(Gu),T(o4),T(ke),T(Ui))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-question"]],decls:77,vars:19,consts:[[1,"po-re"],[2,"position","fixed"],[1,"interact"],["matTooltip","C\xf9ng th\u1eafc m\u1eafc","mat-icon-button","","matTooltipPosition","right","class","btn-interact",3,"click",4,"ngIf","ngIfElse"],["liked",""],["matTooltip","\u0110\u1ebfn c\xe2u tr\u1ea3 l\u1eddi","matTooltipPosition","right","mat-icon-button","",1,"btn-interact",3,"click"],[1,"material-symbols-outlined"],[1,"likeNumber"],["matTooltip","L\u01b0u xem sau","matTooltipPosition","right","mat-icon-button","","class","btn-interact",3,"click",4,"ngIf","ngIfElse"],["saved",""],["matTooltip","B\xe1o c\xe1o","matTooltipPosition","right","mat-icon-button","",1,"dis-flex",3,"click"],["matTooltip","Copy","matTooltipPosition","right","mat-icon-button","","title","Chia s\u1ebb link b\xe0i vi\u1ebft",1,"dis-flex",3,"click"],[4,"ngIf"],[1,"mt-50","plr-300","dis-flex","mh-page"],[1,"font",2,"flex-grow","1"],[1,"flex-center-sb"],[1,"dis-flex","mt-1"],["avaterdefault",""],["alt","avatar","class","icon-24","style","margin-right: 8px;",3,"src",4,"ngIf","ngIfElse"],[1,"pl"],[1,"fs-20","fw-6"],[1,"font","content-question","mt-1","mb-1",2,"overflow","auto",3,"innerHTML"],["matTooltipPosition","right",1,"flex-center-h","cursor-d",3,"matTooltip"],["matSuffix",""],["cdkDropList","","cdkDropListOrientation","horizontal"],["class","flex-center-h",4,"ngIf"],["id","answerCard"],[1,"card-answer","pb-1"],["aria-label","S\u1eafp x\u1ebfp","matTooltip","S\u1eafp x\u1ebfp",1,"flex-center-h",2,"border","none","background-color","transparent",3,"matMenuTriggerFor"],[1,"pr"],["menu1","matMenu"],["mat-menu-item",""],["mat-menu-item","","disabled",""],["style","padding: 8px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;",4,"ngIf","ngIfElse"],["class","pt"],["login",""],["matTooltip","C\xf9ng th\u1eafc m\u1eafc","mat-icon-button","","matTooltipPosition","right",1,"btn-interact",3,"click"],["matTooltip","C\xf9ng th\u1eafc m\u1eafc","mat-icon-button","","matTooltipPosition","right","mat-icon-button","",1,"selected","btn-interact",3,"click"],[1,"material-symbols-outlined","selected-icon"],["matTooltip","L\u01b0u xem sau","matTooltipPosition","right","mat-icon-button","",1,"btn-interact",3,"click"],["matTooltip","B\u1ecf l\u01b0u","matTooltipPosition","right","mat-icon-button","",1,"selected","btn-interact",3,"click"],["matTooltip","S\u1eeda b\xe0i","matTooltipPosition","right","mat-icon-button","",1,"dis-flex",3,"click"],["matTooltip","X\xf3a b\xe0i","matTooltipPosition","right","mat-icon-button","",1,"dis-flex",2,"display","block"],["src","assets/Icon/user.png","alt","avatar",1,"icon-24"],["alt","avatar",1,"icon-24",2,"margin-right","8px",3,"src"],[1,"flex-center-h"],["matTooltip","T\xecm ki\u1ebfm tag n\xe0y","matTooltipPosition","below","cdkDrag","",3,"click",4,"ngFor","ngForOf"],["matTooltip","T\xecm ki\u1ebfm tag n\xe0y","matTooltipPosition","below","cdkDrag","",3,"click"],[2,"cursor","pointer"],[2,"padding","8px","box-shadow","rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px"],[1,"pb",2,"display","flex","align-items","center"],["alt","",1,"icon-24",3,"src"],[2,"font-size","14px"],[2,"max-height","650px","overflow","auto",3,"editor","config","ngModel","ngModelChange","change"],[1,"mt"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["mat-button","",3,"click",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"],["mat-button","",3,"click"],[4,"ngFor","ngForOf"],[1,"mt-1",2,"display","flex","align-items","center"],["matTooltip","T\xe1n th\xe0nh","matTooltipPosition","left",1,"bubbly-button",3,"click"],["alt","avatar",1,"icon-24","ml",3,"src"],[2,"display","flex","margin-left","auto","align-items","center"],["matTooltipPosition","left",1,"mr-1","cursor-d",3,"matTooltip"],["mat-icon-button","","class"," dis-flex","style","right: 16px;",3,"matMenuTriggerFor",4,"ngIf"],["btn-comment",""],["menu2","matMenu"],[1,"content",2,"position","relative !important",3,"innerHTML"],["style","padding: 8px; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;",4,"ngIf"],["matTooltip","Ng\u01b0\u1eddi ch\u1ecdn c\xe2u tr\u1ea3 l\u1eddi n\xe0y \u0111\xfang","matTooltipPosition","below",1,"cursor-d","mr-1",2,"font-weight","700","color","#263390"],["class","flex-center-h cursor-p","matTooltip","Xem b\xecnh lu\u1eadn","matTooltipPosition","left",3,"click",4,"ngIf"],[1,"dis-flex","cursor-p","reply",2,"margin-left","auto",3,"click"],[2,"font-weight","500"],["style","margin-left: 4%;","class","mt",4,"ngIf"],["style","margin-left: 4%;",4,"ngIf"],["src","assets/Icon/tick.png","alt","tick",1,"ml-1","img-24",3,"matTooltip"],["src","assets/Icon/tick1.png","matTooltip","c\xe2u tr\u1ea3 l\u1eddi nhi\u1ec1u ng\u01b0\u1eddi \u0111\xf4ng \xfd nh\u1ea5t","alt","tick",1,"ml-1","img-24"],["mat-icon-button","",1,"dis-flex",2,"right","16px",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["class","flex-center-h",4,"ngIf","ngIfElse"],["class","flex-center-h"],["unConfirmAnswer",""],[1,"material-symbols-outlined",2,"color","green"],[1,"cursor-p","ml-1"],["matTooltip","Xem b\xecnh lu\u1eadn","matTooltipPosition","left",1,"flex-center-h","cursor-p",3,"click"],[1,"material-symbols-outlined","mr"],[1,"mt",2,"margin-left","4%"],[1,"cursor-p",2,"padding-left","4px"],[2,"margin-left","4%"],[1,"mt",2,"display","flex","align-items","center"],["alt","avatar",1,"icon-24",3,"src"],["matTooltipPosition","right",1,"pl","cursor-d",3,"matTooltip"],["mat-icon-button","","class"," dis-flex","style","right: 16px; margin-left: auto;",3,"matMenuTriggerFor",4,"ngIf"],["menu3","matMenu"],[1,"dis-flex","cursor-p","reply",3,"click"],[2,"font-size","13"],["mat-icon-button","",1,"dis-flex",2,"right","16px","margin-left","auto",3,"matMenuTriggerFor"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"div",2),I(3,eat,5,1,"button",3),I(4,tat,5,1,"ng-template",null,4,pe),C(6,"button",5),B("click",function(){return s.scrollToAnswerCard()}),C(7,"span",6),P(8," forum "),k(),C(9,"div",7),P(10),k()(),I(11,iat,5,1,"button",8),I(12,nat,5,1,"ng-template",null,9,pe),C(14,"button",10),B("click",function(){return s.Report()}),C(15,"span",6),P(16," error "),k()(),C(17,"button",11),B("click",function(){return s.copyToClipboard()}),C(18,"span",6),P(19," content_copy "),k()(),I(20,oat,7,0,"div",12),k()()(),C(21,"div",13)(22,"div",14)(23,"div",15)(24,"div",16),I(25,rat,1,0,"ng-template",null,17,pe),I(27,sat,1,1,"img",18),C(28,"span",19),P(29),k()()(),C(30,"div")(31,"h1",20),P(32),k(),C(33,"div"),Q(34,"p",21),C(35,"span",15)(36,"div")(37,"strong"),P(38),k()(),C(39,"div",22)(40,"mat-icon",23),P(41,"today"),k(),P(42),k()()()(),C(43,"div")(44,"mat-chip-set",24),I(45,lat,4,1,"div",25),k()(),C(46,"div",26)(47,"div",15)(48,"h6",27)(49,"strong"),P(50,"Tr\u1ea3 l\u1eddi"),k()(),C(51,"button",28)(52,"span",29),P(53,"S\u1eafp x\u1ebfp"),k(),C(54,"span",6),P(55," keyboard_arrow_down "),k()(),C(56,"mat-menu",null,30)(58,"button",31)(59,"mat-icon"),P(60,"dialpad"),k(),C(61,"span"),P(62,"M\u1eb7c \u0111\u1ecbnh"),k()(),C(63,"button",31)(64,"mat-icon"),P(65,"dialpad"),k(),C(66,"span"),P(67,"Theo th\u1eddi gian"),k()(),C(68,"button",32)(69,"mat-icon"),P(70,"voicemail"),k(),C(71,"span"),P(72,"L\u01b0\u1ee3t b\xecnh ch\u1ecdn nhi\u1ec1u nh\u1ea5t"),k()()()(),I(73,uat,10,7,"div",33),I(74,hat,4,0,"ng-template",34,35,pe),I(76,Pat,2,1,"div",12),k()()()),2&n){const l=ee(5),d=ee(13),p=ee(26),f=ee(57),v=ee(75);let D;y(3),x("ngIf",!s.isThumbUp)("ngIfElse",l),y(7),me(" ",s.commentNum," "),y(1),x("ngIf",!s.isSave)("ngIfElse",d),y(9),x("ngIf",s.canEditDelete()),y(7),x("ngIf",""!==(null==s.question||null==s.question.userShort?null:s.question.userShort.image))("ngIfElse",p),y(2),_e(null==s.question||null==s.question.userShort?null:s.question.userShort.fullName),y(3),_e(null==s.question?null:s.question.title),y(2),x("innerHTML",null==s.question?null:s.question.content,il),y(4),me("L\u01b0\u1ee3t xem: ",null==s.question?null:s.question.viewNumber,""),y(1),ri("matTooltip",null==(null==s.question?null:s.question.updatedAt)?"\u0110\xe3 t\u1ea1o":"\u0110\xe3 s\u1eeda"),y(3),me(" ",null!==(D=null==s.question?null:s.question.updatedAt)&&void 0!==D?D:null==s.question?null:s.question.createdAt," "),y(3),x("ngIf",null==s.question||null==s.question.tags?null:s.question.tags.length),y(6),x("matMenuTriggerFor",f),y(22),x("ngIf",s.userId)("ngIfElse",v),y(3),x("ngIf",s.answers&&s.answers.length>0)}},dependencies:[Vt,Qe,gn,ss,Us,Cr,wr,Fo,z5,yb,H5,ph,wb,er,Yw],styles:[".card-answer[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;background-color:#000000c1;padding:8px 16px;color:#fff;border-radius:4px;margin:16px 0}[_nghost-%COMP%] .ck.ck-editor{border:none!important;outline:none!important}[_nghost-%COMP%] .ck.ck-toolbar{border:none!important}[_nghost-%COMP%] .ck.ck-content{outline:none!important}[_nghost-%COMP%] .ck.ck-input{outline:none!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{box-shadow:none!important}.reply[_ngcontent-%COMP%]{background-color:#f7f7f7;border-radius:4px;padding:4px 8px}.reply[_ngcontent-%COMP%]:hover{background-color:#eee;border-radius:4px;padding:4px 8px}"]})}return r})();function Fat(r,a){1&r&&(be(0),P(1,"\xa0"),ve())}function Nat(r,a){1&r&&Q(0,"img",21),2&r&&ri("src",S().$implicit.userShort.image,oi)}function Lat(r,a){1&r&&Q(0,"img",22)}const Bat=function(){return[1,2,3,4,5,6,7,8,9]};function Vat(r,a){if(1&r){const i=ce();C(0,"div",8)(1,"div",9)(2,"button",10),B("click",function(s){const d=z(i).$implicit;return H(S().IsSave(d,s))}),C(3,"mat-icon",11),P(4," close "),k()()(),C(5,"a",12),B("click",function(){const l=z(i).$implicit;return H(S().postDetail(l))}),C(6,"strong",13),I(7,Fat,2,0,"ng-container",14),P(8),k(),C(9,"div",15)(10,"div",16),I(11,Nat,1,1,"img",17),I(12,Lat,1,0,"ng-template",null,18,pe),C(14,"span",19),P(15),k()(),C(16,"div",20)(17,"div"),P(18),k()()()()()}if(2&r){const i=a.$implicit,n=ee(13);y(7),x("ngForOf",Dn(6,Bat)),y(1),me("",i.title," "),y(3),x("ngIf",""!==i.userShort.image)("ngIfElse",n),y(4),_e(null==i||null==i.userShort?null:i.userShort.fullName),y(3),me(" ",i.viewNumber," l\u01b0\u1ee3t xem ")}}let zat=(()=>{class r{constructor(i,n,s,l,d,p){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d,this.dialog=p,this.questions=[],this.userId=l.getUserId()??"",this.GetMyQuestion()}GetMyQuestion(){this.service.GetMyQuestionSaved().subscribe(i=>{this.questions=i.resultObj,this.ConvertDate()})}ConvertDate(){this.questions.forEach(i=>{if(i){const n=fi(i.createdAt),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}postDetail(i){this.router.navigate(["/forum",i.subId])}IsSave(i,n){const s=new FormData;s.append("QuestionId",i.id),s.append("UserId",this.session.getUserId()??""),this.service.SaveOrUnSaveQuestion(s).subscribe(l=>{this.GetMyQuestion()})}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi),T(Dc))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-myquestionsaved"]],decls:12,vars:1,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","C\xe2u h\u1ecfi c\u1ee7a t\xf4i","matTooltipPosition","right","mat-icon-button","","routerLink","/mycategory/question",1,"btn-interact",2,"top","100px"],[1,"material-symbols-outlined"],["matTooltip","C\xe2u h\u1ecfi \u0111\xe3 l\u01b0u","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","148px"],[2,"text-align","center","margin-top","48px"],["class","mb-1","style","display: inline-flex;",4,"ngFor","ngForOf"],[1,"plr-1","pt","pb","text-white","tag-category"],[1,"mb-1",2,"display","inline-flex"],[2,"z-index","10"],["matTooltip","B\u1ecf l\u01b0u","matTooltipPosition","above","mat-mini-fab","",1,"po-ab",2,"margin-top","4px","margin-left","12px","background-color","#00000073","height","24px","width","24px","box-shadow","none !important",3,"click"],[1,"material-symbols-outlined","text-white"],[1,"card-question","font","pt-1",2,"padding","0 10px",3,"click"],[1,"text-5-line",2,"text-align","start","margin-top","4px"],[4,"ngFor","ngForOf"],[1,"son-question"],[1,"dis-flex","mt"],["alt","","class","icon-24",3,"src",4,"ngIf","ngIfElse"],["avaterdefault",""],[1,"pl-1","w-80","of-h"],[1,"flex-center-sb"],["alt","",1,"icon-24",3,"src"],["src","assets/Icon/user.png","alt","",1,"icon-24"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),P(4," indeterminate_question_box "),k()(),C(5,"button",4)(6,"span",3),P(7," bookmark_added "),k()()(),C(8,"div",5),I(9,Vat,19,7,"div",6),k(),C(10,"div",7),P(11," C\xe2u h\u1ecfi \u0111\xe3 l\u01b0u "),k()()),2&n&&(y(9),x("ngForOf",s.questions))},dependencies:[js,Vt,Qe,wr,jw,Fo,er],styles:[".seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}.card-question[_ngcontent-%COMP%]{position:relative;display:inline-block;width:254px!important;height:160px;cursor:pointer;border:1px solid #ccc}.card-question[_ngcontent-%COMP%]:hover{border-radius:4px;box-shadow:0 3px 8px #0000003d}.son-question[_ngcontent-%COMP%]{width:100%;position:absolute;bottom:0}"]})}return r})();function Hat(r,a){if(1&r&&(C(0,"a",5),Q(1,"img",6),C(2,"div",7)(3,"div")(4,"h1",8),P(5),k()(),C(6,"p"),P(7),k(),C(8,"div",9),P(9),k()()()),2&r){const i=a.$implicit;x("href",i.url,oi),y(1),ri("src",i.image,oi),y(4),me(" ",i.title," "),y(2),me(" ",i.description," "),y(2),me(" ",i.createdAt," ")}}const Gat=function(){return[10,15,20,50]};let jat=(()=>{class r{constructor(i,n){this.service=i,this.toastr=n,this.pagedNews=[],this.currentPage=1,this.pageSize=15,this.GetNews()}ngOnInit(){}GetNews(){this.service.GetNews().subscribe(i=>{i.isSuccessed?(this.news=i.resultObj,this.ConvertDate(),this.updatePagedNews()):this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}ConvertDate(){this.news.forEach(i=>{const n=fi(i.createdAt?.toString()??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy hh:mm"))})}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedNews()}updatePagedNews(){const i=(this.currentPage-1)*this.pageSize;this.pagedNews=this.news.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(In),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-news"]],decls:6,vars:6,consts:[[1,"mt-60","plr-300","mh-page"],[1,"mt","mb","card-title"],[1,"mt-1"],["class","flex-center-h mt text-black underline-none","target","_blank",3,"href",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],["target","_blank",1,"flex-center-h","mt","text-black","underline-none",3,"href"],["loading","lazy","alt","\u1ea3nh tin t\u1ee9c",1,"img-news",3,"src"],[1,"ml-1","dis-block"],[1,"title"],[2,"float","inline-end"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"h1",1),P(2," \u{1f4fb} B\u1ea3n tin l\u1ecbch s\u1eed t\u1ed5ng h\u1ee3p "),k(),C(3,"div",2),I(4,Hat,10,5,"a",3),C(5,"mat-paginator",4),B("page",function(d){return s.pageEvent(d)}),k()()()),2&n&&(y(4),x("ngForOf",s.pagedNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.news.length)("pageSizeOptions",Dn(5,Gat)))},dependencies:[Vt,xb],styles:[".img-news[_ngcontent-%COMP%]{width:240px;height:150px;object-fit:contain}.title[_ngcontent-%COMP%]{font-size:20px;font-weight:600}"]})}return r})();function $at(r,a){if(1&r&&(C(0,"div",11)(1,"i")(2,"strong"),P(3),k(),P(4," t\xe0i li\u1ec7u \u0111\u01b0\u1ee3c t\xecm th\u1ea5y"),k()()),2&r){const i=S();y(3),_e(i.countResult)}}function Uat(r,a){if(1&r){const i=ce();C(0,"li",12)(1,"a",13),B("click",function(){const l=z(i).$implicit;return H(S().DocumentDetail(l))}),C(2,"div")(3,"span",14),P(4),k(),C(5,"span",15),P(6),k(),C(7,"div",16)(8,"div",17),Q(9,"img",18),C(10,"div",19)(11,"span"),P(12),k()()(),C(13,"div",20)(14,"div",21)(15,"span",22),P(16," visibility "),k(),P(17),k(),C(18,"div",23)(19,"span",22),P(20," download "),k(),P(21),k()()()()()()}if(2&r){const i=a.$implicit;y(4),me("\u{1f4d1} ",i.title,""),y(2),_e(i.description),y(3),ri("src",""!=i.userShort.image?i.userShort.image:"assets/Icon/user.png",oi),y(3),_e(i.userShort.fullName),y(5),me(" ",i.view,""),y(4),me(" ",i.downloadNumber," ")}}const Wat=function(){return[10,20,50]};let qat=(()=>{class r{constructor(i,n,s,l){this.router=i,this.service=n,this.session=s,this.toastr=l,this.documents=[],this.documentFpk={userId:this.session.getUserId()??"",documentId:""},this.documentSaved=[],this.documentNews=[],this.currentPage=1,this.pageSize=10,this.getDocuments(),this.session.getUserId()&&this.GetSaved()}getDocuments(){this.service.GetDocument().subscribe(i=>{this.documents=i.resultObj,this.ConvertDate(),this.updatePagedDocuments()},i=>{console.error("L\u1ed7i l\u1ea5y danh s\xe1ch:",i)})}ConvertDate(){this.documents.forEach(i=>{if(i){const n=fi(i.createdAt??""),s=fi(i.updatedAt??"");isNaN(n.getTime())||(i.createdAt=_i(n,"dd-MM-yyyy")),isNaN(s.getTime())||(i.updatedAt=_i(s,"dd-MM-yyyy"))}})}search(){this.keyWord?.trim()?this.service.documentSearch(this.keyWord).subscribe(i=>{i.isSuccessed&&(this.documents=i.resultObj,this.updatePagedDocuments(),this.session.getUserId()&&this.GetSaved(),this.ConvertDate(),this.countResult=this.documents.length)}):this.getDocuments()}GetSaved(){this.service.GetMyPostSaved().subscribe(i=>{this.documentSaved=i.resultObj,this.documents.forEach(n=>{n.isSaved=this.checkSave(n)})})}checkSave(i){return!!this.documentSaved.some(n=>n.id===i.id)&&(i.isSaved=!0,!0)}DocumentDetail(i){this.router.navigate(["/document",i.subId])}pageEvent(i){this.currentPage=i.pageIndex+1,this.pageSize=i.pageSize,this.updatePagedDocuments()}updatePagedDocuments(){const i=(this.currentPage-1)*this.pageSize;this.documentNews=this.documents.slice(i,i+this.pageSize)}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-document"]],decls:17,vars:8,consts:[[1,"plr-200","mt-60","h-page"],[1,"flex-center-sb"],[1,"card-title"],[1,"search-container"],["type","text","matInput","","placeholder","T\xecm ki\u1ebfm",1,"input-search","font",3,"ngModel","ngModelChange","keyup.enter"],[1,"btn-search",3,"click"],["matSuffix","","matRipple","",1,"mr","btn-search-icon"],["class","po-ab","style","right: 24px;font-size: 12px; font-weight: 500;",4,"ngIf"],[1,"mt-1"],["class","mb-1 pt cursor-p card-hover-blue plr-1",4,"ngFor","ngForOf"],[3,"pageSize","pageIndex","length","pageSizeOptions","page"],[1,"po-ab",2,"right","24px","font-size","12px","font-weight","500"],[1,"mb-1","pt","cursor-p","card-hover-blue","plr-1"],[1,"underline-none","text-black",3,"click"],[1,"fs16","fw-6"],[1,"dis-block","text-2-line","mt"],[1,"flex-center-sb","pb"],[1,"flex-center-h","mt"],["alt","",1,"img-24",3,"src"],[1,"pl"],[1,"flex-center-h"],["matTooltip","l\u01b0\u1ee3t xem",1,"flex-center-h"],[1,"material-symbols-outlined"],["matTooltip","l\u01b0\u1ee3t t\u1ea3i xu\u1ed1ng",1,"pl","flex-center-h"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div")(2,"div",1)(3,"h1",2),P(4,"T\xe0i li\u1ec7u l\u1ecbch s\u1eed"),k(),C(5,"div")(6,"div",3)(7,"input",4),B("ngModelChange",function(d){return s.keyWord=d})("keyup.enter",function(){return s.search()}),k(),C(8,"button",5),B("click",function(){return s.search()}),C(9,"mat-icon",6),P(10,"search"),k()()(),C(11,"div"),I(12,$at,5,1,"div",7),k()()(),C(13,"div",8)(14,"ul"),I(15,Uat,22,6,"li",9),C(16,"mat-paginator",10),B("page",function(d){return s.pageEvent(d)}),k()()()()()),2&n&&(y(7),x("ngModel",s.keyWord),y(5),x("ngIf",s.countResult),y(3),x("ngForOf",s.documentNews),y(1),x("pageSize",s.pageSize)("pageIndex",s.currentPage-1)("length",s.documents.length)("pageSizeOptions",Dn(7,Wat)))},dependencies:[Vt,Qe,Sn,gn,ss,hs,Us,xb,Fo,er],styles:[".card-hover-blue[_ngcontent-%COMP%]:hover{outline:1px solid #3E50CA;border-radius:4px}"]})}return r})();var Use=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r4=function(r){return r&&r.Math==Math&&r},Vi=r4("object"==typeof globalThis&&globalThis)||r4("object"==typeof window&&window)||r4("object"==typeof self&&self)||r4("object"==typeof Use&&Use)||function(){return this}()||Function("return this")(),lx={},Kl=function(r){try{return!!r()}catch{return!0}},Af=!Kl(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),s4=!Kl(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")}),a4=Function.prototype.call,Yl=s4?a4.bind(a4):function(){return a4.apply(a4,arguments)},Wse={},qse={}.propertyIsEnumerable,Kse=Object.getOwnPropertyDescriptor,Xat=Kse&&!qse.call({1:2},1);Wse.f=Xat?function(a){var i=Kse(this,a);return!!i&&i.enumerable}:qse;var mu,d4,Yse=function(r,a){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:a}},Qse=s4,Xse=Function.prototype,_$=Xse.call,Jat=Qse&&Xse.bind.bind(_$,_$),gs=Qse?function(r){return r&&Jat(r)}:function(r){return r&&function(){return _$.apply(r,arguments)}},Zse=gs,elt=Zse({}.toString),tlt=Zse("".slice),QS=function(r){return tlt(elt(r),8,-1)},olt=Kl,rlt=QS,v$=Vi.Object,slt=gs("".split),alt=olt(function(){return!v$("z").propertyIsEnumerable(0)})?function(r){return"String"==rlt(r)?slt(r,""):v$(r)}:v$,clt=Vi.TypeError,Tb=function(r){if(null==r)throw clt("Can't call method on "+r);return r},dlt=alt,ult=Tb,l4=function(r){return dlt(ult(r))},qs=function(r){return"function"==typeof r},hlt=qs,If=function(r){return"object"==typeof r?null!==r:hlt(r)},b$=Vi,plt=qs,Sf=function(r,a){return arguments.length<2?function(r){return plt(r)?r:void 0}(b$[r]):b$[r]&&b$[r][a]},y$=gs({}.isPrototypeOf),c4=Sf("navigator","userAgent")||"",C$=c4,eae=Vi.process,tae=Vi.Deno,iae=eae&&eae.versions||tae&&tae.version,nae=iae&&iae.v8;nae&&(d4=(mu=nae.split("."))[0]>0&&mu[0]<4?1:+(mu[0]+mu[1])),!d4&&C$&&(!(mu=C$.match(/Edge\/(\d+)/))||mu[1]>=74)&&(mu=C$.match(/Chrome\/(\d+)/))&&(d4=+mu[1]);var oae=d4,rae=oae,sae=!!Object.getOwnPropertySymbols&&!Kl(function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&rae&&rae<41}),aae=sae&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ylt=Sf,Clt=qs,wlt=y$,klt=Vi.Object,lae=aae?function(r){return"symbol"==typeof r}:function(r){var a=ylt("Symbol");return Clt(a)&&wlt(a.prototype,klt(r))},Alt=Vi.String,u4=function(r){try{return Alt(r)}catch{return"Object"}},Slt=qs,Tlt=u4,Elt=Vi.TypeError,Eb=function(r){if(Slt(r))return r;throw Elt(Tlt(r)+" is not a function")},Mlt=Eb,XS=function(r,a){var i=r[a];return null==i?void 0:Mlt(i)},w$=Yl,x$=qs,k$=If,Plt=Vi.TypeError,h4={exports:{}},cae=Vi,Flt=Object.defineProperty,D$=function(r,a){try{Flt(cae,r,{value:a,configurable:!0,writable:!0})}catch{cae[r]=a}return a},dae="__core-js_shared__",A$=Vi[dae]||D$(dae,{}),uae=A$;(h4.exports=function(r,a){return uae[r]||(uae[r]=void 0!==a?a:{})})("versions",[]).push({version:"3.22.2",mode:"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"});var zlt=Tb,Hlt=Vi.Object,hae=function(r){return Hlt(zlt(r))},jlt=hae,$lt=gs({}.hasOwnProperty),ag=Object.hasOwn||function(a,i){return $lt(jlt(a),i)},Ult=gs,Wlt=0,qlt=Math.random(),Klt=Ult(1..toString),pae=function(r){return"Symbol("+(void 0===r?"":r)+")_"+Klt(++Wlt+qlt,36)},Ylt=Vi,gae=ag,Xlt=pae,mae=sae,fae=aae,cx=(0,h4.exports)("wks"),Mb=Ylt.Symbol,_ae=Mb&&Mb.for,Zlt=fae?Mb:Mb&&Mb.withoutSetter||Xlt,vl=function(r){if(!gae(cx,r)||!mae&&"string"!=typeof cx[r]){var a="Symbol."+r;cx[r]=mae&&gae(Mb,r)?Mb[r]:fae&&_ae?_ae(a):Zlt(a)}return cx[r]},ect=Yl,vae=If,bae=lae,tct=XS,oct=Vi.TypeError,rct=vl("toPrimitive"),act=function(r,a){if(!vae(r)||bae(r))return r;var n,i=tct(r,rct);if(i){if(void 0===a&&(a="default"),n=ect(i,r,a),!vae(n)||bae(n))return n;throw oct("Can't convert object to primitive value")}return void 0===a&&(a="number"),function(r,a){var i,n;if("string"===a&&x$(i=r.toString)&&!k$(n=w$(i,r))||x$(i=r.valueOf)&&!k$(n=w$(i,r))||"string"!==a&&x$(i=r.toString)&&!k$(n=w$(i,r)))return n;throw Plt("Can't convert object to primitive value")}(r,a)},lct=lae,yae=function(r){var a=act(r,"string");return lct(a)?a:a+""},Cae=If,I$=Vi.document,dct=Cae(I$)&&Cae(I$.createElement),S$=function(r){return dct?I$.createElement(r):{}},pct=S$,wae=!Af&&!Kl(function(){return 7!=Object.defineProperty(pct("div"),"a",{get:function(){return 7}}).a}),mct=Yl,fct=Wse,_ct=Yse,vct=l4,bct=yae,yct=ag,Cct=wae,xae=Object.getOwnPropertyDescriptor;lx.f=Af?xae:function(a,i){if(a=vct(a),i=bct(i),Cct)try{return xae(a,i)}catch{}if(yct(a,i))return _ct(!mct(fct.f,a,i),a[i])};var Rb={},kae=Af&&Kl(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),kct=If,Dct=Vi.String,Act=Vi.TypeError,Ql=function(r){if(kct(r))return r;throw Act(Dct(r)+" is not an object")},Tct=wae,p4=Ql,Aae=yae,Mct=Vi.TypeError,T$=Object.defineProperty,Rct=Object.getOwnPropertyDescriptor,E$="enumerable",M$="configurable",R$="writable";Rb.f=Af?kae?function(a,i,n){if(p4(a),i=Aae(i),p4(n),"function"==typeof a&&"prototype"===i&&"value"in n&&R$ in n&&!n[R$]){var s=Rct(a,i);s&&s[R$]&&(a[i]=n.value,n={configurable:M$ in n?n[M$]:s[M$],enumerable:E$ in n?n[E$]:s[E$],writable:!1})}return T$(a,i,n)}:T$:function(a,i,n){if(p4(a),i=Aae(i),p4(n),Tct)try{return T$(a,i,n)}catch{}if("get"in n||"set"in n)throw Mct("Accessors not supported");return"value"in n&&(a[i]=n.value),a};var Oct=Rb,Fct=Yse,g4=Af?function(r,a,i){return Oct.f(r,a,Fct(1,i))}:function(r,a,i){return r[a]=i,r},dx={exports:{}},Lct=qs,P$=A$,Bct=gs(Function.toString);Lct(P$.inspectSource)||(P$.inspectSource=function(r){return Bct(r)});var f4,ZS,_4,m4=P$.inspectSource,Hct=m4,Iae=Vi.WeakMap,Gct=qs(Iae)&&/native code/.test(Hct(Iae)),$ct=pae,Sae=(0,h4.exports)("keys"),Tae=function(r){return Sae[r]||(Sae[r]=$ct(r))},O$={},F$=gs,Wct=If,qct=g4,N$=ag,Kct=Tae,Yct=O$,Mae="Object already initialized",B$=Vi.TypeError;if(Gct||A$.state){var Pb=A$.state||(A$.state=new(0,Vi.WeakMap)),Jct=F$(Pb.get),Rae=F$(Pb.has),edt=F$(Pb.set);f4=function(r,a){if(Rae(Pb,r))throw new B$(Mae);return a.facade=r,edt(Pb,r,a),a},ZS=function(r){return Jct(Pb,r)||{}},_4=function(r){return Rae(Pb,r)}}else{var ux=Kct("state");Yct[ux]=!0,f4=function(r,a){if(N$(r,ux))throw new B$(Mae);return a.facade=r,qct(r,ux,a),a},ZS=function(r){return N$(r,ux)?r[ux]:{}},_4=function(r){return N$(r,ux)}}var V$={set:f4,get:ZS,has:_4,enforce:function(r){return _4(r)?ZS(r):f4(r,{})},getterFor:function(r){return function(a){var i;if(!Wct(a)||(i=ZS(a)).type!==r)throw B$("Incompatible receiver, "+r+" required");return i}}},z$=Af,Pae=Function.prototype,idt=z$&&Object.getOwnPropertyDescriptor,H$=ag(Pae,"name"),odt=H$&&(!z$||z$&&idt(Pae,"name").configurable),sdt=Vi,Oae=qs,adt=ag,Fae=g4,ldt=D$,cdt=m4,ddt=odt,udt=V$.get,hdt=V$.enforce,pdt=String(String).split("String");(dx.exports=function(r,a,i,n){var f,s=!!n&&!!n.unsafe,l=!!n&&!!n.enumerable,d=!!n&&!!n.noTargetGet,p=n&&void 0!==n.name?n.name:a;Oae(i)&&("Symbol("===String(p).slice(0,7)&&(p="["+String(p).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!adt(i,"name")||ddt&&i.name!==p)&&Fae(i,"name",p),(f=hdt(i)).source||(f.source=pdt.join("string"==typeof p?p:""))),r!==sdt?(s?!d&&r[a]&&(l=!0):delete r[a],l?r[a]=i:Fae(r,a,i)):l?r[a]=i:ldt(a,i)})(Function.prototype,"toString",function(){return Oae(this)&&udt(this).source||cdt(this)});var Lae={},gdt=Math.ceil,mdt=Math.floor,v4=function(r){var a=+r;return a!=a||0===a?0:(a>0?mdt:gdt)(a)},fdt=v4,_dt=Math.max,vdt=Math.min,ydt=v4,Cdt=Math.min,JS=function(r){return r>0?Cdt(ydt(r),9007199254740991):0},wdt=JS,Bae=function(r){return wdt(r.length)},xdt=l4,Ddt=Bae,Vae=function(r){return function(a,i,n){var p,s=xdt(a),l=Ddt(s),d=function(r,a){var i=fdt(r);return i<0?_dt(i+a,0):vdt(i,a)}(n,l);if(r&&i!=i){for(;l>d;)if((p=s[d++])!=p)return!0}else for(;l>d;d++)if((r||d in s)&&s[d]===i)return r||d||0;return!r&&-1}},zae={includes:Vae(!0),indexOf:Vae(!1)},G$=ag,Idt=l4,Sdt=zae.indexOf,Tdt=O$,Hae=gs([].push),Gae=function(r,a){var l,i=Idt(r),n=0,s=[];for(l in i)!G$(Tdt,l)&&G$(i,l)&&Hae(s,l);for(;a.length>n;)G$(i,l=a[n++])&&(~Sdt(s,l)||Hae(s,l));return s},j$=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Edt=Gae,Rdt=j$.concat("length","prototype");Lae.f=Object.getOwnPropertyNames||function(a){return Edt(a,Rdt)};var jae={};jae.f=Object.getOwnPropertySymbols;var Pdt=Sf,Fdt=Lae,Ndt=jae,Ldt=Ql,Bdt=gs([].concat),Vdt=Pdt("Reflect","ownKeys")||function(a){var i=Fdt.f(Ldt(a)),n=Ndt.f;return n?Bdt(i,n(a)):i},$ae=ag,zdt=Vdt,Hdt=lx,Gdt=Rb,$dt=Kl,Udt=qs,Wdt=/#|\.prototype\./,eT=function(r,a){var i=Kdt[qdt(r)];return i==Qdt||i!=Ydt&&(Udt(a)?$dt(a):!!a)},qdt=eT.normalize=function(r){return String(r).replace(Wdt,".").toLowerCase()},Kdt=eT.data={},Ydt=eT.NATIVE="N",Qdt=eT.POLYFILL="P",Uae=eT,$$=Vi,Xdt=lx.f,Zdt=g4,Jdt=dx.exports,eut=D$,tut=function(r,a,i){for(var n=zdt(a),s=Gdt.f,l=Hdt.f,d=0;d=51&&/native code/.test(r))return!1;var i=new sT(function(l){l(1)}),n=function(l){l(function(){},function(){})};return(i.constructor={})[Wht]=n,!(lU=i.then(function(){})instanceof n)||!a&&Uht&&!Dle}),aT={CONSTRUCTOR:qht,REJECTION_EVENT:Dle,SUBCLASSING:lU},px={},Ale=Eb,Kht=function(r){var a,i;this.promise=new r(function(n,s){if(void 0!==a||void 0!==i)throw TypeError("Bad Promise constructor");a=n,i=s}),this.resolve=Ale(a),this.reject=Ale(i)};px.f=function(r){return new Kht(r)};var S4,Lle,Ble,Yht=mh,x4=U$,Tf=Vi,gx=Yl,Qht=dx.exports,Ile=gut,ept=Eb,k4=qs,tpt=If,npt=function(r,a){var n,i=ele(r).constructor;return void 0===i||null==(n=ele(i)[tht])?a:function(r){if(Yut(r))return r;throw Xut(Qut(r)+" is not a constructor")}(n)},Sle=mle.set,cU=Oht,rpt=aU,spt=Lht,Tle=V$,D4=w4,Ele=px,A4="Promise",Mle=aT.CONSTRUCTOR,apt=aT.REJECTION_EVENT,lpt=aT.SUBCLASSING,uU=Tle.getterFor(A4),cpt=Tle.set,mx=D4&&D4.prototype,Lb=D4,I4=mx,Rle=Tf.TypeError,hU=Tf.document,pU=Tf.process,gU=Ele.f,dpt=gU,upt=!!(hU&&hU.createEvent&&Tf.dispatchEvent),Ple="unhandledrejection",Vle=function(r){var a;return!(!tpt(r)||!k4(a=r.then))&&a},zle=function(r,a){var f,v,D,i=a.value,n=1==a.state,s=n?r.ok:r.fail,l=r.resolve,d=r.reject,p=r.domain;try{s?(n||(2===a.rejection&&fpt(a),a.rejection=1),!0===s?f=i:(p&&p.enter(),f=s(i),p&&(p.exit(),D=!0)),f===r.promise?d(Rle("Promise-chain cycle")):(v=Vle(f))?gx(v,f,l,d):l(f)):d(i)}catch(E){p&&!D&&p.exit(),d(E)}},Hle=function(r,a){r.notified||(r.notified=!0,cU(function(){for(var n,i=r.reactions;n=i.get();)zle(n,r);r.notified=!1,a&&!r.rejection&&mpt(r)}))},Gle=function(r,a,i){var n,s;upt?((n=hU.createEvent("Event")).promise=a,n.reason=i,n.initEvent(r,!1,!0),Tf.dispatchEvent(n)):n={promise:a,reason:i},!apt&&(s=Tf["on"+r])?s(n):r===Ple&&function(r,a){var i=Fht.console;i&&i.error&&(1==arguments.length?i.error(r):i.error(r,a))}("Unhandled promise rejection",i)},mpt=function(r){gx(Sle,Tf,function(){var s,a=r.facade,i=r.value;if(jle(r)&&(s=rpt(function(){x4?pU.emit("unhandledRejection",i,a):Gle(Ple,a,i)}),r.rejection=x4||jle(r)?2:1,s.error))throw s.value})},jle=function(r){return 1!==r.rejection&&!r.parent},fpt=function(r){gx(Sle,Tf,function(){var a=r.facade;x4?pU.emit("rejectionHandled",a):Gle("rejectionhandled",a,r.value)})},fx=function(r,a,i){return function(n){r(a,n,i)}},_x=function(r,a,i){r.done||(r.done=!0,i&&(r=i),r.value=a,r.state=2,Hle(r,!0))},fU=function(r,a,i){if(!r.done){r.done=!0,i&&(r=i);try{if(r.facade===a)throw Rle("Promise can't be resolved itself");var n=Vle(a);n?cU(function(){var s={done:!1};try{gx(n,a,fx(fU,s,r),fx(_x,s,r))}catch(l){_x(s,l,r)}}):(r.value=a,r.state=1,Hle(r,!1))}catch(s){_x({done:!1},s,r)}}};if(Mle&&(Lb=function(a){(function(r,a){if(Dut(a,r))return r;throw Aut("Incorrect invocation")})(this,I4),ept(a),gx(S4,this);var i=uU(this);try{a(fx(fU,i),fx(_x,i))}catch(n){_x(i,n)}},(S4=function(a){cpt(this,{type:A4,done:!1,notified:!1,parent:!1,reactions:new spt,rejection:!1,state:0,value:void 0})}).prototype=function(r,a,i){for(var n in a)rut(r,n,a[n],i);return r}(I4=Lb.prototype,{then:function(a,i){var n=uU(this),s=gU(npt(this,Lb));return n.parent=!0,s.ok=!k4(a)||a,s.fail=k4(i)&&i,s.domain=x4?pU.domain:void 0,0==n.state?n.reactions.add(s):cU(function(){zle(s,n)}),s.promise}}),Lle=function(){var r=new S4,a=uU(r);this.promise=r,this.resolve=fx(fU,a),this.reject=fx(_x,a)},Ele.f=gU=function(r){return r===Lb||void 0===r?new Lle(r):dpt(r)},k4(D4)&&mx!==Object.prototype)){Ble=mx.then,lpt||Qht(mx,"then",function(a,i){var n=this;return new Lb(function(s,l){gx(Ble,n,s,l)}).then(a,i)},{unsafe:!0});try{delete mx.constructor}catch{}Ile&&Ile(mx,I4)}Yht({global:!0,wrap:!0,forced:Mle},{Promise:Lb}),function(r,a,i){r&&!i&&(r=r.prototype),r&&!fut(r,qae)&&mut(r,qae,{configurable:!0,value:a})}(Lb,A4,!1),function(r){var a=but(r);wut&&a&&!a[Kae]&&(0,yut.f)(a,Kae,{configurable:!0,get:function(){return this}})}(A4);var $le={},vpt=$le,bpt=vl("iterator"),ypt=Array.prototype,wpt=W$,Ule=XS,xpt=$le,Dpt=vl("iterator"),Wle=function(r){if(null!=r)return Ule(r,Dpt)||Ule(r,"@@iterator")||xpt[wpt(r)]},Ipt=Yl,Spt=Eb,Tpt=Ql,Ept=u4,Mpt=Wle,Rpt=Vi.TypeError,Opt=Yl,qle=Ql,Fpt=XS,Bpt=K$,Vpt=Yl,zpt=Ql,Hpt=u4,jpt=Bae,Kle=y$,Upt=Wle,Yle=function(r,a,i){var n,s;qle(r);try{if(!(n=Fpt(r,"return"))){if("throw"===a)throw i;return i}n=Opt(n,r)}catch(l){s=!0,n=l}if("throw"===a)throw i;if(s)throw n;return qle(n),i},Wpt=Vi.TypeError,T4=function(r,a){this.stopped=r,this.result=a},Qle=T4.prototype,Xle=function(r,a,i){var f,v,D,E,F,L,$,s=!(!i||!i.AS_ENTRIES),l=!(!i||!i.IS_ITERATOR),d=!(!i||!i.INTERRUPTED),p=Bpt(a,i&&i.that),q=function(se){return f&&Yle(f,"normal",se),new T4(!0,se)},Z=function(se){return s?(zpt(se),d?p(se[0],se[1],q):p(se[0],se[1])):d?p(se,q):p(se)};if(l)f=r;else{if(!(v=Upt(r)))throw Wpt(Hpt(r)+" is not iterable");if(function(r){return void 0!==r&&(vpt.Array===r||ypt[bpt]===r)}(v)){for(D=0,E=jpt(r);E>D;D++)if((F=Z(r[D]))&&Kle(Qle,F))return F;return new T4(!1)}f=function(r,a){var i=arguments.length<2?Mpt(r):a;if(Spt(i))return Tpt(Ipt(i,r));throw Rpt(Ept(r)+" is not iterable")}(r,v)}for(L=f.next;!($=Vpt(L,f)).done;){try{F=Z($.value)}catch(se){Yle(f,"throw",se)}if("object"==typeof F&&F&&Kle(Qle,F))return F}return new T4(!1)},Zle=vl("iterator"),Jle=!1;try{var Kpt=0,ece={next:function(){return{done:!!Kpt++}},return:function(){Jle=!0}};ece[Zle]=function(){return this},Array.from(ece,function(){throw 2})}catch{}var Qpt=w4,tce=aT.CONSTRUCTOR||!function(r,a){if(!a&&!Jle)return!1;var i=!1;try{var n={};n[Zle]=function(){return{next:function(){return{done:i=!0}}}},r(n)}catch{}return i}(function(r){Qpt.all(r).then(void 0,function(){})}),egt=Yl,tgt=Eb,igt=px,ngt=aU,ogt=Xle;mh({target:"Promise",stat:!0,forced:tce},{all:function(a){var i=this,n=igt.f(i),s=n.resolve,l=n.reject,d=ngt(function(){var p=tgt(i.resolve),f=[],v=0,D=1;ogt(a,function(E){var F=v++,L=!1;D++,egt(p,i,E).then(function($){L||(L=!0,f[F]=$,--D||s(f))},l)}),--D||s(f)});return d.error&&l(d.value),n.promise}});var _U=w4,lgt=Sf,cgt=qs,dgt=dx.exports,ice=_U&&_U.prototype;if(mh({target:"Promise",proto:!0,forced:aT.CONSTRUCTOR,real:!0},{catch:function(r){return this.then(void 0,r)}}),cgt(_U)){var nce=lgt("Promise").prototype.catch;ice.catch!==nce&&dgt(ice,"catch",nce,{unsafe:!0})}var hgt=Yl,pgt=Eb,ggt=px,mgt=aU,fgt=Xle;mh({target:"Promise",stat:!0,forced:tce},{race:function(a){var i=this,n=ggt.f(i),s=n.reject,l=mgt(function(){var d=pgt(i.resolve);fgt(a,function(p){hgt(d,i,p).then(n.resolve,s)})});return l.error&&s(l.value),n.promise}});var bgt=Yl,ygt=px;mh({target:"Promise",stat:!0,forced:aT.CONSTRUCTOR},{reject:function(a){var i=ygt.f(this);return bgt(i.reject,void 0,a),i.promise}});var wgt=Ql,xgt=If,kgt=px,Agt=mh,Sgt=aT.CONSTRUCTOR;Sf("Promise"),Agt({target:"Promise",stat:!0,forced:Sgt},{resolve:function(a){return function(r,a){if(wgt(r),xgt(a)&&a.constructor===r)return a;var i=kgt.f(r);return(0,i.resolve)(a),i.promise}(this,a)}});var Mgt=W$,Rgt=Vi.String,vx=function(r){if("Symbol"===Mgt(r))throw TypeError("Cannot convert a Symbol value to a string");return Rgt(r)},Pgt=Ql,vU=Kl,bU=Vi.RegExp,yU=vU(function(){var r=bU("a","y");return r.lastIndex=2,null!=r.exec("abcd")}),Ngt=yU||vU(function(){return!bU("a","y").sticky}),Lgt=yU||vU(function(){var r=bU("^r","gy");return r.lastIndex=2,null!=r.exec("str")}),Bgt={BROKEN_CARET:Lgt,MISSED_STICKY:Ngt,UNSUPPORTED_Y:yU},oce={},Vgt=Gae,zgt=j$,$gt=Rb,Ugt=Ql,Wgt=l4,qgt=Object.keys||function(a){return Vgt(a,zgt)};oce.f=Af&&!kae?Object.defineProperties:function(a,i){Ugt(a);for(var p,n=Wgt(i),s=qgt(i),l=s.length,d=0;l>d;)$gt.f(a,p=s[d++],n[p]);return a};var E4,Kgt=Ql,Ygt=oce,rce=j$,Qgt=O$,Xgt=sle,Zgt=S$,CU="prototype",lce=Tae("IE_PROTO"),xU=function(){},cce=function(r){return"refresh'}updateCountdownState(i){this.countdownState.next(i),this.value=i}getCountdownState(){return this.value}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),mvt=(()=>{class r{constructor(i){this.countdownService=i,this.countdownValue=""}ngOnInit(){this.startInterval()}startInterval(){setInterval(()=>{this.countdownValue=window.countdownService.getCountdownState()},1e3)}ngOnDestroy(){this.countdownSubscription&&this.countdownSubscription.unsubscribe()}static#e=this.\u0275fac=function(n){return new(n||r)(T(VU))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-course"]],decls:12,vars:1,consts:[[1,"main"],["id","Content",1,"wrapper","topSection"],["id","Header"],[1,"wrapper"],[1,"logo"],["src","assets/Icon/logotyls.png"],[2,"text-align","center"],[1,"flex-center","font"],[1,"countdown","styled",3,"innerHTML"],[2,"height","260px"]],template:function(n,s){1&n&&(C(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),Q(5,"img",5),C(6,"h1",6),P(7," Kh\xf3a h\u1ecdc | T\xf4i Y\xeau L\u1ecbch S\u1eed "),k(),C(8,"h3",7),P(9," \u{1f4a5} S\u1eafp ra m\u1eaft \u{1f4a5} "),k()()()(),Q(10,"div",8),k()(),Q(11,"div",9)),2&n&&(y(10),x("innerHTML",s.countdownValue,il))},styles:[".main{color:#fff;font-family:Open Sans,sans-serif;min-width:960px;top:51px;left:0;position:fixed;height:100%;width:100%;margin:0;z-index:1000;color:#000;background-size:cover;background:url(pattern.8a8f08b284714ab5.png) top left repeat}.ie body{filter:dropshadow(color=#000000,offx=0,offy=1)}.ie h1{filter:dropshadow(color=#000000,offx=0,offy=3);padding-bottom:12px}h3{font-size:30px;margin:.2em 0;text-align:center;color:#888;padding:0}.spacing{padding:60px 0}#Header{position:relative;width:100%;z-index:1}.logo{width:auto;object-fit:contain;margin:0 auto;padding:16px;border-radius:180px}.logo h1{color:#0f66b1;font-weight:600;margin-top:32px;margin-bottom:16px}.logo img{width:80px;text-align:center;display:block;margin:0 auto}.wrapper{margin:0 auto;position:relative;width:100%;z-index:1}#socialIcons{display:block}#socialIcons ul{margin:40px 0 0;padding:0;text-align:center}#socialIcons ul li{margin-right:19px;height:56px;line-height:50px;list-style-type:none;display:inline-block;background:#fff;border-radius:71px;padding:10px;border:1px solid #888}#socialIcons ul li a{width:34px;height:34px;display:inline-block}.twitterIcon:hover,.facebookIcon:hover,.linkedInIcon:hover,.pintrestIcon:hover{background-position-y:-33px}.facebookIcon{background-position:10px 0px}.linkedInIcon{background-position:-245px 0px}.pintrestIcon{background-position:-331px 0px}.tempBy{display:block;text-align:center;padding:15px;background:#fff;color:#8a8a8a}#Content h2{margin:0 0 40px;padding:0;text-align:center;font-size:42px;font-weight:300;color:#676767}#WindowSlide{margin:0 auto;position:relative;width:634px;height:170px;display:block;overflow:hidden}#Mail{position:absolute;width:634px;top:0;left:0}#Content h3{text-align:center;font-size:24px;font-weight:400;display:block;clear:both}#subscribe p{text-align:center}#subscribe input{background:rgba(255,255,255,.52);color:#7a7a7a;vertical-align:middle;width:393px;border:1px solid #888;padding:10px;font-size:14px}#subscribe input[type=button]{background:rgba(255,255,255,1);width:auto;padding:10px 25px;cursor:pointer;margin:0 0 0 -6px;font-weight:700;font-size:14px;color:#888}#subscribe input[type=button]:hover{background:#1e7ccd;color:#fff;border:1px solid #1e7ccd}.callback,.simple{font-size:20px;background:#27ae60;padding:.5em .7em;color:#ecf0f1;margin-bottom:50px;transition:background .5s ease-out}.callback{cursor:pointer}.ended{background:#c0392b}.countdown{text-align:center;margin-top:30px;background:#5381E4;padding:60px 0}.styled time{display:inline-block;font-size:30px;font-weight:400;text-align:center;margin:0 8px;padding:0 16px;color:#fff;text-shadow:none;vertical-align:middle}*+html .styled div{display:inline;zoom:1}.styled div:first-child{margin-left:0}.styled div span{display:block;padding-top:3px;font-size:19px;font-weight:400;text-align:center}footer{width:100%;height:30px;background:rgba(0,0,0,.64);position:absolute;bottom:0}footer span{float:right;margin:10px}.subscribe{background:#fff}.features{background:rgba(55,55,55,.15)}.features h2{padding:0 0 30px}.features h4{margin:0 0 10px}.featuresPro{margin-bottom:30px;float:left}.featuresPro{font-size:15px}@media (max-width:768px){body{min-width:initial!important}.wrapper{width:100%}.styled div{margin-bottom:10px}}@media (max-width:420px){h1{float:initial;text-align:center;margin-left:0;margin-bottom:0}.styled div{margin-bottom:10px;font-size:40px;font-weight:400;text-align:center;width:50px;height:70px}#Content h2{margin:0;padding:0;text-align:center;font-size:29px;font-weight:300}.styled{margin-bottom:2px}#subscribe input[type=button]{margin-top:10px}#subscribe input{width:80%}.featuresPro img{width:100%}footer{position:relative!important}}\n"],encapsulation:2})}return r})(),N4=(()=>{class r{static#e=this.adminRole="admin";static#t=this.studentRole="student"}return r})();function fvt(r,a){1&r&&(C(0,"button",18)(1,"span",4),P(2," indeterminate_question_box "),k()())}function _vt(r,a){1&r&&(C(0,"th",19),P(1," B\xe0i thi "),k())}function vvt(r,a){if(1&r){const i=ce();C(0,"td",20)(1,"a",21),B("click",function(){const l=z(i).$implicit;return H(S().ExamDetail(l.multipleChoiceResponseDto))}),C(2,"strong"),P(3),k()()()}if(2&r){const i=a.$implicit;y(3),_e(i.multipleChoiceResponseDto.title)}}function bvt(r,a){1&r&&(C(0,"th",19),P(1," S\u1ed1 c\xe2u h\u1ecfi "),k())}function yvt(r,a){if(1&r&&(C(0,"td",22),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.numberQuiz," ")}}function Cvt(r,a){1&r&&(C(0,"th",19),P(1," \u0110i\u1ec3m thi"),k())}function wvt(r,a){if(1&r&&(C(0,"td",22),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.scores," ")}}function xvt(r,a){1&r&&(C(0,"th",19),P(1," Th\u1eddi gian l\xe0m b\xe0i "),k())}function kvt(r,a){if(1&r&&(C(0,"td",22),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.completionTime," ph\xfat")}}function Dvt(r,a){1&r&&(C(0,"th",19),P(1," Ng\xe0y thi "),k())}function Avt(r,a){if(1&r&&(C(0,"td",22),P(1),k()),2&r){const i=a.$implicit;y(1),me(" ",i.starDate," ")}}function Ivt(r,a){1&r&&Q(0,"tr",23)}function Svt(r,a){1&r&&Q(0,"tr",24)}let Tvt=(()=>{class r{constructor(i,n,s){this.service=i,this.session=n,this.router=s,this.dataSource=new gh([]),this.displayedColumns=["title","numberQuiz","Scores","CompletionTime","StarDate"],this.userId=n.getUserId()??"",this.GetMyExamHistory(),this.dataSource.sort=this.sort}GetMyExamHistory(){this.service.GetMyExamHistory().subscribe(i=>{this.examhistories=i.resultObj,this.ConvertDate(),this.dataSource=new gh(this.examhistories),this.dataSource.sort=this.sort})}ConvertDate(){this.examhistories.forEach(i=>{if(i){const n=fi(i.starDate??"");isNaN(n.getTime())||(i.starDate=_i(n,"dd-MM-yyyy"))}})}ExamDetail(i){this.router.navigate(["/exam",i.id])}isCheckAdmin(){return this.session.getRole()===N4.adminRole}static#e=this.\u0275fac=function(n){return new(n||r)(T(In),T(Rn),T(di))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-myexamhistory"]],viewQuery:function(n,s){if(1&n&&oe(gu,5),2&n){let l;G(l=j())&&(s.sort=l.first)}},decls:27,vars:4,consts:[[1,"plr-200","flex-center-h"],[1,"interact-save"],["matTooltip","B\xe0i thi \u0111\xe3 t\u1ea1o","matTooltipPosition","right","routerLink","/mycategory/exam","mat-icon-button","","class","btn-interact ","style","top: 100px;",4,"ngIf"],["matTooltip","L\u1ecbch s\u1eed thi","matTooltipPosition","right","mat-icon-button","",1,"btn-interact","seleted",2,"top","148px"],[1,"material-symbols-outlined"],[2,"min-width","400px","max-width","1000px"],["mat-table","","matSort","",1,"font",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","","style","cursor: pointer;","class","font",4,"matCellDef"],["matColumnDef","numberQuiz"],["mat-cell","",4,"matCellDef"],["matColumnDef","Scores"],["matColumnDef","CompletionTime"],["matColumnDef","StarDate"],["style","height: 48px;","mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"tag-category","plr-1","pt","pb","text-white"],["matTooltip","B\xe0i thi \u0111\xe3 t\u1ea1o","matTooltipPosition","right","routerLink","/mycategory/exam","mat-icon-button","",1,"btn-interact",2,"top","100px"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",1,"font",2,"cursor","pointer"],[1,"text-3-line",3,"click"],["mat-cell",""],["mat-header-row","",2,"height","48px"],["mat-row",""]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1),I(2,fvt,3,0,"button",2),C(3,"button",3)(4,"span",4),P(5," bookmark_added "),k()()(),C(6,"div",5)(7,"table",6),be(8,7),I(9,_vt,2,0,"th",8),I(10,vvt,4,1,"td",9),ve(),be(11,10),I(12,bvt,2,0,"th",8),I(13,yvt,2,1,"td",11),ve(),be(14,12),I(15,Cvt,2,0,"th",8),I(16,wvt,2,1,"td",11),ve(),be(17,13),I(18,xvt,2,0,"th",8),I(19,kvt,2,1,"td",11),ve(),be(20,14),I(21,Dvt,2,0,"th",8),I(22,Avt,2,1,"td",11),ve(),I(23,Ivt,1,0,"tr",15),I(24,Svt,1,0,"tr",16),k()(),C(25,"div",17),P(26," L\u1ecbch s\u1eed thi "),k()()),2&n&&(y(2),x("ngIf",s.isCheckAdmin()),y(5),x("dataSource",s.dataSource),y(16),x("matHeaderRowDef",s.displayedColumns),y(1),x("matRowDefColumns",s.displayedColumns))},dependencies:[js,Qe,nx,Db,ox,Ab,kb,rx,Ib,Sb,sx,ax,gu,qS,wr,er],styles:[".card-mypost[_ngcontent-%COMP%]{object-fit:cover;height:130px;width:200px}.seleted[_ngcontent-%COMP%]{background-color:#3e50ca;color:#fff}.btn-interact[_ngcontent-%COMP%]{display:flex!important;left:22px;position:fixed}.text-6-line[_ngcontent-%COMP%]{width:200px;line-height:21px;min-width:40px;height:130px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.text-3-line[_ngcontent-%COMP%]{height:60px;min-height:34px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;position:relative}"]})}return r})(),Hce=(()=>{class r{constructor(i,n){this.sessionService=i,this.toastr=n,this.canActivate=(s,l)=>{const d=this.sessionService.getRole();return!(!d||d!==N4.adminRole)||(this.toastr.info("B\u1ea1n kh\xf4ng c\xf3 quy\u1ec1n truy c\u1eadp"),!1)}}static#e=this.\u0275fac=function(n){return new(n||r)(De(Rn),De(Mi))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();const Evt=["input"],Mvt=["label"],Rvt=["*"],Pvt=new $e("mat-checkbox-default-options",{providedIn:"root",factory:Gce});function Gce(){return{color:"accent",clickAction:"check-indeterminate"}}const Ovt={provide:Yn,useExisting:J(()=>$ce),multi:!0};class Fvt{}let Nvt=0;const jce=Gce(),Lvt=Sv(Iv(Om(Vp(class{constructor(r){this._elementRef=r}}))));let Bvt=(()=>{class r extends Lvt{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(i){this._required=Et(i)}constructor(i,n,s,l,d,p,f){super(n),this._changeDetectorRef=s,this._ngZone=l,this._animationMode=p,this._options=f,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new X,this.indeterminateChange=new X,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||jce,this.color=this.defaultColor=this._options.color||jce.color,this.tabIndex=parseInt(d)||0,this.id=this._uniqueId=`${i}${++Nvt}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(i){const n=Et(i);n!=this.checked&&(this._checked=n,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(i){const n=Et(i);n!==this.disabled&&(this._disabled=n,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(i){const n=i!=this._indeterminate;this._indeterminate=Et(i),n&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(i){this.checked=!!i}registerOnChange(i){this._controlValueAccessorChangeFn=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_transitionCheckState(i){let n=this._currentCheckState,s=this._getAnimationTargetElement();if(n!==i&&s&&(this._currentAnimationClass&&s.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(n,i),this._currentCheckState=i,this._currentAnimationClass.length>0)){s.classList.add(this._currentAnimationClass);const l=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{s.classList.remove(l)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const i=this._options?.clickAction;this.disabled||"noop"===i?!this.disabled&&"noop"===i&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(i){i.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(i,n){if("NoopAnimations"===this._animationMode)return"";switch(i){case 0:if(1===n)return this._animationClasses.uncheckedToChecked;if(3==n)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===n?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===n?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===n?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(i){const n=this._inputElement;n&&(n.nativeElement.indeterminate=i)}static#e=this.\u0275fac=function(n){uc()};static#t=this.\u0275dir=re({type:r,viewQuery:function(n,s){if(1&n&&(oe(Evt,5),oe(Mvt,5),oe(zp,5)),2&n){let l;G(l=j())&&(s._inputElement=l.first),G(l=j())&&(s._labelElement=l.first),G(l=j())&&(s.ripple=l.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[Ae]})}return r})(),$ce=(()=>{class r extends Bvt{constructor(i,n,s,l,d,p){super("mat-mdc-checkbox-",i,n,s,l,d,p),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(i){const n=new Fvt;return n.source=this,n.checked=i,n}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(i){i.target&&this._labelElement.nativeElement.contains(i.target)&&i.stopPropagation()}static#e=this.\u0275fac=function(n){return new(n||r)(T(ke),T(rt),T(et),Ns("tabindex"),T(Eo,8),T(Pvt,8))};static#t=this.\u0275cmp=de({type:r,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(n,s){2&n&&(ur("id",s.id),ge("tabindex",null)("aria-label",null)("aria-labelledby",null),Se("_mat-animation-noopable","NoopAnimations"===s._animationMode)("mdc-checkbox--disabled",s.disabled)("mat-mdc-checkbox-disabled",s.disabled)("mat-mdc-checkbox-checked",s.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Ye([Ovt]),Ae],ngContentSelectors:Rvt,decls:15,vars:20,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(n,s){if(1&n&&(pt(),C(0,"div",0),B("click",function(d){return s._preventBubblingFromLabel(d)}),C(1,"div",1,2)(3,"div",3),B("click",function(){return s._onTouchTargetClick()}),k(),C(4,"input",4,5),B("blur",function(){return s._onBlur()})("click",function(){return s._onInputClick()})("change",function(d){return s._onInteractionEvent(d)}),k(),Q(6,"div",6),C(7,"div",7),mr(),C(8,"svg",8),Q(9,"path",9),k(),vt(),Q(10,"div",10),k(),Q(11,"div",11),k(),C(12,"label",12,13),Ie(14),k()()),2&n){const l=ee(2);Se("mdc-form-field--align-end","before"==s.labelPosition),y(4),Se("mdc-checkbox--selected",s.checked),x("checked",s.checked)("indeterminate",s.indeterminate)("disabled",s.disabled)("id",s.inputId)("required",s.required)("tabIndex",s.tabIndex),ge("aria-label",s.ariaLabel||null)("aria-labelledby",s.ariaLabelledby)("aria-describedby",s.ariaDescribedby)("aria-checked",s.indeterminate?"mixed":null)("name",s.name)("value",s.value),y(7),x("matRippleTrigger",l)("matRippleDisabled",s.disableRipple||s.disabled)("matRippleCentered",!0),y(1),x("for",s.inputId)}},dependencies:[zp],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return r})(),Uce=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({})}return r})(),Hvt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Ai,Hp,Uce,Ai,Uce]})}return r})();function Gvt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function jvt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i hay qu\xe1 ng\u1eafn "),k())}function $vt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}function Uvt(r,a){1&r&&(C(0,"mat-error"),P(1," M\xf4 t\u1ea3 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}function Wvt(r,a){if(1&r&&(C(0,"div",21)(1,"mat-form-field",22),Q(2,"input",23),k(),Q(3,"mat-checkbox",24),k()),2&r){const i=a.index,n=S().index,s=S();y(2),x("formControl",s.getAnswerControl(n,i)),y(1),x("formControl",s.getIsCorrectControl(n,i))}}function qvt(r,a){if(1&r){const i=ce();C(0,"div")(1,"form",16),B("ngSubmit",function(){const l=z(i).index;return H(S().updateQuiz(l))}),C(2,"div")(3,"div",1)(4,"span",17),P(5),k()(),C(6,"mat-form-field",7),Q(7,"input",18),k(),I(8,Wvt,4,2,"div",19),C(9,"button",20),P(10,"C\u1eadp nh\u1eadp c\xe2u h\u1ecfi"),k()()()()}if(2&r){const i=a.$implicit,n=a.index,s=S();y(1),x("formGroup",s.quizForms[n]),y(4),me("C\xe2u h\u1ecfi ",n+1,""),y(3),x("ngForOf",i.quizAnswers)}}const Kvt=[{path:"",component:Sqe},{path:"register",component:UKe},{path:"login",component:iQe},{path:"discover",component:Iot},{path:"searchposts",component:Got},{path:"discover/:postId",component:Bnt},{path:"account",component:EQe,canActivate:[Hre],children:[{path:"",redirectTo:"updateuserinfor",pathMatch:"full"},{path:"updateuserinfor",component:FXe},{path:"updateaccount",component:BXe},{path:"introduce",component:bre},{path:"changeemail",component:Vre},{path:"changepassword",component:zre}]},{path:"mycategory",component:$ot,canActivate:[Hre],children:[{path:"",redirectTo:"post",pathMatch:"full"},{path:"post",component:Ost},{path:"question",component:Wrt},{path:"questionsaved",component:zat},{path:"document",component:mst},{path:"postsaved",component:Hst},{path:"documentsaved",component:z_t},{path:"exam",component:gvt,canActivate:[Hce]},{path:"examhistory",component:Tvt}]},{path:"forum",component:Ust,children:[{path:"",redirectTo:"foryou",pathMatch:"full"},{path:"foryou",component:Yst},{path:"top",component:Qst},{path:"new",component:Xst}]},{path:"searchquestion",component:O_t},{path:"forum/:id",component:Oat},{path:"news",component:jat},{path:"document",component:qat},{path:"document/:documentId",component:k_t},{path:"exam",component:W_t},{path:"exam/:examId",component:nvt},{path:"exam/edit/:examId",component:(()=>{class r{constructor(i,n,s,l,d,p){this.service=i,this.toastr=n,this.session=s,this.route=l,this.router=d,this._formBuilder=p,this.updateExamForm=this._formBuilder.group({Id:["",Ft.required],Title:["",[Ft.required,Ft.maxLength(255),Ft.minLength(10)]],Description:["",[Ft.required,Ft.maxLength(500)]],Time:["",Ft.required]}),this.quizForms=[],this.examId=this.route.snapshot.paramMap.get("examId"),this.GetDetail()}GetDetail(){this.examId&&this.service.ExamDetail(this.examId).subscribe(i=>{i.isSuccessed?(this.exam=i.resultObj,this.session.getUserId()!=this.exam.userShort?.id&&(this.toastr.info("B\u1ea1n kh\xf4ng \u0111\u1ee7 quy\u1ec1n"),this.router.navigate(["/home"])),this.updateExamForm.patchValue({Id:this.exam.id,Description:this.exam.description,Time:this.exam.workTime.toString(),Title:this.exam.title}),this.pushData()):this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)})}pushData(){this.exam.quizs?.forEach(i=>{const n=this._formBuilder.group({id:[i.id,Ft.required],content:[i.content,Ft.required],quizAnswers:this._formBuilder.array([])}),s=n.get("quizAnswers");i.quizAnswers?.forEach(l=>{s.push(this._formBuilder.group({id:[l.id],content:[l.content,Ft.required],isCorrect:[l.isCorrect]}))}),this.quizForms.push(n)})}getAnswerControl(i,n){return this.quizForms[i].get(`quizAnswers.${n}.content`)}getIsCorrectControl(i,n){return this.quizForms[i].get(`quizAnswers.${n}.isCorrect`)}UpdateExam(){const i=new FormData,n=this.updateExamForm;var s=n.get("Time")?.value;i.append("Id",n.get("Id")?.value?.trim()||""),i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Description",n.get("Description")?.value?.trim()||""),i.append("WorkTime",s||"30"),i.append("File",""),this.service.UpdateExam(i).subscribe(l=>{l.isSuccessed?this.toastr.success("C\u1eadp nh\u1eadp b\xe0i thi th\xe0nh c\xf4ng"):this.toastr.error(l.message)},l=>{this.toastr.error("L\u1ed7i: "+l)})}toggleIsCorrect(i,n){const s=this.quizForms[i].get("quizAnswers"),l=s.at(n),d=l.get("isCorrect")?.value;if(l.patchValue({isCorrect:!d}),!d)for(let p=0;p{l.isSuccessed?this.toastr.success("C\u1eadp nh\u1eadp c\xe2u h\u1ecfi th\xe0nh c\xf4ng"):this.toastr.error("L\u1ed7i: "+l.message)},l=>{this.toastr.error("L\u1ed7i: "+l)})}getQuizDataFromForm(i){const n={...i.value};return n.quizAnswers=n.quizAnswers.map(s=>({id:s.id,content:s.content,isCorrect:s.isCorrect})),n}static#e=this.\u0275fac=function(n){return new(n||r)(T(In),T(Mi),T(Rn),T(_c),T(di),T(za))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-updateexam"]],decls:24,vars:12,consts:[[1,"mt-60","plr-200"],[1,"flex-center-sb","mt"],[2,"font-size","24px"],[3,"matTooltip"],["mat-raised-button","","color","primary","matTooltip","Chia s\u1ebb",3,"disabled","click"],[3,"formGroup"],[1,"mt"],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0",3,"value"],[4,"ngIf"],[1,"w-100",2,"max-height","224px"],["matInput","","formControlName","Description","placeholder","Nh\u1eadp m\xf4 t\u1ea3 t\xe0i li\u1ec7u...","required","",1,"fw-5",2,"max-height","180px","height","180px",3,"value"],[1,"w-100",2,"max-height","170px"],["matInput","","formControlName","Time","placeholder","Nh\u1eadp th\u1eddi gian thi... (ph\xfat)","required","",1,"fw-5",2,"max-height","126px",3,"value"],[1,"mt-2"],[4,"ngFor","ngForOf"],[3,"formGroup","ngSubmit"],[1,"fs16"],["matInput","","formControlName","content"],["class","ml-2",4,"ngFor","ngForOf"],["type","submit","mat-raised-button","","color","primary"],[1,"ml-2"],[1,"w-90"],["matInput","",3,"formControl"],[3,"formControl"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"div",1)(2,"span",2),P(3," C\u1eadp nh\u1eadp b\xe0i thi tr\u1eafc nghi\u1ec7m "),k(),C(4,"div",3)(5,"button",4),B("click",function(){return s.UpdateExam()}),P(6,"C\u1eadp nh\u1eadp"),k()()(),C(7,"form",5),Q(8,"div",6),C(9,"mat-form-field",7),Q(10,"input",8),I(11,Gvt,2,0,"mat-error",9),I(12,jvt,2,0,"mat-error",9),I(13,$vt,2,0,"mat-error",9),k(),C(14,"mat-form-field",10)(15,"textarea",11),P(16," "),k(),I(17,Uvt,2,0,"mat-error",9),k(),C(18,"mat-form-field",12),Q(19,"input",13),k()(),C(20,"div",14)(21,"span",2),P(22),k(),I(23,qvt,11,3,"div",15),k()()),2&n){let l,d,p,f;y(4),ri("matTooltip",s.updateExamForm.invalid?"Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin":""),y(1),x("disabled",s.updateExamForm.invalid),y(2),x("formGroup",s.updateExamForm),y(3),ri("value",s.updateExamForm.value.Title),y(1),x("ngIf",null==(l=s.updateExamForm.get("Title"))?null:l.hasError("required")),y(1),x("ngIf",null==(d=s.updateExamForm.get("Title"))?null:d.hasError("maxlength")),y(1),x("ngIf",null==(p=s.updateExamForm.get("Title"))?null:p.hasError("minlength")),y(2),ri("value",s.updateExamForm.value.Description),y(2),x("ngIf",null==(f=s.updateExamForm.get("Description"))?null:f.hasError("maxlength")),y(2),ri("value",s.updateExamForm.value.Time),y(3),me("C\u1eadp nh\u1eadp c\xe2u h\u1ecfi v\xe0 \u0111\xe1p \xe1n (",null==s.exam.quizs?null:s.exam.quizs.length," c\xe2u)"),y(1),x("ngForOf",s.exam.quizs)}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,Cf,$ce,Cr,er,tu,jo,ba],styles:[".default-correct[_ngcontent-%COMP%]{color:green}"]})}return r})(),canActivate:[Hce]},{path:"course",component:mvt}];let Yvt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:[{provide:EH,useClass:nQe,multi:!0}],imports:[DH.forRoot(Kvt,{useHash:!0}),MQ,DH]})}return r})();const Qvt=["topicInput"],Xvt=["TagInput"];function Zvt(r,a){1&r&&P(0,"N\u1ed9i dung c\xe2u chuy\u1ec7n")}function Jvt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function ebt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}function tbt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}function ibt(r,a){1&r&&P(0,"Trang tr\xed")}function nbt(r,a){1&r&&Q(0,"img",42),2&r&&x("src",S().selectedImage,oi)}function obt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",43),B("removed",function(){const l=z(i).$implicit;return H(S().removeTopic(l))}),P(1),C(2,"button",44)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function rbt(r,a){if(1&r&&(C(0,"mat-option",45),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function sbt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",43),B("removed",function(){const l=z(i).$implicit;return H(S().removeTag(l))}),P(1),C(2,"button",44)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function abt(r,a){if(1&r&&(C(0,"mat-option",45),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}function lbt(r,a){1&r&&P(0,"Ho\xe0n th\xe0nh")}function cbt(r,a){if(1&r&&(C(0,"mat-chip",48),P(1),k()),2&r){const i=a.$implicit;y(1),_e(i)}}function dbt(r,a){if(1&r&&(C(0,"div")(1,"div",46)(2,"mat-chip-set",47)(3,"mat-chip",48),P(4),k()(),C(5,"span"),P(6),k()(),C(7,"div")(8,"h5"),P(9),k(),C(10,"div"),Q(11,"div",49),k()(),C(12,"div")(13,"mat-chip-set",50),I(14,cbt,2,1,"mat-chip",51),k()()()),2&r){const i=S();let n,s,l;y(4),_e(null==(n=i.createpostform.get("TopicName"))?null:n.value),y(2),me(" ",i.currentDate," "),y(3),_e(null==(s=i.createpostform.get("Title"))?null:s.value),y(2),x("innerHTML",null==(l=i.createpostform.get("Content"))?null:l.value,il),y(3),x("ngForOf",i.chooseTag)}}function ubt(r,a){1&r&&(C(0,"i",52),P(1,"*Vui l\xf2ng \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin y\xeau c\u1ea7u!"),k())}let hbt=(()=>{class r{onEditorChange({}){}constructor(i,n,s,l,d,p){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.dataService=p,this.postId="",this.createpostform=this._formBuilder.group({Title:["",[Ft.required,Ft.maxLength(255),Ft.minLength(10)]],Content:[" ",Ft.required],Image:[null,Ft.required],TopicId:["",Ft.required],TopicName:["",Ft.required],Tag:[[]]}),this.currentDate=this.service.getCurrentDate(),this.isEditable=!0,this.Editor=qw(),this.selectedImage=null,this.topics=[],this.listTopic=[],this.choosetopic=[],this.topicCtrl=new Hl(""),this.announcer=st(Lp),this.separatorKeysCodes=[13,188],this.listTag=[],this.chooseTag=[],this.tagCtrl=new Hl(""),this.announcerTag=st(Lp),this.separatorKeysCodesTag=[13,188],this.editorConfig={toolbar:["undo","redo","|","heading","|","bold","italic","bulletedList","numberedList","link","insertTable","blockQuote","mediaEmbed"],placeholder:"Nh\u1eadp n\u1ed9i dung \u1edf \u0111\xe2y...",language:"vi"},this.GetAllTopic(),this.GetAllTag(),this.filteredTopics=this.topicCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTopic(f):this.listTopic.slice())),this.filteredTags=this.tagCtrl.valueChanges.pipe(go(null),Rt(f=>f?this._filterTag(f):this.listTag.slice()))}addTopic(i){const n=i.value;n&&this.isValueInList(n)&&(this.choosetopic.length>0?this.choosetopic[0]=n:this.choosetopic.push(n)),i.chipInput.clear(),this.topicCtrl.setValue(null)}isValueInList(i){return-1!==this.listTopic.indexOf(i)}addTag(i){const n=i.value;n&&this.isDupplication(n)&&this.chooseTag.length<=5&&this.chooseTag.push(n.trim()),i.chipInput.clear(),this.tagCtrl.setValue(null)}isDupplication(i){return!(""==i||i.trim().length>31||this.chooseTag.includes(i))}removeTag(i){const n=this.chooseTag.indexOf(i);n>=0&&(this.chooseTag.splice(n,1),this.announcerTag.announce(`Removed ${i}`))}removeTopic(i){const n=this.listTopic.indexOf(i);n>=0&&(this.choosetopic.splice(n,1),this.announcer.announce(`Removed ${i}`))}selectedTopic(i){this.choosetopic.length>0?this.choosetopic[0]=i.option.viewValue:(this.choosetopic.push(i.option.viewValue),this.topicInput.nativeElement.value="",this.topicCtrl.setValue(null))}selectedTag(i){this.isDupplication(i.option.viewValue)&&(this.chooseTag.push(i.option.viewValue),this.TagInput.nativeElement.value="",this.tagCtrl.setValue(null))}_filterTopic(i){const n=i.toLowerCase();return this.listTopic.filter(s=>s.toLowerCase().includes(n))}_filterTag(i){const n=i.toLowerCase();return this.listTag.filter(s=>s.toLowerCase().includes(n))}GetAllTopic(){this.service.GetTopic().subscribe(i=>{this.topics=i.resultObj,this.topics.forEach(n=>{this.listTopic.push(n.title),this.listTag.push(n.title)})})}GetAllTag(){this.service.GetAllTag().subscribe(i=>{this.listTag=i.resultObj})}onFileSelected(i){const n=i.files[0];if(n){if(this.checkSize(n))return;const s=new FileReader;s.onload=()=>{this.selectedImage=s.result,this.createpostform.get("Image")?.setValue(n)},s.readAsDataURL(n)}}Check(){if(this.choosetopic.length>0){const n=this.topics.find(s=>s.title===this.choosetopic[0]);n&&(this.createpostform.get("TopicId")?.setValue(n.id),this.createpostform.get("TopicName")?.setValue(n.title))}const i=this.createpostform.get("Tag");return i&&i.setValue(this.chooseTag),!!this.createpostform.valid}CreatePost(){const i=new FormData,n=this.createpostform;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Content",n.get("Content")?.value?.trim()||""),i.append("Image",n.get("Image")?.value||""),i.append("TopicId",n.get("TopicId")?.value||"");const s=n.get("Tag")?.value;Array.isArray(s)&&s.forEach((l,d)=>{i.append(`Tag[${d}]`,l)}),this.service.CreatePost(i).subscribe(l=>{this.router.navigate(["/discover",l.resultObj.subId]),setTimeout(()=>{this.triggerReloadDetailPage()},0),this.dialogRef.close()},l=>{const d=l.error.message;null==d?this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y"):(this.toastr.error(d),console.log(l))})}triggerReloadDetailPage(){this.dataService.triggerReloadDetailPage(this.postId)}checkSize(i){return i.size>2097152&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 2MB."),!0)}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-createpost"]],viewQuery:function(n,s){if(1&n&&(oe(Qvt,5),oe(Xvt,5)),2&n){let l;G(l=j())&&(s.topicInput=l.first),G(l=j())&&(s.TagInput=l.first)}},decls:73,vars:30,consts:[[1,"Post-Create-Card"],["linear",""],["stepper",""],[3,"editable"],[2,"margin-top","8px"],[3,"formGroup"],["matStepLabel",""],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0"],[4,"ngIf"],["formControlName","Content",2,"max-height","650px","overflow","auto",3,"editor","config","change"],[1,"mt-1"],["mat-raised-button","","color","primary","matStepperNext",""],[1,"mt"],[1,"image-upload-container","btn","btn-bwm","font"],[1,"mb"],["type","file","accept","image/*",1,"font",3,"change"],["imageInput",""],[1,"image-card"],[1,"po-ab"],[2,"color","#aeaeae"],["style","z-index: 1;","alt","Selected Image",3,"src",4,"ngIf"],[1,"w-100","mt-1"],["aria-label","Ch\u1ecdn 1 ch\u1ee7 \u0111\u1ec1"],["chipGrid",""],[3,"removed",4,"ngFor","ngForOf"],["matSuffix",""],["placeholder","T\xecm ki\u1ebfm ch\u1ee7 \u0111\u1ec1...",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["topicInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["aria-label","Hashtag l\xe0m cho c\xe1c b\xe0i vi\u1ebft c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c d\u1ec5 t\xecm th\u1ea5y h\u01a1n"],["chipGridTag",""],["placeholder","G\u1eafn th\u1ebb (kh\xf4ng b\u1eaft bu\u1ed9c)",3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["TagInput",""],["autoTag","matAutocomplete"],["mat-button","","matStepperPrevious",""],[3,"stepControl"],[4,"ngIf","ngIfElse"],["Invalid",""],["mat-raised-button","","color","primary",3,"disabled","click"],["alt","Selected Image",2,"z-index","1",3,"src"],[3,"removed"],["matChipRemove",""],[3,"value"],[1,"flex-center-sb"],["cdkDropListOrientation","horizontal"],["cdkDrag",""],[3,"innerHTML"],["cdkDropList","","cdkDropListOrientation","horizontal"],["cdkDrag","",4,"ngFor","ngForOf"],[1,"text-red"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"mat-stepper",1,2)(3,"mat-step",3),Q(4,"div",4),C(5,"form",5),I(6,Zvt,1,0,"ng-template",6),C(7,"mat-form-field",7),Q(8,"input",8),I(9,Jvt,2,0,"mat-error",9),I(10,ebt,2,0,"mat-error",9),I(11,tbt,2,0,"mat-error",9),k(),C(12,"div")(13,"ckeditor",10),B("change",function(p){return s.onEditorChange(p)}),k()(),C(14,"div",11)(15,"button",12),P(16,"Ti\u1ebfp theo"),k()()()(),C(17,"mat-step",3),I(18,ibt,1,0,"ng-template",6),C(19,"form",5),Q(20,"div",13),C(21,"label",14)(22,"span",15),P(23,"Ch\u1ecdn \u1ea3nh"),k(),C(24,"input",16,17),B("change",function(){z(l);const p=ee(25);return H(s.onFileSelected(p))}),k()(),C(26,"div",18)(27,"div",19)(28,"i",20),P(29,"\u1ea2nh b\xeca"),k()(),I(30,nbt,1,1,"img",21),k(),C(31,"mat-form-field",22)(32,"mat-chip-grid",23,24),I(34,obt,5,2,"mat-chip-row",25),k(),C(35,"mat-label")(36,"mat-icon",26),P(37,"new_label"),k()(),C(38,"input",27,28),B("matChipInputTokenEnd",function(p){return s.addTopic(p)}),k(),C(40,"mat-autocomplete",29,30),B("optionSelected",function(p){return s.selectedTopic(p)}),I(42,rbt,2,2,"mat-option",31),le(43,"async"),k()(),C(44,"mat-form-field",7)(45,"mat-chip-grid",32,33),I(47,sbt,5,2,"mat-chip-row",25),k(),C(48,"mat-label")(49,"mat-icon",26),P(50,"tag"),k()(),C(51,"input",34,35),B("matChipInputTokenEnd",function(p){return s.addTag(p)}),k(),C(53,"mat-autocomplete",29,36),B("optionSelected",function(p){return s.selectedTag(p)}),I(55,abt,2,2,"mat-option",31),le(56,"async"),k()(),C(57,"div")(58,"button",37),P(59,"Quay l\u1ea1i"),k(),C(60,"button",12),P(61,"Ti\u1ebfp theo"),k()()()(),C(62,"mat-step",38),Q(63,"div",4),I(64,lbt,1,0,"ng-template",6),I(65,dbt,15,5,"div",39),I(66,ubt,2,0,"ng-template",null,40,pe),C(68,"div")(69,"button",37),P(70,"Quay l\u1ea1i"),k(),C(71,"button",41),B("click",function(){return s.CreatePost()}),P(72,"\u0110\u0103ng"),k()()()()()}if(2&n){const l=ee(33),d=ee(41),p=ee(46),f=ee(54),v=ee(67);let D,E,F;y(3),x("editable",s.isEditable),y(2),x("formGroup",s.createpostform),y(4),x("ngIf",null==(D=s.createpostform.get("Title"))?null:D.hasError("required")),y(1),x("ngIf",null==(E=s.createpostform.get("Title"))?null:E.hasError("maxlength")),y(1),x("ngIf",null==(F=s.createpostform.get("Title"))?null:F.hasError("minlength")),y(2),x("editor",s.Editor)("config",s.editorConfig),y(4),x("editable",s.isEditable),y(2),x("formGroup",s.createpostform),y(11),x("ngIf",s.selectedImage),y(4),x("ngForOf",s.choosetopic),y(4),x("formControl",s.topicCtrl)("matChipInputFor",l)("matAutocomplete",d)("matChipInputSeparatorKeyCodes",s.separatorKeysCodes),y(4),x("ngForOf",ln(43,26,s.filteredTopics)),y(5),x("ngForOf",s.chooseTag),y(4),x("formControl",s.tagCtrl)("matChipInputFor",p)("matAutocomplete",f)("matChipInputSeparatorKeyCodes",s.separatorKeysCodesTag),y(4),x("ngForOf",ln(56,28,s.filteredTags)),y(7),x("stepControl",s.createpostform),y(3),x("ngIf",s.Check())("ngIfElse",v),y(6),x("disabled",!s.Check())}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,ud,Cf,Us,Fm,Cr,Fo,I5,$w,S5,yj,Cj,NS,Ww,ph,US,WS,jS,Xw,wb,tu,jo,ba,Yw,hv],styles:[".Post-Create-Card[_ngcontent-%COMP%]{max-height:650px;height:620px;min-height:100px;overflow:auto}.image-card[_ngcontent-%COMP%]{width:100%;height:300px;min-height:50px;border:8px dashed #ccc;border-width:1px;border-radius:4px;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:cover}.image-upload-container[_ngcontent-%COMP%]{position:absolute;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:#007bff;color:#fff;cursor:pointer;padding:8px 10px}.image-upload-container[_ngcontent-%COMP%]:hover span[_ngcontent-%COMP%]{background-color:#0056b3}[_nghost-%COMP%] .ck.ck-editor{border:none!important;outline:none!important}[_nghost-%COMP%] .ck.ck-toolbar{border:none!important}[_nghost-%COMP%] .ck.ck-content{outline:none!important}[_nghost-%COMP%] .ck.ck-input{outline:none!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{border:none!important;border-color:transparent!important}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{box-shadow:none!important}.content[_ngcontent-%COMP%]{position:relative;top:-12px}#btn-comment[_ngcontent-%COMP%]{margin-right:16px!important;right:16px!important}"]})}return r})();const pbt=["TagInput"];function gbt(r,a){1&r&&(C(0,"mat-error"),P(1," \u0110\u1eb7t c\xe2u h\u1ecfi t\u1ea1i \u0111\xe2y... "),k())}function mbt(r,a){1&r&&(C(0,"mat-error"),P(1," C\xe2u h\u1ecfi kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}function fbt(r,a){if(1&r){const i=ce();C(0,"mat-chip-row",18),B("removed",function(){const l=z(i).$implicit;return H(S().removeTag(l))}),P(1),C(2,"button",19)(3,"mat-icon"),P(4,"cancel"),k()()()}if(2&r){const i=a.$implicit;y(1),me(" ",i," "),y(1),ge("aria-label","remove "+i)}}function _bt(r,a){if(1&r&&(C(0,"mat-option",20),P(1),k()),2&r){const i=a.$implicit;x("value",i),y(1),me(" ",i," ")}}let vbt=(()=>{class r{onEditorChange({}){}constructor(i,n,s,l,d,p,f){this._formBuilder=i,this.service=n,this.authService=s,this.router=l,this.toastr=d,this.dialogRef=p,this.dataService=f,this.questionId="",this.createquestionform=this._formBuilder.group({Title:["",[Ft.required,Ft.maxLength(255)]],Content:["",Ft.required],Tag:[[]]}),this.currentDate=this.service.getCurrentDate(),this.isEditable=!0,this.editorConfig={toolbar:["undo","redo","|","heading","|","bold","italic","link","insertTable","blockQuote","mediaEmbed"],placeholder:"Mi\xeau t\u1ea3 th\xeam \u1edf \u0111\xe2y... (b\u1eaft bu\u1ed9c)",language:"vi"},this.Editor=qw(),this.topicCtrl=new Hl(""),this.announcer=st(Lp),this.listTag=[],this.chooseTag=[],this.tagCtrl=new Hl(""),this.announcerTag=st(Lp),this.separatorKeysCodesTag=[13,188],this.GetAllTag(),this.filteredTags=this.tagCtrl.valueChanges.pipe(go(null),Rt(v=>v?this._filterTag(v):this.listTag.slice()))}ngOnInit(){}addTag(i){const n=i.value;n&&this.isDupplication(n)&&this.chooseTag.length<=5&&this.chooseTag.push(n.trim()),i.chipInput.clear(),this.tagCtrl.setValue(null)}isDupplication(i){return!(""==i||i.trim().length>31||this.chooseTag.includes(i))}removeTag(i){const n=this.chooseTag.indexOf(i);n>=0&&(this.chooseTag.splice(n,1),this.announcerTag.announce(`Removed ${i}`))}selectedTag(i){this.isDupplication(i.option.viewValue)&&(this.chooseTag.push(i.option.viewValue),this.TagInput.nativeElement.value="",this.tagCtrl.setValue(null))}_filterTag(i){const n=i.toLowerCase();return this.listTag.filter(s=>s.toLowerCase().includes(n))}GetAllTag(){this.service.GetAllTag().subscribe(i=>{this.listTag=i.resultObj})}Check(){const i=this.createquestionform.get("Tag");return i&&i.setValue(this.chooseTag),!!this.createquestionform.valid}CreateQuestion(){const i=new FormData,n=this.createquestionform;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Content",n.get("Content")?.value||"");const s=n.get("Tag")?.value;Array.isArray(s)&&s.forEach((l,d)=>{i.append(`Tag[${d}]`,l)}),this.service.CreateQuestion(i).subscribe(l=>{const d=l.resultObj.subId;this.dataService.changeIdQuestion(l.resultObj.id),this.router.navigate(["/forum",d]),setTimeout(()=>{this.dataService.triggerReloadDetailPage(this.questionId)},10),this.dialogRef.close()},l=>{const d=l.error.message;null==d?this.toastr.error("L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y"):(this.toastr.error(d),console.log(l))})}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(Qu),T(di),T(Mi),T(hd),T(Fr))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-forum-create"]],viewQuery:function(n,s){if(1&n&&oe(pbt,5),2&n){let l;G(l=j())&&(s.TagInput=l.first)}},decls:27,vars:14,consts:[[1,"plr-1","create-question"],[3,"formGroup"],[1,"flex-center-sb","pt-1","pb"],["mat-raised-button","","color","primary",3,"disabled","click"],["appearance","outline",1,"w-100","specific-border"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp c\xe2u h\u1ecfi \u1edf \u0111\xe2y...","required","",1,"fw-5","title-question"],[4,"ngIf"],["id","editor","formControlName","Content",2,"max-height","650px","overflow","auto",3,"editor","config"],["appearance","outline",1,"w-100","specific-border","mt-1"],["aria-label","Hashtag l\xe0m cho c\xe1c b\xe0i vi\u1ebft c\u1ee7a b\u1ea1n \u0111\u01b0\u1ee3c d\u1ec5 t\xecm th\u1ea5y h\u01a1n"],["chipGridTag",""],[3,"removed",4,"ngFor","ngForOf"],["matSuffix",""],[3,"formControl","matChipInputFor","matAutocomplete","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["TagInput",""],[3,"optionSelected"],["autoTag","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"removed"],["matChipRemove",""],[3,"value"]],template:function(n,s){if(1&n&&(C(0,"div",0)(1,"form",1)(2,"mat-label",2)(3,"strong"),P(4,"\u0110\u1eb7t c\xe2u h\u1ecfi"),k(),C(5,"button",3),B("click",function(){return s.CreateQuestion()}),P(6,"\u0110\u0103ng"),k()(),C(7,"mat-form-field",4),Q(8,"textarea",5),I(9,gbt,2,0,"mat-error",6),I(10,mbt,2,0,"mat-error",6),k(),C(11,"div"),Q(12,"ckeditor",7),k(),C(13,"mat-form-field",8)(14,"mat-chip-grid",9,10),I(16,fbt,5,2,"mat-chip-row",11),k(),C(17,"mat-label")(18,"mat-icon",12),P(19,"tag"),k(),P(20," G\u1eafn th\u1ebb (kh\xf4ng b\u1eaft bu\u1ed9c) "),k(),C(21,"input",13,14),B("matChipInputTokenEnd",function(d){return s.addTag(d)}),k(),C(23,"mat-autocomplete",15,16),B("optionSelected",function(d){return s.selectedTag(d)}),I(25,_bt,2,2,"mat-option",17),le(26,"async"),k()()()()),2&n){const l=ee(15),d=ee(24);let p,f;y(1),x("formGroup",s.createquestionform),y(4),x("disabled",!s.Check()),y(4),x("ngIf",null==(p=s.createquestionform.get("Title"))?null:p.hasError("required")),y(1),x("ngIf",null==(f=s.createquestionform.get("Title"))?null:f.hasError("maxlength")),y(2),x("editor",s.Editor)("config",s.editorConfig),y(4),x("ngForOf",s.chooseTag),y(5),x("formControl",s.tagCtrl)("matChipInputFor",l)("matAutocomplete",d)("matChipInputSeparatorKeyCodes",s.separatorKeysCodesTag),y(4),x("ngForOf",ln(26,12,s.filteredTags))}},dependencies:[Vt,Qe,cl,Sn,gn,Qr,vc,hs,ml,ud,Cf,Us,Fm,Cr,Fo,NS,Ww,US,WS,jS,Xw,tu,jo,ba,Yw,hv],styles:[".mat-form-field-appearance-outline.specific-border .mat-form-field-outline{background-color:#fff!important;border-radius:5px;outline:.5px solid #ccccccb6!important}.title-question[_ngcontent-%COMP%]{font-size:1em;max-width:100%;min-width:100%;height:106px;max-height:106px}[_nghost-%COMP%] .ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0;min-height:6.5em!important;max-height:11.5em!important;overflow:auto}"]})}return r})();function bbt(r,a){1&r&&(C(0,"div",19)(1,"i"),P(2,"Vui l\xf2ng ch\u1edd, \u0111ang t\u1ea3i ... "),k(),Q(3,"mat-progress-bar",20),k())}function ybt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function Cbt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i hay qu\xe1 ng\u1eafn "),k())}function wbt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}function xbt(r,a){1&r&&(C(0,"mat-error"),P(1," M\xf4 t\u1ea3 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}let kbt=(()=>{class r{constructor(i,n,s,l,d,p){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.ngZone=p,this.questionId="",this.selectedFile=null,this.fileName="",this.progessing=!1,this.createdocumentform=this._formBuilder.group({Title:["",[Ft.required,Ft.maxLength(255),Ft.minLength(10)]],Description:["",[Ft.required,Ft.maxLength(500)]],Document:[null,Ft.required]})}toggleProgressing(){this.fileName="",setTimeout(()=>{this.progessing=!0},1e3)}onFileSelected(i){const n=i?.files[0];if(n&&this.isValidFileType(n)){if(this.checkSize(n))return void(this.progessing=!1);this.createdocumentform.get("Document")?.setValue(n),this.progessing=!1,this.fileName=n.name}else this.progessing=!1,this.selectedFile=null,this.toastr.warning("Vui l\xf2ng ch\u1ecdn \u0111\xfang file: PDF ho\u1eb7c DOCX")}onFileInputBlur(){this.progessing=!1}isValidFileType(i){return["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(i.type)}CreateDocument(){const i=new FormData,n=this.createdocumentform;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Description",n.get("Description")?.value?.trim()||""),i.append("FileName",n.get("Document")?.value||""),this.service.CreateDocument(i).subscribe(s=>{s.isSuccessed?(this.dialogRef.close(),this.toastr.success("Chia s\u1ebb t\xe0i li\u1ec7u th\xe0nh c\xf4ng")):this.toastr.error("L\u1ed7i: "+s.message)},s=>{this.toastr.error("L\u1ed7i: "+s)})}checkSize(i){return i.size>10485760&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 8MB."),!0)}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd),T(et))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-createdocument"]],decls:29,vars:9,consts:[[1,"plr-1","create-document"],[1,"flex-center-sb"],[3,"matTooltip"],["mat-raised-button","","color","primary","matTooltip","Chia s\u1ebb",3,"disabled","click"],[3,"formGroup"],[1,"mt"],["appearance","outline",1,"w-100","specific-border","flex-center-h"],[1,"image-upload-container","btn","btn-bwm","font",3,"click","focusout"],[1,"mb","inputfile"],["type","file","accept",".pdf, .docx",1,"font",3,"change"],["imageInput",""],[1,"ml-1","pl",2,"border-left","2px solid rgb(31, 31, 31)"],["class","ml-1 pl","style","color: blue;",4,"ngIf"],[1,"mb",2,"font-size","12px"],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0"],[4,"ngIf"],[1,"w-100",2,"max-height","224px"],["matInput","","formControlName","Description","placeholder","Nh\u1eadp m\xf4 t\u1ea3 t\xe0i li\u1ec7u...","required","",1,"fw-5",2,"max-height","180px"],[1,"ml-1","pl",2,"color","blue"],["mode","indeterminate"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"div",1)(2,"h5"),P(3," Chia s\u1ebb t\xe0i li\u1ec7u "),k(),C(4,"div",2)(5,"button",3),B("click",function(){return s.CreateDocument()}),P(6,"\u0110\u0103ng"),k()()(),C(7,"form",4),Q(8,"div",5),C(9,"div",6)(10,"label",7),B("click",function(){return s.toggleProgressing()})("focusout",function(){return s.onFileInputBlur()}),C(11,"span",8),P(12,"T\u1ea3i file t\xe0i li\u1ec7u"),k(),C(13,"input",9,10),B("change",function(){z(l);const p=ee(14);return H(s.onFileSelected(p))}),k()(),C(15,"div",11),P(16),k(),I(17,bbt,4,0,"div",12),k(),C(18,"div",13)(19,"i"),P(20,"* File t\u1ea3i l\xean y\xeau c\u1ea7u l\xe0 file pdf ho\u1eb7c file word"),k()(),C(21,"mat-form-field",14),Q(22,"input",15),I(23,ybt,2,0,"mat-error",16),I(24,Cbt,2,0,"mat-error",16),I(25,wbt,2,0,"mat-error",16),k(),C(26,"mat-form-field",17),Q(27,"textarea",18),I(28,xbt,2,0,"mat-error",16),k()()()}if(2&n){let l,d,p,f;y(4),ri("matTooltip",s.createdocumentform.invalid?"Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin":""),y(1),x("disabled",s.createdocumentform.invalid),y(2),x("formGroup",s.createdocumentform),y(9),_e(s.fileName),y(1),x("ngIf",s.progessing),y(6),x("ngIf",null==(l=s.createdocumentform.get("Title"))?null:l.hasError("required")),y(1),x("ngIf",null==(d=s.createdocumentform.get("Title"))?null:d.hasError("maxlength")),y(1),x("ngIf",null==(p=s.createdocumentform.get("Title"))?null:p.hasError("minlength")),y(3),x("ngIf",null==(f=s.createdocumentform.get("Description"))?null:f.hasError("maxlength"))}},dependencies:[Qe,cl,Sn,gn,Qr,vc,hs,ml,Cf,Cr,er,f$,jo,ba],styles:[".image-upload-container[_ngcontent-%COMP%]{position:relative;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;cursor:pointer;padding:8px 10px}.inputfile[_ngcontent-%COMP%]{background-color:#007bff}.inputfile[_ngcontent-%COMP%]:hover{background-color:#0056b3!important}"]})}return r})();function Dbt(r,a){1&r&&(C(0,"div",22)(1,"i"),P(2,"Vui l\xf2ng ch\u1edd, \u0111ang t\u1ea3i ... "),k(),Q(3,"mat-progress-bar",23),k())}function Abt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 l\xe0 b\u1eaft bu\u1ed9c "),k())}function Ibt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i hay qu\xe1 ng\u1eafn "),k())}function Sbt(r,a){1&r&&(C(0,"mat-error"),P(1," Ti\xeau \u0111\u1ec1 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 ng\u1eafn "),k())}function Tbt(r,a){1&r&&(C(0,"mat-error"),P(1," M\xf4 t\u1ea3 kh\xf4ng \u0111\u01b0\u1ee3c qu\xe1 d\xe0i "),k())}let Ebt=(()=>{class r{constructor(i,n,s,l,d){this._formBuilder=i,this.service=n,this.router=s,this.toastr=l,this.dialogRef=d,this.questionId="",this.selectedFile=null,this.fileName="",this.progessing=!1,this.createExamForm=this._formBuilder.group({Title:["",[Ft.required,Ft.maxLength(255),Ft.minLength(10)]],Description:["",[Ft.required,Ft.maxLength(500)]],Document:[null,Ft.required],Time:[null,Ft.required]})}toggleProgressing(){this.fileName="",setTimeout(()=>{this.progessing=!0},1e3)}onFileSelected(i){const n=i?.files[0];if(n&&this.isValidFileType(n)){if(this.checkSize(n))return void(this.progessing=!1);this.createExamForm.get("Document")?.setValue(n),this.progessing=!1,this.fileName=n.name}else this.progessing=!1,this.selectedFile=null,this.toastr.warning("Vui l\xf2ng ch\u1ecdn \u0111\xfang file: PDF ho\u1eb7c DOCX")}onFileInputBlur(){this.progessing=!1}isValidFileType(i){return["application/vnd.openxmlformats-officedocument.wordprocessingml.document"].includes(i.type)}CreateExam(){const i=new FormData,n=this.createExamForm;var s=n.get("Time")?.value;i.append("Title",n.get("Title")?.value?.trim()||""),i.append("Description",n.get("Description")?.value?.trim()||""),i.append("File",n.get("Document")?.value||""),i.append("WorkTime",s||"30"),this.service.CreateExam(i).subscribe(l=>{l.isSuccessed?(this.dialogRef.close(),this.toastr.success("T\u1ea1o b\xe0i thi th\xe0nh c\xf4ng")):this.toastr.error("L\u1ed7i: "+l.message)},l=>{this.toastr.error("L\u1ed7i: "+l)})}checkSize(i){return i.size>8388608&&(this.toastr.warning("K\xedch th\u01b0\u1edbc file kh\xf4ng \u0111\u01b0\u1ee3c v\u01b0\u1ee3t qu\xe1 8MB."),!0)}static#e=this.\u0275fac=function(n){return new(n||r)(T(za),T(In),T(di),T(Mi),T(hd))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-createexam"]],decls:31,vars:9,consts:[[1,"plr-1","create-document"],[1,"flex-center-sb","mt"],[2,"font-size","24px"],[3,"matTooltip"],["mat-raised-button","","color","primary","matTooltip","Chia s\u1ebb",3,"disabled","click"],[3,"formGroup"],[1,"mt"],["appearance","outline",1,"w-100","specific-border","flex-center-h"],[1,"image-upload-container","btn","btn-bwm","font",3,"click","focusout"],[1,"mb","inputfile"],["type","file","accept",".pdf, .docx",1,"font",3,"change"],["imageInput",""],[1,"ml-1","pl",2,"border-left","2px solid rgb(31, 31, 31)"],["class","ml-1 pl","style","color: blue;",4,"ngIf"],[1,"mb",2,"font-size","12px"],[1,"w-100"],["matInput","","formControlName","Title","placeholder","Nh\u1eadp ti\xeau \u0111\u1ec1 \u1edf \u0111\xe2y...","required","",1,"fw-5",2,"font-size","1.2em","line-height","0"],[4,"ngIf"],[1,"w-100",2,"max-height","224px"],["matInput","","formControlName","Description","placeholder","Nh\u1eadp m\xf4 t\u1ea3 t\xe0i li\u1ec7u...","required","",1,"fw-5",2,"max-height","180px"],[1,"w-100",2,"max-height","170px"],["matInput","","formControlName","Time","placeholder","Nh\u1eadp th\u1eddi gian thi... (ph\xfat)","required","",1,"fw-5",2,"max-height","126px"],[1,"ml-1","pl",2,"color","blue"],["mode","indeterminate"]],template:function(n,s){if(1&n){const l=ce();C(0,"div",0)(1,"div",1)(2,"span",2),P(3," T\u1ea1o \u0111\u1ec1 thi tr\u1eafc nghi\u1ec7m "),k(),C(4,"div",3)(5,"button",4),B("click",function(){return s.CreateExam()}),P(6,"T\u1ea1o"),k()()(),C(7,"form",5),Q(8,"div",6),C(9,"div",7)(10,"label",8),B("click",function(){return s.toggleProgressing()})("focusout",function(){return s.onFileInputBlur()}),C(11,"span",9),P(12,"Ch\u1ecdn file"),k(),C(13,"input",10,11),B("change",function(){z(l);const p=ee(14);return H(s.onFileSelected(p))}),k()(),C(15,"div",12),P(16),k(),I(17,Dbt,4,0,"div",13),k(),C(18,"div",14)(19,"i"),P(20,"* File t\u1ea3i l\xean y\xeau c\u1ea7u l\xe0 file word(.docx)"),k()(),C(21,"mat-form-field",15),Q(22,"input",16),I(23,Abt,2,0,"mat-error",17),I(24,Ibt,2,0,"mat-error",17),I(25,Sbt,2,0,"mat-error",17),k(),C(26,"mat-form-field",18),Q(27,"textarea",19),I(28,Tbt,2,0,"mat-error",17),k(),C(29,"mat-form-field",20),Q(30,"input",21),k()()()}if(2&n){let l,d,p,f;y(4),ri("matTooltip",s.createExamForm.invalid?"Vui l\xf2ng nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 th\xf4ng tin":""),y(1),x("disabled",s.createExamForm.invalid),y(2),x("formGroup",s.createExamForm),y(9),_e(s.fileName),y(1),x("ngIf",s.progessing),y(6),x("ngIf",null==(l=s.createExamForm.get("Title"))?null:l.hasError("required")),y(1),x("ngIf",null==(d=s.createExamForm.get("Title"))?null:d.hasError("maxlength")),y(1),x("ngIf",null==(p=s.createExamForm.get("Title"))?null:p.hasError("minlength")),y(3),x("ngIf",null==(f=s.createExamForm.get("Description"))?null:f.hasError("maxlength"))}},dependencies:[Qe,cl,Sn,gn,Qr,vc,hs,ml,Cf,Cr,er,f$,jo,ba],styles:[".image-upload-container[_ngcontent-%COMP%]{position:relative;display:inline-block;cursor:pointer;text-align:center;padding:8px 0}.image-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.image-upload-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;cursor:pointer;padding:8px 10px}.inputfile[_ngcontent-%COMP%]{background-color:#007bff}.inputfile[_ngcontent-%COMP%]:hover{background-color:#0056b3!important}"]})}return r})(),Mbt=(()=>{class r{constructor(i,n,s,l,d){this.router=i,this.service=n,this.dataService=s,this.session=l,this.toastr=d}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(In),T(Fr),T(Rn),T(Mi))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-footer"]],decls:71,vars:0,consts:[[1,"footer","mt-50"],[1,"flex-center-h"],["src","assets/Icon/pagoda64.png","alt","",1,"logo"],[1,"pl-1"],[1,"flex-center"],[1,"flex-center-sb"],["type","email","matTooltip","Nh\u1eadp email c\u1ee7a b\u1ea1n"],["matLine","3","type","text","matTooltip","Nh\u1eadp n\u1ed9i dung",2,"width","169.6px","max-width","170px","min-width","169px","max-height","192px"],[1,"footer2"],["href","https://www.facebook.com/LuongXuanNhat114","target","_blank",2,"padding","0px 4px","color","antiquewhite"],["href","https://www.facebook.com/vuanhpham25","target","_blank",2,"padding","0px 4px","color","antiquewhite"]],template:function(n,s){1&n&&(C(0,"div",0)(1,"div",1),Q(2,"img",2),C(3,"div",3)(4,"strong"),P(5,"T\xf4i y\xeau l\u1ecbch s\u1eed"),k()()(),C(6,"div")(7,"ul")(8,"strong"),P(9,"Danh m\u1ee5c"),k(),C(10,"li"),P(11,"Kh\xe1m ph\xe1"),k(),C(12,"li"),P(13,"H\u1ecdc t\u1eadp"),k(),C(14,"li"),P(15,"Luy\u1ec7n t\u1eadp"),k(),C(16,"li"),P(17,"Di\u1ec5n \u0111\xe0n"),k(),C(18,"li"),P(19,"T\xe0i li\u1ec7u"),k(),C(20,"li"),P(21,"Tin t\u1ee9c"),k()()(),C(22,"div")(23,"ul")(24,"strong"),P(25,"Danh m\u1ee5c"),k(),C(26,"li"),P(27,"Kh\xe1m ph\xe1"),k(),C(28,"li"),P(29,"H\u1ecdc t\u1eadp"),k(),C(30,"li"),P(31,"Luy\u1ec7n t\u1eadp"),k(),C(32,"li"),P(33,"Di\u1ec5n \u0111\xe0n"),k(),C(34,"li"),P(35,"T\xe0i li\u1ec7u"),k(),C(36,"li"),P(37,"Tin t\u1ee9c"),k()()(),C(38,"div")(39,"ul")(40,"strong"),P(41,"V\u1ec1 ch\xfang t\xf4i"),k(),C(42,"li"),P(43,"Gi\u1edbi thi\u1ec7u"),k(),C(44,"li"),P(45,"\u1ee6ng h\u1ed9"),k()()(),C(46,"div")(47,"div",4),P(48," D\xe2n ta ph\u1ea3i bi\u1ebft s\u1eed ta "),k(),C(49,"div"),P(50,"Cho t\u01b0\u1eddng g\u1ed1c t\xedch, n\u01b0\u1edbc nh\xe0 Vi\u1ec7t Nam"),k(),C(51,"div"),Q(52,"br"),C(53,"div",5)(54,"label"),P(55,"Email"),k(),Q(56,"input",6),k(),C(57,"div",5)(58,"label"),P(59,"L\u1eddi nh\u1eafn"),k(),Q(60,"textarea",7),k()()()(),C(61,"div",8)(62,"h3"),P(63,"'T\xf4i y\xeau l\u1ecbch s\u1eed' l\xe0 n\u1ec1n t\u1ea3ng chuy\xean bi\u1ec7t v\u1ec1 ki\u1ebfn \u200b\u200bth\u1ee9c, ngu\u1ed3n t\xe0i li\u1ec7u li\xean quan \u0111\u1ebfn l\u1ecbch s\u1eed Vi\u1ec7t Nam. T\u1ea1i \u0111\xe2y, b\u1ea1n c\xf3 th\u1ec3 nghi\xean c\u1ee9u l\u1ecbch s\u1eed, \u0111\u1eb7t c\xe2u h\u1ecfi v\xe0 nh\u1eadn c\xe2u tr\u1ea3 l\u1eddi t\u1eeb c\u1ed9ng \u0111\u1ed3ng, vi\u1ebft blog c\xe1 nh\xe2n \u0111\u1ec3 chia s\u1ebb ki\u1ebfn \u200b\u200bth\u1ee9c, kinh nghi\u1ec7m, c\u0169ng nh\u01b0 t\xecm ki\u1ebfm, t\xe0i li\u1ec7u v\xe0 l\xe0m c\xe1c b\xe0i thi tr\u1eafc nghi\u1ec7m l\u1ecbch s\u1eed hay"),k(),C(64,"div"),P(65," \xa9 2024 VietNam, Inc | Website to develop by "),C(66,"a",9),P(67," Nhat Luong "),k(),P(68," & "),C(69,"a",10),P(70," Vu Pham"),k()()())},dependencies:[n8,er],styles:[".footer[_ngcontent-%COMP%]{background-color:#000000c2;color:#fff;font-size:14px;display:flex;padding:16px 200px;justify-content:space-between}.footer2[_ngcontent-%COMP%]{background-color:#000000c2;color:#fff;font-size:14px;display:block;text-align:center;padding:16px 200px;justify-content:space-between}.logo[_ngcontent-%COMP%]{width:32px;height:32px;object-fit:contain;background-color:#fff;padding:4px;border-radius:50%}"]})}return r})();function Rbt(r,a){1&r&&(C(0,"a",46),P(1,"User"),k())}function Pbt(r,a){1&r&&(C(0,"button",47)(1,"mat-icon"),P(2,"menu"),k()()),2&r&&(S(),x("matMenuTriggerFor",ee(8)))}const Wce=function(r){return[r]};function Obt(r,a){if(1&r&&(be(0),C(1,"button",48,49),P(3),k(),ve()),2&r){const i=a.$implicit,n=ee(2);y(1),Se("active",n.isActive),x("routerLink",Wt(4,Wce,i.url)),y(2),me(" ",i.categoryname," ")}}const Fbt=function(){return{exact:!0}};function Nbt(r,a){if(1&r&&(C(0,"a",53,49),P(2),k()),2&r){const i=a.$implicit,n=ee(1);x("routerLink",Wt(4,Wce,i.url))("routerLinkActiveOptions",Dn(6,Fbt))("active",n.isActive),y(2),me(" ",i.categoryname," ")}}function Lbt(r,a){if(1&r&&(C(0,"div",50)(1,"nav",51),I(2,Nbt,3,7,"a",52),k()()),2&r){const i=S(),n=ee(106);y(1),x("tabPanel",n),y(1),x("ngForOf",i.objectList)}}function Bbt(r,a){if(1&r){const i=ce();C(0,"button",15),B("click",function(){return z(i),H(S().createExam())}),C(1,"span"),P(2,"\u2728"),k(),C(3,"span",29),P(4,"T\u1ea1o b\xe0i thi "),k()()}}function Vbt(r,a){if(1&r&&(C(0,"li",54),P(1),C(2,"span"),P(3),k()()),2&r){const i=a.$implicit;y(1),me(" ",i.content," "),y(2),_e(i.date)}}function zbt(r,a){1&r&&Q(0,"img",58),2&r&&x("src",S(2).avatar,oi)}function Hbt(r,a){1&r&&(C(0,"mat-icon",59),P(1,"account_circle"),k())}function Gbt(r,a){if(1&r&&(C(0,"button",55),I(1,zbt,1,1,"img",56),I(2,Hbt,2,0,"ng-template",null,57,pe),k()),2&r){const i=ee(3),n=S();x("matMenuTriggerFor",ee(50)),y(1),x("ngIf",n.avatar)("ngIfElse",i)}}function jbt(r,a){1&r&&Q(0,"img",60),2&r&&ri("src",S().avatar,oi)}function $bt(r,a){1&r&&Q(0,"img",61)}function Ubt(r,a){if(1&r){const i=ce();C(0,"button",62),P(1,"\u0110\u0103ng k\xfd"),k(),C(2,"button",63),B("click",function(){return z(i),H(S().loginUser())}),P(3,"\u0110\u0103ng nh\u1eadp"),k()}}const Wbt=function(r,a){return{"new-notification":r,"default-notification":a}};let qbt=(()=>{class r{constructor(i,n,s,l,d,p,f,v){this.router=i,this.service=n,this.toastr=s,this.sessionService=l,this.dialog=d,this.animationService=p,this.breakpointObserver=f,this.publicService=v,this.title="VietNamHistory",this.ismenurequired=!1,this.isadminuser=!1,this.isScreenWideEnough=!0,this.objectList=[{categoryname:"Trang ch\u1ee7",url:"/"},{categoryname:"Kh\xe1m ph\xe1",url:"/discover"},{categoryname:"H\u1ecdc s\u1eed",url:"/course"},{categoryname:"Luy\u1ec7n t\u1eadp",url:"/exam"},{categoryname:"T\xe0i li\u1ec7u",url:"/document"},{categoryname:"Di\u1ec5n \u0111\xe0n",url:"/forum"},{categoryname:"Tin t\u1ee9c",url:"/news"}],this.notifications=[],this.numberNotiNotSeen=0,this.isMenuOpen=!1}ngOnInit(){this.animationService.attachAnimationListener(),this.animationService.attachAnimationListener_btn2(),this.breakpointObserver.observe(["(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"]).subscribe(i=>{this.isScreenWideEnough=!i.matches}),this.checkLoginOne=!0,this.newNoti=!1}getNotification(){this.sessionService.getUserId()&&this.checkLoginOne&&(this.checkLoginOne=!1,this.publicService.GetMyNotification().subscribe(i=>{i.isSuccessed?(this.notifications=this.ConvertNotisDate(i.resultObj),this.getConnecttion()):this.toastr.error("L\u1ed7i: "+i.message)},i=>{this.toastr.error("L\u1ed7i: "+i)}))}openMenu(){this.isMenuOpen=!0}closeMenu(){}ngDoCheck(){let i=this.router.url;this.ismenurequired="/login"!=i&&"/register"!=i,this.isadminuser="admin"===this.service.GetUserRole()}createPost(){this.sessionService.getToken()?this.openDialog("100ms","600ms"):(this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp tr\u01b0\u1edbc"),this.router.navigate(["/login"],{state:{redirect:this.router.url}}))}openDialog(i,n){this.dialog.open(hbt,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}createQuestion(){this.sessionService.getToken()?this.openQuestionDialog("100ms","600ms"):(this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp tr\u01b0\u1edbc"),this.router.navigate(["/login"],{state:{redirect:this.router.url}}))}openQuestionDialog(i,n){this.dialog.open(vbt,{enterAnimationDuration:i,exitAnimationDuration:n,width:"50%"})}createDocument(){this.sessionService.getToken()?this.openDocumentDialog("100ms","600ms"):(this.toastr.info("B\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp tr\u01b0\u1edbc"),this.router.navigate(["/login"],{state:{redirect:this.router.url}}))}openDocumentDialog(i,n){this.dialog.open(kbt,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}createExam(){this.openExamDialog("100ms","600ms")}openExamDialog(i,n){this.dialog.open(Ebt,{enterAnimationDuration:i,exitAnimationDuration:n,width:"60%"})}isLoggedIn(){return this.token=this.sessionService.getToken(),this.token&&(this.avatar=this.sessionService.getAvatar(),this.username=this.sessionService.getName(),this.email=this.sessionService.getEmail(),this.avatar=""===this.avatar?null:this.avatar,this.getNotification()),this.service.IsLoggedIn()}getConnecttion(){this.hubConnection=(new Uj).withUrl(this.publicService.getChatSignRl()).build(),this.hubConnection.start().then(()=>{console.log("K\u1ebft n\u1ed1i th\xe0nh c\xf4ng!"),this.hubConnection.invoke("AddToGroup",this.sessionService.getUserId())}).catch(i=>console.error("L\u1ed7i khi thi\u1ebft l\u1eadp k\u1ebft n\u1ed1i:",i)),this.hubConnection.on("ReceiveNoti",i=>{i.userId===this.sessionService.getUserId()&&(this.notifications.unshift(this.ConvertNotiDate(i)),this.numberNotiNotSeen+=1,this.newNoti=!0)})}openNotification(){this.newNoti=!1}isCheckAdmin(){return this.sessionService.getRole()===N4.adminRole}logout(){this.service.LogOut().subscribe(i=>{this.sessionService.clearSessionStorage(),this.service.logout(),this.avatar=null,this.notifications=[],this.router.navigate(["/login"])},i=>{const n=i.message;this.toastr.error(null==n?"L\u1ed7i k\u1ebft n\u1ed1i \u0111\u1ebfn server! Xin l\u1ed7i v\xec s\u1ef1 c\u1ed1 n\xe0y":n)})}loginUser(){this.router.navigate(["/login"],{state:{redirect:this.router.url}})}checkRoute(){this.isCheckAdmin()&&this.router.navigate(["/mycategory/exam"]),this.sessionService.getRole()===N4.studentRole&&this.router.navigate(["/mycategory/examhistory"])}ConvertNotiDate(i){const n=fi(i.date??"");return isNaN(n.getTime())||(i.date=_i(n,"dd-MM-yyyy HH:mm")),i}ConvertNotisDate(i){return i?.forEach(n=>{const s=fi(n.date??"");isNaN(s.getTime())||(n.date=_i(s,"dd-MM-yyyy HH:mm"))}),i}static#e=this.\u0275fac=function(n){return new(n||r)(T(di),T(Qu),T(Mi),T(Rn),T(Dc),T(o4),T($Q),T(In))};static#t=this.\u0275cmp=de({type:r,selectors:[["app-root"]],decls:110,vars:20,consts:[["href","https://fonts.googleapis.com/icon?family=Material+Icons","rel","stylesheet"],["role","banner",1,"toolbar","body","font"],["routerLink","/home"],["width","40","alt","Angular Logo","src","assets/Icon/pagoda64.png"],["routerLink","/user","title","User",4,"ngIf"],[2,"display","flex","align-items","center","justify-content","space-between","width","100%"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],[4,"ngFor","ngForOf"],["class"," category-menu",4,"ngIf"],[1,"flex-center-h"],["mat-icon-button","","matTooltip","L\xean \xfd t\u01b0\u1edfng","matTooltipPosition","left",1,"dis-flex",3,"matMenuTriggerFor"],["matBadge","1","matBadgeColor","warn",2,"color","#3e50ca"],[2,"z-index","10"],["menuCreate","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click",4,"ngIf"],["matBadgeSize","small","mat-icon-button","","matTooltip","Th\xf4ng b\xe1o","matTooltipPosition","below",1,"dis-flex",3,"matMenuTriggerFor","click"],[3,"ngClass"],["menuNotification","matMenu"],[1,"dis-block","mb",2,"text-align","center"],[2,"max-height","400px"],["routerLink","","class","plr cursor-d mt mb","style","font-size: 14px;",4,"ngFor","ngForOf"],["mat-icon-button","","class","btn-user",3,"matMenuTriggerFor",4,"ngIf","ngIfElse"],["menuUser","matMenu"],[1,"flex-center","fs",2,"padding","8px 16px","border-bottom","1px solid #e6e6e6"],["class","img-user",3,"src",4,"ngIf","ngIfElse"],["avatarBig",""],[1,"pl-1"],[1,"ellipsis",2,"width","170px"],[1,"ellipsis",2,"width","170px",3,"title"],["mat-menu-item","","routerLink","/account"],[1,"fs","co-black"],["mat-menu-item","",3,"matMenuTriggerFor"],[1,"fs"],[1,"fs","co-red"],["category","matMenu"],["mat-menu-item","","routerLink","/mycategory/post"],["mat-menu-item","","disabled","","routerLink","/mycategory/post"],["mat-menu-item","","routerLink","/mycategory/question"],["mat-menu-item","","routerLink","/mycategory/document"],["class",""],["loginLink",""],[1,"container",2,"min-height","500px"],["tabPanel",""],["routerLink","/user","title","User"],["mat-button","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLinkActive","",3,"routerLink"],["rla","routerLinkActive"],[1,"category-menu"],["mat-tab-nav-bar","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active",4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","routerLinkActiveOptions","active"],["routerLink","",1,"plr","cursor-d","mt","mb",2,"font-size","14px"],["mat-icon-button","",1,"btn-user",3,"matMenuTriggerFor"],["alt","\u1ea3nh \u0111\u1ea1i di\u1ec7n","class","img-user-small",3,"src",4,"ngIf","ngIfElse"],["avatarcommon",""],["alt","\u1ea3nh \u0111\u1ea1i di\u1ec7n",1,"img-user-small",3,"src"],[2,"color","black"],[1,"img-user",3,"src"],["src","assets/Icon/user-l.png",1,"img-user"],["mat-raised-button","","color","primary","routerLink","/register"],["mat-button","",3,"click"]],template:function(n,s){if(1&n&&(Q(0,"link",0),C(1,"div",1)(2,"a",2),Q(3,"img",3),k(),I(4,Rbt,2,0,"a",4),C(5,"div",5),I(6,Pbt,3,1,"button",6),C(7,"mat-menu",null,7),I(9,Obt,4,6,"ng-container",8),k(),I(10,Lbt,3,2,"div",9),C(11,"div",10)(12,"button",11)(13,"mat-icon",12),P(14,"add_circle"),k()(),C(15,"mat-menu",13,14)(17,"button",15),B("click",function(){return s.createPost()}),C(18,"mat-icon"),P(19,"post_add"),k(),C(20,"span"),P(21,"T\u1ea1o b\xe0i \u0111\u1ecdc"),k()(),C(22,"button",16)(23,"mat-icon"),P(24,"school"),k(),C(25,"span"),P(26,"T\u1ea1o kh\xf3a h\u1ecdc"),k()(),C(27,"button",15),B("click",function(){return s.createQuestion()}),C(28,"mat-icon"),P(29,"forum"),k(),C(30,"span"),P(31,"\u0110\u1eb7t c\xe2u h\u1ecfi"),k()(),C(32,"button",15),B("click",function(){return s.createDocument()}),C(33,"mat-icon"),P(34,"receipt_long"),k(),C(35,"span"),P(36,"Chia s\u1ebb t\xe0i li\u1ec7u"),k()(),I(37,Bbt,5,0,"button",17),k(),C(38,"button",18),B("click",function(){return s.openNotification()}),C(39,"mat-icon",19),P(40,"notifications"),k()(),C(41,"mat-menu",null,20)(43,"span",21),P(44,"Th\xf4ng b\xe1o"),k(),C(45,"ul",22),I(46,Vbt,4,2,"li",23),Q(47,"hr"),k()(),I(48,Gbt,4,3,"button",24),k(),C(49,"mat-menu",null,25)(51,"div",26),I(52,jbt,1,1,"img",27),I(53,$bt,1,0,"ng-template",null,28,pe),C(55,"div",29)(56,"p",30)(57,"strong"),P(58),k()(),C(59,"p",31),P(60),k()()(),C(61,"button",32)(62,"mat-icon"),P(63,"settings"),k(),C(64,"a",33),P(65,"C\xe0i \u0111\u1eb7t t\xe0i kho\u1ea3n"),k()(),C(66,"button",34)(67,"mat-icon"),P(68,"category"),k(),C(69,"span",35),P(70,"Danh m\u1ee5c"),k()(),C(71,"button",15),B("click",function(){return s.logout()}),C(72,"mat-icon"),P(73,"logout"),k(),C(74,"a",36),P(75,"\u0110\u0103ng xu\u1ea5t"),k()()(),C(76,"mat-menu",null,37)(78,"button",38)(79,"mat-icon"),P(80,"menu_book"),k(),C(81,"span",35),P(82,"B\xe0i vi\u1ebft"),k()(),C(83,"button",39)(84,"mat-icon"),P(85,"local_library"),k(),C(86,"span",35),P(87,"B\xe0i h\u1ecdc"),k()(),C(88,"button",15),B("click",function(){return s.checkRoute()}),C(89,"mat-icon"),P(90,"edit_square"),k(),C(91,"span",35),P(92,"Tr\u1eafc nghi\u1ec7m"),k()(),C(93,"button",40)(94,"mat-icon"),P(95,"live_help"),k(),C(96,"span",35),P(97,"C\xe2u h\u1ecfi"),k()(),C(98,"button",41)(99,"mat-icon"),P(100,"receipt_long"),k(),C(101,"span",35),P(102,"T\xe0i li\u1ec7u"),k()()(),I(103,Ubt,4,0,"ng-template",42,43,pe),k()(),C(105,"div",44,45),Q(107,"router-outlet"),k(),C(108,"div"),Q(109,"app-footer"),k()),2&n){const l=ee(16),d=ee(42),p=ee(54),f=ee(77),v=ee(104);y(4),x("ngIf",s.isadminuser),y(2),x("ngIf",!s.isScreenWideEnough),y(3),x("ngForOf",s.objectList),y(1),x("ngIf",s.isScreenWideEnough),y(2),x("matMenuTriggerFor",l),y(25),x("ngIf",s.isCheckAdmin()),y(1),x("matMenuTriggerFor",d),y(1),x("ngClass",Un(17,Wbt,s.newNoti,!s.newNoti)),y(7),x("ngForOf",s.notifications),y(2),x("ngIf",s.isLoggedIn())("ngIfElse",v),y(4),x("ngIf",s.avatar)("ngIfElse",p),y(6),_e(s.username),y(1),x("title",s.email),y(1),_e(s.email),y(6),x("matMenuTriggerFor",f)}},dependencies:[RC,js,o3,Xt,Vt,Qe,Cr,wr,Fo,T5,E5,z5,yb,H5,er,Mbt],styles:[".btn-user[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-right:8px}.img-user[_ngcontent-%COMP%]{border-radius:50%;width:64px!important;height:64px;object-fit:cover;overflow:hidden}.img-user-small[_ngcontent-%COMP%]{border-radius:50%;width:24px;height:24px;object-fit:cover;overflow:hidden;position:absolute}.img-user-medium[_ngcontent-%COMP%]{border-radius:50%;width:auto!important;height:auto!important;font-size:64px!important}.ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media screen and (max-width: 600px){.category-menu[_ngcontent-%COMP%]{display:none}}.new-notification[_ngcontent-%COMP%]{color:#ff3e3e}.default-notification[_ngcontent-%COMP%]{color:#7d7d7d}",'[_nghost-%COMP%] {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n color: #333;\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%] {\n margin: 8px 0;\n }\n\n p[_ngcontent-%COMP%] {\n margin: 0;\n }\n\n .spacer[_ngcontent-%COMP%] {\n flex: 1;\n }\n\n .toolbar[_ngcontent-%COMP%] {\n box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 50px;\n display: flex;\n align-items: center;\n color: white;\n font-weight: 600;\n }\n\n .toolbar[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n margin: 0 16px;\n }\n\n .toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%] {\n height: 40px;\n margin: 0 8px;\n }\n\n .toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%] {\n height: 40px;\n margin: 0 16px;\n }\n\n .toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%]:hover, .toolbar[_ngcontent-%COMP%] #youtube-logo[_ngcontent-%COMP%]:hover {\n opacity: 0.8;\n }\n\n .content[_ngcontent-%COMP%] {\n display: flex;\n margin: 82px auto 32px;\n padding: 0 16px;\n max-width: 960px;\n flex-direction: column;\n align-items: center;\n }\n\n svg.material-icons[_ngcontent-%COMP%] {\n height: 24px;\n width: auto;\n }\n\n svg.material-icons[_ngcontent-%COMP%]:not(:last-child) {\n margin-right: 8px;\n }\n\n .card[_ngcontent-%COMP%] svg.material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {\n fill: #888;\n }\n\n .card-container[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin-top: 16px;\n }\n\n .card[_ngcontent-%COMP%] {\n all: unset;\n border-radius: 4px;\n border: 1px solid #eee;\n background-color: #fafafa;\n height: 40px;\n width: 200px;\n margin: 0 8px 16px;\n padding: 16px;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease-in-out;\n line-height: 24px;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(:last-child) {\n margin-right: 0;\n }\n\n .card.card-small[_ngcontent-%COMP%] {\n height: 16px;\n width: 168px;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card) {\n cursor: pointer;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover {\n transform: translateY(-3px);\n box-shadow: 0 4px 17px rgba(0, 0, 0, 0.35);\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover .material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {\n fill: rgb(105, 103, 103);\n }\n\n .card.highlight-card[_ngcontent-%COMP%] {\n background-color: #1976d2;\n color: white;\n font-weight: 600;\n border: none;\n width: auto;\n min-width: 30%;\n position: relative;\n }\n\n .card.card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n margin-left: 60px;\n }\n\n svg#rocket[_ngcontent-%COMP%] {\n width: 80px;\n position: absolute;\n left: -10px;\n top: -24px;\n }\n\n svg#rocket-smoke[_ngcontent-%COMP%] {\n height: calc(100vh - 95px);\n position: absolute;\n top: 10px;\n right: 180px;\n z-index: -10;\n }\n\n a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover {\n color: #1976d2;\n text-decoration: none;\n }\n\n a[_ngcontent-%COMP%]:hover {\n color: #125699;\n }\n\n .terminal[_ngcontent-%COMP%] {\n position: relative;\n width: 80%;\n max-width: 600px;\n border-radius: 6px;\n padding-top: 45px;\n margin-top: 8px;\n overflow: hidden;\n background-color: rgb(15, 15, 16);\n }\n\n .terminal[_ngcontent-%COMP%]::before {\n content: "\\2022 \\2022 \\2022";\n position: absolute;\n top: 0;\n left: 0;\n height: 4px;\n background: rgb(58, 58, 58);\n color: #c2c3c4;\n width: 100%;\n font-size: 2rem;\n line-height: 0;\n padding: 14px 0;\n text-indent: 4px;\n }\n\n .terminal[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] {\n font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;\n color: white;\n padding: 0 1rem 1rem;\n margin: 0;\n }\n\n .circle-link[_ngcontent-%COMP%] {\n height: 40px;\n width: 40px;\n border-radius: 40px;\n margin: 8px;\n background-color: white;\n border: 1px solid #eeeeee;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n transition: 1s ease-out;\n }\n\n .circle-link[_ngcontent-%COMP%]:hover {\n transform: translateY(-0.25rem);\n box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);\n }\n\n footer[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n align-items: center;\n line-height: 20px;\n }\n\n footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n }\n\n .github-star-badge[_ngcontent-%COMP%] {\n color: #24292e;\n display: flex;\n align-items: center;\n font-size: 12px;\n padding: 3px 10px;\n border: 1px solid rgba(27,31,35,.2);\n border-radius: 3px;\n background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);\n margin-left: 4px;\n font-weight: 600;\n }\n\n .github-star-badge[_ngcontent-%COMP%]:hover {\n background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);\n border-color: rgba(27,31,35,.35);\n background-position: -.5em;\n }\n\n .github-star-badge[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%] {\n height: 16px;\n width: 16px;\n margin-right: 4px;\n }\n\n svg#clouds[_ngcontent-%COMP%] {\n position: fixed;\n bottom: -160px;\n left: -230px;\n z-index: -10;\n width: 1920px;\n }\n\n \n\n @media screen and (max-width: 767px) {\n .card-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(.circle-link), .terminal[_ngcontent-%COMP%] {\n width: 100%;\n }\n\n .card[_ngcontent-%COMP%]:not(.highlight-card) {\n height: 16px;\n margin: 8px 0;\n }\n\n .card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n margin-left: 72px;\n }\n\n svg#rocket-smoke[_ngcontent-%COMP%] {\n right: 120px;\n transform: rotate(-5deg);\n }\n }\n\n @media screen and (max-width: 575px) {\n svg#rocket-smoke[_ngcontent-%COMP%] {\n display: none;\n visibility: hidden;\n }\n }']})}return r})(),Qbt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[xX,Ai,xX,Ai]})}return r})(),Xbt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[iI,Ai,Ai]})}return r})(),Zbt=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({imports:[Hp,l8,C5,Nse,Xbt,Zu,mKe,Ose,xKe,XXe,Hvt,wrt,fot,Nse,gYe,C5,Xoe,DQe,FJe,WYe,Qbt,_Xe,aye,RXe,_5,cnt,l8,Qrt]})}return r})();function Kce(r){return new Be(3e3,!1)}function Ef(r){switch(r.length){case 0:return new QA;case 1:return r[0];default:return new PQ(r)}}function Yce(r,a,i=new Map,n=new Map){const s=[],l=[];let d=-1,p=null;if(a.forEach(f=>{const v=f.get("offset"),D=v==d,E=D&&p||new Map;f.forEach((F,L)=>{let $=L,q=F;if("offset"!==L)switch($=r.normalizePropertyName($,s),q){case"!":q=i.get(L);break;case Pp:q=n.get(L);break;default:q=r.normalizeStyleValue(L,$,q,s)}E.set($,q)}),D||l.push(E),p=E,d=v}),s.length)throw function Cyt(r){return new Be(3502,!1)}();return l}function zU(r,a,i,n){switch(a){case"start":r.onStart(()=>n(i&&HU(i,"start",r)));break;case"done":r.onDone(()=>n(i&&HU(i,"done",r)));break;case"destroy":r.onDestroy(()=>n(i&&HU(i,"destroy",r)))}}function HU(r,a,i){const l=GU(r.element,r.triggerName,r.fromState,r.toState,a||r.phaseName,i.totalTime??r.totalTime,!!i.disabled),d=r._data;return null!=d&&(l._data=d),l}function GU(r,a,i,n,s="",l=0,d){return{element:r,triggerName:a,fromState:i,toState:n,phaseName:s,totalTime:l,disabled:!!d}}function Tc(r,a,i){let n=r.get(a);return n||r.set(a,n=i),n}function Qce(r){const a=r.indexOf(":");return[r.substring(1,a),r.slice(a+1)]}const Pyt=(()=>typeof document>"u"?null:document.documentElement)();function jU(r){const a=r.parentNode||r.host||null;return a===Pyt?null:a}let Vb=null,Xce=!1;function Zce(r,a){for(;a;){if(a===r)return!0;a=jU(a)}return!1}function Jce(r,a,i){if(i)return Array.from(r.querySelectorAll(a));const n=r.querySelector(a);return n?[n]:[]}let ede=(()=>{class r{validateStyleProperty(i){return function Fyt(r){Vb||(Vb=function Nyt(){return typeof document<"u"?document.body:null}()||{},Xce=!!Vb.style&&"WebkitAppearance"in Vb.style);let a=!0;return Vb.style&&!function Oyt(r){return"ebkit"==r.substring(1,6)}(r)&&(a=r in Vb.style,!a&&Xce&&(a="Webkit"+r.charAt(0).toUpperCase()+r.slice(1)in Vb.style)),a}(i)}matchesElement(i,n){return!1}containsElement(i,n){return Zce(i,n)}getParentElement(i){return jU(i)}query(i,n,s){return Jce(i,n,s)}computeStyle(i,n,s){return s||""}animate(i,n,s,l,d,p=[],f){return new QA(s,l)}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),$U=(()=>{class r{static#e=this.NOOP=new ede}return r})();const Lyt=1e3,UU="ng-enter",L4="ng-leave",B4="ng-trigger",V4=".ng-trigger",ide="ng-animating",WU=".ng-animating";function lg(r){if("number"==typeof r)return r;const a=r.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:qU(parseFloat(a[1]),a[2])}function qU(r,a){return"s"===a?r*Lyt:r}function z4(r,a,i){return r.hasOwnProperty("duration")?r:function Vyt(r,a,i){let s,l=0,d="";if("string"==typeof r){const p=r.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===p)return a.push(Kce()),{duration:0,delay:0,easing:""};s=qU(parseFloat(p[1]),p[2]);const f=p[3];null!=f&&(l=qU(parseFloat(f),p[4]));const v=p[5];v&&(d=v)}else s=r;if(!i){let p=!1,f=a.length;s<0&&(a.push(function Jbt(){return new Be(3100,!1)}()),p=!0),l<0&&(a.push(function eyt(){return new Be(3101,!1)}()),p=!0),p&&a.splice(f,0,Kce())}return{duration:s,delay:l,easing:d}}(r,a,i)}function lT(r,a={}){return Object.keys(r).forEach(i=>{a[i]=r[i]}),a}function nde(r){const a=new Map;return Object.keys(r).forEach(i=>{a.set(i,r[i])}),a}function Mf(r,a=new Map,i){if(i)for(let[n,s]of i)a.set(n,s);for(let[n,s]of r)a.set(n,s);return a}function fh(r,a,i){a.forEach((n,s)=>{const l=YU(s);i&&!i.has(s)&&i.set(s,r.style[l]),r.style[l]=n})}function zb(r,a){a.forEach((i,n)=>{const s=YU(n);r.style[s]=""})}function cT(r){return Array.isArray(r)?1==r.length?r[0]:RQ(r):r}const KU=new RegExp("{{\\s*(.+?)\\s*}}","g");function rde(r){let a=[];if("string"==typeof r){let i;for(;i=KU.exec(r);)a.push(i[1]);KU.lastIndex=0}return a}function dT(r,a,i){const n=r.toString(),s=n.replace(KU,(l,d)=>{let p=a[d];return null==p&&(i.push(function iyt(r){return new Be(3003,!1)}()),p=""),p.toString()});return s==n?r:s}function H4(r){const a=[];let i=r.next();for(;!i.done;)a.push(i.value),i=r.next();return a}const Gyt=/-+([a-z0-9])/g;function YU(r){return r.replace(Gyt,(...a)=>a[1].toUpperCase())}function Ec(r,a,i){switch(a.type){case 7:return r.visitTrigger(a,i);case 0:return r.visitState(a,i);case 1:return r.visitTransition(a,i);case 2:return r.visitSequence(a,i);case 3:return r.visitGroup(a,i);case 4:return r.visitAnimate(a,i);case 5:return r.visitKeyframes(a,i);case 6:return r.visitStyle(a,i);case 8:return r.visitReference(a,i);case 9:return r.visitAnimateChild(a,i);case 10:return r.visitAnimateRef(a,i);case 11:return r.visitQuery(a,i);case 12:return r.visitStagger(a,i);default:throw function nyt(r){return new Be(3004,!1)}()}}function sde(r,a){return window.getComputedStyle(r)[a]}const G4="*";function Uyt(r,a){const i=[];return"string"==typeof r?r.split(/\s*,\s*/).forEach(n=>function Wyt(r,a,i){if(":"==r[0]){const f=function qyt(r,a){switch(r){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n) *"}}(r,i);if("function"==typeof f)return void a.push(f);r=f}const n=r.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(function fyt(r){return new Be(3015,!1)}()),a;const s=n[1],l=n[2],d=n[3];a.push(ade(s,d));"<"==l[0]&&!(s==G4&&d==G4)&&a.push(ade(d,s))}(n,i,a)):i.push(r),i}const j4=new Set(["true","1"]),$4=new Set(["false","0"]);function ade(r,a){const i=j4.has(r)||$4.has(r),n=j4.has(a)||$4.has(a);return(s,l)=>{let d=r==G4||r==s,p=a==G4||a==l;return!d&&i&&"boolean"==typeof s&&(d=s?j4.has(r):$4.has(r)),!p&&n&&"boolean"==typeof l&&(p=l?j4.has(a):$4.has(a)),d&&p}}const Kyt=new RegExp("s*:selfs*,?","g");function QU(r,a,i,n){return new Yyt(r).build(a,i,n)}class Yyt{constructor(a){this._driver=a}build(a,i,n){const s=new Zyt(i);return this._resetContextStyleTimingState(s),Ec(this,cT(a),s)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,i){let n=i.queryCount=0,s=i.depCount=0;const l=[],d=[];return"@"==a.name.charAt(0)&&i.errors.push(function ryt(){return new Be(3006,!1)}()),a.definitions.forEach(p=>{if(this._resetContextStyleTimingState(i),0==p.type){const f=p,v=f.name;v.toString().split(/\s*,\s*/).forEach(D=>{f.name=D,l.push(this.visitState(f,i))}),f.name=v}else if(1==p.type){const f=this.visitTransition(p,i);n+=f.queryCount,s+=f.depCount,d.push(f)}else i.errors.push(function syt(){return new Be(3007,!1)}())}),{type:7,name:a.name,states:l,transitions:d,queryCount:n,depCount:s,options:null}}visitState(a,i){const n=this.visitStyle(a.styles,i),s=a.options&&a.options.params||null;if(n.containsDynamicStyles){const l=new Set,d=s||{};n.styles.forEach(p=>{p instanceof Map&&p.forEach(f=>{rde(f).forEach(v=>{d.hasOwnProperty(v)||l.add(v)})})}),l.size&&(H4(l.values()),i.errors.push(function ayt(r,a){return new Be(3008,!1)}()))}return{type:0,name:a.name,style:n,options:s?{params:s}:null}}visitTransition(a,i){i.queryCount=0,i.depCount=0;const n=Ec(this,cT(a.animation),i);return{type:1,matchers:Uyt(a.expr,i.errors),animation:n,queryCount:i.queryCount,depCount:i.depCount,options:Hb(a.options)}}visitSequence(a,i){return{type:2,steps:a.steps.map(n=>Ec(this,n,i)),options:Hb(a.options)}}visitGroup(a,i){const n=i.currentTime;let s=0;const l=a.steps.map(d=>{i.currentTime=n;const p=Ec(this,d,i);return s=Math.max(s,i.currentTime),p});return i.currentTime=s,{type:3,steps:l,options:Hb(a.options)}}visitAnimate(a,i){const n=function e0t(r,a){if(r.hasOwnProperty("duration"))return r;if("number"==typeof r)return XU(z4(r,a).duration,0,"");const i=r;if(i.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=XU(0,0,"");return l.dynamic=!0,l.strValue=i,l}const s=z4(i,a);return XU(s.duration,s.delay,s.easing)}(a.timings,i.errors);i.currentAnimateTimings=n;let s,l=a.styles?a.styles:gt({});if(5==l.type)s=this.visitKeyframes(l,i);else{let d=a.styles,p=!1;if(!d){p=!0;const v={};n.easing&&(v.easing=n.easing),d=gt(v)}i.currentTime+=n.duration+n.delay;const f=this.visitStyle(d,i);f.isEmptyStep=p,s=f}return i.currentAnimateTimings=null,{type:4,timings:n,style:s,options:null}}visitStyle(a,i){const n=this._makeStyleAst(a,i);return this._validateStyleAst(n,i),n}_makeStyleAst(a,i){const n=[],s=Array.isArray(a.styles)?a.styles:[a.styles];for(let p of s)"string"==typeof p?p===Pp?n.push(p):i.errors.push(new Be(3002,!1)):n.push(nde(p));let l=!1,d=null;return n.forEach(p=>{if(p instanceof Map&&(p.has("easing")&&(d=p.get("easing"),p.delete("easing")),!l))for(let f of p.values())if(f.toString().indexOf("{{")>=0){l=!0;break}}),{type:6,styles:n,easing:d,offset:a.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(a,i){const n=i.currentAnimateTimings;let s=i.currentTime,l=i.currentTime;n&&l>0&&(l-=n.duration+n.delay),a.styles.forEach(d=>{"string"!=typeof d&&d.forEach((p,f)=>{const v=i.collectedStyles.get(i.currentQuerySelector),D=v.get(f);let E=!0;D&&(l!=s&&l>=D.startTime&&s<=D.endTime&&(i.errors.push(function cyt(r,a,i,n,s){return new Be(3010,!1)}()),E=!1),l=D.startTime),E&&v.set(f,{startTime:l,endTime:s}),i.options&&function Hyt(r,a,i){const n=a.params||{},s=rde(r);s.length&&s.forEach(l=>{n.hasOwnProperty(l)||i.push(function tyt(r){return new Be(3001,!1)}())})}(p,i.options,i.errors)})})}visitKeyframes(a,i){const n={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(function dyt(){return new Be(3011,!1)}()),n;let l=0;const d=[];let p=!1,f=!1,v=0;const D=a.steps.map(se=>{const ue=this._makeStyleAst(se,i);let Oe=null!=ue.offset?ue.offset:function Jyt(r){if("string"==typeof r)return null;let a=null;if(Array.isArray(r))r.forEach(i=>{if(i instanceof Map&&i.has("offset")){const n=i;a=parseFloat(n.get("offset")),n.delete("offset")}});else if(r instanceof Map&&r.has("offset")){const i=r;a=parseFloat(i.get("offset")),i.delete("offset")}return a}(ue.styles),ze=0;return null!=Oe&&(l++,ze=ue.offset=Oe),f=f||ze<0||ze>1,p=p||ze0&&l{const Oe=F>0?ue==L?1:F*ue:d[ue],ze=Oe*Z;i.currentTime=$+q.delay+ze,q.duration=ze,this._validateStyleAst(se,i),se.offset=Oe,n.styles.push(se)}),n}visitReference(a,i){return{type:8,animation:Ec(this,cT(a.animation),i),options:Hb(a.options)}}visitAnimateChild(a,i){return i.depCount++,{type:9,options:Hb(a.options)}}visitAnimateRef(a,i){return{type:10,animation:this.visitReference(a.animation,i),options:Hb(a.options)}}visitQuery(a,i){const n=i.currentQuerySelector,s=a.options||{};i.queryCount++,i.currentQuery=a;const[l,d]=function Qyt(r){const a=!!r.split(/\s*,\s*/).find(i=>":self"==i);return a&&(r=r.replace(Kyt,"")),r=r.replace(/@\*/g,V4).replace(/@\w+/g,i=>V4+"-"+i.slice(1)).replace(/:animating/g,WU),[r,a]}(a.selector);i.currentQuerySelector=n.length?n+" "+l:l,Tc(i.collectedStyles,i.currentQuerySelector,new Map);const p=Ec(this,cT(a.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:11,selector:l,limit:s.limit||0,optional:!!s.optional,includeSelf:d,animation:p,originalSelector:a.selector,options:Hb(a.options)}}visitStagger(a,i){i.currentQuery||i.errors.push(function gyt(){return new Be(3013,!1)}());const n="full"===a.timings?{duration:0,delay:0,easing:"full"}:z4(a.timings,i.errors,!0);return{type:12,animation:Ec(this,cT(a.animation),i),timings:n,options:null}}}class Zyt{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hb(r){return r?(r=lT(r)).params&&(r.params=function Xyt(r){return r?lT(r):null}(r.params)):r={},r}function XU(r,a,i){return{duration:r,delay:a,easing:i}}function ZU(r,a,i,n,s,l,d=null,p=!1){return{type:1,element:r,keyframes:a,preStyleProps:i,postStyleProps:n,duration:s,delay:l,totalTime:s+l,easing:d,subTimeline:p}}class U4{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,i){let n=this._map.get(a);n||this._map.set(a,n=[]),n.push(...i)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const n0t=new RegExp(":enter","g"),r0t=new RegExp(":leave","g");function JU(r,a,i,n,s,l=new Map,d=new Map,p,f,v=[]){return(new s0t).buildKeyframes(r,a,i,n,s,l,d,p,f,v)}class s0t{buildKeyframes(a,i,n,s,l,d,p,f,v,D=[]){v=v||new U4;const E=new eW(a,i,v,s,l,D,[]);E.options=f;const F=f.delay?lg(f.delay):0;E.currentTimeline.delayNextStep(F),E.currentTimeline.setStyles([d],null,E.errors,f),Ec(this,n,E);const L=E.timelines.filter($=>$.containsAnimation());if(L.length&&p.size){let $;for(let q=L.length-1;q>=0;q--){const Z=L[q];if(Z.element===i){$=Z;break}}$&&!$.allowOnlyTimelineStyles()&&$.setStyles([p],null,E.errors,f)}return L.length?L.map($=>$.buildKeyframes()):[ZU(i,[],[],[],0,F,"",!1)]}visitTrigger(a,i){}visitState(a,i){}visitTransition(a,i){}visitAnimateChild(a,i){const n=i.subInstructions.get(i.element);if(n){const s=i.createSubContext(a.options),l=i.currentTimeline.currentTime,d=this._visitSubInstructions(n,s,s.options);l!=d&&i.transformIntoNewTimeline(d)}i.previousNode=a}visitAnimateRef(a,i){const n=i.createSubContext(a.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],i,n),this.visitReference(a.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=a}_applyAnimationRefDelays(a,i,n){for(const s of a){const l=s?.delay;if(l){const d="number"==typeof l?l:lg(dT(l,s?.params??{},i.errors));n.delayNextStep(d)}}}_visitSubInstructions(a,i,n){let l=i.currentTimeline.currentTime;const d=null!=n.duration?lg(n.duration):null,p=null!=n.delay?lg(n.delay):null;return 0!==d&&a.forEach(f=>{const v=i.appendInstructionToTimeline(f,d,p);l=Math.max(l,v.duration+v.delay)}),l}visitReference(a,i){i.updateOptions(a.options,!0),Ec(this,a.animation,i),i.previousNode=a}visitSequence(a,i){const n=i.subContextCount;let s=i;const l=a.options;if(l&&(l.params||l.delay)&&(s=i.createSubContext(l),s.transformIntoNewTimeline(),null!=l.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=W4);const d=lg(l.delay);s.delayNextStep(d)}a.steps.length&&(a.steps.forEach(d=>Ec(this,d,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),i.previousNode=a}visitGroup(a,i){const n=[];let s=i.currentTimeline.currentTime;const l=a.options&&a.options.delay?lg(a.options.delay):0;a.steps.forEach(d=>{const p=i.createSubContext(a.options);l&&p.delayNextStep(l),Ec(this,d,p),s=Math.max(s,p.currentTimeline.currentTime),n.push(p.currentTimeline)}),n.forEach(d=>i.currentTimeline.mergeTimelineCollectedStyles(d)),i.transformIntoNewTimeline(s),i.previousNode=a}_visitTiming(a,i){if(a.dynamic){const n=a.strValue;return z4(i.params?dT(n,i.params,i.errors):n,i.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,i){const n=i.currentAnimateTimings=this._visitTiming(a.timings,i),s=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),s.snapshotCurrentStyles());const l=a.style;5==l.type?this.visitKeyframes(l,i):(i.incrementTime(n.duration),this.visitStyle(l,i),s.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=a}visitStyle(a,i){const n=i.currentTimeline,s=i.currentAnimateTimings;!s&&n.hasCurrentStyleProperties()&&n.forwardFrame();const l=s&&s.easing||a.easing;a.isEmptyStep?n.applyEmptyStep(l):n.setStyles(a.styles,l,i.errors,i.options),i.previousNode=a}visitKeyframes(a,i){const n=i.currentAnimateTimings,s=i.currentTimeline.duration,l=n.duration,p=i.createSubContext().currentTimeline;p.easing=n.easing,a.styles.forEach(f=>{p.forwardTime((f.offset||0)*l),p.setStyles(f.styles,f.easing,i.errors,i.options),p.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(p),i.transformIntoNewTimeline(s+l),i.previousNode=a}visitQuery(a,i){const n=i.currentTimeline.currentTime,s=a.options||{},l=s.delay?lg(s.delay):0;l&&(6===i.previousNode.type||0==n&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=W4);let d=n;const p=i.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!s.optional,i.errors);i.currentQueryTotal=p.length;let f=null;p.forEach((v,D)=>{i.currentQueryIndex=D;const E=i.createSubContext(a.options,v);l&&E.delayNextStep(l),v===i.element&&(f=E.currentTimeline),Ec(this,a.animation,E),E.currentTimeline.applyStylesToKeyframe(),d=Math.max(d,E.currentTimeline.currentTime)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(d),f&&(i.currentTimeline.mergeTimelineCollectedStyles(f),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=a}visitStagger(a,i){const n=i.parentContext,s=i.currentTimeline,l=a.timings,d=Math.abs(l.duration),p=d*(i.currentQueryTotal-1);let f=d*i.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":f=p-f;break;case"full":f=n.currentStaggerTime}const D=i.currentTimeline;f&&D.delayNextStep(f);const E=D.currentTime;Ec(this,a.animation,i),i.previousNode=a,n.currentStaggerTime=s.currentTime-E+(s.startTime-n.currentTimeline.startTime)}}const W4={};class eW{constructor(a,i,n,s,l,d,p,f){this._driver=a,this.element=i,this.subInstructions=n,this._enterClassName=s,this._leaveClassName=l,this.errors=d,this.timelines=p,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=W4,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=f||new q4(this._driver,i,0),p.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,i){if(!a)return;const n=a;let s=this.options;null!=n.duration&&(s.duration=lg(n.duration)),null!=n.delay&&(s.delay=lg(n.delay));const l=n.params;if(l){let d=s.params;d||(d=this.options.params={}),Object.keys(l).forEach(p=>{(!i||!d.hasOwnProperty(p))&&(d[p]=dT(l[p],d,this.errors))})}}_copyOptions(){const a={};if(this.options){const i=this.options.params;if(i){const n=a.params={};Object.keys(i).forEach(s=>{n[s]=i[s]})}}return a}createSubContext(a=null,i,n){const s=i||this.element,l=new eW(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(a),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(a){return this.previousNode=W4,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,i,n){const s={duration:i??a.duration,delay:this.currentTimeline.currentTime+(n??0)+a.delay,easing:""},l=new a0t(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,s,a.stretchStartingKeyframe);return this.timelines.push(l),s}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,i,n,s,l,d){let p=[];if(s&&p.push(this.element),a.length>0){a=(a=a.replace(n0t,"."+this._enterClassName)).replace(r0t,"."+this._leaveClassName);let v=this._driver.query(this.element,a,1!=n);0!==n&&(v=n<0?v.slice(v.length+n,v.length):v.slice(0,n)),p.push(...v)}return!l&&0==p.length&&d.push(function myt(r){return new Be(3014,!1)}()),p}}class q4{constructor(a,i,n,s){this._driver=a,this.element=i,this.startTime=n,this._elementTimelineStylesLookup=s,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const i=1===this._keyframes.size&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+a),i&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,i){return this.applyStylesToKeyframe(),new q4(this._driver,a,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,i){this._localTimelineStyles.set(a,i),this._globalTimelineStyles.set(a,i),this._styleSummary.set(a,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||Pp),this._currentKeyframe.set(i,Pp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,i,n,s){i&&this._previousKeyframe.set("easing",i);const l=s&&s.params||{},d=function l0t(r,a){const i=new Map;let n;return r.forEach(s=>{if("*"===s){n=n||a.keys();for(let l of n)i.set(l,Pp)}else Mf(s,i)}),i}(a,this._globalTimelineStyles);for(let[p,f]of d){const v=dT(f,l,n);this._pendingStyles.set(p,v),this._localTimelineStyles.has(p)||this._backFill.set(p,this._globalTimelineStyles.get(p)??Pp),this._updateStyle(p,v)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,i)=>{this._currentKeyframe.set(i,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,a)}))}snapshotCurrentStyles(){for(let[a,i]of this._localTimelineStyles)this._pendingStyles.set(a,i),this._updateStyle(a,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let i in this._currentKeyframe)a.push(i);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((i,n)=>{const s=this._styleSummary.get(n);(!s||i.time>s.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,i=new Set,n=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((p,f)=>{const v=Mf(p,new Map,this._backFill);v.forEach((D,E)=>{"!"===D?a.add(E):D===Pp&&i.add(E)}),n||v.set("offset",f/this.duration),s.push(v)});const l=a.size?H4(a.values()):[],d=i.size?H4(i.values()):[];if(n){const p=s[0],f=new Map(p);p.set("offset",0),f.set("offset",1),s=[p,f]}return ZU(this.element,s,l,d,this.duration,this.startTime,this.easing,!1)}}class a0t extends q4{constructor(a,i,n,s,l,d,p=!1){super(a,i,d.delay),this.keyframes=n,this.preStyleProps=s,this.postStyleProps=l,this._stretchStartingKeyframe=p,this.timings={duration:d.duration,delay:d.delay,easing:d.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:i,duration:n,easing:s}=this.timings;if(this._stretchStartingKeyframe&&i){const l=[],d=n+i,p=i/d,f=Mf(a[0]);f.set("offset",0),l.push(f);const v=Mf(a[0]);v.set("offset",dde(p)),l.push(v);const D=a.length-1;for(let E=1;E<=D;E++){let F=Mf(a[E]);const L=F.get("offset");F.set("offset",dde((i+L*n)/d)),l.push(F)}n=d,i=0,s="",a=l}return ZU(this.element,a,this.preStyleProps,this.postStyleProps,n,i,s,!0)}}function dde(r,a=3){const i=Math.pow(10,a-1);return Math.round(r*i)/i}class tW{}const c0t=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class d0t extends tW{normalizePropertyName(a,i){return YU(a)}normalizeStyleValue(a,i,n,s){let l="";const d=n.toString().trim();if(c0t.has(i)&&0!==n&&"0"!==n)if("number"==typeof n)l="px";else{const p=n.match(/^[+-]?[\d\.]+([a-z]*)$/);p&&0==p[1].length&&s.push(function oyt(r,a){return new Be(3005,!1)}())}return d+l}}function ude(r,a,i,n,s,l,d,p,f,v,D,E,F){return{type:0,element:r,triggerName:a,isRemovalTransition:s,fromState:i,fromStyles:l,toState:n,toStyles:d,timelines:p,queriedElements:f,preStyleProps:v,postStyleProps:D,totalTime:E,errors:F}}const iW={};class hde{constructor(a,i,n){this._triggerName=a,this.ast=i,this._stateStyles=n}match(a,i,n,s){return function u0t(r,a,i,n,s){return r.some(l=>l(a,i,n,s))}(this.ast.matchers,a,i,n,s)}buildStyles(a,i,n){let s=this._stateStyles.get("*");return void 0!==a&&(s=this._stateStyles.get(a?.toString())||s),s?s.buildStyles(i,n):new Map}build(a,i,n,s,l,d,p,f,v,D){const E=[],F=this.ast.options&&this.ast.options.params||iW,$=this.buildStyles(n,p&&p.params||iW,E),q=f&&f.params||iW,Z=this.buildStyles(s,q,E),se=new Set,ue=new Map,Oe=new Map,ze="void"===s,Ze={params:h0t(q,F),delay:this.ast.options?.delay},it=D?[]:JU(a,i,this.ast.animation,l,d,$,Z,Ze,v,E);let yt=0;if(it.forEach(Si=>{yt=Math.max(Si.duration+Si.delay,yt)}),E.length)return ude(i,this._triggerName,n,s,ze,$,Z,[],[],ue,Oe,yt,E);it.forEach(Si=>{const Pi=Si.element,Vr=Tc(ue,Pi,new Set);Si.preStyleProps.forEach(No=>Vr.add(No));const Xn=Tc(Oe,Pi,new Set);Si.postStyleProps.forEach(No=>Xn.add(No)),Pi!==i&&se.add(Pi)});const xt=H4(se.values());return ude(i,this._triggerName,n,s,ze,$,Z,it,xt,ue,Oe,yt)}}function h0t(r,a){const i=lT(a);for(const n in r)r.hasOwnProperty(n)&&null!=r[n]&&(i[n]=r[n]);return i}class p0t{constructor(a,i,n){this.styles=a,this.defaultParams=i,this.normalizer=n}buildStyles(a,i){const n=new Map,s=lT(this.defaultParams);return Object.keys(a).forEach(l=>{const d=a[l];null!==d&&(s[l]=d)}),this.styles.styles.forEach(l=>{"string"!=typeof l&&l.forEach((d,p)=>{d&&(d=dT(d,s,i));const f=this.normalizer.normalizePropertyName(p,i);d=this.normalizer.normalizeStyleValue(p,f,d,i),n.set(p,d)})}),n}}class m0t{constructor(a,i,n){this.name=a,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(s=>{this.states.set(s.name,new p0t(s.style,s.options&&s.options.params||{},n))}),pde(this.states,"true","1"),pde(this.states,"false","0"),i.transitions.forEach(s=>{this.transitionFactories.push(new hde(a,s,this.states))}),this.fallbackTransition=function f0t(r,a,i){return new hde(r,{type:1,animation:{type:2,steps:[],options:null},matchers:[(d,p)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,i,n,s){return this.transitionFactories.find(d=>d.match(a,i,n,s))||null}matchStyles(a,i,n){return this.fallbackTransition.buildStyles(a,i,n)}}function pde(r,a,i){r.has(a)?r.has(i)||r.set(i,r.get(a)):r.has(i)&&r.set(a,r.get(i))}const _0t=new U4;class v0t{constructor(a,i,n){this.bodyNode=a,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,i){const n=[],l=QU(this._driver,i,n,[]);if(n.length)throw function wyt(r){return new Be(3503,!1)}();this._animations.set(a,l)}_buildPlayer(a,i,n){const s=a.element,l=Yce(this._normalizer,a.keyframes,i,n);return this._driver.animate(s,l,a.duration,a.delay,a.easing,[],!0)}create(a,i,n={}){const s=[],l=this._animations.get(a);let d;const p=new Map;if(l?(d=JU(this._driver,i,l,UU,L4,new Map,new Map,n,_0t,s),d.forEach(D=>{const E=Tc(p,D.element,new Map);D.postStyleProps.forEach(F=>E.set(F,null))})):(s.push(function xyt(){return new Be(3300,!1)}()),d=[]),s.length)throw function kyt(r){return new Be(3504,!1)}();p.forEach((D,E)=>{D.forEach((F,L)=>{D.set(L,this._driver.computeStyle(E,L,Pp))})});const v=Ef(d.map(D=>{const E=p.get(D.element);return this._buildPlayer(D,new Map,E)}));return this._playersById.set(a,v),v.onDestroy(()=>this.destroy(a)),this.players.push(v),v}destroy(a){const i=this._getPlayer(a);i.destroy(),this._playersById.delete(a);const n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(a){const i=this._playersById.get(a);if(!i)throw function Dyt(r){return new Be(3301,!1)}();return i}listen(a,i,n,s){const l=GU(i,"","","");return zU(this._getPlayer(a),n,l,s),()=>{}}command(a,i,n,s){if("register"==n)return void this.register(a,s[0]);if("create"==n)return void this.create(a,i,s[0]||{});const l=this._getPlayer(a);switch(n){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(a)}}}const gde="ng-animate-queued",nW="ng-animate-disabled",x0t=[],mde={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},k0t={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fu="__ng_removed";class oW{get params(){return this.options.params}constructor(a,i=""){this.namespaceId=i;const n=a&&a.hasOwnProperty("value");if(this.value=function S0t(r){return r??null}(n?a.value:a),n){const l=lT(a);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const i=a.params;if(i){const n=this.options.params;Object.keys(i).forEach(s=>{null==n[s]&&(n[s]=i[s])})}}}const uT="void",rW=new oW(uT);class D0t{constructor(a,i,n){this.id=a,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,pd(i,this._hostClassName)}listen(a,i,n,s){if(!this._triggers.has(i))throw function Ayt(r,a){return new Be(3302,!1)}();if(null==n||0==n.length)throw function Iyt(r){return new Be(3303,!1)}();if(!function T0t(r){return"start"==r||"done"==r}(n))throw function Syt(r,a){return new Be(3400,!1)}();const l=Tc(this._elementListeners,a,[]),d={name:i,phase:n,callback:s};l.push(d);const p=Tc(this._engine.statesByElement,a,new Map);return p.has(i)||(pd(a,B4),pd(a,B4+"-"+i),p.set(i,rW)),()=>{this._engine.afterFlush(()=>{const f=l.indexOf(d);f>=0&&l.splice(f,1),this._triggers.has(i)||p.delete(i)})}}register(a,i){return!this._triggers.has(a)&&(this._triggers.set(a,i),!0)}_getTrigger(a){const i=this._triggers.get(a);if(!i)throw function Tyt(r){return new Be(3401,!1)}();return i}trigger(a,i,n,s=!0){const l=this._getTrigger(i),d=new sW(this.id,i,a);let p=this._engine.statesByElement.get(a);p||(pd(a,B4),pd(a,B4+"-"+i),this._engine.statesByElement.set(a,p=new Map));let f=p.get(i);const v=new oW(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&f&&v.absorbOptions(f.options),p.set(i,v),f||(f=rW),v.value!==uT&&f.value===v.value){if(!function R0t(r,a){const i=Object.keys(r),n=Object.keys(a);if(i.length!=n.length)return!1;for(let s=0;s{zb(a,Z),fh(a,se)})}return}const F=Tc(this._engine.playersByElement,a,[]);F.forEach(q=>{q.namespaceId==this.id&&q.triggerName==i&&q.queued&&q.destroy()});let L=l.matchTransition(f.value,v.value,a,v.params),$=!1;if(!L){if(!s)return;L=l.fallbackTransition,$=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:i,transition:L,fromState:f,toState:v,player:d,isFallbackTransition:$}),$||(pd(a,gde),d.onStart(()=>{Cx(a,gde)})),d.onDone(()=>{let q=this.players.indexOf(d);q>=0&&this.players.splice(q,1);const Z=this._engine.playersByElement.get(a);if(Z){let se=Z.indexOf(d);se>=0&&Z.splice(se,1)}}),this.players.push(d),F.push(d),d}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(i=>i.delete(a)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(s=>s.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const i=this._engine.playersByElement.get(a);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,i){const n=this._engine.driver.query(a,V4,!0);n.forEach(s=>{if(s[fu])return;const l=this._engine.fetchNamespacesByElement(s);l.size?l.forEach(d=>d.triggerLeaveAnimation(s,i,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(a,i,n,s){const l=this._engine.statesByElement.get(a),d=new Map;if(l){const p=[];if(l.forEach((f,v)=>{if(d.set(v,f.value),this._triggers.has(v)){const D=this.trigger(a,v,uT,s);D&&p.push(D)}}),p.length)return this._engine.markElementAsRemoved(this.id,a,!0,i,d),n&&Ef(p).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const i=this._elementListeners.get(a),n=this._engine.statesByElement.get(a);if(i&&n){const s=new Set;i.forEach(l=>{const d=l.name;if(s.has(d))return;s.add(d);const f=this._triggers.get(d).fallbackTransition,v=n.get(d)||rW,D=new oW(uT),E=new sW(this.id,d,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:d,transition:f,fromState:v,toState:D,player:E,isFallbackTransition:!0})})}}removeNode(a,i){const n=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,i),this.triggerLeaveAnimation(a,i,!0))return;let s=!1;if(n.totalAnimations){const l=n.players.length?n.playersByQueriedElement.get(a):[];if(l&&l.length)s=!0;else{let d=a;for(;d=d.parentNode;)if(n.statesByElement.get(d)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(a),s)n.markElementAsRemoved(this.id,a,!1,i);else{const l=a[fu];(!l||l===mde)&&(n.afterFlush(()=>this.clearElementCache(a)),n.destroyInnerAnimations(a),n._onRemovalComplete(a,i))}}insertNode(a,i){pd(a,this._hostClassName)}drainQueuedTransitions(a){const i=[];return this._queue.forEach(n=>{const s=n.player;if(s.destroyed)return;const l=n.element,d=this._elementListeners.get(l);d&&d.forEach(p=>{if(p.name==n.triggerName){const f=GU(l,n.triggerName,n.fromState.value,n.toState.value);f._data=a,zU(n.player,p.phase,f,p.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):i.push(n)}),this._queue=[],i.sort((n,s)=>{const l=n.transition.ast.depCount,d=s.transition.ast.depCount;return 0==l||0==d?l-d:this._engine.driver.containsElement(n.element,s.element)?1:-1})}destroy(a){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class A0t{_onRemovalComplete(a,i){this.onRemovalComplete(a,i)}constructor(a,i,n){this.bodyNode=a,this.driver=i,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,l)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&a.push(n)})}),a}createNamespace(a,i){const n=new D0t(a,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[a]=n}_balanceNamespaceList(a,i){const n=this._namespaceList,s=this.namespacesByHostElement;if(n.length-1>=0){let d=!1,p=this.driver.getParentElement(i);for(;p;){const f=s.get(p);if(f){const v=n.indexOf(f);n.splice(v+1,0,a),d=!0;break}p=this.driver.getParentElement(p)}d||n.unshift(a)}else n.push(a);return s.set(i,a),a}register(a,i){let n=this._namespaceLookup[a];return n||(n=this.createNamespace(a,i)),n}registerTrigger(a,i,n){let s=this._namespaceLookup[a];s&&s.register(i,n)&&this.totalAnimations++}destroy(a,i){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const n=this._fetchNamespace(a);this.namespacesByHostElement.delete(n.hostElement);const s=this._namespaceList.indexOf(n);s>=0&&this._namespaceList.splice(s,1),n.destroy(i),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const i=new Set,n=this.statesByElement.get(a);if(n)for(let s of n.values())if(s.namespaceId){const l=this._fetchNamespace(s.namespaceId);l&&i.add(l)}return i}trigger(a,i,n,s){if(K4(i)){const l=this._fetchNamespace(a);if(l)return l.trigger(i,n,s),!0}return!1}insertNode(a,i,n,s){if(!K4(i))return;const l=i[fu];if(l&&l.setForRemoval){l.setForRemoval=!1,l.setForMove=!0;const d=this.collectedLeaveElements.indexOf(i);d>=0&&this.collectedLeaveElements.splice(d,1)}if(a){const d=this._fetchNamespace(a);d&&d.insertNode(i,n)}s&&this.collectEnterElement(i)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,i){i?this.disabledNodes.has(a)||(this.disabledNodes.add(a),pd(a,nW)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Cx(a,nW))}removeNode(a,i,n){if(K4(i)){const s=a?this._fetchNamespace(a):null;s?s.removeNode(i,n):this.markElementAsRemoved(a,i,!1,n);const l=this.namespacesByHostElement.get(i);l&&l.id!==a&&l.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(a,i,n,s,l){this.collectedLeaveElements.push(i),i[fu]={namespaceId:a,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:l}}listen(a,i,n,s,l){return K4(i)?this._fetchNamespace(a).listen(i,n,s,l):()=>{}}_buildInstruction(a,i,n,s,l){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,n,s,a.fromState.options,a.toState.options,i,l)}destroyInnerAnimations(a){let i=this.driver.query(a,V4,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),0!=this.playersByQueriedElement.size&&(i=this.driver.query(a,WU,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(a){const i=this.playersByElement.get(a);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(a){const i=this.playersByQueriedElement.get(a);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return Ef(this.players).onDone(()=>a());a()})}processLeaveNode(a){const i=a[fu];if(i&&i.setForRemoval){if(a[fu]=mde,i.namespaceId){this.destroyInnerAnimations(a);const n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(a)}this._onRemovalComplete(a,i.setForRemoval)}a.classList?.contains(nW)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(a=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,s)=>this._balanceNamespaceList(n,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){const n=this._whenQuietFns;this._whenQuietFns=[],i.length?Ef(i).onDone(()=>{n.forEach(s=>s())}):n.forEach(s=>s())}}reportError(a){throw function Eyt(r){return new Be(3402,!1)}()}_flushAnimations(a,i){const n=new U4,s=[],l=new Map,d=[],p=new Map,f=new Map,v=new Map,D=new Set;this.disabledNodes.forEach(Ct=>{D.add(Ct);const It=this.driver.query(Ct,".ng-animate-queued",!0);for(let Gt=0;Gt{const Gt=UU+q++;$.set(It,Gt),Ct.forEach(yi=>pd(yi,Gt))});const Z=[],se=new Set,ue=new Set;for(let Ct=0;Ctse.add(yi)):ue.add(It))}const Oe=new Map,ze=vde(F,Array.from(se));ze.forEach((Ct,It)=>{const Gt=L4+q++;Oe.set(It,Gt),Ct.forEach(yi=>pd(yi,Gt))}),a.push(()=>{L.forEach((Ct,It)=>{const Gt=$.get(It);Ct.forEach(yi=>Cx(yi,Gt))}),ze.forEach((Ct,It)=>{const Gt=Oe.get(It);Ct.forEach(yi=>Cx(yi,Gt))}),Z.forEach(Ct=>{this.processLeaveNode(Ct)})});const Ze=[],it=[];for(let Ct=this._namespaceList.length-1;Ct>=0;Ct--)this._namespaceList[Ct].drainQueuedTransitions(i).forEach(Gt=>{const yi=Gt.player,ao=Gt.element;if(Ze.push(yi),this.collectedEnterElements.length){const zr=ao[fu];if(zr&&zr.setForMove){if(zr.previousTriggersValues&&zr.previousTriggersValues.has(Gt.triggerName)){const Xl=zr.previousTriggersValues.get(Gt.triggerName),Zl=this.statesByElement.get(Gt.element);if(Zl&&Zl.has(Gt.triggerName)){const Gb=Zl.get(Gt.triggerName);Gb.value=Xl,Zl.set(Gt.triggerName,Gb)}}return void yi.destroy()}}const sr=!E||!this.driver.containsElement(E,ao),ar=Oe.get(ao),Ss=$.get(ao),nn=this._buildInstruction(Gt,n,Ss,ar,sr);if(nn.errors&&nn.errors.length)return void it.push(nn);if(sr)return yi.onStart(()=>zb(ao,nn.fromStyles)),yi.onDestroy(()=>fh(ao,nn.toStyles)),void s.push(yi);if(Gt.isFallbackTransition)return yi.onStart(()=>zb(ao,nn.fromStyles)),yi.onDestroy(()=>fh(ao,nn.toStyles)),void s.push(yi);const Ts=[];nn.timelines.forEach(zr=>{zr.stretchStartingKeyframe=!0,this.disabledNodes.has(zr.element)||Ts.push(zr)}),nn.timelines=Ts,n.append(ao,nn.timelines),d.push({instruction:nn,player:yi,element:ao}),nn.queriedElements.forEach(zr=>Tc(p,zr,[]).push(yi)),nn.preStyleProps.forEach((zr,Xl)=>{if(zr.size){let Zl=f.get(Xl);Zl||f.set(Xl,Zl=new Set),zr.forEach((Gb,xx)=>Zl.add(xx))}}),nn.postStyleProps.forEach((zr,Xl)=>{let Zl=v.get(Xl);Zl||v.set(Xl,Zl=new Set),zr.forEach((Gb,xx)=>Zl.add(xx))})});if(it.length){const Ct=[];it.forEach(It=>{Ct.push(function Myt(r,a){return new Be(3505,!1)}())}),Ze.forEach(It=>It.destroy()),this.reportError(Ct)}const yt=new Map,xt=new Map;d.forEach(Ct=>{const It=Ct.element;n.has(It)&&(xt.set(It,It),this._beforeAnimationBuild(Ct.player.namespaceId,Ct.instruction,yt))}),s.forEach(Ct=>{const It=Ct.element;this._getPreviousPlayers(It,!1,Ct.namespaceId,Ct.triggerName,null).forEach(yi=>{Tc(yt,It,[]).push(yi),yi.destroy()})});const Si=Z.filter(Ct=>yde(Ct,f,v)),Pi=new Map;_de(Pi,this.driver,ue,v,Pp).forEach(Ct=>{yde(Ct,f,v)&&Si.push(Ct)});const Xn=new Map;L.forEach((Ct,It)=>{_de(Xn,this.driver,new Set(Ct),f,"!")}),Si.forEach(Ct=>{const It=Pi.get(Ct),Gt=Xn.get(Ct);Pi.set(Ct,new Map([...It?.entries()??[],...Gt?.entries()??[]]))});const No=[],xo=[],dn={};d.forEach(Ct=>{const{element:It,player:Gt,instruction:yi}=Ct;if(n.has(It)){if(D.has(It))return Gt.onDestroy(()=>fh(It,yi.toStyles)),Gt.disabled=!0,Gt.overrideTotalTime(yi.totalTime),void s.push(Gt);let ao=dn;if(xt.size>1){let ar=It;const Ss=[];for(;ar=ar.parentNode;){const nn=xt.get(ar);if(nn){ao=nn;break}Ss.push(ar)}Ss.forEach(nn=>xt.set(nn,ao))}const sr=this._buildAnimation(Gt.namespaceId,yi,yt,l,Xn,Pi);if(Gt.setRealPlayer(sr),ao===dn)No.push(Gt);else{const ar=this.playersByElement.get(ao);ar&&ar.length&&(Gt.parentPlayer=Ef(ar)),s.push(Gt)}}else zb(It,yi.fromStyles),Gt.onDestroy(()=>fh(It,yi.toStyles)),xo.push(Gt),D.has(It)&&s.push(Gt)}),xo.forEach(Ct=>{const It=l.get(Ct.element);if(It&&It.length){const Gt=Ef(It);Ct.setRealPlayer(Gt)}}),s.forEach(Ct=>{Ct.parentPlayer?Ct.syncPlayerEvents(Ct.parentPlayer):Ct.destroy()});for(let Ct=0;Ct!sr.destroyed);ao.length?E0t(this,It,ao):this.processLeaveNode(It)}return Z.length=0,No.forEach(Ct=>{this.players.push(Ct),Ct.onDone(()=>{Ct.destroy();const It=this.players.indexOf(Ct);this.players.splice(It,1)}),Ct.play()}),No}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,i,n,s,l){let d=[];if(i){const p=this.playersByQueriedElement.get(a);p&&(d=p)}else{const p=this.playersByElement.get(a);if(p){const f=!l||l==uT;p.forEach(v=>{v.queued||!f&&v.triggerName!=s||d.push(v)})}}return(n||s)&&(d=d.filter(p=>!(n&&n!=p.namespaceId||s&&s!=p.triggerName))),d}_beforeAnimationBuild(a,i,n){const l=i.element,d=i.isRemovalTransition?void 0:a,p=i.isRemovalTransition?void 0:i.triggerName;for(const f of i.timelines){const v=f.element,D=v!==l,E=Tc(n,v,[]);this._getPreviousPlayers(v,D,d,p,i.toState).forEach(L=>{const $=L.getRealPlayer();$.beforeDestroy&&$.beforeDestroy(),L.destroy(),E.push(L)})}zb(l,i.fromStyles)}_buildAnimation(a,i,n,s,l,d){const p=i.triggerName,f=i.element,v=[],D=new Set,E=new Set,F=i.timelines.map($=>{const q=$.element;D.add(q);const Z=q[fu];if(Z&&Z.removedBeforeQueried)return new QA($.duration,$.delay);const se=q!==f,ue=function M0t(r){const a=[];return bde(r,a),a}((n.get(q)||x0t).map(yt=>yt.getRealPlayer())).filter(yt=>!!yt.element&&yt.element===q),Oe=l.get(q),ze=d.get(q),Ze=Yce(this._normalizer,$.keyframes,Oe,ze),it=this._buildPlayer($,Ze,ue);if($.subTimeline&&s&&E.add(q),se){const yt=new sW(a,p,q);yt.setRealPlayer(it),v.push(yt)}return it});v.forEach($=>{Tc(this.playersByQueriedElement,$.element,[]).push($),$.onDone(()=>function I0t(r,a,i){let n=r.get(a);if(n){if(n.length){const s=n.indexOf(i);n.splice(s,1)}0==n.length&&r.delete(a)}return n}(this.playersByQueriedElement,$.element,$))}),D.forEach($=>pd($,ide));const L=Ef(F);return L.onDestroy(()=>{D.forEach($=>Cx($,ide)),fh(f,i.toStyles)}),E.forEach($=>{Tc(s,$,[]).push(L)}),L}_buildPlayer(a,i,n){return i.length>0?this.driver.animate(a.element,i,a.duration,a.delay,a.easing,n):new QA(a.duration,a.delay)}}class sW{constructor(a,i,n){this.namespaceId=a,this.triggerName=i,this.element=n,this._player=new QA,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((i,n)=>{i.forEach(s=>zU(a,n,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const i=this._player;i.triggerCallback&&a.onStart(()=>i.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,i){Tc(this._queuedCallbacks,a,[]).push(i)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const i=this._player;i.triggerCallback&&i.triggerCallback(a)}}function K4(r){return r&&1===r.nodeType}function fde(r,a){const i=r.style.display;return r.style.display=a??"none",i}function _de(r,a,i,n,s){const l=[];i.forEach(f=>l.push(fde(f)));const d=[];n.forEach((f,v)=>{const D=new Map;f.forEach(E=>{const F=a.computeStyle(v,E,s);D.set(E,F),(!F||0==F.length)&&(v[fu]=k0t,d.push(v))}),r.set(v,D)});let p=0;return i.forEach(f=>fde(f,l[p++])),d}function vde(r,a){const i=new Map;if(r.forEach(p=>i.set(p,[])),0==a.length)return i;const s=new Set(a),l=new Map;function d(p){if(!p)return 1;let f=l.get(p);if(f)return f;const v=p.parentNode;return f=i.has(v)?v:s.has(v)?1:d(v),l.set(p,f),f}return a.forEach(p=>{const f=d(p);1!==f&&i.get(f).push(p)}),i}function pd(r,a){r.classList?.add(a)}function Cx(r,a){r.classList?.remove(a)}function E0t(r,a,i){Ef(i).onDone(()=>r.processLeaveNode(a))}function bde(r,a){for(let i=0;is.add(l)):a.set(r,n),i.delete(r),!0}class Y4{constructor(a,i,n){this.bodyNode=a,this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(s,l)=>{},this._transitionEngine=new A0t(a,i,n),this._timelineEngine=new v0t(a,i,n),this._transitionEngine.onRemovalComplete=(s,l)=>this.onRemovalComplete(s,l)}registerTrigger(a,i,n,s,l){const d=a+"-"+s;let p=this._triggerCache[d];if(!p){const f=[],D=QU(this._driver,l,f,[]);if(f.length)throw function yyt(r,a){return new Be(3404,!1)}();p=function g0t(r,a,i){return new m0t(r,a,i)}(s,D,this._normalizer),this._triggerCache[d]=p}this._transitionEngine.registerTrigger(i,s,p)}register(a,i){this._transitionEngine.register(a,i)}destroy(a,i){this._transitionEngine.destroy(a,i)}onInsert(a,i,n,s){this._transitionEngine.insertNode(a,i,n,s)}onRemove(a,i,n){this._transitionEngine.removeNode(a,i,n)}disableAnimations(a,i){this._transitionEngine.markElementAsDisabled(a,i)}process(a,i,n,s){if("@"==n.charAt(0)){const[l,d]=Qce(n);this._timelineEngine.command(l,i,d,s)}else this._transitionEngine.trigger(a,i,n,s)}listen(a,i,n,s,l){if("@"==n.charAt(0)){const[d,p]=Qce(n);return this._timelineEngine.listen(d,i,p,l)}return this._transitionEngine.listen(a,i,n,s,l)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let O0t=(()=>{class r{static#e=this.initialStylesByElement=new WeakMap;constructor(i,n,s){this._element=i,this._startStyles=n,this._endStyles=s,this._state=0;let l=r.initialStylesByElement.get(i);l||r.initialStylesByElement.set(i,l=new Map),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&fh(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(fh(this._element,this._initialStyles),this._endStyles&&(fh(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(r.initialStylesByElement.delete(this._element),this._startStyles&&(zb(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zb(this._element,this._endStyles),this._endStyles=null),fh(this._element,this._initialStyles),this._state=3)}}return r})();function aW(r){let a=null;return r.forEach((i,n)=>{(function F0t(r){return"display"===r||"position"===r})(n)&&(a=a||new Map,a.set(n,i))}),a}class Cde{constructor(a,i,n,s){this.element=a,this.keyframes=i,this.options=n,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map;const i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const i=[];return a.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(a,i,n){return a.animate(this._convertKeyframesToObject(i),n)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,s)=>{"offset"!==s&&a.set(s,this._finished?n:sde(this.element,s))}),this.currentSnapshot=a}triggerCallback(a){const i="start"===a?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}}class N0t{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,i){return!1}containsElement(a,i){return Zce(a,i)}getParentElement(a){return jU(a)}query(a,i,n){return Jce(a,i,n)}computeStyle(a,i,n){return window.getComputedStyle(a)[i]}animate(a,i,n,s,l,d=[]){const f={duration:n,delay:s,fill:0==s?"both":"forwards"};l&&(f.easing=l);const v=new Map,D=d.filter(L=>L instanceof Cde);(function jyt(r,a){return 0===r||0===a})(n,s)&&D.forEach(L=>{L.currentSnapshot.forEach(($,q)=>v.set(q,$))});let E=function zyt(r){return r.length?r[0]instanceof Map?r:r.map(a=>nde(a)):[]}(i).map(L=>Mf(L));E=function $yt(r,a,i){if(i.size&&a.length){let n=a[0],s=[];if(i.forEach((l,d)=>{n.has(d)||s.push(d),n.set(d,l)}),s.length)for(let l=1;ld.set(p,sde(r,p)))}}return a}(a,E,v);const F=function P0t(r,a){let i=null,n=null;return Array.isArray(a)&&a.length?(i=aW(a[0]),a.length>1&&(n=aW(a[a.length-1]))):a instanceof Map&&(i=aW(a)),i||n?new O0t(r,i,n):null}(a,E);return new Cde(a,E,f,F)}}let L0t=(()=>{class r extends g3{constructor(i,n){super(),this._nextAnimationId=0,this._renderer=i.createRenderer(n.body,{id:"0",encapsulation:xl.None,styles:[],data:{animation:[]}})}build(i){const n=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(i)?RQ(i):i;return wde(this._renderer,null,n,"register",[s]),new B0t(n,this._renderer)}static#e=this.\u0275fac=function(n){return new(n||r)(De(im),De(Tt))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();class B0t extends Z_e{constructor(a,i){super(),this._id=a,this._renderer=i}create(a,i){return new V0t(this._id,a,i||{},this._renderer)}}class V0t{constructor(a,i,n,s){this.id=a,this.element=i,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(a,i){return this._renderer.listen(this.element,`@@${this.id}:${a}`,i)}_command(a,...i){return wde(this._renderer,this.element,this.id,a,i)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function wde(r,a,i,n,s){return r.setProperty(a,`@@${i}:${n}`,s)}const xde="@.disabled";let z0t=(()=>{class r{constructor(i,n,s){this.delegate=i,this.engine=n,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(l,d)=>{const p=d?.parentNode(l);p&&d.removeChild(p,l)}}createRenderer(i,n){const l=this.delegate.createRenderer(i,n);if(!(i&&n&&n.data&&n.data.animation)){let D=this._rendererCache.get(l);return D||(D=new kde("",l,this.engine,()=>this._rendererCache.delete(l)),this._rendererCache.set(l,D)),D}const d=n.id,p=n.id+"-"+this._currentId;this._currentId++,this.engine.register(p,i);const f=D=>{Array.isArray(D)?D.forEach(f):this.engine.registerTrigger(d,p,i,D.name,D)};return n.data.animation.forEach(f),new H0t(this,p,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(i,n,s){i>=0&&in(s)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[d,p]=l;d(p)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([n,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(n){return new(n||r)(De(im),De(Y4),De(et))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();class kde{constructor(a,i,n,s){this.namespaceId=a,this.delegate=i,this.engine=n,this._onDestroy=s}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,i){return this.delegate.createElement(a,i)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,i){this.delegate.appendChild(a,i),this.engine.onInsert(this.namespaceId,i,a,!1)}insertBefore(a,i,n,s=!0){this.delegate.insertBefore(a,i,n),this.engine.onInsert(this.namespaceId,i,a,s)}removeChild(a,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(a,i){return this.delegate.selectRootElement(a,i)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,i,n,s){this.delegate.setAttribute(a,i,n,s)}removeAttribute(a,i,n){this.delegate.removeAttribute(a,i,n)}addClass(a,i){this.delegate.addClass(a,i)}removeClass(a,i){this.delegate.removeClass(a,i)}setStyle(a,i,n,s){this.delegate.setStyle(a,i,n,s)}removeStyle(a,i,n){this.delegate.removeStyle(a,i,n)}setProperty(a,i,n){"@"==i.charAt(0)&&i==xde?this.disableAnimations(a,!!n):this.delegate.setProperty(a,i,n)}setValue(a,i){this.delegate.setValue(a,i)}listen(a,i,n){return this.delegate.listen(a,i,n)}disableAnimations(a,i){this.engine.disableAnimations(a,i)}}class H0t extends kde{constructor(a,i,n,s,l){super(i,n,s,l),this.factory=a,this.namespaceId=i}setProperty(a,i,n){"@"==i.charAt(0)?"."==i.charAt(1)&&i==xde?this.disableAnimations(a,n=void 0===n||!!n):this.engine.process(this.namespaceId,a,i.slice(1),n):this.delegate.setProperty(a,i,n)}listen(a,i,n){if("@"==i.charAt(0)){const s=function G0t(r){switch(r){case"body":return document.body;case"document":return document;case"window":return window;default:return r}}(a);let l=i.slice(1),d="";return"@"!=l.charAt(0)&&([l,d]=function j0t(r){const a=r.indexOf(".");return[r.substring(0,a),r.slice(a+1)]}(l)),this.engine.listen(this.namespaceId,s,l,d,p=>{this.factory.scheduleListenerCallback(p._data||-1,n,p)})}return this.delegate.listen(a,i,n)}}let $0t=(()=>{class r extends Y4{constructor(i,n,s,l){super(i.body,n,s)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(n){return new(n||r)(De(Tt),De($U),De(tW),De(qd))};static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})();const Dde=[{provide:g3,useClass:L0t},{provide:tW,useFactory:function U0t(){return new d0t}},{provide:Y4,useClass:$0t},{provide:im,useFactory:function W0t(r,a,i){return new z0t(r,a,i)},deps:[X6,Y4,et]}],lW=[{provide:$U,useFactory:()=>new N0t},{provide:Eo,useValue:"BrowserAnimations"},...Dde],Ade=[{provide:$U,useClass:ede},{provide:Eo,useValue:"NoopAnimations"},...Dde];let q0t=(()=>{class r{static withConfig(i){return{ngModule:r,providers:i.disableAnimations?Ade:lW}}static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r});static#i=this.\u0275inj=zt({providers:lW,imports:[GK]})}return r})(),K0t=(()=>{class r extends Zw{constructor(){super(...arguments),this.itemsPerPageLabel="S\u1ed1 m\u1ee5c m\u1ed7i trang:",this.nextPageLabel="Trang k\u1ebf ti\u1ebfp",this.previousPageLabel="Trang tr\u01b0\u1edbc \u0111\xf3",this.firstPageLabel="Trang \u0111\u1ea7u ti\xean",this.lastPageLabel="Trang cu\u1ed1i c\xf9ng",this.getRangeLabel=(i,n,s)=>{if(0===s||0===n)return`0 c\u1ee7a ${s}`;s=Math.max(s,0);const l=i*n+1;return`${l} \u2013 ${Math.min(l+n-1,s)} c\u1ee7a ${s}`}}static#e=this.\u0275fac=function(){let i;return function(s){return(i||(i=at(r)))(s||r)}}();static#t=this.\u0275prov=He({token:r,factory:r.\u0275fac})}return r})(),Y0t=(()=>{class r{static#e=this.\u0275fac=function(n){return new(n||r)};static#t=this.\u0275mod=Ht({type:r,bootstrap:[qbt]});static#i=this.\u0275inj=zt({providers:[{provide:wX,useValue:"en-GB"},Rn,[fc],{provide:xC,useClass:BO},{provide:JH,useClass:JH},[o4],VU,{provide:Zw,useClass:K0t}],imports:[DH,GK,Yvt,Zbt,ow,MQ,kit,yve.forRoot({timeOut:2e3,positionClass:"custom-toast",preventDuplicates:!0,closeButton:!0}),q0t,tQe.forRoot({config:{tokenGetter:()=>sessionStorage.getItem("access_token"),allowedDomains:["https://localhost:7138","https://vuanhpham25-001-site1.gtempurl.com"]}}),vpe,Pm,Int,ow,wqe,xqe,f_t]})}return r})();window.countdownService=new VU,cpe().bootstrapModule(Y0t).catch(r=>console.error(r))},271:(ms,Ya,bl)=>{var Ti;!function(Lo,ft,_h,Ce){"use strict";var Je,Ne=["","webkit","Moz","MS","ms","o"],U=ft.createElement("div"),Te="function",Re=Math.round,ae=Math.abs,K=Date.now;function te(J,ie,we){return setTimeout(ui(J,we),ie)}function Ee(J,ie,we){return!!Array.isArray(J)&&(Le(J,we[ie],we),!0)}function Le(J,ie,we){var We;if(J)if(J.forEach)J.forEach(ie,we);else if(J.length!==Ce)for(We=0;We\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Be=Lo.console&&(Lo.console.warn||Lo.console.log);return Be&&Be.call(Lo.console,We,Nt),J.apply(this,arguments)}}Je="function"!=typeof Object.assign?function(ie){if(ie===Ce||null===ie)throw new TypeError("Cannot convert undefined or null to object");for(var we=Object(ie),We=1;We-1}function Vn(J){return J.trim().split(/\s+/g)}function zn(J,ie,we){if(J.indexOf&&!we)return J.indexOf(ie);for(var We=0;Wehi[ie]}):We.sort()),We}function Qa(J,ie){for(var we,We,ut=ie[0].toUpperCase()+ie.slice(1),Nt=0;Nt1&&!we.firstMultiple?we.firstMultiple=Kb(ie):1===ut&&(we.firstMultiple=!1);var Nt=we.firstInput,Be=we.firstMultiple,Ao=Be?Be.center:Nt.center,Bt=ie.center=ec(We);ie.timeStamp=K(),ie.deltaTime=ie.timeStamp-Nt.timeStamp,ie.angle=Of(Ao,Bt),ie.distance=yh(Ao,Bt),function Cl(J,ie){var we=ie.center,We=J.offsetDelta||{},ut=J.prevDelta||{},Nt=J.prevInput||{};(ie.eventType===Rt||Nt.eventType===lo)&&(ut=J.prevDelta={x:Nt.deltaX||0,y:Nt.deltaY||0},We=J.offsetDelta={x:we.x,y:we.y}),ie.deltaX=ut.x+(we.x-We.x),ie.deltaY=ut.y+(we.y-We.y)}(we,ie),ie.offsetDirection=Yb(ie.deltaX,ie.deltaY);var hi=fd(ie.deltaTime,ie.deltaX,ie.deltaY);ie.overallVelocityX=hi.x,ie.overallVelocityY=hi.y,ie.overallVelocity=ae(hi.x)>ae(hi.y)?hi.x:hi.y,ie.scale=Be?function Mc(J,ie){return yh(ie[0],ie[1],Dr)/yh(J[0],J[1],Dr)}(Be.pointers,We):1,ie.rotation=Be?function Qb(J,ie){return Of(ie[1],ie[0],Dr)+Of(J[1],J[0],Dr)}(Be.pointers,We):0,ie.maxPointers=we.prevInput?ie.pointers.length>we.prevInput.maxPointers?ie.pointers.length:we.prevInput.maxPointers:ie.pointers.length,function qb(J,ie){var ut,Nt,Be,Ao,we=J.lastInterval||ie,We=ie.timeStamp-we.timeStamp;if(ie.eventType!=Hr&&(We>dg||we.velocity===Ce)){var Bt=ie.deltaX-we.deltaX,hi=ie.deltaY-we.deltaY,Xa=fd(We,Bt,hi);Nt=Xa.x,Be=Xa.y,ut=ae(Xa.x)>ae(Xa.y)?Xa.x:Xa.y,Ao=Yb(Bt,hi),J.lastInterval=ie}else ut=we.velocity,Nt=we.velocityX,Be=we.velocityY,Ao=we.direction;ie.velocity=ut,ie.velocityX=Nt,ie.velocityY=Be,ie.direction=Ao}(we,ie);var Xa=J.element;on(ie.srcEvent.target,Xa)&&(Xa=ie.srcEvent.target),ie.target=Xa}(J,we),J.emit("hammer.input",we),J.recognize(we),J.session.prevInput=we}function Kb(J){for(var ie=[],we=0;we=ae(ie)?J<0?_t:Jl:ie<0?ug:hg}function yh(J,ie,we){we||(we=bh);var We=ie[we[0]]-J[we[0]],ut=ie[we[1]]-J[we[1]];return Math.sqrt(We*We+ut*ut)}function Of(J,ie,we){return we||(we=bh),180*Math.atan2(ie[we[1]]-J[we[1]],ie[we[0]]-J[we[0]])/Math.PI}Zn.prototype={handler:function(){},init:function(){this.evEl&&fe(this.element,this.evEl,this.domHandler),this.evTarget&&fe(this.target,this.evTarget,this.domHandler),this.evWin&&fe(vn(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&St(this.element,this.evEl,this.domHandler),this.evTarget&&St(this.target,this.evTarget,this.domHandler),this.evWin&&St(vn(this.element),this.evWin,this.domHandler)}};var fs={mousedown:Rt,mousemove:2,mouseup:lo},Ea="mousedown",Xb="mousemove mouseup";function _d(){this.evEl=Ea,this.evWin=Xb,this.pressed=!1,Zn.apply(this,arguments)}Lt(_d,Zn,{handler:function(ie){var we=fs[ie.type];we&Rt&&0===ie.button&&(this.pressed=!0),2&we&&1!==ie.which&&(we=lo),this.pressed&&(we&lo&&(this.pressed=!1),this.callback(this.manager,we,{pointers:[ie],changedPointers:[ie],pointerType:Cn,srcEvent:ie}))}});var Zb={pointerdown:Rt,pointermove:2,pointerup:lo,pointercancel:Hr,pointerout:Hr},Ff={2:gd,3:"pen",4:Cn,5:"kinect"},Jb="pointerdown",kx="pointermove pointerup pointercancel";function _u(){this.evEl=Jb,this.evWin=kx,Zn.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}Lo.MSPointerEvent&&!Lo.PointerEvent&&(Jb="MSPointerDown",kx="MSPointerMove MSPointerUp MSPointerCancel"),Lt(_u,Zn,{handler:function(ie){var we=this.store,We=!1,ut=ie.type.toLowerCase().replace("ms",""),Nt=Zb[ut],Be=Ff[ie.pointerType]||ie.pointerType,Ao=Be==gd,Bt=zn(we,ie.pointerId,"pointerId");Nt&Rt&&(0===ie.button||Ao)?Bt<0&&(we.push(ie),Bt=we.length-1):Nt&(lo|Hr)&&(We=!0),!(Bt<0)&&(we[Bt]=ie,this.callback(this.manager,Nt,{pointers:we,changedPointers:[ie],pointerType:Be,srcEvent:ie}),We&&we.splice(Bt,1))}});var ey={touchstart:Rt,touchmove:2,touchend:lo,touchcancel:Hr};function Nf(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,Zn.apply(this,arguments)}function Ch(J,ie){var we=Ks(J.touches),We=Ks(J.changedTouches);return ie&(lo|Hr)&&(we=Do(we.concat(We),"identifier",!0)),[we,We]}Lt(Nf,Zn,{handler:function(ie){var we=ey[ie.type];if(we===Rt&&(this.started=!0),this.started){var We=Ch.call(this,ie,we);we&(lo|Hr)&&We[0].length-We[1].length==0&&(this.started=!1),this.callback(this.manager,we,{pointers:We[0],changedPointers:We[1],pointerType:gd,srcEvent:ie})}}});var wh={touchstart:Rt,touchmove:2,touchend:lo,touchcancel:Hr},iy="touchstart touchmove touchend touchcancel";function xh(){this.evTarget=iy,this.targetIds={},Zn.apply(this,arguments)}function ny(J,ie){var we=Ks(J.touches),We=this.targetIds;if(ie&(2|Rt)&&1===we.length)return We[we[0].identifier]=!0,[we,we];var ut,Nt,Be=Ks(J.changedTouches),Ao=[],Bt=this.target;if(Nt=we.filter(function(hi){return on(hi.target,Bt)}),ie===Rt)for(ut=0;ut-1&&We.splice(Nt,1)},Ar)}}function sy(J){for(var ie=J.srcEvent.clientX,we=J.srcEvent.clientY,We=0;We-1&&this.requireFail.splice(ie,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(J){return!!this.simultaneous[J.id]},emit:function(J){var ie=this,we=this.state;function We(ut){ie.manager.emit(ut,J)}we<8&&We(ie.options.event+Bf(we)),We(ie.options.event),J.additionalEvent&&We(J.additionalEvent),we>=8&&We(ie.options.event+Bf(we))},tryEmit:function(J){if(this.canEmit())return this.emit(J);this.state=32},canEmit:function(){for(var J=0;Jie.threshold&&ut&ie.direction},attrTest:function(J){return wn.prototype.attrTest.call(this,J)&&(2&this.state||!(2&this.state)&&this.directionTest(J))},emit:function(J){this.pX=J.deltaX,this.pY=J.deltaY;var ie=dy(J.direction);ie&&(J.additionalEvent=this.options.event+ie),this._super.emit.call(this,J)}}),Lt(Pn,wn,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ma]},attrTest:function(J){return this._super.attrTest.call(this,J)&&(Math.abs(J.scale-1)>this.options.threshold||2&this.state)},emit:function(J){1!==J.scale&&(J.additionalEvent=this.options.event+(J.scale<1?"in":"out")),this._super.emit.call(this,J)}}),Lt(Dt,nc,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(J){var ie=this.options,we=J.pointers.length===ie.pointers,We=J.distanceie.time;if(this._input=J,!We||!we||J.eventType&(lo|Hr)&&!ut)this.reset();else if(J.eventType&Rt)this.reset(),this._timer=te(function(){this.state=8,this.tryEmit()},ie.time,this);else if(J.eventType&lo)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(J){8===this.state&&(J&&J.eventType&lo?this.manager.emit(this.options.event+"up",J):(this._input.timeStamp=K(),this.manager.emit(this.options.event,this._input)))}}),Lt(bd,wn,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ma]},attrTest:function(J){return this._super.attrTest.call(this,J)&&(Math.abs(J.rotation)>this.options.threshold||2&this.state)}}),Lt(kh,wn,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:yl|md,pointers:1},getTouchAction:function(){return rn.prototype.getTouchAction.call(this)},attrTest:function(J){var we,ie=this.options.direction;return ie&(yl|md)?we=J.overallVelocity:ie&yl?we=J.overallVelocityX:ie&md&&(we=J.overallVelocityY),this._super.attrTest.call(this,J)&&ie&J.offsetDirection&&J.distance>this.options.threshold&&J.maxPointers==this.options.pointers&&ae(we)>this.options.velocity&&J.eventType&lo},emit:function(J){var ie=dy(J.offsetDirection);ie&&this.manager.emit(this.options.event+ie,J),this.manager.emit(this.options.event,J)}}),Lt(Jn,nc,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[vo]},process:function(J){var ie=this.options,we=J.pointers.length===ie.pointers,We=J.distance{},22:()=>{},45:()=>{},190:()=>{},333:()=>{},139:()=>{}},ms=>{ms(ms.s=842)}]); \ No newline at end of file diff --git a/docs/styles.0eddc67b36476482.css b/docs/styles.0eddc67b36476482.css new file mode 100644 index 0000000..28b9ce5 --- /dev/null +++ b/docs/styles.0eddc67b36476482.css @@ -0,0 +1 @@ +/*! minireset.css v0.0.7 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-ripple-element{background-color:#0000001a}html{--mat-option-selected-state-label-text-color:#3f51b5;--mat-option-label-text-color:rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color:rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color:#ff4081}.mat-warn{--mat-option-selected-state-label-text-color:#f44336}html{--mat-optgroup-label-text-color:rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mat-option-label-text-font:Roboto, sans-serif;--mat-option-label-text-line-height:24px;--mat-option-label-text-size:16px;--mat-option-label-text-tracking:.03125em;--mat-option-label-text-weight:400}html{--mat-optgroup-label-text-font:Roboto, sans-serif;--mat-optgroup-label-text-line-height:24px;--mat-optgroup-label-text-size:16px;--mat-optgroup-label-text-tracking:.03125em;--mat-optgroup-label-text-weight:400}.mat-mdc-card{--mdc-elevated-card-container-color:white;--mdc-elevated-card-container-elevation:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color:white;--mdc-outlined-card-outline-color:rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color:rgba(0, 0, 0, .54)}.mat-mdc-card{--mat-card-title-text-font:Roboto, sans-serif;--mat-card-title-text-line-height:32px;--mat-card-title-text-size:20px;--mat-card-title-text-tracking:.0125em;--mat-card-title-text-weight:500;--mat-card-subtitle-text-font:Roboto, sans-serif;--mat-card-subtitle-text-line-height:22px;--mat-card-subtitle-text-size:14px;--mat-card-subtitle-text-tracking:.0071428571em;--mat-card-subtitle-text-weight:500}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color:#3f51b5;--mdc-linear-progress-track-color:rgba(63, 81, 181, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(63, 81, 181, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color:#ff4081;--mdc-linear-progress-track-color:rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255, 64, 129, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color:#f44336;--mdc-linear-progress-track-color:rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip{--mdc-plain-tooltip-container-color:#616161;--mdc-plain-tooltip-supporting-text-color:#fff}.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font:Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size:12px;--mdc-plain-tooltip-supporting-text-weight:400;--mdc-plain-tooltip-supporting-text-tracking:.0333333333em}html{--mdc-filled-text-field-caret-color:#3f51b5;--mdc-filled-text-field-focus-active-indicator-color:#3f51b5;--mdc-filled-text-field-focus-label-text-color:rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color:whitesmoke;--mdc-filled-text-field-disabled-container-color:#fafafa;--mdc-filled-text-field-label-text-color:rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color:rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color:rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color:rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color:#f44336;--mdc-filled-text-field-error-label-text-color:#f44336;--mdc-filled-text-field-error-caret-color:#f44336;--mdc-filled-text-field-active-indicator-color:rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color:rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color:rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color:#f44336;--mdc-filled-text-field-error-focus-active-indicator-color:#f44336;--mdc-filled-text-field-error-hover-active-indicator-color:#f44336;--mdc-outlined-text-field-caret-color:#3f51b5;--mdc-outlined-text-field-focus-outline-color:#3f51b5;--mdc-outlined-text-field-focus-label-text-color:rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color:rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color:rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color:rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color:rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color:#f44336;--mdc-outlined-text-field-error-focus-label-text-color:#f44336;--mdc-outlined-text-field-error-label-text-color:#f44336;--mdc-outlined-text-field-outline-color:rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color:rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color:rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color:#f44336;--mdc-outlined-text-field-error-hover-outline-color:#f44336;--mdc-outlined-text-field-error-outline-color:#f44336;--mat-form-field-disabled-input-text-placeholder-color:rgba(0, 0, 0, .38)}.mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{background-color:#000000de}.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.04}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.12}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#3f51b5de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#ff4081de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#00000061}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color:#ff4081;--mdc-filled-text-field-focus-active-indicator-color:#ff4081;--mdc-filled-text-field-focus-label-text-color:rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color:#ff4081;--mdc-outlined-text-field-focus-outline-color:#ff4081;--mdc-outlined-text-field-focus-label-text-color:rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color:#f44336;--mdc-filled-text-field-focus-active-indicator-color:#f44336;--mdc-filled-text-field-focus-label-text-color:rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color:#f44336;--mdc-outlined-text-field-focus-outline-color:#f44336;--mdc-outlined-text-field-focus-label-text-color:rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}html{--mdc-filled-text-field-label-text-font:Roboto, sans-serif;--mdc-filled-text-field-label-text-size:16px;--mdc-filled-text-field-label-text-tracking:.03125em;--mdc-filled-text-field-label-text-weight:400;--mdc-outlined-text-field-label-text-font:Roboto, sans-serif;--mdc-outlined-text-field-label-text-size:16px;--mdc-outlined-text-field-label-text-tracking:.03125em;--mdc-outlined-text-field-label-text-weight:400;--mat-form-field-container-text-font:Roboto, sans-serif;--mat-form-field-container-text-line-height:24px;--mat-form-field-container-text-size:16px;--mat-form-field-container-text-tracking:.03125em;--mat-form-field-container-text-weight:400;--mat-form-field-outlined-label-text-populated-size:16px;--mat-form-field-subscript-text-font:Roboto, sans-serif;--mat-form-field-subscript-text-line-height:20px;--mat-form-field-subscript-text-size:12px;--mat-form-field-subscript-text-tracking:.0333333333em;--mat-form-field-subscript-text-weight:400}html{--mat-select-panel-background-color:white;--mat-select-enabled-trigger-text-color:rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color:rgba(0, 0, 0, .38);--mat-select-placeholder-text-color:rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color:rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color:rgba(0, 0, 0, .38);--mat-select-focused-arrow-color:rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color:rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color:white;--mat-select-enabled-trigger-text-color:rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color:rgba(0, 0, 0, .38);--mat-select-placeholder-text-color:rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color:rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color:rgba(0, 0, 0, .38);--mat-select-focused-arrow-color:rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color:rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color:white;--mat-select-enabled-trigger-text-color:rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color:rgba(0, 0, 0, .38);--mat-select-placeholder-text-color:rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color:rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color:rgba(0, 0, 0, .38);--mat-select-focused-arrow-color:rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color:rgba(244, 67, 54, .87)}html{--mat-select-trigger-text-font:Roboto, sans-serif;--mat-select-trigger-text-line-height:24px;--mat-select-trigger-text-size:16px;--mat-select-trigger-text-tracking:.03125em;--mat-select-trigger-text-weight:400}html{--mat-autocomplete-background-color:white}.mat-mdc-dialog-container{--mdc-dialog-container-color:white;--mdc-dialog-subhead-color:rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color:rgba(0, 0, 0, .6)}.mat-mdc-dialog-container{--mdc-dialog-subhead-font:Roboto, sans-serif;--mdc-dialog-subhead-line-height:32px;--mdc-dialog-subhead-size:20px;--mdc-dialog-subhead-weight:500;--mdc-dialog-subhead-tracking:.0125em;--mdc-dialog-supporting-text-font:Roboto, sans-serif;--mdc-dialog-supporting-text-line-height:24px;--mdc-dialog-supporting-text-size:16px;--mdc-dialog-supporting-text-weight:400;--mdc-dialog-supporting-text-tracking:.03125em}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:#212121;--mdc-chip-with-icon-icon-color:#212121;--mdc-chip-with-icon-disabled-icon-color:#212121;--mdc-chip-with-icon-selected-icon-color:#212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#212121;--mdc-chip-with-trailing-icon-trailing-icon-color:#212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color:white;--mdc-chip-elevated-container-color:#3f51b5;--mdc-chip-elevated-disabled-container-color:#3f51b5;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:white;--mdc-chip-with-icon-icon-color:white;--mdc-chip-with-icon-disabled-icon-color:white;--mdc-chip-with-icon-selected-icon-color:white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:white;--mdc-chip-with-trailing-icon-trailing-icon-color:white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color:white;--mdc-chip-elevated-container-color:#ff4081;--mdc-chip-elevated-disabled-container-color:#ff4081;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:white;--mdc-chip-with-icon-icon-color:white;--mdc-chip-with-icon-disabled-icon-color:white;--mdc-chip-with-icon-selected-icon-color:white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:white;--mdc-chip-with-trailing-icon-trailing-icon-color:white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color:white;--mdc-chip-elevated-container-color:#f44336;--mdc-chip-elevated-disabled-container-color:#f44336;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:white;--mdc-chip-with-icon-icon-color:white;--mdc-chip-with-icon-disabled-icon-color:white;--mdc-chip-with-icon-selected-icon-color:white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:white;--mdc-chip-with-trailing-icon-trailing-icon-color:white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height:32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font:Roboto, sans-serif;--mdc-chip-label-text-line-height:20px;--mdc-chip-label-text-size:14px;--mdc-chip-label-text-tracking:.0178571429em;--mdc-chip-label-text-weight:400}.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color:#3949ab;--mdc-switch-selected-handle-color:#3949ab;--mdc-switch-selected-hover-state-layer-color:#3949ab;--mdc-switch-selected-pressed-state-layer-color:#3949ab;--mdc-switch-selected-focus-handle-color:#1a237e;--mdc-switch-selected-hover-handle-color:#1a237e;--mdc-switch-selected-pressed-handle-color:#1a237e;--mdc-switch-selected-focus-track-color:#7986cb;--mdc-switch-selected-hover-track-color:#7986cb;--mdc-switch-selected-pressed-track-color:#7986cb;--mdc-switch-selected-track-color:#7986cb;--mdc-switch-disabled-selected-handle-color:#424242;--mdc-switch-disabled-selected-icon-color:#fff;--mdc-switch-disabled-selected-track-color:#424242;--mdc-switch-disabled-unselected-handle-color:#424242;--mdc-switch-disabled-unselected-icon-color:#fff;--mdc-switch-disabled-unselected-track-color:#424242;--mdc-switch-handle-surface-color:var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color:black;--mdc-switch-disabled-handle-elevation-shadow:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color:#fff;--mdc-switch-unselected-focus-handle-color:#212121;--mdc-switch-unselected-focus-state-layer-color:#424242;--mdc-switch-unselected-focus-track-color:#e0e0e0;--mdc-switch-unselected-handle-color:#616161;--mdc-switch-unselected-hover-handle-color:#212121;--mdc-switch-unselected-hover-state-layer-color:#424242;--mdc-switch-unselected-hover-track-color:#e0e0e0;--mdc-switch-unselected-icon-color:#fff;--mdc-switch-unselected-pressed-handle-color:#212121;--mdc-switch-unselected-pressed-state-layer-color:#424242;--mdc-switch-unselected-pressed-track-color:#e0e0e0;--mdc-switch-unselected-track-color:#e0e0e0}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color:#d81b60;--mdc-switch-selected-handle-color:#d81b60;--mdc-switch-selected-hover-state-layer-color:#d81b60;--mdc-switch-selected-pressed-state-layer-color:#d81b60;--mdc-switch-selected-focus-handle-color:#880e4f;--mdc-switch-selected-hover-handle-color:#880e4f;--mdc-switch-selected-pressed-handle-color:#880e4f;--mdc-switch-selected-focus-track-color:#f06292;--mdc-switch-selected-hover-track-color:#f06292;--mdc-switch-selected-pressed-track-color:#f06292;--mdc-switch-selected-track-color:#f06292}.mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color:#e53935;--mdc-switch-selected-handle-color:#e53935;--mdc-switch-selected-hover-state-layer-color:#e53935;--mdc-switch-selected-pressed-state-layer-color:#e53935;--mdc-switch-selected-focus-handle-color:#b71c1c;--mdc-switch-selected-hover-handle-color:#b71c1c;--mdc-switch-selected-pressed-handle-color:#b71c1c;--mdc-switch-selected-focus-track-color:#e57373;--mdc-switch-selected-hover-track-color:#e57373;--mdc-switch-selected-pressed-track-color:#e57373;--mdc-switch-selected-track-color:#e57373}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size:48px}.mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font:Roboto, sans-serif;--mat-slide-toggle-label-text-size:14px;--mat-slide-toggle-label-text-tracking:.0178571429em;--mat-slide-toggle-label-text-line-height:20px;--mat-slide-toggle-label-text-weight:400}.mat-mdc-slide-toggle .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#3f51b5;--mdc-radio-selected-hover-icon-color:#3f51b5;--mdc-radio-selected-icon-color:#3f51b5;--mdc-radio-selected-pressed-icon-color:#3f51b5;--mat-radio-ripple-color:#000;--mat-radio-checked-ripple-color:#3f51b5;--mat-radio-disabled-label-color:rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#ff4081;--mdc-radio-selected-hover-icon-color:#ff4081;--mdc-radio-selected-icon-color:#ff4081;--mdc-radio-selected-pressed-icon-color:#ff4081;--mat-radio-ripple-color:#000;--mat-radio-checked-ripple-color:#ff4081;--mat-radio-disabled-label-color:rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#f44336;--mdc-radio-selected-hover-icon-color:#f44336;--mdc-radio-selected-icon-color:#f44336;--mdc-radio-selected-pressed-icon-color:#f44336;--mat-radio-ripple-color:#000;--mat-radio-checked-ripple-color:#f44336;--mat-radio-disabled-label-color:rgba(0, 0, 0, .38)}.mat-mdc-radio-button .mdc-radio{--mdc-radio-state-layer-size:40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider{--mdc-slider-label-container-color:black;--mdc-slider-label-label-text-color:white;--mdc-slider-disabled-handle-color:#000;--mdc-slider-disabled-active-track-color:#000;--mdc-slider-disabled-inactive-track-color:#000;--mdc-slider-with-tick-marks-disabled-container-color:#000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary{--mdc-slider-handle-color:#3f51b5;--mdc-slider-focus-handle-color:#3f51b5;--mdc-slider-hover-handle-color:#3f51b5;--mdc-slider-active-track-color:#3f51b5;--mdc-slider-inactive-track-color:#3f51b5;--mdc-slider-with-tick-marks-active-container-color:#fff;--mdc-slider-with-tick-marks-inactive-container-color:#3f51b5;--mat-mdc-slider-ripple-color: #3f51b5;--mat-mdc-slider-hover-ripple-color: rgba(63, 81, 181, .05);--mat-mdc-slider-focus-ripple-color: rgba(63, 81, 181, .2)}.mat-mdc-slider.mat-accent{--mdc-slider-handle-color:#ff4081;--mdc-slider-focus-handle-color:#ff4081;--mdc-slider-hover-handle-color:#ff4081;--mdc-slider-active-track-color:#ff4081;--mdc-slider-inactive-track-color:#ff4081;--mdc-slider-with-tick-marks-active-container-color:#fff;--mdc-slider-with-tick-marks-inactive-container-color:#ff4081;--mat-mdc-slider-ripple-color: #ff4081;--mat-mdc-slider-hover-ripple-color: rgba(255, 64, 129, .05);--mat-mdc-slider-focus-ripple-color: rgba(255, 64, 129, .2)}.mat-mdc-slider.mat-warn{--mdc-slider-handle-color:#f44336;--mdc-slider-focus-handle-color:#f44336;--mdc-slider-hover-handle-color:#f44336;--mdc-slider-active-track-color:#f44336;--mdc-slider-inactive-track-color:#f44336;--mdc-slider-with-tick-marks-active-container-color:#fff;--mdc-slider-with-tick-marks-inactive-container-color:#f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider{--mdc-slider-label-label-text-font:Roboto, sans-serif;--mdc-slider-label-label-text-size:14px;--mdc-slider-label-label-text-line-height:22px;--mdc-slider-label-label-text-tracking:.0071428571em;--mdc-slider-label-label-text-weight:500}html{--mat-menu-item-label-text-color:rgba(0, 0, 0, .87);--mat-menu-item-icon-color:rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-menu-container-color:white}html{--mat-menu-item-label-text-font:Roboto, sans-serif;--mat-menu-item-label-text-size:16px;--mat-menu-item-label-text-tracking:.03125em;--mat-menu-item-label-text-line-height:24px;--mat-menu-item-label-text-weight:400}.mat-mdc-list-base{--mdc-list-list-item-label-text-color:rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color:rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color:rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color:black;--mdc-list-list-item-disabled-leading-icon-color:black;--mdc-list-list-item-disabled-trailing-icon-color:black;--mdc-list-list-item-hover-label-text-color:rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color:rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color:black;--mdc-list-list-item-hover-state-layer-opacity:.04;--mdc-list-list-item-focus-state-layer-color:black;--mdc-list-list-item-focus-state-layer-opacity:.12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#3f51b5;--mdc-radio-selected-hover-icon-color:#3f51b5;--mdc-radio-selected-icon-color:#3f51b5;--mdc-radio-selected-pressed-icon-color:#3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#ff4081;--mdc-radio-selected-hover-icon-color:#ff4081;--mdc-radio-selected-icon-color:#ff4081;--mdc-radio-selected-pressed-icon-color:#ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#f44336;--mdc-radio-selected-hover-icon-color:#f44336;--mdc-radio-selected-icon-color:#f44336;--mdc-radio-selected-pressed-icon-color:#f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#3f51b5;--mdc-checkbox-selected-hover-icon-color:#3f51b5;--mdc-checkbox-selected-icon-color:#3f51b5;--mdc-checkbox-selected-pressed-icon-color:#3f51b5;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#3f51b5;--mdc-checkbox-selected-hover-state-layer-color:#3f51b5;--mdc-checkbox-selected-pressed-state-layer-color:#3f51b5;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#ff4081;--mdc-checkbox-selected-hover-icon-color:#ff4081;--mdc-checkbox-selected-icon-color:#ff4081;--mdc-checkbox-selected-pressed-icon-color:#ff4081;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#ff4081;--mdc-checkbox-selected-hover-state-layer-color:#ff4081;--mdc-checkbox-selected-pressed-state-layer-color:#ff4081;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#f44336;--mdc-checkbox-selected-hover-icon-color:#f44336;--mdc-checkbox-selected-icon-color:#f44336;--mdc-checkbox-selected-pressed-icon-color:#f44336;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#f44336;--mdc-checkbox-selected-hover-state-layer-color:#f44336;--mdc-checkbox-selected-pressed-state-layer-color:#f44336;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mat-mdc-list-base{--mdc-list-list-item-one-line-container-height:48px;--mdc-list-list-item-two-line-container-height:64px;--mdc-list-list-item-three-line-container-height:88px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mat-mdc-list-base{--mdc-list-list-item-label-text-font:Roboto, sans-serif;--mdc-list-list-item-label-text-line-height:24px;--mdc-list-list-item-label-text-size:16px;--mdc-list-list-item-label-text-tracking:.03125em;--mdc-list-list-item-label-text-weight:400;--mdc-list-list-item-supporting-text-font:Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height:20px;--mdc-list-list-item-supporting-text-size:14px;--mdc-list-list-item-supporting-text-tracking:.0178571429em;--mdc-list-list-item-supporting-text-weight:400;--mdc-list-list-item-trailing-supporting-text-font:Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height:20px;--mdc-list-list-item-trailing-supporting-text-size:12px;--mdc-list-list-item-trailing-supporting-text-tracking:.0333333333em;--mdc-list-list-item-trailing-supporting-text-weight:400}.mdc-list-group__subheader{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color:rgba(0, 0, 0, .87);--mat-paginator-container-background-color:white;--mat-paginator-enabled-icon-color:rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color:rgba(0, 0, 0, .12)}html{--mat-paginator-container-size:56px}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}html{--mat-paginator-container-text-font:Roboto, sans-serif;--mat-paginator-container-text-line-height:20px;--mat-paginator-container-text-size:12px;--mat-paginator-container-text-tracking:.0333333333em;--mat-paginator-container-text-weight:400;--mat-paginator-select-trigger-text-size:12px}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color:#3f51b5;--mat-tab-header-disabled-ripple-color:rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color:#000;--mat-tab-header-inactive-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color:#3f51b5;--mat-tab-header-active-ripple-color:#3f51b5;--mat-tab-header-inactive-ripple-color:#3f51b5;--mat-tab-header-inactive-focus-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color:#3f51b5;--mat-tab-header-active-hover-label-text-color:#3f51b5;--mat-tab-header-active-focus-indicator-color:#3f51b5;--mat-tab-header-active-hover-indicator-color:#3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color:#ff4081;--mat-tab-header-disabled-ripple-color:rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color:#000;--mat-tab-header-inactive-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color:#ff4081;--mat-tab-header-active-ripple-color:#ff4081;--mat-tab-header-inactive-ripple-color:#ff4081;--mat-tab-header-inactive-focus-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color:#ff4081;--mat-tab-header-active-hover-label-text-color:#ff4081;--mat-tab-header-active-focus-indicator-color:#ff4081;--mat-tab-header-active-hover-indicator-color:#ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color:#f44336;--mat-tab-header-disabled-ripple-color:rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color:#000;--mat-tab-header-inactive-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color:#f44336;--mat-tab-header-active-ripple-color:#f44336;--mat-tab-header-inactive-ripple-color:#f44336;--mat-tab-header-inactive-focus-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color:#f44336;--mat-tab-header-active-hover-label-text-color:#f44336;--mat-tab-header-active-focus-indicator-color:#f44336;--mat-tab-header-active-hover-indicator-color:#f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color:#3f51b5;--mat-tab-header-with-background-foreground-color:white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color:#ff4081;--mat-tab-header-with-background-foreground-color:white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color:#f44336;--mat-tab-header-with-background-foreground-color:white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font:Roboto, sans-serif;--mat-tab-header-label-text-size:14px;--mat-tab-header-label-text-tracking:.0892857143em;--mat-tab-header-label-text-line-height:36px;--mat-tab-header-label-text-weight:500}html{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#ff4081;--mdc-checkbox-selected-hover-icon-color:#ff4081;--mdc-checkbox-selected-icon-color:#ff4081;--mdc-checkbox-selected-pressed-icon-color:#ff4081;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#ff4081;--mdc-checkbox-selected-hover-state-layer-color:#ff4081;--mdc-checkbox-selected-pressed-state-layer-color:#ff4081;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#3f51b5;--mdc-checkbox-selected-hover-icon-color:#3f51b5;--mdc-checkbox-selected-icon-color:#3f51b5;--mdc-checkbox-selected-pressed-icon-color:#3f51b5;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#3f51b5;--mdc-checkbox-selected-hover-state-layer-color:#3f51b5;--mdc-checkbox-selected-pressed-state-layer-color:#3f51b5;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#f44336;--mdc-checkbox-selected-hover-icon-color:#f44336;--mdc-checkbox-selected-icon-color:#f44336;--mdc-checkbox-selected-pressed-icon-color:#f44336;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#f44336;--mdc-checkbox-selected-hover-state-layer-color:#f44336;--mdc-checkbox-selected-pressed-state-layer-color:#f44336;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size:40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color:#000}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color:#3f51b5}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color:#ff4081}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color:#f44336}.mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-text-button-label-text-color:rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color:#3f51b5;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color:#ff4081;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color:rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-filled-button-container-color:rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color:rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color:#3f51b5;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color:#ff4081;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button[disabled][disabled]{--mdc-protected-button-disabled-container-color:rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-protected-button-container-color:rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color:rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation:0}.mat-mdc-outlined-button{--mdc-outlined-button-outline-color:rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color:#000}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color:#3f51b5}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color:#ff4081}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color:#f44336}.mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color:rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color:rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color:rgba(0, 0, 0, .12)}.mat-mdc-button,.mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button.mat-primary,.mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent,.mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn,.mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button,.mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-warn,.mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base,.mat-mdc-raised-button.mat-mdc-button-base,.mat-mdc-unelevated-button.mat-mdc-button-base,.mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button{--mdc-icon-button-icon-color:inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color:#3f51b5;--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color:#ff4081;--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color:#f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color:rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color:rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size:48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}.mat-mdc-fab,.mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary,.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent,.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled],.mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color:rgba(0, 0, 0, .12);--mdc-fab-icon-color:rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed,.mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color:white;--mdc-fab-icon-color:black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color:#3f51b5;--mdc-fab-icon-color:white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color:#ff4081;--mdc-fab-icon-color:white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:white;--mat-mdc-fab-color: #fff}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab{--mdc-extended-fab-label-text-font:Roboto, sans-serif;--mdc-extended-fab-label-text-size:14px;--mdc-extended-fab-label-text-tracking:.0892857143em;--mdc-extended-fab-label-text-weight:500}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color:#333333;--mdc-snackbar-supporting-text-color:rgba(255, 255, 255, .87);--mat-snack-bar-button-color:#ff4081}.mat-mdc-snack-bar-container{--mdc-snackbar-supporting-text-font:Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height:20px;--mdc-snackbar-supporting-text-size:14px;--mdc-snackbar-supporting-text-weight:400}html{--mat-table-background-color:white;--mat-table-header-headline-color:rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color:rgba(0, 0, 0, .87);--mat-table-row-item-outline-color:rgba(0, 0, 0, .12)}html{--mat-table-header-container-height:56px;--mat-table-footer-container-height:52px;--mat-table-row-item-container-height:52px}html{--mat-table-header-headline-font:Roboto, sans-serif;--mat-table-header-headline-line-height:22px;--mat-table-header-headline-size:14px;--mat-table-header-headline-weight:500;--mat-table-header-headline-tracking:.0071428571em;--mat-table-row-item-label-text-font:Roboto, sans-serif;--mat-table-row-item-label-text-line-height:20px;--mat-table-row-item-label-text-size:14px;--mat-table-row-item-label-text-weight:400;--mat-table-row-item-label-text-tracking:.0178571429em;--mat-table-footer-supporting-text-font:Roboto, sans-serif;--mat-table-footer-supporting-text-line-height:20px;--mat-table-footer-supporting-text-size:14px;--mat-table-footer-supporting-text-weight:400;--mat-table-footer-supporting-text-tracking:.0178571429em}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color:#3f51b5}.mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color:#ff4081}.mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color:#f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}html{--mat-badge-background-color:#3f51b5;--mat-badge-text-color:white;--mat-badge-disabled-state-background-color:#b9b9b9;--mat-badge-disabled-state-text-color:rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color:#ff4081;--mat-badge-text-color:white}.mat-badge-warn{--mat-badge-background-color:#f44336;--mat-badge-text-color:white}html{--mat-badge-text-font:Roboto, sans-serif;--mat-badge-text-size:12px;--mat-badge-text-weight:600;--mat-badge-small-size-text-size:9px;--mat-badge-large-size-text-size:24px}html{--mat-bottom-sheet-container-text-color:rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color:white}html{--mat-bottom-sheet-container-text-font:Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height:20px;--mat-bottom-sheet-container-text-size:14px;--mat-bottom-sheet-container-text-tracking:.0178571429em;--mat-bottom-sheet-container-text-weight:400}html{--mat-legacy-button-toggle-text-color:rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color:rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color:rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color:#e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color:rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color:#eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color:#bdbdbd;--mat-standard-button-toggle-text-color:rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color:white;--mat-standard-button-toggle-state-layer-color:black;--mat-standard-button-toggle-selected-state-background-color:#e0e0e0;--mat-standard-button-toggle-selected-state-text-color:rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color:rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color:white;--mat-standard-button-toggle-disabled-selected-state-text-color:rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color:#bdbdbd;--mat-standard-button-toggle-divider-color:#e0e0e0}html{--mat-standard-button-toggle-height:48px}html{--mat-legacy-button-toggle-text-font:Roboto, sans-serif;--mat-standard-button-toggle-text-font:Roboto, sans-serif}html{--mat-datepicker-calendar-date-selected-state-text-color:white;--mat-datepicker-calendar-date-selected-state-background-color:#3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color:white;--mat-datepicker-calendar-date-focus-state-background-color:rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color:rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color:#3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color:rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color:rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#46a35e;--mat-datepicker-toggle-icon-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color:rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color:rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color:rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color:rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color:transparent;--mat-datepicker-calendar-date-disabled-state-text-color:rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color:rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color:rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color:rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color:rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color:white;--mat-datepicker-calendar-container-text-color:rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color:white;--mat-datepicker-calendar-date-selected-state-background-color:#ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color:white;--mat-datepicker-calendar-date-focus-state-background-color:rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color:rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color:rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color:rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color:white;--mat-datepicker-calendar-date-selected-state-background-color:#f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color:white;--mat-datepicker-calendar-date-focus-state-background-color:rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color:rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color:rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color:rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color:#ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color:#f44336}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size:40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}html{--mat-datepicker-calendar-text-font:Roboto, sans-serif;--mat-datepicker-calendar-text-size:13px;--mat-datepicker-calendar-body-label-text-size:14px;--mat-datepicker-calendar-body-label-text-weight:500;--mat-datepicker-calendar-period-button-text-size:14px;--mat-datepicker-calendar-period-button-text-weight:500;--mat-datepicker-calendar-header-text-size:11px;--mat-datepicker-calendar-header-text-weight:400}html{--mat-divider-color:rgba(0, 0, 0, .12)}html{--mat-expansion-container-background-color:white;--mat-expansion-container-text-color:rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color:rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color:rgba(0, 0, 0, .26);--mat-expansion-header-text-color:rgba(0, 0, 0, .87);--mat-expansion-header-description-color:rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color:rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height:48px;--mat-expansion-header-expanded-state-height:64px}html{--mat-expansion-header-text-font:Roboto, sans-serif;--mat-expansion-header-text-size:14px;--mat-expansion-header-text-weight:500;--mat-expansion-header-text-line-height:inherit;--mat-expansion-header-text-tracking:inherit;--mat-expansion-container-text-font:Roboto, sans-serif;--mat-expansion-container-text-line-height:20px;--mat-expansion-container-text-size:14px;--mat-expansion-container-text-tracking:.0178571429em;--mat-expansion-container-text-weight:400}html{--mat-grid-list-tile-header-primary-text-size:14px;--mat-grid-list-tile-header-secondary-text-size:12px;--mat-grid-list-tile-footer-primary-text-size:14px;--mat-grid-list-tile-footer-secondary-text-size:12px}html{--mat-icon-color:inherit}.mat-icon.mat-primary{--mat-icon-color:#3f51b5}.mat-icon.mat-accent{--mat-icon-color:#ff4081}.mat-icon.mat-warn{--mat-icon-color:#f44336}html{--mat-sidenav-container-divider-color:rgba(0, 0, 0, .12);--mat-sidenav-container-background-color:white;--mat-sidenav-container-text-color:rgba(0, 0, 0, .87);--mat-sidenav-content-background-color:#fafafa;--mat-sidenav-content-text-color:rgba(0, 0, 0, .87);--mat-sidenav-scrim-color:rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color:white;--mat-stepper-header-selected-state-icon-background-color:#3f51b5;--mat-stepper-header-selected-state-icon-foreground-color:white;--mat-stepper-header-done-state-icon-background-color:#3f51b5;--mat-stepper-header-done-state-icon-foreground-color:white;--mat-stepper-header-edit-state-icon-background-color:#3f51b5;--mat-stepper-header-edit-state-icon-foreground-color:white;--mat-stepper-container-color:white;--mat-stepper-line-color:rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color:rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color:rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color:rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color:#f44336;--mat-stepper-header-icon-background-color:rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color:#f44336;--mat-stepper-header-error-state-icon-background-color:transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color:white;--mat-stepper-header-selected-state-icon-background-color:#ff4081;--mat-stepper-header-selected-state-icon-foreground-color:white;--mat-stepper-header-done-state-icon-background-color:#ff4081;--mat-stepper-header-done-state-icon-foreground-color:white;--mat-stepper-header-edit-state-icon-background-color:#ff4081;--mat-stepper-header-edit-state-icon-foreground-color:white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color:white;--mat-stepper-header-selected-state-icon-background-color:#f44336;--mat-stepper-header-selected-state-icon-foreground-color:white;--mat-stepper-header-done-state-icon-background-color:#f44336;--mat-stepper-header-done-state-icon-foreground-color:white;--mat-stepper-header-edit-state-icon-background-color:#f44336;--mat-stepper-header-edit-state-icon-foreground-color:white}html{--mat-stepper-header-height:72px}html{--mat-stepper-container-text-font:Roboto, sans-serif;--mat-stepper-header-label-text-font:Roboto, sans-serif;--mat-stepper-header-label-text-size:14px;--mat-stepper-header-label-text-weight:400;--mat-stepper-header-error-state-label-text-size:16px;--mat-stepper-header-selected-state-label-text-size:16px;--mat-stepper-header-selected-state-label-text-weight:400}.mat-sort-header-arrow{color:#757575}html{--mat-toolbar-container-background-color:whitesmoke;--mat-toolbar-container-text-color:rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color:#3f51b5;--mat-toolbar-container-text-color:white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color:#ff4081;--mat-toolbar-container-text-color:white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color:#f44336;--mat-toolbar-container-text-color:white}html{--mat-toolbar-standard-height:64px;--mat-toolbar-mobile-height:56px}html{--mat-toolbar-title-text-font:Roboto, sans-serif;--mat-toolbar-title-text-line-height:32px;--mat-toolbar-title-text-size:20px;--mat-toolbar-title-text-tracking:.0125em;--mat-toolbar-title-text-weight:500}.mat-tree{background:#fff}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-tree{font-family:Roboto,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font-size:24px;font-weight:400;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,.mat-typography .mat-h2,.mat-typography .mat-headline-6,.mat-typography h2{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,.mat-typography .mat-h3,.mat-typography .mat-subtitle-1,.mat-typography h3{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,.mat-typography .mat-h4,.mat-typography .mat-body-1,.mat-typography h4{font-size:16px;font-weight:400;line-height:24px;font-family:Roboto,sans-serif;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font-size:14px;font-weight:500;line-height:22px;font-family:Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,.mat-typography .mat-body p,.mat-typography .mat-body-2 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font-size:12px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font-size:96px;font-weight:300;line-height:96px;font-family:Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font-size:60px;font-weight:300;line-height:60px;font-family:Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font-size:48px;font-weight:400;line-height:50px;font-family:Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font-size:34px;font-weight:400;line-height:40px;font-family:Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}:root{--primary: #3F51B5;--primary1: #e5461e}h1,h2,h3,h4,h5,h6,p,div,strong,a,button{font-family:Be Vietnam Pro,sans-serif!important}p{margin:0!important}.custom-toast{top:60px;right:12px}body{margin:0;font-family:Be Vietnam,Montserrat,sans-serif!important}.bb{border-bottom:1px solid rgb(192,192,192)}.boder-50{border-radius:50%}.btn-icon-small{position:absolute!important}.btn-interact{display:flex!important}.btn-interact:hover .likeNumber{z-index:2;font-size:10px;display:block;font-weight:600;background-color:#fff;padding:4px;color:#3e50ca}.btn-search{cursor:pointer;display:contents;border:none;background-color:transparent}.btn-search-icon{border-radius:50%;width:26px;height:26px;text-align:center}.btn-search-icon:hover{box-shadow:#63636333 0 2px 8px!important}.card_more{max-width:280px;max-height:615px;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;border-radius:4px;margin:8px}.card-post{display:inline-block;width:254px!important;height:320px;cursor:pointer}.card-post:hover{border-radius:4px;box-shadow:0 26px 58px #00000038,0 5px 14px #0000002e}.card-post>.post-img{width:100%;height:200px;object-fit:cover}.card-postt{bottom:0;padding:0 8px;color:#fff!important;width:100%}.card-post-search{display:inline-flex}.card-post-search>.post-img{width:254px;height:350px;object-fit:cover}.card-post-search .post-img:hover{box-shadow:0 1px 1px #0000001f,0 2px 2px #0000001f,0 4px 4px #0000001f,0 8px 8px #0000001f,0 16px 16px #0000001f;cursor:pointer}.card-title{margin:10px!important;color:#3e50ca;font-weight:600;border-left:4px solid;padding-left:8px;padding-right:4px;cursor:pointer}.card-title:hover{box-shadow:inset 500px 0 #3e50ca;color:#fff}.create-question{height:480px}.create-document{height:380px}.cursor-d{cursor:default}.cursor-p{cursor:pointer}.fixed-menu{transition:top .3s;color:#fff;z-index:1000}.fixed-menu.active{position:fixed;top:0;width:100%}.font{font-family:Be Vietnam,Montserrat,sans-serif!important}.fs-20{font-size:20px!important}.fw-5{font-weight:500}.fw-6{font-weight:600!important}.dis-block{display:block}.dis-inline{display:inline}.dis-flex{display:flex!important}.dis-grid{display:grid!important}.exam-card{width:23.5%;max-width:264px;box-shadow:#00000029 0 1px 4px}.exam-card:hover{box-shadow:#0000003d 0 3px 8px}.flex-center{display:flex;justify-content:center;align-items:center}.flex-center-h{display:flex!important;align-items:center}.flex-center-v{display:flex;justify-content:center}.flex-center-sb{display:flex;justify-content:space-between;align-items:center}.icon-24{width:24px;height:24px;border-radius:50%;object-fit:cover}.input-search{flex:1;padding-left:12px;border:none;border-radius:16px}.input-search:focus-visible{outline:none}.interact{display:grid;margin-left:100px;margin-top:40px}.interact-save{position:absolute;display:grid;margin-left:100px;margin-top:40px}.img-24{width:24px;height:24px}.img-20{width:20px;height:20px}.likeNumber{display:none}.mat-tab-label{font-family:Be Vietnam,Montserrat!important;color:#fff!important;padding:0 8px;font-size:1rem}.mh-page{min-height:700px}.mlr{margin:0 8px}.ml{margin-left:8px}.mlr-1{margin:0 16px}.mlr-12{margin:0 12px}.ml-1{margin-left:16px}.ml-2{margin-left:32px}.mb{margin-bottom:8px}.mb-1{margin-bottom:16px}.mt{margin-top:8px}.mt-1{margin-top:16px}.mt-2{margin-top:32px}.mt-50{margin-top:50px!important}.mt-60{margin-top:60px!important}.mr{margin-right:8px}.mr-1{margin-right:16px}.of-h{display:-webkit-box;-webkit-line-clamp:1;overflow:hidden!important;-webkit-box-orient:vertical;height:26px}.pb{padding-bottom:8px!important}.pl{padding-left:8px}.pl-1{padding-left:16px}.pl-2{padding-left:32px}.pl-3{padding-left:48px}.plr-200{padding:0 200px}.plr-300{padding:0 300px}.plr{padding:0 8px}.plr-1{padding:0 16px}.plr-24{padding:0 24px}.plr-12{padding:0 12px}.pt{padding-top:8px}.pt-1{padding-top:16px}.pt-2{padding-top:32px}.po-re{position:relative}.po-ab{position:absolute!important}.pb-1,.pb-2{padding-bottom:16px}.pr{padding-right:8px}.pr-1{padding-right:16px}.fs{font-size:14px}.fs16,.fs18{font-size:1.2em}.right-aligned-dialog{margin-left:auto!important}.custom-backdrop{background-color:#0000000d}.tag-category{margin-left:auto;background-color:#3c4dc2;border-radius:4px;margin-bottom:auto;margin-top:4px}.tag-free{box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;border-radius:12px;font-size:10px;padding:0 6px 1px;display:flex;background-color:#7286e4;color:#fff}.text-2-line{height:41.6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.text-3-line{height:62.6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;position:relative}.text-5-line{height:100px;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;position:relative}.text-white{color:#fff!important}.text-red{color:#e93434!important}.text-black{color:#000!important}.underline-none{text-decoration:none!important}.use-space{white-space:pre-line}.selected{background-color:#7989f4!important}.selected>.selected-icon{color:#fff}.small-post-card{width:276px!important;height:65px;margin-bottom:8px;cursor:pointer;display:inline-flex}.small-post-card>.post-img{width:100px;min-width:100px;height:65px;object-fit:cover}.search-container{display:flex;align-items:center;box-shadow:#63636333 0 2px 8px;border-radius:16px;width:30em;height:30px}.w-100{width:100%}.w-90{width:90%}.w-80{width:80%}.w-75{width:75%}.w-50{width:50%}.w-40{width:40%}.w-25{width:25%}.w-10{width:10%}.co-primary{color:#4069e5}.flex-container{display:flex;overflow-x:hidden;align-items:center;padding-top:8px}.inner-container{overflow:hidden;display:flex;transition:transform .3s ease}.inner-container:hover{overflow:auto;overflow-x:auto}.inner-container::-webkit-scrollbar{margin-top:4px!important;height:4px!important}.inner-container::-webkit-scrollbar-thumb{background-color:#ccc}.inner-container::-webkit-scrollbar-track{background-color:transparent}.inner-container::-webkit-scrollbar-start,.inner-container::-webkit-scrollbar-end{display:none}.bubbly-button{background-image:url(Vote.b896084a77b1609d.png)!important;background-size:contain;z-index:2;display:inline-block;font-size:1em;font-weight:600;height:30px;width:30px;padding:8px;margin:2px 0;border-radius:50%!important;appearance:none;background-color:#fff;color:transparent;border:none;cursor:pointer;position:relative;transition:transform ease-in .1s,box-shadow ease-in .25s}.bubbly-button:hover{box-shadow:#3c40434d 0 1px 2px,#3c404326 0 1px 3px 1px}.bubbly-button:focus{outline:0}.bubbly-button:before,.bubbly-button:after{position:absolute;content:"";width:140%;height:100%;left:-20%;z-index:-1000;transition:all ease-in-out .5s;background-repeat:no-repeat}.bubbly-button:before{display:none;top:-75%;background-image:radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 20%,var(--primary) 20%,transparent 30%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 10%,var(--primary) 15%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%);background-size:10% 10%,20% 20%,25% 25%,20% 20%,18% 18%,10% 10%,15% 15%,10% 10%,18% 18%}.bubbly-button:after{display:none;bottom:-75%;background-image:radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 10%,var(--primary) 15%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%);background-size:15% 15%,20% 20%,25% 25%,20% 20%,15% 15%,10% 10%,20% 20%}.bubbly-button:active{transform:scale(.9)}.bubbly-button.animate:before{display:block!important;animation:topBubbles ease-in-out 1s forwards!important}.bubbly-button.animate:after{display:block!important;animation:bottomBubbles ease-in-out 1s forwards!important}@keyframes topBubbles{0%{background-position:5% 90%,10% 90%,10% 90%,15% 90%,25% 90%,25% 90%,40% 90%,55% 90%,70% 90%}50%{background-position:0% 80%,0% 20%,10% 40%,20% 0%,30% 30%,22% 50%,50% 50%,65% 20%,90% 30%}to{background-position:0% 70%,0% 10%,10% 30%,20% -10%,30% 20%,22% 40%,50% 40%,65% 10%,90% 20%;background-size:0% 0%,0% 0%,0% 0%,0% 0%,0% 0%,0% 0%}}@keyframes bottomBubbles{0%{background-position:10% -10%,30% 10%,55% -10%,70% -10%,85% -10%,70% -10%,70% 0%}50%{background-position:0% 80%,20% 80%,45% 60%,60% 100%,75% 70%,95% 60%,105% 0%}to{background-position:0% 90%,20% 90%,45% 70%,60% 110%,75% 80%,95% 70%,110% 10%;background-size:0% 0%,0% 0%,0% 0%,0% 0%,0% 0%,0% 0%}}.bubbly-button-1{font-family:Helvetica,Arial,sans-serif;display:inline-block;appearance:none;cursor:pointer;position:relative;transition:transform ease-in .1s,box-shadow ease-in .25s}.bubbly-button-1:focus{outline:0}.bubbly-button-1:before,.bubbly-button-1:after{position:absolute;content:"";display:block;width:140%;height:100%;left:-20%;z-index:-1000;transition:all ease-in-out .5s;background-repeat:no-repeat}.bubbly-button-1:before{display:none;top:-75%;background-image:radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 20%,var(--primary) 20%,transparent 30%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 10%,var(--primary) 15%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%);background-size:10% 10%,20% 20%,15% 15%,20% 20%,18% 18%,10% 10%,15% 15%,10% 10%,18% 18%}.bubbly-button-1:after{display:none;bottom:-75%;background-image:radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 10%,var(--primary) 15%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%);background-size:15% 15%,20% 20%,18% 18%,20% 20%,15% 15%,10% 10%,20% 20%}.bubbly-button-1:active{transform:scale(.9)}.bubbly-button-1.animate1:before{display:block;animation:topBubbles1 ease-in-out .75s forwards!important}.bubbly-button-1.animate1:after{display:block;animation:bottomBubbles1 ease-in-out .75s forwards!important}@keyframes topBubbles1{0%{background-position:5% 90%,10% 90%,10% 90%,15% 90%,25% 90%,25% 90%,40% 90%,55% 90%,70% 90%}50%{background-position:0% 80%,0% 20%,10% 40%,20% 0%,30% 30%,22% 50%,50% 50%,65% 20%,90% 30%}to{background-position:0% 70%,0% 10%,10% 30%,20% -10%,30% 20%,22% 40%,50% 40%,65% 10%,90% 20%;background-size:0% 0%,0% 0%,0% 0%,0% 0%,0% 0%,0% 0%}}@keyframes bottomBubbles1{0%{background-position:10% -10%,30% 10%,55% -10%,70% -10%,85% -10%,70% -10%,70% 0%}50%{background-position:0% 80%,20% 80%,45% 60%,60% 100%,75% 70%,95% 60%,105% 0%}to{background-position:0% 90%,20% 90%,45% 70%,60% 110%,75% 80%,95% 70%,110% 10%;background-size:0% 0%,0% 0%,0% 0%,0% 0%,0% 0%,0% 0%}}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif}.toast-center-center{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button:hover,.toast-close-button:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:transparent;border:0}.toast-container{pointer-events:none;position:fixed;z-index:999999}.toast-container *{box-sizing:border-box}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container .ngx-toastr:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width .ngx-toastr,.toast-container.toast-bottom-full-width .ngx-toastr{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr{background-color:#030303;pointer-events:auto}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:11em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:18em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container .ngx-toastr.div{padding:15px 15px 15px 50px;width:25em}}.igx-display-container{display:inherit;flex-flow:inherit;position:relative;width:100%;overflow:hidden;flex-shrink:0}.igx-display-container--inactive{width:100%}.igx-drag{touch-action:none}.igx-drag--select-disabled,.igx-drag__handle{-webkit-user-select:none;user-select:none}.igx-vhelper--vertical,.igx-vhelper--horizontal{display:block;overflow:auto;z-index:10001}.igx-vhelper--vertical{position:absolute;top:0;inset-inline-end:0}.igx-vhelper--horizontal{width:100%}.igx-vhelper--vertical .igx-vhelper__placeholder-content{width:1px}.igx-vhelper--horizontal .igx-vhelper__placeholder-content{height:1px}[hidden]{display:none!important}[class^=igx-],[class^=igx-] *,[class^=igx-] *:before,[class^=igx-] *:after,[class^=ig-],[class^=ig-] *,[class^=ig-] *:before,[class^=ig-] *:after{box-sizing:border-box}.igx-combo,.igx-excel-filter__menu{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1)}.igx-svg-container{visibility:hidden;width:0;height:0;font-size:0;overflow:hidden}@media print{html,body,app-root{min-height:100vh;min-width:100vw;margin:0}app-root{display:block}*{filter:opacity(1);-webkit-print-color-adjust:exact;print-color-adjust:exact;text-shadow:none!important}a[href^=http]:after{content:"[" attr(href) "]";color:#00f}.igx-no-print{display:none!important}.igx-bw-print{filter:grayscale(100%)}igx-circular-bar,igx-linear-bar,.igx-carousel__indicators,.igx-carousel__arrow--prev,.igx-carousel__arrow--next,.igx-ripple,.igx-grid__tbody-scrollbar,igx-switch__ripple,igx-virtual-helper{display:none!important}igx-grid .igx-grid-th__title,igx-grid .igx-grid__td-text{white-space:unset!important;text-overflow:initial!important;overflow:visible!important}}.ig-typography{font-family:var(--ig-font-family)}.ig-typography igx-category-chart{--title-text-style: var(--category-chart-title-text-style, 600 1.25rem var(--ig-font-family));--subtitle-text-style: var(--category-chart-subtitle-text-style, 400 1rem var(--ig-font-family));--x-axis-label-text-style: var(--category-chart-x-axis-label-text-style, 400 .875rem var(--ig-font-family));--x-axis-title-text-style: var(--category-chart-x-axis-title-text-style, 400 .875rem var(--ig-font-family));--y-axis-label-text-style: var(--category-chart-y-axis-label-text-style, 400 .875rem var(--ig-font-family));--y-axis-title-text-style: var(--category-chart-y-axis-title-text-style, 400 .875rem var(--ig-font-family))}.ig-typography igx-data-chart{--title-text-style: var(--data-chart-title-text-style, 600 1.25rem var(--ig-font-family));--subtitle-text-style: var(--data-chart-subtitle-text-style, 400 1rem var(--ig-font-family))}.ig-typography igx-financial-chart{--title-text-style: var(--financial-chart-title-text-style, 600 1.25rem var(--ig-font-family));--subtitle-text-style: var(--financial-chart-subtitle-text-style, 400 1rem var(--ig-font-family));--x-axis-label-text-style: var(--financial-chart-x-axis-label-text-style, 400 .875rem var(--ig-font-family));--x-axis-title-text-style: var(--financial-chart-x-axis-title-text-style, 400 .875rem var(--ig-font-family));--y-axis-label-text-style: var(--financial-chart-y-axis-label-text-style, 400 .875rem var(--ig-font-family));--y-axis-title-text-style: var(--financial-chart-y-axis-title-text-style, 400 .875rem var(--ig-font-family))}.ig-typography igx-funnel-chart{--outer-label-text-style: var(--funnel-chart-outer-label-text-style, 300 6rem var(--ig-font-family));--text-style: var(--funnel-chart-text-style, 400 1rem var(--ig-font-family))}.ig-typography igx-linear-gauge{--linear-gauge-font: var(--ig-font-family, inherit)}.ig-typography igx-radial-gauge{--radial-gauge-font: var(--ig-font-family, inherit)}.ig-typography igx-bullet-graph{--bullet-graph-font: var(--ig-font-family, inherit)}.ig-typography igx-pie-chart{--text-style: var(--pie-chart-text-style, 400 .875rem var(--ig-font-family))}.ig-typography igx-shape-chart{--title-text-style: var(--shape-chart-title-text-style, 600 1.25rem var(--ig-font-family));--subtitle-text-style: var(--shape-chart-subtitle-text-style, 400 1rem var(--ig-font-family));--x-axis-title-text-style: var(--shape-chart-x-axis-title-text-style, 400 3rem var(--ig-font-family));--x-axis-label-text-style: var(--shape-chart-x-axis-label-text-style, 400 2.125rem var(--ig-font-family));--y-axis-title-text-style: var(--shape-chart-y-axis-title-text-style, 400 3rem var(--ig-font-family));--y-axis-label-text-style: var(--shape-chart-y-axis-label-text-style, 400 2.125rem var(--ig-font-family))}.ig-typography .igx-banner__text{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin-block-start:0;margin-block-end:0}.ig-typography .igx-bottom-nav__menu-item [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item .ig-typography [igxBottomNavHeaderLabel],.ig-typography .igx-bottom-nav__menu-item--selected [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item--selected .ig-typography [igxBottomNavHeaderLabel],.ig-typography .igx-bottom-nav__menu-item--disabled [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item--disabled .ig-typography [igxBottomNavHeaderLabel]{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);margin:0}.ig-typography .igx-button{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom);text-align:center}.ig-typography .igx-button--fab{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom);text-align:center;margin:0}.ig-typography .igx-calendar__header-year{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom);margin:0}.ig-typography .igx-calendar__header-date{font-family:var(--ig-h4-font-family, var(--ig-font-family));font-size:var(--ig-h4-font-size);font-weight:var(--ig-h4-font-weight);font-style:var(--ig-h4-font-style);line-height:var(--ig-h4-line-height);letter-spacing:var(--ig-h4-letter-spacing);text-transform:var(--ig-h4-text-transform);margin-top:var(--ig-h4-margin-top);margin-bottom:var(--ig-h4-margin-bottom);margin:0}.ig-typography .igx-calendar-picker__date{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-calendar__date-content,.ig-typography .igx-calendar__label{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom);margin:0}.ig-typography .igx-calendar__year--current{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom);font-size:1.5rem;line-height:3.25rem;margin:0}.ig-typography .igx-card-header__title,.ig-typography .igx-card-header__title--small{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom);margin:0}.ig-typography .igx-card-header__title--small,.ig-typography .igx-card-header__subtitle{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom);margin:0}.ig-typography .igx-card-content>*{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin:0}.ig-typography .igx-checkbox__label,.ig-typography .igx-checkbox__label--before{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-chip__item{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .igx-column-actions__header-title{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-dialog__window-title{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom);margin:0}.ig-typography .igx-dialog__window-content{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom);margin:0}.ig-typography .igx-dialog__window-content>*{letter-spacing:normal}.ig-typography igx-dock-manager{--igc-font-family: var(--ig-font-family, inherit)}.ig-typography .igx-drop-down__group label,.igx-drop-down__group .ig-typography label,.ig-typography .igx-drop-down__header{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom);margin:0}.ig-typography .igx-drop-down__item{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin:0}.ig-typography .igx-expansion-panel__header-title{font-family:var(--ig-h5-font-family, var(--ig-font-family));font-size:var(--ig-h5-font-size);font-weight:var(--ig-h5-font-weight);font-style:var(--ig-h5-font-style);line-height:var(--ig-h5-line-height);letter-spacing:var(--ig-h5-letter-spacing);text-transform:var(--ig-h5-text-transform);margin-top:var(--ig-h5-margin-top);margin-bottom:var(--ig-h5-margin-bottom);margin:0}.ig-typography .igx-expansion-panel__header-description{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom);margin:0}.ig-typography .igx-expansion-panel__body{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin:0}.ig-typography .igx-excel-filter__menu .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__menu .igx-excel-filter__secondary-header>h4{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .igx-excel-filter__secondary .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__secondary .igx-excel-filter__secondary-header>h4{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .igx-excel-filter__sort header,.ig-typography .igx-excel-filter__move header{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom)}.ig-typography .igx-excel-filter__menu--cosy .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__menu--cosy .igx-excel-filter__secondary-header>h4{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__secondary-header>h4{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom)}.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__sort header,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__move header{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);text-transform:capitalize}.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-pin span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-pin--disabled span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-unpin span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-hide span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-select span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-selected span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-filter span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-clear span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-clear--disabled span,.ig-typography .igx-excel-filter__menu--compact .igx-checkbox__label,.ig-typography .igx-excel-filter__menu--compact .igx-checkbox__label--before{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .igx-excel-filter__secondary--cosy .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__secondary--cosy .igx-excel-filter__secondary-header>h4{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .igx-excel-filter__secondary--compact .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__secondary--compact .igx-excel-filter__secondary-header>h4{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom)}.ig-typography .igx-input-group__input,.ig-typography .igx-input-group__textarea{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-input-group__hint{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);margin:0}.ig-typography .igx-input-group igx-prefix:not(igx-icon),.igx-input-group .ig-typography igx-prefix:not(igx-icon),.ig-typography .igx-input-group--focused igx-prefix:not(igx-icon),.igx-input-group--focused .ig-typography igx-prefix:not(igx-icon),.ig-typography .igx-input-group [igxPrefix]:not(igx-icon),.igx-input-group .ig-typography [igxPrefix]:not(igx-icon),.ig-typography .igx-input-group--focused [igxPrefix]:not(igx-icon),.igx-input-group--focused .ig-typography [igxPrefix]:not(igx-icon),.ig-typography .igx-input-group igx-suffix:not(igx-icon),.igx-input-group .ig-typography igx-suffix:not(igx-icon),.ig-typography .igx-input-group--focused igx-suffix:not(igx-icon),.igx-input-group--focused .ig-typography igx-suffix:not(igx-icon),.ig-typography .igx-input-group [igxSuffix]:not(igx-icon),.igx-input-group .ig-typography [igxSuffix]:not(igx-icon),.ig-typography .igx-input-group--focused [igxSuffix]:not(igx-icon),.igx-input-group--focused .ig-typography [igxSuffix]:not(igx-icon){font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-list__header{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom);margin:0}.ig-typography .igx-list__item-lines,.ig-typography .igx-list__item-line-title{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-list__item-line-subtitle{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);margin:0}.ig-typography igx-navbar-title,.ig-typography [igxNavbarTitle],.ig-typography .igx-navbar__title{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom);margin-bottom:0}.ig-typography .igx-nav-drawer__item,.ig-typography .igx-nav-drawer__item--active{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom)}.ig-typography .igx-nav-drawer__item--header{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-radio__label,.ig-typography .igx-radio__label--before{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-slider-thumb-label-from__container,.ig-typography .igx-slider-thumb-label-to__container,.ig-typography .igx-slider__ticks-label{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom)}.ig-typography .igx-snackbar__message{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .igx-switch__label,.ig-typography .igx-switch__label--before{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-tabs__header-item-inner>[igxtabheaderlabel]{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-time-picker__header-ampm{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom)}.ig-typography .igx-time-picker__header-hour{font-family:var(--ig-h4-font-family, var(--ig-font-family));font-size:var(--ig-h4-font-size);font-weight:var(--ig-h4-font-weight);font-style:var(--ig-h4-font-style);line-height:var(--ig-h4-line-height);letter-spacing:var(--ig-h4-letter-spacing);text-transform:var(--ig-h4-text-transform);margin-top:var(--ig-h4-margin-top);margin-bottom:var(--ig-h4-margin-bottom);margin-top:0}.ig-typography .igx-time-picker__column{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-stepper__step-title{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-stepper__step-subtitle{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-stepper__step-header--current .igx-stepper__step-title{font-weight:600}.ig-typography .igx-toast,.ig-typography .igx-toast>*{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin:0}.ig-typography .igx-tooltip--mobile{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .igx-tooltip--desktop{font-size:.625rem;font-weight:600}.ig-typography .igx-tree-node__content{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}:root{--ig-font-family: "Titillium Web", sans-serif;--ig-base-font-size: 16px;--ig-h1-font-size: 6rem;--ig-h1-font-weight: 300;--ig-h1-font-style: normal;--ig-h1-line-height: 7rem;--ig-h1-letter-spacing: -.09375rem;--ig-h1-text-transform: none;--ig-h1-margin-top: 1.75rem;--ig-h1-margin-bottom: 3.5rem;--ig-h2-font-size: 3.75rem;--ig-h2-font-weight: 300;--ig-h2-font-style: normal;--ig-h2-line-height: 4.4375rem;--ig-h2-letter-spacing: -.03125rem;--ig-h2-text-transform: none;--ig-h2-margin-top: 1.75rem;--ig-h2-margin-bottom: 1.75rem;--ig-h3-font-size: 3rem;--ig-h3-font-weight: 400;--ig-h3-font-style: normal;--ig-h3-line-height: 3.5625rem;--ig-h3-letter-spacing: 0;--ig-h3-text-transform: none;--ig-h3-margin-top: 1.75rem;--ig-h3-margin-bottom: 0;--ig-h4-font-size: 2.125rem;--ig-h4-font-weight: 400;--ig-h4-font-style: normal;--ig-h4-line-height: 2.5rem;--ig-h4-letter-spacing: .015625rem;--ig-h4-text-transform: none;--ig-h4-margin-top: 1.75rem;--ig-h4-margin-bottom: 0;--ig-h5-font-size: 1.5rem;--ig-h5-font-weight: 400;--ig-h5-font-style: normal;--ig-h5-line-height: 1.75rem;--ig-h5-letter-spacing: 0;--ig-h5-text-transform: none;--ig-h5-margin-top: 1.75rem;--ig-h5-margin-bottom: 0;--ig-h6-font-size: 1.25rem;--ig-h6-font-weight: 600;--ig-h6-font-style: normal;--ig-h6-line-height: 1.5rem;--ig-h6-letter-spacing: .009375rem;--ig-h6-text-transform: none;--ig-h6-margin-top: 0;--ig-h6-margin-bottom: 0;--ig-subtitle-1-font-size: 1rem;--ig-subtitle-1-font-weight: 400;--ig-subtitle-1-font-style: normal;--ig-subtitle-1-line-height: 1.5rem;--ig-subtitle-1-letter-spacing: .009375rem;--ig-subtitle-1-text-transform: none;--ig-subtitle-1-margin-top: 0;--ig-subtitle-1-margin-bottom: 0;--ig-subtitle-2-font-size: .875rem;--ig-subtitle-2-font-weight: 600;--ig-subtitle-2-font-style: normal;--ig-subtitle-2-line-height: 1.5rem;--ig-subtitle-2-letter-spacing: .00625rem;--ig-subtitle-2-text-transform: none;--ig-subtitle-2-margin-top: 0;--ig-subtitle-2-margin-bottom: 0;--ig-body-1-font-size: 1rem;--ig-body-1-font-weight: 400;--ig-body-1-font-style: normal;--ig-body-1-line-height: 1.75rem;--ig-body-1-letter-spacing: .03125rem;--ig-body-1-text-transform: none;--ig-body-1-margin-top: 1.75rem;--ig-body-1-margin-bottom: 1rem;--ig-body-2-font-size: .875rem;--ig-body-2-font-weight: 400;--ig-body-2-font-style: normal;--ig-body-2-line-height: 1.25rem;--ig-body-2-letter-spacing: .015625rem;--ig-body-2-text-transform: none;--ig-body-2-margin-top: 0;--ig-body-2-margin-bottom: 0;--ig-button-font-size: .875rem;--ig-button-font-weight: 600;--ig-button-font-style: normal;--ig-button-line-height: 1rem;--ig-button-letter-spacing: .046875rem;--ig-button-text-transform: uppercase;--ig-button-margin-top: 0;--ig-button-margin-bottom: 0;--ig-caption-font-size: .75rem;--ig-caption-font-weight: 400;--ig-caption-font-style: normal;--ig-caption-line-height: 1rem;--ig-caption-letter-spacing: .025rem;--ig-caption-text-transform: none;--ig-caption-margin-top: 0;--ig-caption-margin-bottom: 0;--ig-overline-font-size: .625rem;--ig-overline-font-weight: 400;--ig-overline-font-style: normal;--ig-overline-line-height: 1rem;--ig-overline-letter-spacing: .09375rem;--ig-overline-text-transform: uppercase;--ig-overline-margin-top: 0;--ig-overline-margin-bottom: 0}.ig-typography h1{font-family:var(--ig-h1-font-family, var(--ig-font-family));font-size:var(--ig-h1-font-size);font-weight:var(--ig-h1-font-weight);font-style:var(--ig-h1-font-style);line-height:var(--ig-h1-line-height);letter-spacing:var(--ig-h1-letter-spacing);text-transform:var(--ig-h1-text-transform);margin-top:var(--ig-h1-margin-top);margin-bottom:var(--ig-h1-margin-bottom)}.ig-typography h2{font-family:var(--ig-h2-font-family, var(--ig-font-family));font-size:var(--ig-h2-font-size);font-weight:var(--ig-h2-font-weight);font-style:var(--ig-h2-font-style);line-height:var(--ig-h2-line-height);letter-spacing:var(--ig-h2-letter-spacing);text-transform:var(--ig-h2-text-transform);margin-top:var(--ig-h2-margin-top);margin-bottom:var(--ig-h2-margin-bottom)}.ig-typography h3{font-family:var(--ig-h3-font-family, var(--ig-font-family));font-size:var(--ig-h3-font-size);font-weight:var(--ig-h3-font-weight);font-style:var(--ig-h3-font-style);line-height:var(--ig-h3-line-height);letter-spacing:var(--ig-h3-letter-spacing);text-transform:var(--ig-h3-text-transform);margin-top:var(--ig-h3-margin-top);margin-bottom:var(--ig-h3-margin-bottom)}.ig-typography h4{font-family:var(--ig-h4-font-family, var(--ig-font-family));font-size:var(--ig-h4-font-size);font-weight:var(--ig-h4-font-weight);font-style:var(--ig-h4-font-style);line-height:var(--ig-h4-line-height);letter-spacing:var(--ig-h4-letter-spacing);text-transform:var(--ig-h4-text-transform);margin-top:var(--ig-h4-margin-top);margin-bottom:var(--ig-h4-margin-bottom)}.ig-typography h5{font-family:var(--ig-h5-font-family, var(--ig-font-family));font-size:var(--ig-h5-font-size);font-weight:var(--ig-h5-font-weight);font-style:var(--ig-h5-font-style);line-height:var(--ig-h5-line-height);letter-spacing:var(--ig-h5-letter-spacing);text-transform:var(--ig-h5-text-transform);margin-top:var(--ig-h5-margin-top);margin-bottom:var(--ig-h5-margin-bottom)}.ig-typography h6{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography p{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom)}.ig-typography .ig-typography__h1{font-family:var(--ig-h1-font-family, var(--ig-font-family));font-size:var(--ig-h1-font-size);font-weight:var(--ig-h1-font-weight);font-style:var(--ig-h1-font-style);line-height:var(--ig-h1-line-height);letter-spacing:var(--ig-h1-letter-spacing);text-transform:var(--ig-h1-text-transform);margin-top:var(--ig-h1-margin-top);margin-bottom:var(--ig-h1-margin-bottom)}.ig-typography .ig-typography__h2{font-family:var(--ig-h2-font-family, var(--ig-font-family));font-size:var(--ig-h2-font-size);font-weight:var(--ig-h2-font-weight);font-style:var(--ig-h2-font-style);line-height:var(--ig-h2-line-height);letter-spacing:var(--ig-h2-letter-spacing);text-transform:var(--ig-h2-text-transform);margin-top:var(--ig-h2-margin-top);margin-bottom:var(--ig-h2-margin-bottom)}.ig-typography .ig-typography__h3{font-family:var(--ig-h3-font-family, var(--ig-font-family));font-size:var(--ig-h3-font-size);font-weight:var(--ig-h3-font-weight);font-style:var(--ig-h3-font-style);line-height:var(--ig-h3-line-height);letter-spacing:var(--ig-h3-letter-spacing);text-transform:var(--ig-h3-text-transform);margin-top:var(--ig-h3-margin-top);margin-bottom:var(--ig-h3-margin-bottom)}.ig-typography .ig-typography__h4{font-family:var(--ig-h4-font-family, var(--ig-font-family));font-size:var(--ig-h4-font-size);font-weight:var(--ig-h4-font-weight);font-style:var(--ig-h4-font-style);line-height:var(--ig-h4-line-height);letter-spacing:var(--ig-h4-letter-spacing);text-transform:var(--ig-h4-text-transform);margin-top:var(--ig-h4-margin-top);margin-bottom:var(--ig-h4-margin-bottom)}.ig-typography .ig-typography__h5{font-family:var(--ig-h5-font-family, var(--ig-font-family));font-size:var(--ig-h5-font-size);font-weight:var(--ig-h5-font-weight);font-style:var(--ig-h5-font-style);line-height:var(--ig-h5-line-height);letter-spacing:var(--ig-h5-letter-spacing);text-transform:var(--ig-h5-text-transform);margin-top:var(--ig-h5-margin-top);margin-bottom:var(--ig-h5-margin-bottom)}.ig-typography .ig-typography__h6{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .ig-typography__subtitle-1{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom)}.ig-typography .ig-typography__subtitle-2{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom)}.ig-typography .ig-typography__body-1{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom)}.ig-typography .ig-typography__body-2{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .ig-typography__button{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom)}.ig-typography .ig-typography__caption{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom)}.ig-typography .ig-typography__overline{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom)}:root{--ig-size-small: 1;--ig-size-medium: 2;--ig-size-large: 3;--ig-spacing-small: 1;--ig-spacing-medium: 1;--ig-spacing-large: 1;--ig-spacing-inline-small: 1;--ig-spacing-inline-medium: 1;--ig-spacing-inline-large: 1;--ig-spacing-block-small: 1;--ig-spacing-block-medium: 1;--ig-spacing-block-large: 1}:root{--ig-primary-50: hsl(204, 100%, 89%);--ig-primary-50-contrast: black;--ig-primary-50: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.23), calc(var(--ig-primary-l) * 1.78);--ig-primary-100: hsl(204, 80%, 83%);--ig-primary-100-contrast: black;--ig-primary-100: var(--ig-primary-h), calc(var(--ig-primary-s) * .8), calc(var(--ig-primary-l) * 1.66);--ig-primary-200: hsl(204, 64%, 71.5%);--ig-primary-200-contrast: black;--ig-primary-200: var(--ig-primary-h), calc(var(--ig-primary-s) * .64), calc(var(--ig-primary-l) * 1.43);--ig-primary-300: hsl(204, 73%, 59.5%);--ig-primary-300-contrast: black;--ig-primary-300: var(--ig-primary-h), calc(var(--ig-primary-s) * .73), calc(var(--ig-primary-l) * 1.19);--ig-primary-400: hsl(204, 87.5%, 54%);--ig-primary-400-contrast: black;--ig-primary-400: var(--ig-primary-h), calc(var(--ig-primary-s) * .875), calc(var(--ig-primary-l) * 1.08);--ig-primary-h: 204deg;--ig-primary-s: 100%;--ig-primary-l: 50%;--ig-primary-a: 1;--ig-primary-500: hsl(204, 100%, 50%);--ig-primary-500-contrast: black;--ig-primary-500: var(--ig-primary-h), calc(var(--ig-primary-s) * 1), calc(var(--ig-primary-l) * 1);--ig-primary-600: hsl(204, 100%, 44.5%);--ig-primary-600-contrast: black;--ig-primary-600: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.26), calc(var(--ig-primary-l) * .89);--ig-primary-700: hsl(204, 100%, 40.5%);--ig-primary-700-contrast: black;--ig-primary-700: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.52), calc(var(--ig-primary-l) * .81);--ig-primary-800: hsl(204, 100%, 36.5%);--ig-primary-800-contrast: white;--ig-primary-800: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.5), calc(var(--ig-primary-l) * .73);--ig-primary-900: hsl(204, 100%, 32%);--ig-primary-900-contrast: white;--ig-primary-900: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.34), calc(var(--ig-primary-l) * .64);--ig-primary-A100: hsl(204, 100%, 67%);--ig-primary-A100-contrast: black;--ig-primary-A100: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.23), calc(var(--ig-primary-l) * 1.34);--ig-primary-A200: hsl(204, 100%, 58%);--ig-primary-A200-contrast: black;--ig-primary-A200: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.22), calc(var(--ig-primary-l) * 1.16);--ig-primary-A400: hsl(204, 100%, 45.5%);--ig-primary-A400-contrast: black;--ig-primary-A400: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.23), calc(var(--ig-primary-l) * .91);--ig-primary-A700: hsl(204, 100%, 32.5%);--ig-primary-A700-contrast: white;--ig-primary-A700: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.23), calc(var(--ig-primary-l) * .65);--ig-secondary-50: hsl(332.7, 96.85%, 89.35%);--ig-secondary-50-contrast: black;--ig-secondary-50: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.23), calc(var(--ig-secondary-l) * 1.78);--ig-secondary-100: hsl(332.7, 62.99%, 83.33%);--ig-secondary-100-contrast: black;--ig-secondary-100: var(--ig-secondary-h), calc(var(--ig-secondary-s) * .8), calc(var(--ig-secondary-l) * 1.66);--ig-secondary-200: hsl(332.7, 50.39%, 71.78%);--ig-secondary-200-contrast: black;--ig-secondary-200: var(--ig-secondary-h), calc(var(--ig-secondary-s) * .64), calc(var(--ig-secondary-l) * 1.43);--ig-secondary-300: hsl(332.7, 57.48%, 59.73%);--ig-secondary-300-contrast: black;--ig-secondary-300: var(--ig-secondary-h), calc(var(--ig-secondary-s) * .73), calc(var(--ig-secondary-l) * 1.19);--ig-secondary-400: hsl(332.7, 68.9%, 54.21%);--ig-secondary-400-contrast: black;--ig-secondary-400: var(--ig-secondary-h), calc(var(--ig-secondary-s) * .875), calc(var(--ig-secondary-l) * 1.08);--ig-secondary-h: 333deg;--ig-secondary-s: 79%;--ig-secondary-l: 50%;--ig-secondary-a: 1;--ig-secondary-500: hsl(332.7, 78.74%, 50.2%);--ig-secondary-500-contrast: black;--ig-secondary-500: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1), calc(var(--ig-secondary-l) * 1);--ig-secondary-600: hsl(332.7, 99.21%, 44.67%);--ig-secondary-600-contrast: white;--ig-secondary-600: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.26), calc(var(--ig-secondary-l) * .89);--ig-secondary-700: hsl(332.7, 100%, 40.66%);--ig-secondary-700-contrast: white;--ig-secondary-700: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.52), calc(var(--ig-secondary-l) * .81);--ig-secondary-800: hsl(332.7, 100%, 36.64%);--ig-secondary-800-contrast: white;--ig-secondary-800: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.5), calc(var(--ig-secondary-l) * .73);--ig-secondary-900: hsl(332.7, 100%, 32.13%);--ig-secondary-900-contrast: white;--ig-secondary-900: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.34), calc(var(--ig-secondary-l) * .64);--ig-secondary-A100: hsl(332.7, 96.85%, 67.26%);--ig-secondary-A100-contrast: black;--ig-secondary-A100: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.23), calc(var(--ig-secondary-l) * 1.34);--ig-secondary-A200: hsl(332.7, 96.06%, 58.23%);--ig-secondary-A200-contrast: black;--ig-secondary-A200: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.22), calc(var(--ig-secondary-l) * 1.16);--ig-secondary-A400: hsl(332.7, 96.85%, 45.68%);--ig-secondary-A400-contrast: white;--ig-secondary-A400: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.23), calc(var(--ig-secondary-l) * .91);--ig-secondary-A700: hsl(332.7, 96.85%, 32.63%);--ig-secondary-A700-contrast: white;--ig-secondary-A700: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.23), calc(var(--ig-secondary-l) * .65);--ig-gray-50: hsl(0, 0%, 98%);--ig-gray-50-contrast: black;--ig-gray-50: var(--ig-gray-h), var(--ig-gray-s), 98%;--ig-gray-100: hsl(0, 0%, 96%);--ig-gray-100-contrast: black;--ig-gray-100: var(--ig-gray-h), var(--ig-gray-s), 96%;--ig-gray-200: hsl(0, 0%, 93%);--ig-gray-200-contrast: black;--ig-gray-200: var(--ig-gray-h), var(--ig-gray-s), 93%;--ig-gray-300: hsl(0, 0%, 88%);--ig-gray-300-contrast: black;--ig-gray-300: var(--ig-gray-h), var(--ig-gray-s), 88%;--ig-gray-400: hsl(0, 0%, 74%);--ig-gray-400-contrast: black;--ig-gray-400: var(--ig-gray-h), var(--ig-gray-s), 74%;--ig-gray-h: 0deg;--ig-gray-s: 0%;--ig-gray-l: 62%;--ig-gray-a: 1;--ig-gray-500: hsl(0, 0%, 62%);--ig-gray-500-contrast: black;--ig-gray-500: var(--ig-gray-h), var(--ig-gray-s), 62%;--ig-gray-600: hsl(0, 0%, 54%);--ig-gray-600-contrast: black;--ig-gray-600: var(--ig-gray-h), var(--ig-gray-s), 54%;--ig-gray-700: hsl(0, 0%, 38%);--ig-gray-700-contrast: white;--ig-gray-700: var(--ig-gray-h), var(--ig-gray-s), 38%;--ig-gray-800: hsl(0, 0%, 26%);--ig-gray-800-contrast: white;--ig-gray-800: var(--ig-gray-h), var(--ig-gray-s), 26%;--ig-gray-900: hsl(0, 0%, 13%);--ig-gray-900-contrast: white;--ig-gray-900: var(--ig-gray-h), var(--ig-gray-s), 13%;--ig-surface-50: hsl(0, 0%, 100%);--ig-surface-50-contrast: black;--ig-surface-50: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.23), calc(var(--ig-surface-l) * 1.78);--ig-surface-100: hsl(0, 0%, 100%);--ig-surface-100-contrast: black;--ig-surface-100: var(--ig-surface-h), calc(var(--ig-surface-s) * .8), calc(var(--ig-surface-l) * 1.66);--ig-surface-200: hsl(0, 0%, 100%);--ig-surface-200-contrast: black;--ig-surface-200: var(--ig-surface-h), calc(var(--ig-surface-s) * .64), calc(var(--ig-surface-l) * 1.43);--ig-surface-300: hsl(0, 0%, 100%);--ig-surface-300-contrast: black;--ig-surface-300: var(--ig-surface-h), calc(var(--ig-surface-s) * .73), calc(var(--ig-surface-l) * 1.19);--ig-surface-400: hsl(0, 0%, 100%);--ig-surface-400-contrast: black;--ig-surface-400: var(--ig-surface-h), calc(var(--ig-surface-s) * .875), calc(var(--ig-surface-l) * 1.08);--ig-surface-h: 0deg;--ig-surface-s: 0%;--ig-surface-l: 100%;--ig-surface-a: 1;--ig-surface-500: hsl(0, 0%, 100%);--ig-surface-500-contrast: black;--ig-surface-500: var(--ig-surface-h), calc(var(--ig-surface-s) * 1), calc(var(--ig-surface-l) * 1);--ig-surface-600: hsl(0, 0%, 89%);--ig-surface-600-contrast: black;--ig-surface-600: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.26), calc(var(--ig-surface-l) * .89);--ig-surface-700: hsl(0, 0%, 81%);--ig-surface-700-contrast: black;--ig-surface-700: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.52), calc(var(--ig-surface-l) * .81);--ig-surface-800: hsl(0, 0%, 73%);--ig-surface-800-contrast: black;--ig-surface-800: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.5), calc(var(--ig-surface-l) * .73);--ig-surface-900: hsl(0, 0%, 64%);--ig-surface-900-contrast: black;--ig-surface-900: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.34), calc(var(--ig-surface-l) * .64);--ig-surface-A100: hsl(0, 0%, 100%);--ig-surface-A100-contrast: black;--ig-surface-A100: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.23), calc(var(--ig-surface-l) * 1.34);--ig-surface-A200: hsl(0, 0%, 100%);--ig-surface-A200-contrast: black;--ig-surface-A200: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.22), calc(var(--ig-surface-l) * 1.16);--ig-surface-A400: hsl(0, 0%, 91%);--ig-surface-A400-contrast: black;--ig-surface-A400: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.23), calc(var(--ig-surface-l) * .91);--ig-surface-A700: hsl(0, 0%, 65%);--ig-surface-A700-contrast: black;--ig-surface-A700: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.23), calc(var(--ig-surface-l) * .65);--ig-info-50: hsl(209.07, 100%, 80.97%);--ig-info-50-contrast: black;--ig-info-50: var(--ig-info-h), calc(var(--ig-info-s) * 1.23), calc(var(--ig-info-l) * 1.78);--ig-info-100: hsl(209.07, 66.9%, 75.51%);--ig-info-100-contrast: black;--ig-info-100: var(--ig-info-h), calc(var(--ig-info-s) * .8), calc(var(--ig-info-l) * 1.66);--ig-info-200: hsl(209.07, 53.52%, 65.05%);--ig-info-200-contrast: black;--ig-info-200: var(--ig-info-h), calc(var(--ig-info-s) * .64), calc(var(--ig-info-l) * 1.43);--ig-info-300: hsl(209.07, 61.04%, 54.13%);--ig-info-300-contrast: black;--ig-info-300: var(--ig-info-h), calc(var(--ig-info-s) * .73), calc(var(--ig-info-l) * 1.19);--ig-info-400: hsl(209.07, 73.17%, 49.13%);--ig-info-400-contrast: black;--ig-info-400: var(--ig-info-h), calc(var(--ig-info-s) * .875), calc(var(--ig-info-l) * 1.08);--ig-info-h: 209deg;--ig-info-s: 84%;--ig-info-l: 45%;--ig-info-a: 1;--ig-info-500: hsl(209.07, 83.62%, 45.49%);--ig-info-500-contrast: black;--ig-info-500: var(--ig-info-h), calc(var(--ig-info-s) * 1), calc(var(--ig-info-l) * 1);--ig-info-600: hsl(209.07, 100%, 40.49%);--ig-info-600-contrast: white;--ig-info-600: var(--ig-info-h), calc(var(--ig-info-s) * 1.26), calc(var(--ig-info-l) * .89);--ig-info-700: hsl(209.07, 100%, 36.85%);--ig-info-700-contrast: white;--ig-info-700: var(--ig-info-h), calc(var(--ig-info-s) * 1.52), calc(var(--ig-info-l) * .81);--ig-info-800: hsl(209.07, 100%, 33.21%);--ig-info-800-contrast: white;--ig-info-800: var(--ig-info-h), calc(var(--ig-info-s) * 1.5), calc(var(--ig-info-l) * .73);--ig-info-900: hsl(209.07, 100%, 29.11%);--ig-info-900-contrast: white;--ig-info-900: var(--ig-info-h), calc(var(--ig-info-s) * 1.34), calc(var(--ig-info-l) * .64);--ig-info-A100: hsl(209.07, 100%, 60.96%);--ig-info-A100-contrast: black;--ig-info-A100: var(--ig-info-h), calc(var(--ig-info-s) * 1.23), calc(var(--ig-info-l) * 1.34);--ig-info-A200: hsl(209.07, 100%, 52.77%);--ig-info-A200-contrast: black;--ig-info-A200: var(--ig-info-h), calc(var(--ig-info-s) * 1.22), calc(var(--ig-info-l) * 1.16);--ig-info-A400: hsl(209.07, 100%, 41.4%);--ig-info-A400-contrast: white;--ig-info-A400: var(--ig-info-h), calc(var(--ig-info-s) * 1.23), calc(var(--ig-info-l) * .91);--ig-info-A700: hsl(209.07, 100%, 29.57%);--ig-info-A700-contrast: white;--ig-info-A700: var(--ig-info-h), calc(var(--ig-info-s) * 1.23), calc(var(--ig-info-l) * .65);--ig-success-50: hsl(131.32, 52.57%, 91.44%);--ig-success-50-contrast: black;--ig-success-50: var(--ig-success-h), calc(var(--ig-success-s) * 1.23), calc(var(--ig-success-l) * 1.78);--ig-success-100: hsl(131.32, 34.19%, 85.28%);--ig-success-100-contrast: black;--ig-success-100: var(--ig-success-h), calc(var(--ig-success-s) * .8), calc(var(--ig-success-l) * 1.66);--ig-success-200: hsl(131.32, 27.35%, 73.46%);--ig-success-200-contrast: black;--ig-success-200: var(--ig-success-h), calc(var(--ig-success-s) * .64), calc(var(--ig-success-l) * 1.43);--ig-success-300: hsl(131.32, 31.2%, 61.13%);--ig-success-300-contrast: black;--ig-success-300: var(--ig-success-h), calc(var(--ig-success-s) * .73), calc(var(--ig-success-l) * 1.19);--ig-success-400: hsl(131.32, 37.4%, 55.48%);--ig-success-400-contrast: black;--ig-success-400: var(--ig-success-h), calc(var(--ig-success-s) * .875), calc(var(--ig-success-l) * 1.08);--ig-success-h: 131deg;--ig-success-s: 43%;--ig-success-l: 51%;--ig-success-a: 1;--ig-success-500: hsl(131.32, 42.74%, 51.37%);--ig-success-500-contrast: black;--ig-success-500: var(--ig-success-h), calc(var(--ig-success-s) * 1), calc(var(--ig-success-l) * 1);--ig-success-600: hsl(131.32, 53.85%, 45.72%);--ig-success-600-contrast: black;--ig-success-600: var(--ig-success-h), calc(var(--ig-success-s) * 1.26), calc(var(--ig-success-l) * .89);--ig-success-700: hsl(131.32, 64.97%, 41.61%);--ig-success-700-contrast: black;--ig-success-700: var(--ig-success-h), calc(var(--ig-success-s) * 1.52), calc(var(--ig-success-l) * .81);--ig-success-800: hsl(131.32, 64.11%, 37.5%);--ig-success-800-contrast: black;--ig-success-800: var(--ig-success-h), calc(var(--ig-success-s) * 1.5), calc(var(--ig-success-l) * .73);--ig-success-900: hsl(131.32, 57.27%, 32.88%);--ig-success-900-contrast: white;--ig-success-900: var(--ig-success-h), calc(var(--ig-success-s) * 1.34), calc(var(--ig-success-l) * .64);--ig-success-A100: hsl(131.32, 52.57%, 68.84%);--ig-success-A100-contrast: black;--ig-success-A100: var(--ig-success-h), calc(var(--ig-success-s) * 1.23), calc(var(--ig-success-l) * 1.34);--ig-success-A200: hsl(131.32, 52.15%, 59.59%);--ig-success-A200-contrast: black;--ig-success-A200: var(--ig-success-h), calc(var(--ig-success-s) * 1.22), calc(var(--ig-success-l) * 1.16);--ig-success-A400: hsl(131.32, 52.57%, 46.75%);--ig-success-A400-contrast: black;--ig-success-A400: var(--ig-success-h), calc(var(--ig-success-s) * 1.23), calc(var(--ig-success-l) * .91);--ig-success-A700: hsl(131.32, 52.57%, 33.39%);--ig-success-A700-contrast: white;--ig-success-A700: var(--ig-success-h), calc(var(--ig-success-s) * 1.23), calc(var(--ig-success-l) * .65);--ig-warn-50: hsl(37.07, 100%, 95.98%);--ig-warn-50-contrast: black;--ig-warn-50: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.23), calc(var(--ig-warn-l) * 1.78);--ig-warn-100: hsl(37.07, 76.6%, 89.51%);--ig-warn-100-contrast: black;--ig-warn-100: var(--ig-warn-h), calc(var(--ig-warn-s) * .8), calc(var(--ig-warn-l) * 1.66);--ig-warn-200: hsl(37.07, 61.28%, 77.11%);--ig-warn-200-contrast: black;--ig-warn-200: var(--ig-warn-h), calc(var(--ig-warn-s) * .64), calc(var(--ig-warn-l) * 1.43);--ig-warn-300: hsl(37.07, 69.89%, 64.17%);--ig-warn-300-contrast: black;--ig-warn-300: var(--ig-warn-h), calc(var(--ig-warn-s) * .73), calc(var(--ig-warn-l) * 1.19);--ig-warn-400: hsl(37.07, 83.78%, 58.24%);--ig-warn-400-contrast: black;--ig-warn-400: var(--ig-warn-h), calc(var(--ig-warn-s) * .875), calc(var(--ig-warn-l) * 1.08);--ig-warn-h: 37deg;--ig-warn-s: 96%;--ig-warn-l: 54%;--ig-warn-a: 1;--ig-warn-500: hsl(37.07, 95.74%, 53.92%);--ig-warn-500-contrast: black;--ig-warn-500: var(--ig-warn-h), calc(var(--ig-warn-s) * 1), calc(var(--ig-warn-l) * 1);--ig-warn-600: hsl(37.07, 100%, 47.99%);--ig-warn-600-contrast: black;--ig-warn-600: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.26), calc(var(--ig-warn-l) * .89);--ig-warn-700: hsl(37.07, 100%, 43.68%);--ig-warn-700-contrast: black;--ig-warn-700: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.52), calc(var(--ig-warn-l) * .81);--ig-warn-800: hsl(37.07, 100%, 39.36%);--ig-warn-800-contrast: black;--ig-warn-800: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.5), calc(var(--ig-warn-l) * .73);--ig-warn-900: hsl(37.07, 100%, 34.51%);--ig-warn-900-contrast: black;--ig-warn-900: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.34), calc(var(--ig-warn-l) * .64);--ig-warn-A100: hsl(37.07, 100%, 72.25%);--ig-warn-A100-contrast: black;--ig-warn-A100: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.23), calc(var(--ig-warn-l) * 1.34);--ig-warn-A200: hsl(37.07, 100%, 62.55%);--ig-warn-A200-contrast: black;--ig-warn-A200: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.22), calc(var(--ig-warn-l) * 1.16);--ig-warn-A400: hsl(37.07, 100%, 49.07%);--ig-warn-A400-contrast: black;--ig-warn-A400: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.23), calc(var(--ig-warn-l) * .91);--ig-warn-A700: hsl(37.07, 100%, 35.05%);--ig-warn-A700-contrast: black;--ig-warn-A700: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.23), calc(var(--ig-warn-l) * .65);--ig-error-50: hsl(346.02, 100%, 95.63%);--ig-error-50-contrast: black;--ig-error-50: var(--ig-error-h), calc(var(--ig-error-s) * 1.23), calc(var(--ig-error-l) * 1.78);--ig-error-100: hsl(346.02, 80%, 89.18%);--ig-error-100-contrast: black;--ig-error-100: var(--ig-error-h), calc(var(--ig-error-s) * .8), calc(var(--ig-error-l) * 1.66);--ig-error-200: hsl(346.02, 64%, 76.83%);--ig-error-200-contrast: black;--ig-error-200: var(--ig-error-h), calc(var(--ig-error-s) * .64), calc(var(--ig-error-l) * 1.43);--ig-error-300: hsl(346.02, 73%, 63.93%);--ig-error-300-contrast: black;--ig-error-300: var(--ig-error-h), calc(var(--ig-error-s) * .73), calc(var(--ig-error-l) * 1.19);--ig-error-400: hsl(346.02, 87.5%, 58.02%);--ig-error-400-contrast: black;--ig-error-400: var(--ig-error-h), calc(var(--ig-error-s) * .875), calc(var(--ig-error-l) * 1.08);--ig-error-h: 346deg;--ig-error-s: 100%;--ig-error-l: 54%;--ig-error-a: 1;--ig-error-500: hsl(346.02, 100%, 53.73%);--ig-error-500-contrast: black;--ig-error-500: var(--ig-error-h), calc(var(--ig-error-s) * 1), calc(var(--ig-error-l) * 1);--ig-error-600: hsl(346.02, 100%, 47.82%);--ig-error-600-contrast: black;--ig-error-600: var(--ig-error-h), calc(var(--ig-error-s) * 1.26), calc(var(--ig-error-l) * .89);--ig-error-700: hsl(346.02, 100%, 43.52%);--ig-error-700-contrast: white;--ig-error-700: var(--ig-error-h), calc(var(--ig-error-s) * 1.52), calc(var(--ig-error-l) * .81);--ig-error-800: hsl(346.02, 100%, 39.22%);--ig-error-800-contrast: white;--ig-error-800: var(--ig-error-h), calc(var(--ig-error-s) * 1.5), calc(var(--ig-error-l) * .73);--ig-error-900: hsl(346.02, 100%, 34.38%);--ig-error-900-contrast: white;--ig-error-900: var(--ig-error-h), calc(var(--ig-error-s) * 1.34), calc(var(--ig-error-l) * .64);--ig-error-A100: hsl(346.02, 100%, 71.99%);--ig-error-A100-contrast: black;--ig-error-A100: var(--ig-error-h), calc(var(--ig-error-s) * 1.23), calc(var(--ig-error-l) * 1.34);--ig-error-A200: hsl(346.02, 100%, 62.32%);--ig-error-A200-contrast: black;--ig-error-A200: var(--ig-error-h), calc(var(--ig-error-s) * 1.22), calc(var(--ig-error-l) * 1.16);--ig-error-A400: hsl(346.02, 100%, 48.89%);--ig-error-A400-contrast: black;--ig-error-A400: var(--ig-error-h), calc(var(--ig-error-s) * 1.23), calc(var(--ig-error-l) * .91);--ig-error-A700: hsl(346.02, 100%, 34.92%);--ig-error-A700-contrast: white;--ig-error-A700: var(--ig-error-h), calc(var(--ig-error-s) * 1.23), calc(var(--ig-error-l) * .65)}:root{--ig-elevation-0: none;--ig-elevation-1: 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 3px) 0 rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 1px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 2px) calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * -1px) rgba(0, 0, 0, .08);--ig-elevation-2: 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 5px) 0 rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 2px) calc(var(--ig-elevation-factor, 1) * 2px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * -2px) rgba(0, 0, 0, .08);--ig-elevation-3: 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 8px) 0 rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 4px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * -2px) rgba(0, 0, 0, .08);--ig-elevation-4: 0 calc(var(--ig-elevation-factor, 1) * 2px) calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * -1px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * 5px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 10px) 0 rgba(0, 0, 0, .08);--ig-elevation-5: 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * -1px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 8px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 14px) 0 rgba(0, 0, 0, .08);--ig-elevation-6: 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * -1px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 10px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 18px) 0 rgba(0, 0, 0, .08);--ig-elevation-7: 0 calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * -2px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 2px) calc(var(--ig-elevation-factor, 1) * 16px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .08);--ig-elevation-8: 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * -3px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .08);--ig-elevation-9: 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * -3px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 12px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 16px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .08);--ig-elevation-10: 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * -3px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * 18px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .08);--ig-elevation-11: 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * -4px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * 15px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * 20px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .08);--ig-elevation-12: 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * -4px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 12px) calc(var(--ig-elevation-factor, 1) * 17px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 22px) calc(var(--ig-elevation-factor, 1) * 4px) rgba(0, 0, 0, .08);--ig-elevation-13: 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * -4px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 13px) calc(var(--ig-elevation-factor, 1) * 19px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 24px) calc(var(--ig-elevation-factor, 1) * 4px) rgba(0, 0, 0, .08);--ig-elevation-14: 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * -4px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * 21px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 26px) calc(var(--ig-elevation-factor, 1) * 4px) rgba(0, 0, 0, .08);--ig-elevation-15: 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * -5px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 15px) calc(var(--ig-elevation-factor, 1) * 22px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 28px) calc(var(--ig-elevation-factor, 1) * 5px) rgba(0, 0, 0, .08);--ig-elevation-16: 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * -5px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 16px) calc(var(--ig-elevation-factor, 1) * 24px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 30px) calc(var(--ig-elevation-factor, 1) * 5px) rgba(0, 0, 0, .08);--ig-elevation-17: 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * -5px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 17px) calc(var(--ig-elevation-factor, 1) * 26px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 32px) calc(var(--ig-elevation-factor, 1) * 5px) rgba(0, 0, 0, .08);--ig-elevation-18: 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * -5px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 18px) calc(var(--ig-elevation-factor, 1) * 28px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 34px) calc(var(--ig-elevation-factor, 1) * 6px) rgba(0, 0, 0, .08);--ig-elevation-19: 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 12px) calc(var(--ig-elevation-factor, 1) * -6px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 19px) calc(var(--ig-elevation-factor, 1) * 29px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 36px) calc(var(--ig-elevation-factor, 1) * 6px) rgba(0, 0, 0, .08);--ig-elevation-20: 0 calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 13px) calc(var(--ig-elevation-factor, 1) * -6px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 20px) calc(var(--ig-elevation-factor, 1) * 31px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 38px) calc(var(--ig-elevation-factor, 1) * 7px) rgba(0, 0, 0, .08);--ig-elevation-21: 0 calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 13px) calc(var(--ig-elevation-factor, 1) * -6px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 21px) calc(var(--ig-elevation-factor, 1) * 33px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 40px) calc(var(--ig-elevation-factor, 1) * 7px) rgba(0, 0, 0, .08);--ig-elevation-22: 0 calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * -6px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 22px) calc(var(--ig-elevation-factor, 1) * 35px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 42px) calc(var(--ig-elevation-factor, 1) * 7px) rgba(0, 0, 0, .08);--ig-elevation-23: 0 calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * -7px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 23px) calc(var(--ig-elevation-factor, 1) * 36px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 44px) calc(var(--ig-elevation-factor, 1) * 8px) rgba(0, 0, 0, .08);--ig-elevation-24: 0 calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * 15px) calc(var(--ig-elevation-factor, 1) * -7px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 24px) calc(var(--ig-elevation-factor, 1) * 38px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 46px) calc(var(--ig-elevation-factor, 1) * 8px) rgba(0, 0, 0, .08)}[igxRipple]{--color: var(--igx-ripple-color, hsla(var(--ig-gray-800), .7))}.igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-ripple{overflow:hidden}igx-avatar{--background: var(--igx-avatar-background, hsla(var(--ig-gray-400), .54));--color: var(--igx-avatar-color, hsla(var(--ig-gray-800), .96));--border-radius: var(--igx-avatar-border-radius, .5rem);--size: var(--igx-avatar-size, max(var(--is-large, 1) * max(5.5rem, -1 * 5.5rem), var(--is-medium, 1) * max(4rem, -1 * 4rem), var(--is-small, 1) * max(2.5rem, -1 * 2.5rem)));--default-size: var(--igx-avatar-default-size, 1)}.igx-avatar{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-small));position:relative;display:inline-flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;color:var(--color);background:var(--background);vertical-align:middle;outline-style:none;flex-shrink:0;width:var(--size);height:var(--size)}.igx-avatar igx-icon{--component-size: 3}.igx-avatar:after{box-shadow:none;transition:box-shadow .15s cubic-bezier(.455,.03,.515,.955)}.igx-avatar__image{width:100%;height:100%;border-radius:inherit;background-size:cover;background-repeat:no-repeat;background-position:center}.igx-avatar--circle{border-radius:calc(var(--size)/2)}.igx-avatar--rounded{border-radius:var(--border-radius)}.igx-avatar--initials{text-transform:uppercase;font-size:calc(var(--size)/2);line-height:calc(var(--size)/2)}igx-action-strip{--actions-background: var(--igx-action-strip-actions-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--background: var(--igx-action-strip-background, hsla(var(--ig-gray-100), .38));--icon-color: var(--igx-action-strip-icon-color, "currentColor");--delete-action: var(--igx-action-strip-delete-action, hsla(var(--ig-error-500), var(--ig-error-a)));--actions-border-radius: var(--igx-action-strip-actions-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.5rem), 1.5rem))}.igx-action-strip{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--action-strip-size: var(--component-size);display:flex;align-items:center;justify-content:flex-end;position:absolute;width:100%;height:100%;pointer-events:none;top:0;inset-inline-start:0;background:var(--background);color:inherit;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;z-index:9999}.igx-action-strip [igxButton=icon]{--component-size: var(--action-strip-size) !important;width:max(var(--is-large, 1)*max(2.25rem,-1 * 2.25rem),var(--is-medium, 1)*max(1.75rem,-1 * 1.75rem),var(--is-small, 1)*max(1.75rem,-1 * 1.75rem));height:max(var(--is-large, 1)*max(2.25rem,-1 * 2.25rem),var(--is-medium, 1)*max(1.75rem,-1 * 1.75rem),var(--is-small, 1)*max(1.75rem,-1 * 1.75rem))}.igx-action-strip [igxButton=icon] igx-icon{--component-size: var(--action-strip-size);width:var(--ig-icon-size, max(var(--is-large, 1) * max(1.125rem, -1 * 1.125rem), var(--is-medium, 1) * max(.875rem, -1 * .875rem), var(--is-small, 1) * max(.875rem, -1 * .875rem)));height:var(--ig-icon-size, max(var(--is-large, 1) * max(1.125rem, -1 * 1.125rem), var(--is-medium, 1) * max(.875rem, -1 * .875rem), var(--is-small, 1) * max(.875rem, -1 * .875rem)));font-size:var(--ig-icon-size, max(var(--is-large, 1) * max(1.125rem, -1 * 1.125rem), var(--is-medium, 1) * max(.875rem, -1 * .875rem), var(--is-small, 1) * max(.875rem, -1 * .875rem)))}.igx-action-strip__editing-actions,.igx-action-strip__pinning-actions{display:flex;align-items:center;justify-content:center}.igx-action-strip__menu-item [igxLabel],.igx-action-strip__menu-item--danger [igxLabel]{cursor:pointer}.igx-action-strip__menu-item igx-icon,.igx-action-strip__menu-item--danger igx-icon{--component-size: var(--action-strip-size);width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-action-strip__menu-item.igx-drop-down__item igx-icon+[igxLabel],.igx-action-strip__menu-item--danger.igx-drop-down__item igx-icon+[igxLabel]{margin-inline-start:max(var(--is-large, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.625rem,-1 * .625rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-action-strip__menu-item--danger,.igx-action-strip__menu-item--danger:hover{color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-action-strip__menu-button{display:flex;align-items:center}.igx-action-strip__actions{display:inline-flex;align-items:center;justify-content:center;pointer-events:all;position:relative;color:var(--icon-color);border-radius:var(--actions-border-radius);background:var(--actions-background);max-height:2.25rem}.igx-action-strip__actions:last-child{margin-inline-end:0}.igx-action-strip__actions igx-icon{color:var(--icon-color)}.igx-action-strip__actions [igxButton=icon] igx-icon{color:var(--icon-color)}.igx-action-strip__editing-actions>[igxButton]{margin-inline-start:.25rem}.igx-action-strip__editing-actions>[igxButton]:first-of-type{margin-inline-start:0}.igx-action-strip__delete igx-icon{color:var(--delete-action)}igx-badge{--elevation: var(--igx-badge-elevation, var(--ig-elevation-1));--icon-color: var(--igx-badge-icon-color, var(--ig-primary-500-contrast));--text-color: var(--igx-badge-text-color, var(--ig-primary-500-contrast));--border-color: var(--igx-badge-border-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--background-color: var(--igx-badge-background-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--border-width: var(--igx-badge-border-width, 0);--border-radius: var(--igx-badge-border-radius, 0);--shadow: var(--igx-badge-shadow, var(--ig-elevation-1))}.igx-badge{--size: 1.375rem;--_badge-size: var(--size);display:flex;justify-content:center;align-items:center;min-width:var(--_badge-size);min-height:var(--_badge-size);font-size:calc(var(--_badge-size)/2);font-weight:400;color:var(--text-color);line-height:1;background:var(--background-color);border-radius:calc(var(--size)/2);box-shadow:var(--shadow);border-width:var(--border-width);border-color:var(--border-color);border-style:solid;overflow:hidden}.igx-badge igx-icon{--size: var(--igx-icon-size, calc(var(--_badge-size) / 2));display:inline-flex;justify-content:center;align-items:center;font-weight:400;color:var(--icon-color)}.igx-badge--square{border-radius:var(--border-radius)}.igx-badge__value{white-space:nowrap;padding:.25rem}.igx-badge--success{background:hsla(var(--ig-success-500),var(--ig-success-a))}.igx-badge--info{background:hsla(var(--ig-info-500),var(--ig-info-a))}.igx-badge--warning{background:hsla(var(--ig-warn-500),var(--ig-warn-a))}.igx-badge--error{background:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-badge--hidden{visibility:hidden}igx-bottom-nav{--elevation: var(--igx-bottom-nav-elevation, var(--ig-elevation-8));--background: var(--igx-bottom-nav-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--idle-item-color: var(--igx-bottom-nav-idle-item-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--active-item-color: var(--igx-bottom-nav-active-item-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--shadow: var(--igx-bottom-nav-shadow, var(--ig-elevation-8))}.igx-bottom-nav__panel{display:block}.igx-bottom-nav__panel:focus{outline-style:none}.igx-bottom-nav__panel:empty{display:none}.igx-bottom-nav__menu{display:flex;position:fixed;justify-content:center;align-items:center;inset-inline-start:0;inset-inline-end:0;height:3.5rem;background:var(--background);overflow:hidden;z-index:8}.igx-bottom-nav__menu--top{inset-block-start:0;inset-block-end:inherit;box-shadow:var(--shadow)}.igx-bottom-nav__menu--bottom{inset-block-start:inherit;inset-block-end:0;box-shadow:var(--shadow)}.igx-bottom-nav__menu-item,.igx-bottom-nav__menu-item--selected,.igx-bottom-nav__menu-item--disabled{display:flex;position:relative;flex-flow:column nowrap;flex:1;align-items:center;justify-content:center;min-width:5rem;max-width:10.5rem;height:100%;color:var(--idle-item-color);cursor:pointer;-webkit-user-select:none;user-select:none;overflow:hidden;padding:0 .75rem;-webkit-tap-highlight-color:rgba(0,0,0,0);outline-style:none}.igx-bottom-nav__menu-item igx-icon,.igx-bottom-nav__menu-item--selected igx-icon,.igx-bottom-nav__menu-item--disabled igx-icon{--component-size: 3}.igx-bottom-nav__menu-item--disabled{opacity:.5;cursor:default;pointer-events:none}.igx-bottom-nav__menu-item--selected{color:var(--active-item-color);transition:color .15s cubic-bezier(.455,.03,.515,.955),opacity .25s cubic-bezier(.455,.03,.515,.955)}.igx-bottom-nav__menu-item [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item--selected [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item--disabled [igxBottomNavHeaderLabel]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-block-start:.25rem;max-width:100%;text-align:center;transform:translateZ(0);transition:transform .15s cubic-bezier(.455,.03,.515,.955);z-index:1}.igx-bottom-nav__menu-item [igxBottomNavHeaderIcon],.igx-bottom-nav__menu-item--selected [igxBottomNavHeaderIcon],.igx-bottom-nav__menu-item--disabled [igxBottomNavHeaderIcon]{display:flex;position:relative;justify-content:center;height:1.5rem;padding:0 .5rem;transform:translateZ(0);transition:transform .15s cubic-bezier(.455,.03,.515,.955);z-index:1}.igx-bottom-nav__menu-item--selected [igxBottomNavHeaderIcon]{transform:translateY(-2px)}.igx-bottom-nav__menu-item--selected [igxBottomNavHeaderLabel]{transform:translateY(-2px) scale(1.166667)}[igxButton=flat],.igx-button--flat{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, transparent);--hover-border-color: var(--igx-button-hover-border-color, transparent);--focus-border-color: var(--igx-button-focus-border-color, transparent);--focus-visible-border-color: var(--igx-button-focus-visible-border-color, transparent);--active-border-color: var(--igx-button-active-border-color, transparent);--disabled-border-color: var(--igx-button-disabled-border-color, transparent);--disabled-background: var(--igx-button-disabled-background, transparent);--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(2.25rem, -1 * 2.25rem), var(--is-medium, 1) * max(1.875rem, -1 * 1.875rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--default-size: var(--igx-button-default-size, 1);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-0));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-0));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-0));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-0));--background: var(--igx-button-background, transparent);--foreground: var(--igx-button-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-background: var(--igx-button-hover-background, hsla(var(--ig-secondary-500), .05));--hover-foreground: var(--igx-button-hover-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-secondary-400), .12));--focus-foreground: var(--igx-button-focus-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-secondary-400), .12));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--active-background: var(--igx-button-active-background, hsla(var(--ig-secondary-400), .12));--active-foreground: var(--igx-button-active-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--border-radius: var(--igx-button-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-0));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-0));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-0));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-0))}[igxButton=outlined],.igx-button--outlined{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-border-color: var(--igx-button-hover-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-border-color: var(--igx-button-focus-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-visible-border-color: var(--igx-button-focus-visible-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--active-border-color: var(--igx-button-active-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--disabled-border-color: var(--igx-button-disabled-border-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--disabled-background: var(--igx-button-disabled-background, transparent);--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(2.25rem, -1 * 2.25rem), var(--is-medium, 1) * max(1.875rem, -1 * 1.875rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--default-size: var(--igx-button-default-size, 1);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-0));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-0));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-0));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-0));--background: var(--igx-button-background, transparent);--foreground: var(--igx-button-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-background: var(--igx-button-hover-background, hsla(var(--ig-secondary-500), .05));--hover-foreground: var(--igx-button-hover-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-secondary-400), .12));--focus-foreground: var(--igx-button-focus-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-secondary-400), .12));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--active-background: var(--igx-button-active-background, hsla(var(--ig-secondary-400), .12));--active-foreground: var(--igx-button-active-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--border-radius: var(--igx-button-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-0));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-0));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-0));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-0))}[igxButton=raised],.igx-button--raised{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, transparent);--hover-border-color: var(--igx-button-hover-border-color, transparent);--focus-border-color: var(--igx-button-focus-border-color, transparent);--focus-visible-border-color: var(--igx-button-focus-visible-border-color, transparent);--active-border-color: var(--igx-button-active-border-color, transparent);--disabled-border-color: var(--igx-button-disabled-border-color, transparent);--disabled-background: var(--igx-button-disabled-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(2.25rem, -1 * 2.25rem), var(--is-medium, 1) * max(1.875rem, -1 * 1.875rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--default-size: var(--igx-button-default-size, 1);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-2));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-4));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-8));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-8));--background: var(--igx-button-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--foreground: var(--igx-button-foreground, var(--ig-secondary-500-contrast));--hover-background: var(--igx-button-hover-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--hover-foreground: var(--igx-button-hover-foreground, var(--ig-secondary-300-contrast));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--focus-foreground: var(--igx-button-focus-foreground, var(--ig-secondary-300-contrast));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, var(--ig-secondary-300-contrast));--active-background: var(--igx-button-active-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--active-foreground: var(--igx-button-active-foreground, var(--ig-secondary-300-contrast));--border-radius: var(--igx-button-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-2));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-4));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-8));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-8))}[igxButton=fab],.igx-button--fab{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, transparent);--hover-border-color: var(--igx-button-hover-border-color, transparent);--focus-border-color: var(--igx-button-focus-border-color, transparent);--focus-visible-border-color: var(--igx-button-focus-visible-border-color, transparent);--active-border-color: var(--igx-button-active-border-color, transparent);--disabled-border-color: var(--igx-button-disabled-border-color, transparent);--disabled-background: var(--igx-button-disabled-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(3rem, -1 * 3rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)));--default-size: var(--igx-button-default-size, 1);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-6));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-12));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-12));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-12));--background: var(--igx-button-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--foreground: var(--igx-button-foreground, var(--ig-secondary-500-contrast));--hover-background: var(--igx-button-hover-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--hover-foreground: var(--igx-button-hover-foreground, var(--ig-secondary-300-contrast));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--focus-foreground: var(--igx-button-focus-foreground, var(--ig-secondary-300-contrast));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, var(--ig-secondary-300-contrast));--active-background: var(--igx-button-active-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--active-foreground: var(--igx-button-active-foreground, var(--ig-secondary-300-contrast));--border-radius: var(--igx-button-border-radius, clamp(.75rem, calc(var(--ig-radius-factor, 1) * 1.75rem), 1.75rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-6));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-12));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-12));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-12))}[igxButton=icon],.igx-button--icon{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, transparent);--hover-border-color: var(--igx-button-hover-border-color, transparent);--focus-border-color: var(--igx-button-focus-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--focus-visible-border-color: var(--igx-button-focus-visible-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--active-border-color: var(--igx-button-active-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-border-color: var(--igx-button-disabled-border-color, transparent);--disabled-background: var(--igx-button-disabled-background, transparent);--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(2.25rem, -1 * 2.25rem), var(--is-medium, 1) * max(1.875rem, -1 * 1.875rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--default-size: var(--igx-button-default-size, 2);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-0));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-0));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-0));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-0));--background: var(--igx-button-background, transparent);--foreground: var(--igx-button-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--hover-background: var(--igx-button-hover-background, transparent);--hover-foreground: var(--igx-button-hover-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--focus-foreground: var(--igx-button-focus-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--active-background: var(--igx-button-active-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--active-foreground: var(--igx-button-active-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--border-radius: var(--igx-button-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.25rem), 1.25rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-0));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-0));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-0));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-0))}.igx-button{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:5.5rem;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.4375rem,-1 * .4375rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.0625rem,-1 * .0625rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));min-height:var(--size);border:.0625rem solid var(--border-color);cursor:pointer;-webkit-user-select:none;user-select:none;outline-style:none;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden;white-space:nowrap;transition:color .1s ease-in-out,background-color .1s ease-in-out,border-color .1s ease-in-out,box-shadow .1s ease-in-out;gap:max(var(--is-large, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-button igx-icon{--component-size: var(--ig-size, var(--ig-size-large));display:flex;justify-content:center;width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-button--flat{background:var(--background);color:var(--foreground);border-radius:var(--border-radius)}.igx-button--flat:hover{background:var(--hover-background);color:var(--hover-foreground);border-color:var(--hover-border-color)}.igx-button--flat:focus{background:var(--focus-background);color:var(--focus-foreground);box-shadow:0 0 0 .1875rem var(--shadow-color);border-color:var(--focus-border-color)}.igx-button--flat:active{background:var(--active-background);color:var(--active-foreground);box-shadow:0 0 0 .1875rem var(--shadow-color);border-color:var(--active-border-color)}.igx-button--flat:focus-visible{background:var(--focus-visible-background);color:var(--focus-visible-foreground);border-color:var(--focus-visible-border-color)}.igx-button--outlined{background:var(--background);color:var(--foreground);border-color:var(--border-color);border-radius:var(--border-radius);padding-block:max(var(--is-large, 1)*max(.4375rem,-1 * .4375rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.0625rem,-1 * .0625rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-button--outlined:hover{background:var(--hover-background);color:var(--hover-foreground);border-color:var(--hover-border-color)}.igx-button--outlined:focus{background:var(--focus-background);color:var(--focus-foreground);border-color:var(--focus-border-color)}.igx-button--outlined:active{background:var(--active-background);color:var(--active-foreground);border-color:var(--active-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color)}.igx-button--outlined:focus-visible{background:var(--focus-visible-background);color:var(--focus-visible-foreground);border-color:var(--focus-visible-border-color)}.igx-button--outlined:focus-visible:hover{background:var(--hover-background);color:var(--hover-foreground);border-color:var(--hover-border-color)}.igx-button--outlined:focus-visible:active{background:var(--active-background);color:var(--active-foreground);border-color:var(--active-border-color)}.igx-button--raised{color:var(--foreground);background:var(--background);box-shadow:var(--resting-shadow);border-radius:var(--border-radius)}.igx-button--raised:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color);box-shadow:var(--hover-shadow)}.igx-button--raised:focus{color:var(--focus-foreground);background:var(--focus-background);border-color:var(--focus-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color),var(--focus-shadow)}.igx-button--raised:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color),var(--active-shadow)}.igx-button--raised:focus-visible{background:var(--focus-visible-background);color:var(--focus-visible-foreground);border-color:var(--focus-visible-border-color)}.igx-button--raised:focus-visible:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color)}.igx-button--raised:focus-visible:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color)}.igx-button--fab,.igx-button--icon{display:inline-flex;position:relative;flex-direction:row;justify-content:center;align-items:center;outline:none;cursor:pointer;transition:color .1s ease-in-out,background-color .1s ease-in-out,border-color .1s ease-in-out,box-shadow .1s ease-in-out;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden;filter:blur(0)}.igx-button--fab{padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(0,-1 * 0)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.625rem,-1 * .625rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));min-width:var(--size);min-height:var(--size);line-height:unset;white-space:nowrap;color:var(--foreground);background:var(--background);border-color:var(--border-color);box-shadow:var(--resting-shadow);border-radius:var(--border-radius)}.igx-button--fab:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color);box-shadow:var(--resting-shadow)}.igx-button--fab:focus{color:var(--focus-foreground);background:var(--focus-background);border-color:var(--focus-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color),var(--focus-shadow)}.igx-button--fab:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color),var(--active-shadow)}.igx-button--fab:focus-visible{background:var(--focus-visible-background);color:var(--focus-visible-foreground);border-color:var(--focus-visible-border-color)}.igx-button--fab:focus-visible:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color)}.igx-button--fab:focus-visible:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color)}.igx-button--icon{width:var(--size);height:var(--size);min-width:unset;min-height:unset;font-size:1rem;padding:0;color:var(--foreground);background:var(--background);border-radius:var(--border-radius);border-color:var(--border-color)}.igx-button--icon:hover{transition:color .1s ease-in-out,background-color .1s ease-in-out,border-color .1s ease-in-out,box-shadow .1s ease-in-out;color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color)}.igx-button--icon:focus{color:var(--focus-foreground);background:var(--focus-background);border-color:var(--focus-border-color)}.igx-button--icon:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color)}.igx-button--icon:focus-visible{color:var(--focus-visible-foreground);background:var(--focus-visible-background);border-color:var(--focus-visible-border-color)}.igx-button--icon:focus-visible:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--focus-visible-border-color)}.igx-button--icon:focus-visible:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--focus-visible-border-color)}.igx-button--icon:focus,.igx-button--icon:active{box-shadow:0 0 0 .1875rem var(--shadow-color),var(--focus-shadow)}.igx-button--disabled{background:var(--disabled-background);color:var(--disabled-foreground);border-color:var(--disabled-border-color);pointer-events:none;box-shadow:none}.igx-button--disabled:focus{box-shadow:none}igx-buttongroup{--elevation: var(--igx-button-group-elevation, var(--ig-elevation-2));--idle-shadow-color: var(--igx-button-group-idle-shadow-color, transparent);--item-background: var(--igx-button-group-item-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--item-border-color: var(--igx-button-group-item-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--item-text-color: var(--igx-button-group-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-hover-text-color: var(--igx-button-group-item-hover-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--item-hover-background: var(--igx-button-group-item-hover-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--item-selected-text-color: var(--igx-button-group-item-selected-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--item-selected-background: var(--igx-button-group-item-selected-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--item-selected-hover-background: var(--igx-button-group-item-selected-hover-background, hsla(var(--ig-gray-500), .8));--item-selected-border-color: var(--igx-button-group-item-selected-border-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-text-color: var(--igx-button-group-disabled-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-background-color: var(--igx-button-group-disabled-background-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--item-disabled-border: var(--igx-button-group-item-disabled-border, hsla(var(--ig-gray-400), var(--ig-gray-a)));--border-radius: var(--igx-button-group-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--default-size: var(--igx-button-group-default-size, 2);--border: var(--igx-button-group-border, none);--shadow: var(--igx-button-group-shadow, var(--ig-elevation-2))}.igx-button-group{display:flex;box-shadow:var(--shadow);border-radius:var(--border-radius)}.igx-button-group button{margin-top:0;margin-inline-end:0;margin-bottom:0}.igx-button-group__item{border:.0625rem solid var(--item-border-color);color:var(--item-text-color);background:var(--item-background);min-width:1.5rem;display:flex;flex:1 0 0%;justify-content:center;align-items:center;text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;z-index:0}[igxButton].igx-button-group__item{border-radius:0;border-color:var(--item-border-color)}.igx-button-group__item:not(:nth-child(1)){margin-inline-start:-.0625rem}.igx-button-group__item:first-of-type{border-start-start-radius:inherit;border-end-start-radius:inherit}.igx-button-group__item:last-of-type{border-start-end-radius:inherit;border-end-end-radius:inherit}[igxButton][disabled=true].igx-button-group__item{color:var(--disabled-text-color);background:var(--disabled-background-color);border-color:var(--item-disabled-border)}.igx-button-group__item:hover,.igx-button-group__item:focus{color:var(--item-hover-text-color);background:var(--item-hover-background)}.igx-button-group--vertical .igx-button-group__item:not(:nth-child(1)){margin-top:-.0625rem;margin-inline-start:0}.igx-button-group--vertical .igx-button-group__item:first-of-type{border-start-start-radius:inherit;border-start-end-radius:inherit;border-end-start-radius:0;border-end-end-radius:0}.igx-button-group--vertical .igx-button-group__item:last-of-type{border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:inherit;border-end-end-radius:inherit}.igx-button-group__item--selected{color:var(--item-selected-text-color);background:var(--item-selected-background);border-color:var(--item-selected-border-color);position:relative;z-index:1}.igx-button-group__item--selected:hover,.igx-button-group__item--selected:focus{color:var(--item-selected-text-color);background:var(--item-selected-hover-background)}.igx-button-group__item--selected:focus{z-index:3}[igxButton].igx-button-group__item--selected{border-color:var(--item-selected-border-color)}[igxButton][disabled=true].igx-button-group__item--selected{position:relative}[igxButton][disabled=true].igx-button-group__item--selected:before{position:absolute;content:"";top:0;bottom:0;inset-inline-end:0;inset-inline-start:0;background:hsla(var(--ig-gray-500),.12)}.igx-button-group--vertical{flex-flow:column}.igx-button-group__item-content{display:flex;align-items:center;flex-flow:row nowrap;min-width:0}.igx-button-group__item-content *~*{margin-inline-start:.625rem}.igx-button-group__button-text{width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}igx-banner,.igx-banner{--banner-background: var(--igx-banner-banner-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--banner-message-color: var(--igx-banner-banner-message-color, var(--ig-surface-500-contrast));--banner-border-color: var(--igx-banner-banner-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--banner-illustration-color: var(--igx-banner-banner-illustration-color, var(--ig-surface-500-contrast))}.igx-banner-host igx-expansion-panel-body{padding:0}.igx-banner__actions,.igx-banner__actions>igx-banner-actions,.igx-banner__illustration,.igx-banner__message{display:flex}.igx-banner__illustration,.igx-banner__message{align-items:center}.igx-banner{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.5rem;padding-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline-end:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));background:var(--banner-background)}.igx-banner__illustration{justify-content:center;width:2.5rem;min-width:2.5rem;height:2.5rem;color:var(--banner-illustration-color)}.igx-banner__border-top{border-block-start:.0625rem solid var(--banner-border-color);inset-block-start:-.0625rem}.igx-banner__border-bottom{border-block-end:.0625rem solid var(--banner-border-color);inset-block-start:0}.igx-banner__text{color:var(--banner-message-color);flex:1 0 0%}.igx-banner__text>*{margin-block-start:0!important}.igx-banner__message{min-width:9.375rem;flex:1 0 0%;gap:1rem}.igx-banner__actions,.igx-banner__actions>igx-banner-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;align-self:flex-end;gap:.5rem;min-height:2.5rem}.igx-calendar,.igx-calendar--vertical{display:flex;flex-flow:column nowrap;width:100%;min-width:18.125rem;background:var(--content-background);outline:none;border-radius:var(--border-radius);overflow:hidden;border:0 solid var(--border-color)}.igx-calendar+.igx-calendar,.igx-calendar--vertical+.igx-calendar,.igx-calendar+.igx-calendar--vertical,.igx-calendar--vertical+.igx-calendar--vertical{margin-inline-start:1rem}.igx-calendar--vertical{flex-flow:row nowrap}.igx-calendar--vertical .igx-calendar__header{min-width:10.5rem}.igx-calendar__header{background:var(--header-background);color:var(--header-text-color);padding:1rem}.igx-calendar__header-year{margin:0;color:currentColor;opacity:.8}.igx-calendar__header-date,.igx-calendar--vertical .igx-calendar__header-date{display:flex;margin:0}.igx-calendar__header-date>span,.igx-calendar--vertical .igx-calendar__header-date>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-calendar--vertical .igx-calendar__header-date{flex-flow:column nowrap}.igx-calendar-picker{display:flex;height:3.5rem;align-items:center;padding-bottom:1rem;background:var(--picker-background-color);position:relative}.igx-calendar-picker div{text-align:center}.igx-calendar-picker:focus{outline:none}.igx-calendar-picker__dates{display:flex;justify-content:center}.igx-calendar-picker__prev,.igx-calendar-picker__next{position:absolute;display:inline-flex;justify-content:center;color:var(--picker-arrow-color);-webkit-user-select:none;user-select:none;outline:none;cursor:pointer;height:calc(100% - 1rem);align-items:center;top:0}.igx-calendar-picker__prev:focus,.igx-calendar-picker__next:focus,.igx-calendar-picker__prev:hover,.igx-calendar-picker__next:hover{color:var(--picker-arrow-hover-color)}[dir=rtl] .igx-calendar-picker__prev,[dir=rtl] .igx-calendar-picker__next{transform:scaleX(-1)}.igx-calendar-picker__prev igx-icon,.igx-calendar-picker__next igx-icon{--component-size: 3}.igx-calendar-picker__prev{inset-inline-start:0}.igx-calendar-picker__next{inset-inline-end:0}.igx-calendar-picker__date{color:var(--picker-text-color);text-align:center;outline:none;padding:0 .125rem}.igx-calendar-picker__date:hover,.igx-calendar-picker__date:focus{color:var(--picker-text-hover-color);cursor:pointer}.igx-calendar__body{flex:1 1 auto;padding-top:1rem;padding-bottom:1rem;overflow:hidden}igx-years-view,igx-month-picker,igx-months-view{color:var(--content-text-color)}.igx-calendar__label,.igx-calendar__date,.igx-calendar__year{position:relative;display:flex;justify-content:center;align-items:center;color:var(--content-text-color);outline:none;min-width:14.28%}.igx-calendar__label:first-of-type,.igx-calendar__date:first-of-type,.igx-calendar__year:first-of-type{padding-inline-start:.5rem}.igx-calendar__label:last-of-type,.igx-calendar__date:last-of-type,.igx-calendar__year:last-of-type{padding-inline-end:.5rem}.igx-calendar__label:nth-last-child(8):first-child,.igx-calendar__date:nth-last-child(8):first-child,.igx-calendar__year:nth-last-child(8):first-child,.igx-calendar__label:nth-last-child(8):first-child~*,.igx-calendar__date:nth-last-child(8):first-child~*,.igx-calendar__year:nth-last-child(8):first-child~*{min-width:12.5%!important}.igx-calendar__body-row{display:flex;justify-content:space-between;margin:.125rem 0;padding:0}.igx-calendar__body-row:first-of-type{margin-bottom:0}.igx-calendar__body-row:nth-child(2){margin-top:0}.igx-calendar__body-row:last-of-type .igx-calendar__date-content--week-number{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.igx-calendar__body-row:last-of-type .igx-calendar__date-content--week-number:before{display:none}.igx-calendar__body-row--wrap{flex-wrap:wrap}.igx-calendar__body-column{padding:0;margin:0}.igx-calendar__body-column .igx-calendar__year,.igx-calendar__body-column .igx-calendar__year--current{flex:1 0 0}.igx-calendar__date:hover .igx-calendar__date-content:after,.igx-calendar__date--weekend:hover .igx-calendar__date-content:after{background:var(--date-hover-background)}.igx-calendar__date:focus .igx-calendar__date-content:after,.igx-calendar__date--weekend:focus .igx-calendar__date-content:after{background:var(--date-focus-background)}.igx-calendar__date--selected:hover .igx-calendar__date-content{color:var(--date-selected-hover-foreground)}.igx-calendar__date--selected:hover .igx-calendar__date-content:after{background:var(--date-selected-hover-background)}.igx-calendar__date--current .igx-calendar__date-content{color:var(--date-current-text-color);font-weight:600;background:var(--date-current-bg-color)}.igx-calendar__date--current:hover .igx-calendar__date-content{color:var(--date-current-hover-foreground);background:var(--date-current-hover-background)}.igx-calendar__date--current:hover .igx-calendar__date-content:after{background:var(--date-current-hover-background)}.igx-calendar__date--current:focus .igx-calendar__date-content{color:var(--date-current-focus-foreground);background:var(--date-current-focus-background)}.igx-calendar__date--current:focus .igx-calendar__date-content:after{background:var(--date-current-focus-background)}.igx-calendar__date--selected.igx-calendar__date--current .igx-calendar__date-content{color:var(--date-selected-current-foreground);background:var(--date-selected-current-background)}.igx-calendar__date--selected.igx-calendar__date--current:hover .igx-calendar__date-content{color:var(--date-selected-current-hover-foreground)}.igx-calendar__date--selected.igx-calendar__date--current:hover .igx-calendar__date-content:after{background:var(--date-selected-current-hover-background)}.igx-calendar__date--selected.igx-calendar__date--current:focus .igx-calendar__date-content{color:var(--date-selected-current-focus-foreground)}.igx-calendar__date--selected.igx-calendar__date--current:focus .igx-calendar__date-content:after{background:var(--date-selected-current-focus-background)}.igx-calendar__date--selected:focus .igx-calendar__date-content{color:var(--date-selected-focus-foreground)}.igx-calendar__date--selected:focus .igx-calendar__date-content:after{background:var(--date-selected-focus-background)}.igx-calendar__date-content{position:relative;display:inline-flex;justify-content:center;align-items:center;width:2.5rem;min-width:2.5rem;height:2.5rem;border-radius:var(--date-border-radius);z-index:0}.igx-calendar__date-content:after{position:absolute;content:"";width:calc(100% - 4px);height:calc(100% - 4px);top:.125rem;inset-inline-start:.125rem;border-radius:inherit;z-index:-1}.igx-calendar__label{height:2.5rem;color:var(--label-color);border-radius:0}.igx-calendar__label:hover,.igx-calendar__label:focus{color:var(--label-color)}.igx-calendar__date--weekend{color:var(--weekend-text-color)}.igx-calendar__date--week-number+.igx-calendar__label,.igx-calendar__date--week-number+.igx-calendar__date,.igx-calendar__date--week-number+.igx-calendar__year{padding-inline-start:0!important}.igx-calendar__label--week-number,.igx-calendar__date-content--week-number{position:relative;color:var(--week-number-color)!important;border-radius:0;pointer-events:none}.igx-calendar__date--week-number{padding-inline-end:0!important;cursor:default}.igx-calendar__date--week-number:hover .igx-calendar__date-content--week-number,.igx-calendar__date--week-number:focus .igx-calendar__date-content--week-number{color:var(--week-number-color)!important}.igx-calendar__date-content--week-number{position:relative;background:var(--week-number-background)!important;min-width:auto}.igx-calendar__date-content--week-number:after{display:none}.igx-calendar__date-content--week-number:before{content:"";position:absolute;width:100%;height:.25rem;inset-inline-start:0;top:100%;background:var(--week-number-background)!important}.igx-calendar__label--week-number{padding-inline-end:0!important;text-align:center}.igx-calendar__label--week-number span{width:2.5rem;position:relative;background:var(--week-number-background)}.igx-calendar__label--week-number span:before,.igx-calendar__label--week-number span:after{content:"";position:absolute;width:100%;background:var(--week-number-background);inset-inline-start:0}.igx-calendar__label--week-number span:after{top:100%;height:.375rem}.igx-calendar__label--week-number span:before{bottom:100%;height:.5rem;border-top-left-radius:4px;border-top-right-radius:4px}.igx-calendar__label--week-number+.igx-calendar__label{padding-inline-start:0!important}.igx-calendar__year,.igx-calendar__year--current{margin:0;min-width:8ch;line-height:3.25rem}.igx-calendar__year:first-of-type,.igx-calendar__year--current:first-of-type{padding-inline-start:0}.igx-calendar__year:last-of-type,.igx-calendar__year--current:last-of-type{padding-inline-end:0}.igx-calendar__year--current{color:var(--year-current-text-color)}.igx-calendar__year:hover,.igx-calendar__year:focus{color:var(--year-hover-text-color)}.igx-calendar__month:hover,.igx-calendar__month:focus,.igx-calendar__month--current:hover,.igx-calendar__month--current:focus{color:var(--month-hover-text-color);outline-width:0}.igx-calendar__month:hover:after,.igx-calendar__month:focus:after,.igx-calendar__month--current:hover:after,.igx-calendar__month--current:focus:after{background:var(--month-hover-background)}.igx-calendar__month{position:relative;display:flex;margin:0 .75rem;flex:1 0 25%;justify-content:center;align-items:center;height:5.6875rem;z-index:1}.igx-calendar__month:after{position:absolute;content:"";top:50%;inset-inline-start:0;inset-inline-end:0;transform:translateY(-50%);height:3rem;background:rgba(0,0,0,0);border-radius:var(--month-border-radius);transition:background-color .15s ease-out;z-index:-1}.igx-calendar__month--current{color:var(--month-current-text-color)}.igx-calendar__month--current:hover,.igx-calendar__month--current:focus{color:var(--month-hover-current-text-color)}.igx-calendar__date--inactive{cursor:pointer;color:var(--inactive-text-color)}.igx-calendar__date--inactive.igx-calendar__date--single:hover{color:var(--inactive-text-color)}.igx-calendar__date--special .igx-calendar__date-content{background:var(--date-special-background);color:var(--date-special-text-color);font-weight:900}.igx-calendar__date--selected{position:relative;background:var(--date-selected-background)}.igx-calendar__date--selected .igx-calendar__date-content{color:var(--date-selected-text-color);background:var(--date-selected-background)}.igx-calendar__date--disabled,.igx-calendar__date--disabled.igx-calendar__date--inactive{pointer-events:none;cursor:not-allowed;color:var(--date-disabled-text-color)}.igx-calendar__date--single,.igx-calendar__date--selected.igx-calendar__date--first.igx-calendar__date--last{background:rgba(0,0,0,0)}.igx-calendar__date--single:before,.igx-calendar__date--selected.igx-calendar__date--first.igx-calendar__date--last:before,.igx-calendar__date--single:after,.igx-calendar__date--selected.igx-calendar__date--first.igx-calendar__date--last:after{background:rgba(0,0,0,0)}.igx-calendar__date--disabled.igx-calendar__date--range,.igx-calendar__date--selected.igx-calendar__date--disabled.igx-calendar__date--range{background:var(--date-disabled-background)!important}.igx-calendar__date--disabled.igx-calendar__date--range .igx-calendar__date-content{color:var(--date-disabled-text-color);background:rgba(0,0,0,0)!important}.igx-calendar__date--hidden.igx-calendar__date--disabled.igx-calendar__date--range{background:rgba(0,0,0,0)!important}.igx-calendar__date--hidden.igx-calendar__date--disabled.igx-calendar__date--range:after,.igx-calendar__date--hidden.igx-calendar__date--disabled.igx-calendar__date--range:before{background:rgba(0,0,0,0)!important}.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected .igx-calendar__date-content{color:var(--date-selected-text-color)}.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected:focus .igx-calendar__date-content,.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected:hover .igx-calendar__date-content{color:var(--date-selected-text-color)}.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected.igx-calendar__date--single .igx-calendar__date-content,.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected.igx-calendar__date--first.igx-calendar__date--last .igx-calendar__date-content{color:var(--date-selected-text-color);background:var(--date-selected-background)!important}.igx-calendar__date--selected.igx-calendar__date--first{position:relative;background:rgba(0,0,0,0);z-index:0}.igx-calendar__date--selected.igx-calendar__date--first:after{position:absolute;content:"";width:50%;top:0;inset-inline-start:50%;bottom:0;background:var(--date-selected-background);z-index:-1}.igx-calendar__date--selected.igx-calendar__date--last{position:relative;background:rgba(0,0,0,0);z-index:0}.igx-calendar__date--selected.igx-calendar__date--last:before{position:absolute;content:"";width:50%;top:0;inset-inline-end:50%;bottom:0;background:var(--date-selected-background);z-index:-1}.igx-calendar__date--hidden .igx-calendar__date-content{visibility:hidden}.igx-calendar__aria-off-screen{position:absolute!important;border:none!important;height:1px!important;width:1px!important;inset-inline-start:0!important;top:0!important;overflow:hidden!important;padding:0!important;margin:0!important;-webkit-user-select:none;user-select:none;pointer-events:none}.igx-calendar__aria-off-screen:focus{outline:none}igx-card{--resting-elevation: var(--igx-card-resting-elevation, var(--ig-elevation-4));--hover-elevation: var(--igx-card-hover-elevation, var(--ig-elevation-6));--background: var(--igx-card-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-text-color: var(--igx-card-header-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-text-color: var(--igx-card-subtitle-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--content-text-color: var(--igx-card-content-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--actions-text-color: var(--igx-card-actions-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--outline-color: var(--igx-card-outline-color, hsla(var(--ig-gray-400), .54));--border-radius: var(--igx-card-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .1666666667) * 1.5rem), 1.5rem));--default-size: var(--igx-card-default-size, 2);--resting-shadow: var(--igx-card-resting-shadow, var(--ig-elevation-4));--hover-shadow: var(--igx-card-hover-shadow, var(--ig-elevation-6))}.igx-card{display:flex;flex-direction:column;box-shadow:var(--resting-shadow);overflow:hidden;border-radius:var(--border-radius);background:var(--background);transition:box-shadow .3s cubic-bezier(.25,.8,.25,1);backface-visibility:hidden}.igx-card:hover{box-shadow:var(--hover-shadow)}.igx-card--outlined{box-shadow:none;border:.0625rem solid var(--outline-color)}.igx-card--outlined:hover{box-shadow:none}.igx-card--horizontal{flex-direction:row}.igx-card-header{display:flex;flex-flow:row wrap;align-content:flex-start;width:100%;padding:1rem;color:var(--header-text-color)}.igx-card-header:empty{display:block;padding:0}.igx-card-header--vertical{flex-flow:column nowrap}.igx-card-header--vertical .igx-card-header__titles{text-align:center}.igx-card-header--vertical .igx-card-header__thumbnail{display:flex;justify-content:center;align-self:unset;margin-inline-end:0;margin-bottom:1rem}.igx-card-header__thumbnail{align-self:flex-start;margin-inline-end:1rem}.igx-card-header__thumbnail:empty{display:none}.igx-card-header__titles{display:flex;flex-flow:column nowrap;overflow:hidden;flex:1 1 auto;justify-content:center}.igx-card-header__titles:empty{display:none}.igx-card-header__subtitle{color:var(--subtitle-text-color)}.igx-card__tgroup{margin:0 1em}.igx-card-content{display:block;width:100%;padding:.875rem;color:var(--content-text-color);overflow:auto}.igx-card__media{display:block;overflow:hidden;line-height:0}.igx-card__media>*{width:100%;height:100%;object-fit:cover}.igx-card__media--right{width:auto;margin-inline-start:auto;order:9999}.igx-card-actions{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;padding:.5rem}.igx-card-actions:first-child{margin-block-end:auto}.igx-card-actions:last-child{margin-block-start:auto}.igx-card-actions [igxButton]~[igxButton]{margin-inline-start:.5rem}.igx-card-actions--vertical{flex-direction:column}.igx-card-actions--vertical:is(:first-child,:last-child){margin-block:initial}[dir=rtl] .igx-card-actions--vertical{order:-1}.igx-card-actions__end{display:flex;align-items:center;order:1;color:var(--actions-text-color);margin-inline-start:auto}.igx-card-actions__end:empty{display:none}.igx-card-actions__start{display:flex;align-items:center;order:0}.igx-card-actions__start:empty{display:none}.igx-card-actions--justify .igx-card-actions__start,.igx-card-actions--justify .igx-card-actions__end{justify-content:space-around;flex-grow:1}.igx-card-actions--justify .igx-card-actions__start:empty,.igx-card-actions--justify .igx-card-actions__end:empty{display:none}.igx-card-actions--vertical .igx-card-actions__end,.igx-card-actions--vertical .igx-card-actions__start{flex-direction:column}.igx-card-actions--vertical .igx-card-actions__end [igxButton]~[igxButton],.igx-card-actions--vertical .igx-card-actions__start [igxButton]~[igxButton]{margin-inline-start:0;margin-top:.5rem}.igx-card-actions--vertical .igx-card-actions__end{margin-top:auto;margin-inline-start:0}.igx-card-actions--reverse .igx-card-actions__end{order:0;margin-inline-start:0}.igx-card-actions--reverse .igx-card-actions__start{order:1;margin-inline-start:auto}.igx-card-actions--vertical.igx-card-actions--reverse .igx-card-actions__end{margin:0 0 auto}.igx-card-actions--vertical.igx-card-actions--reverse .igx-card-actions__start{margin:auto 0 0}.igx-card-actions__bgroup{display:flex;flex-flow:row nowrap}.igx-card-actions__bgroup [igxButton]~[igxButton]{margin-inline-start:.5rem}.igx-card-actions__igroup,.igx-card-actions__igroup--start,.igx-card-actions__igroup--end{display:flex;flex-flow:row nowrap}.igx-card-actions__igroup .igx-button--icon,.igx-card-actions__igroup--start .igx-button--icon,.igx-card-actions__igroup--end .igx-button--icon{color:var(--actions-text-color)}.igx-card-actions__igroup--start{margin-inline-end:auto}.igx-card-actions__igroup--end{margin-inline-start:auto}igx-carousel{--button-elevation: var(--igx-carousel-button-elevation, var(--ig-elevation-1));--slide-background: var(--igx-carousel-slide-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--button-background: var(--igx-carousel-button-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--button-hover-background: var(--igx-carousel-button-hover-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--button-arrow-color: var(--igx-carousel-button-arrow-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--button-hover-arrow-color: var(--igx-carousel-button-hover-arrow-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--button-disabled-background: var(--igx-carousel-button-disabled-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--button-disabled-arrow-color: var(--igx-carousel-button-disabled-arrow-color, hsla(var(--ig-gray 400-500), var(--ig-gray 400-a)));--indicator-dot-color: var(--igx-carousel-indicator-dot-color, transparent);--indicator-border-color: var(--igx-carousel-indicator-border-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--indicator-active-dot-color: var(--igx-carousel-indicator-active-dot-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--indicator-active-border-color: var(--igx-carousel-indicator-active-border-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--border-radius: var(--igx-carousel-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));--button-shadow: var(--igx-carousel-button-shadow, var(--ig-elevation-1))}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.igx-carousel{display:flex;position:relative;justify-content:center;width:100%;height:100%;align-items:center;flex-flow:column nowrap}.igx-nav-arrow{display:flex;justify-content:center;align-items:center;width:2.875rem;height:2.875rem;cursor:pointer;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);outline-style:none;transition:all .15s ease-in-out;color:var(--button-arrow-color);background:var(--button-background);box-shadow:var(--button-shadow)}.igx-nav-arrow igx-icon{--component-size: 3}.igx-nav-arrow--disabled{background:var(--button-disabled-background);color:var(--button-disabled-arrow-color);pointer-events:none;box-shadow:none}.igx-nav-arrow--disabled igx-icon{color:currentColor}.igx-nav-arrow:hover{color:var(--button-hover-arrow-color);background:var(--button-hover-background)}.igx-carousel__arrow,.igx-carousel__arrow--prev,.igx-carousel__arrow--next{margin:0 1rem;position:absolute;top:50%;transform:translateY(-50%);z-index:3;outline:none;-webkit-user-select:none;user-select:none}.igx-carousel__arrow--next{inset-inline-end:0}.igx-carousel__arrow--prev{inset-inline-start:0}[dir=rtl] .igx-carousel__arrow--next,[dir=rtl] .igx-carousel__arrow--prev{transform:scaleX(-1)}.igx-carousel-indicators,.igx-carousel-indicators--top,.igx-carousel-indicators--bottom{position:absolute;display:flex;justify-content:center;align-items:center;margin:1rem 0;padding:0;list-style:none;z-index:10;inset-inline-start:50%;transform:translate(-50%)}[dir=rtl] .igx-carousel-indicators,[dir=rtl] .igx-carousel-indicators--top,[dir=rtl] .igx-carousel-indicators--bottom{transform:translate(50%)}.igx-carousel-indicators--bottom{bottom:0}.igx-carousel-indicators--top{top:0}.igx-carousel__label{align-items:center;font-size:1rem}.igx-carousel-indicators__indicator{display:flex;align-items:center;justify-content:center;margin:0 .3125rem;cursor:pointer}.igx-nav-dot{position:relative;width:.75rem;height:.75rem;text-indent:-624.9375rem;border:.125rem solid;border-color:var(--indicator-border-color);box-shadow:var(--ig-elevation-1);opacity:.7;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);transition:all .15s cubic-bezier(.25,.46,.45,.94)}.igx-nav-dot:after{animation:"scale-out-center" .15s cubic-bezier(.25,.46,.45,.94) forwards;content:"";position:absolute;inset:.0625rem;border-radius:inherit;background:var(--indicator-dot-color)}.igx-nav-dot:hover{opacity:1}.igx-nav-dot--active{border:.125rem solid;border-color:var(--indicator-active-border-color);opacity:1}.igx-nav-dot--active:after{background:var(--indicator-active-dot-color);animation:"scale-in-center" .15s cubic-bezier(.25,.46,.45,.94) forwards}.igx-carousel__inner{position:relative;width:100%;height:inherit;overflow:hidden;outline-style:none;border-radius:var(--border-radius);min-height:18.75rem;min-width:18.75rem}.igx-slide{position:absolute;width:100%;height:100%;inset:0;z-index:-1;background:var(--slide-background);visibility:hidden}.igx-slide--previous{z-index:1;visibility:visible}.igx-slide--current{z-index:2;visibility:visible}.igx-slide img{width:inherit;height:inherit;object-fit:cover;touch-action:none;pointer-events:none}igx-splitter{--bar-color: var(--igx-splitter-bar-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--focus-color: var(--igx-splitter-focus-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--handle-color: var(--igx-splitter-handle-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--expander-color: var(--igx-splitter-expander-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--size: var(--igx-splitter-size, 4px);--border-radius: var(--igx-splitter-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * .125rem), .125rem))}[dir=rtl] [aria-orientation=horizontal].igx-splitter{flex-direction:row-reverse!important}.igx-splitter-bar:after,.igx-splitter-bar:before{position:absolute;content:"";width:100%;height:.25rem;background:rgba(0,0,0,0)}.igx-splitter-bar--vertical:after,.igx-splitter-bar--vertical:before{width:.25rem;height:100%}.igx-splitter-bar{position:relative;display:flex;flex-grow:1;justify-content:center;align-items:center;background:var(--bar-color);border:.0625rem solid var(--bar-color);z-index:99;opacity:.68;transition:opacity .15s cubic-bezier(.25,.46,.45,.94)!important}.igx-splitter-bar:before{top:100%}.igx-splitter-bar:after{bottom:100%}.igx-splitter-bar:hover{transition:all .25s ease-out;opacity:1}.igx-splitter-bar-host:focus{outline:rgba(0,0,0,0) solid .0625rem;box-shadow:inset 0 0 0 .0625rem var(--focus-color)}.igx-splitter-bar--vertical{flex-direction:column;height:100%}.igx-splitter-bar--vertical:before{top:0;right:100%}.igx-splitter-bar--vertical:after{top:0;left:100%}.igx-splitter-bar__handle,.igx-splitter-bar--vertical .igx-splitter-bar__handle{background:var(--handle-color);border-radius:var(--border-radius)}.igx-splitter-bar__handle{width:25%;height:var(--size);margin:0 3rem}.igx-splitter-bar--vertical .igx-splitter-bar__handle{width:var(--size);height:25%;margin:3rem 0}.igx-splitter-bar--vertical .igx-splitter-bar__expander--end:before,.igx-splitter-bar--vertical .igx-splitter-bar__expander--start:before,.igx-splitter-bar__expander--end:before,.igx-splitter-bar__expander--start:before{position:absolute;content:"";background:rgba(0,0,0,0)}.igx-splitter-bar__expander--start,.igx-splitter-bar__expander--end,.igx-splitter-bar--vertical .igx-splitter-bar__expander--start,.igx-splitter-bar--vertical .igx-splitter-bar__expander--end{position:relative;width:0;height:0;border-inline-end:var(--size) solid rgba(0,0,0,0);border-inline-start:var(--size) solid rgba(0,0,0,0);cursor:pointer;z-index:1}.igx-splitter-bar__expander--start{border-bottom:var(--size) solid var(--expander-color)}.igx-splitter-bar__expander--start:before{top:calc(100% - 4px);left:calc(100% - 8px);width:16px;height:12px}.igx-splitter-bar__expander--end{border-bottom:unset;border-top:var(--size) solid var(--expander-color)}.igx-splitter-bar__expander--end:before{top:calc(100% - 8px);left:calc(100% - 8px);width:16px;height:12px}.igx-splitter-bar--vertical .igx-splitter-bar__expander--start{border-top:var(--size) solid rgba(0,0,0,0);border-inline-end:var(--size) solid var(--expander-color);border-bottom:var(--size) solid rgba(0,0,0,0);border-inline-start:unset}.igx-splitter-bar--vertical .igx-splitter-bar__expander--start:before{top:calc(100% - 8px);left:calc(100% - 8px);width:12px;height:16px}.igx-splitter-bar--vertical .igx-splitter-bar__expander--end{border-top:var(--size) solid rgba(0,0,0,0);border-inline-end:unset;border-bottom:var(--size) solid rgba(0,0,0,0);border-inline-start:var(--size) solid var(--expander-color)}.igx-splitter-bar--vertical .igx-splitter-bar__expander--end:before{left:calc(100% - 8px);top:calc(100% - 8px);height:16px;width:12px}igx-data-chart{--title-text-color: var(--data-chart-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-text-color: var(--data-chart-subtitle-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--brushes: var(--data-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-brushes: var(--data-chart-marker-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--data-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-outlines: var(--data-chart-marker-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--plot-area-background: var(--data-chart-plot-area-background, hsla(var(--ig-surface-500), var(--ig-surface-a)))}igx-doughnut-chart{--brushes: var(--ring-series-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--ring-series-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95))}igx-linear-gauge{--backing-brush: var(--linear-gauge-backing-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--backing-outline: var(--linear-gauge-backing-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--font-brush: var(--linear-gauge-font-brush, var(--ig-surface-500-contrast));--minor-tick-brush: var(--linear-gauge-minor-tick-brush, var(--ig-surface-500-contrast));--needle-brush: var(--linear-gauge-needle-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)));--needle-outline: var(--linear-gauge-needle-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--range-brushes: var(--linear-gauge-range-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--range-outlines: var(--linear-gauge-range-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--scale-brush: var(--linear-gauge-scale-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--tick-brush: var(--linear-gauge-tick-brush, var(--ig-surface-500-contrast));--scale-outline: var(--linear-gauge-scale-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)))}igx-radial-gauge{--backing-brush: var(--radial-gauge-backing-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--backing-outline: var(--radial-gauge-backing-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--font-brush: var(--radial-gauge-font-brush, var(--ig-surface-500-contrast));--minor-tick-brush: var(--radial-gauge-minor-tick-brush, var(--ig-surface-500-contrast));--needle-brush: var(--radial-gauge-needle-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)));--needle-outline: var(--radial-gauge-needle-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--range-brushes: var(--radial-gauge-range-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--range-outlines: var(--radial-gauge-range-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--scale-brush: var(--radial-gauge-scale-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--tick-brush: var(--radial-gauge-tick-brush, var(--ig-surface-500-contrast));--needle-pivot-brush: var(--radial-gauge-needle-pivot-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)));--needle-pivot-outline: var(--radial-gauge-needle-pivot-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)))}igx-financial-chart{--brushes: var(--financial-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--financial-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-brushes: var(--financial-chart-marker-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-outlines: var(--financial-chart-marker-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--indicator-brushes: var(--financial-chart-indicator-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--indicator-negative-brushes: var(--financial-chart-indicator-negative-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--negative-brushes: var(--financial-chart-negative-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--negative-outlines: var(--financial-chart-negative-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--overlay-brushes: var(--financial-chart-overlay-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--overlay-outlines: var(--financial-chart-overlay-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--overlay-thickness: var(--financial-chart-overlay-thickness, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--trend-line-brushes: var(--financial-chart-trend-line-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--volume-brushes: var(--financial-chart-volume-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--volume-outlines: var(--financial-chart-volume-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95))}igx-bullet-graph{--backing-brush: var(--bullet-graph-backing-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--backing-outline: var(--bullet-graph-backing-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--font-brush: var(--bullet-graph-font-brush, var(--ig-surface-500-contrast));--minor-tick-brush: var(--bullet-graph-minor-tick-brush, var(--ig-surface-500-contrast));--range-brushes: var(--bullet-graph-range-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--range-outlines: var(--bullet-graph-range-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--scale-background-brush: var(--bullet-graph-scale-background-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)));--scale-background-outline: var(--bullet-graph-scale-background-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--target-value-brush: var(--bullet-graph-target-value-brush, hsla(var(--ig-gray-800), var(--ig-gray-a)));--tick-brush: var(--bullet-graph-tick-brush, var(--ig-surface-500-contrast));--value-brush: var(--bullet-graph-value-brush, hsla(var(--ig-gray-800), var(--ig-gray-a)))}igx-category-chart{--brushes: var(--category-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-brushes: var(--category-chart-marker-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--negative-brushes: var(--category-chart-negative-brushes, hsl(347, 82%, 64%));--outlines: var(--category-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-outlines: var(--category-chart-marker-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--negative-outlines: var(--category-chart-negative-outlines, hsl(347, 82%, 64%));--title-text-color: var(--category-chart-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-text-color: var(--category-chart-subtitle-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--trend-line-brushes: var(--category-chart-trend-line-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--x-axis-label-text-color: var(--category-chart-x-axis-label-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--x-axis-stroke: var(--category-chart-x-axis-stroke, hsla(var(--ig-gray-500), var(--ig-gray-a)));--x-axis-tick-stroke: var(--category-chart-x-axis-tick-stroke, hsla(var(--ig-gray-500), var(--ig-gray-a)));--x-axis-title-text-color: var(--category-chart-x-axis-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--y-axis-label-text-color: var(--category-chart-y-axis-label-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--y-axis-major-stroke: var(--category-chart-y-axis-major-stroke, hsla(var(--ig-gray-300), var(--ig-gray-a)));--y-axis-title-text-color: var(--category-chart-y-axis-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--y-axis-tick-stroke: var(--category-chart-y-axis-tick-stroke, hsla(var(--ig-gray-500), var(--ig-gray-a)))}igx-geographic-map{--plot-area-background: var(--geo-map-plot-area-background, hsla(var(--ig-surface-500), var(--ig-surface-a)))}igx-pie-chart{--brushes: var(--pie-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--pie-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--label-extent: var(--pie-chart-label-extent, 30);--label-outer-color: var(--pie-chart-label-outer-color, hsla(var(--ig-gray-700), var(--ig-gray-a)))}igx-sparkline{--brush: var(--sparkline-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)))}igx-funnel-chart{--brushes: var(--funnel-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--funnel-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95))}igx-shape-chart{--title-text-color: var(--shape-chart-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-text-color: var(--shape-chart-subtitle-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--brushes: var(--shape-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-brushes: var(--shape-chart-marker-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--shape-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-outlines: var(--shape-chart-marker-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--trend-line-brushes: var(--shape-chart-trend-line-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95))}igx-checkbox{--tick-color: var(--igx-checkbox-tick-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--tick-color-hover: var(--igx-checkbox-tick-color-hover, hsla(var(--ig-gray-50), var(--ig-gray-a)));--label-color: var(--igx-checkbox-label-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--empty-color: var(--igx-checkbox-empty-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--fill-color: var(--igx-checkbox-fill-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--fill-color-hover: var(--igx-checkbox-fill-color-hover, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--disabled-color: var(--igx-checkbox-disabled-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-indeterminate-color: var(--igx-checkbox-disabled-indeterminate-color, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--disabled-color-label: var(--igx-checkbox-disabled-color-label, hsla(var(--ig-gray-500), var(--ig-gray-a)));--error-color: var(--igx-checkbox-error-color, hsla(var(--ig-error-500), var(--ig-error-a)));--error-color-hover: var(--igx-checkbox-error-color-hover, hsla(var(--ig-error-500), var(--ig-error-a)));--border-radius: var(--igx-checkbox-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * .625rem), .625rem));--border-radius-ripple: var(--igx-checkbox-border-radius-ripple, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.5rem), 1.5rem))}@keyframes scale-in-out{50%{transform:scale(.9);transform-origin:50% 50%}to{transform:scale(1);transform-origin:50% 50%}}.igx-checkbox{position:relative;display:inline-flex;flex-flow:row nowrap;align-items:center;outline-style:none}.igx-checkbox--disabled{-webkit-user-select:none;user-select:none;pointer-events:none;cursor:initial}.igx-checkbox__input{position:absolute;width:1px;height:1px;margin:-1px;border:none;clip:rect(0,0,0,0);outline:0;pointer-events:none;overflow:hidden;appearance:none}.igx-checkbox__composite-wrapper{align-items:center;justify-content:center;display:flex;position:relative;width:1.25rem;height:1.25rem}.igx-checkbox__composite{position:relative;display:inline-block;cursor:pointer;width:1.25rem;height:1.25rem;min-width:1.25rem;border-width:.125rem;border-style:solid;border-color:var(--empty-color);border-radius:var(--border-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);transition:border-color .2s cubic-bezier(.25,.46,.45,.94),background .2s cubic-bezier(.25,.46,.45,.94);overflow:hidden}.igx-checkbox--indeterminate .igx-checkbox__composite,.igx-checkbox--checked .igx-checkbox__composite{border-color:var(--fill-color);background:var(--fill-color)}.igx-checkbox--invalid .igx-checkbox__composite{border-color:var(--error-color)}.igx-checkbox--invalid:hover .igx-checkbox__composite{border-color:var(--error-color-hover)}.igx-checkbox--invalid.igx-checkbox--checked .igx-checkbox__composite{border-color:var(--error-color);background:var(--error-color)}.igx-checkbox--checked:hover .igx-checkbox__composite{border-color:var(--fill-color-hover);background:var(--fill-color-hover)}.igx-checkbox--invalid.igx-checkbox--checked:hover .igx-checkbox__composite{border-color:var(--error-color-hover);background:var(--error-color-hover)}.igx-checkbox--disabled .igx-checkbox__composite{border-color:var(--disabled-color);background:rgba(0,0,0,0)}.igx-checkbox--indeterminate.igx-checkbox--disabled .igx-checkbox__composite,.igx-checkbox--checked.igx-checkbox--disabled .igx-checkbox__composite{background:var(--disabled-color)}.igx-checkbox__composite-mark{position:absolute;inset:0;stroke:var(--tick-color);stroke-linecap:square;stroke-width:3;stroke-dasharray:24;stroke-dashoffset:24;fill:none;opacity:0;z-index:1;transition:opacity .1s cubic-bezier(.25,.46,.45,.94)}.igx-checkbox--indeterminate .igx-checkbox__composite-mark{top:0;inset-inline-start:0}.igx-checkbox--indeterminate:hover .igx-checkbox__composite{border-color:var(--fill-color-hover);background:var(--fill-color-hover)}.igx-checkbox--indeterminate:hover .igx-checkbox__composite:before{background:var(--fill-color-hover)}.igx-checkbox--indeterminate.igx-checkbox--disabled .igx-checkbox__composite,.igx-checkbox--indeterminate .igx-checkbox--checked.igx-checkbox--disabled .igx-checkbox__composite,.igx-checkbox--checked.igx-checkbox--disabled .igx-checkbox--indeterminate .igx-checkbox__composite{border-color:var(--disabled-indeterminate-color);background:var(--disabled-indeterminate-color)}.igx-checkbox--invalid.igx-checkbox--indeterminate .igx-checkbox__composite{background:var(--error-color)}.igx-checkbox--checked .igx-checkbox__composite-mark{stroke-dashoffset:0;opacity:1;transition:all .2s cubic-bezier(.25,.46,.45,.94),opacity .2s cubic-bezier(.25,.46,.45,.94)}.igx-checkbox--indeterminate .igx-checkbox__composite-mark{stroke-dashoffset:41;opacity:1;transform:rotate(45deg) translate(-.125em)}.igx-checkbox__label,.igx-checkbox__label--before{display:inline-block;color:var(--label-color);cursor:pointer;-webkit-user-select:none;user-select:none;word-wrap:break-all}.igx-checkbox__label:empty,.igx-checkbox__label--before:empty{margin:0}.igx-checkbox__label--before:empty,.igx-checkbox__label:empty{margin:0}.igx-checkbox__label{margin-inline-start:.5rem}.igx-checkbox__label--before{margin-inline-end:.5rem;order:-1}.igx-checkbox--invalid .igx-checkbox__label{color:var(--error-color)}.igx-checkbox--disabled .igx-checkbox__label,.igx-checkbox--disabled .igx-checkbox__label--before{color:var(--disabled-color-label)}.igx-checkbox__ripple{display:block;position:absolute;top:calc(50% - 1.25rem);width:2.5rem;height:2.5rem;border-radius:var(--border-radius-ripple);overflow:hidden;pointer-events:none;filter:opacity(1)}.igx-checkbox__ripple .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-checkbox__ripple .igx-ripple{overflow:hidden}.igx-checkbox__ripple,.igx-checkbox__ripple [igxRipple]{--color: var(--igx-ripple-color, var(--fill-color))}.igx-checkbox:hover .igx-checkbox__ripple,.igx-checkbox:active .igx-checkbox__ripple,.igx-checkbox--invalid:hover .igx-checkbox__ripple,.igx-checkbox--indeterminate:hover .igx-checkbox__ripple,.igx-checkbox--indeterminate:active .igx-checkbox__ripple,.igx-checkbox--checked:hover .igx-checkbox__ripple,.igx-checkbox--checked:active .igx-checkbox__ripple{background:var(--empty-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.06}.igx-checkbox--indeterminate:hover .igx-checkbox__ripple,.igx-checkbox--indeterminate:active .igx-checkbox__ripple,.igx-checkbox--checked:hover .igx-checkbox__ripple,.igx-checkbox--checked:active .igx-checkbox__ripple{background:var(--fill-color)}.igx-checkbox--invalid:hover .igx-checkbox__ripple,.igx-checkbox--invalid:active .igx-checkbox__ripple{background:var(--error-color)}.igx-checkbox--focused .igx-checkbox__ripple,.igx-checkbox--focused:hover .igx-checkbox__ripple,.igx-checkbox--focused.igx-checkbox--checked .igx-checkbox__ripple,.igx-checkbox--focused.igx-checkbox--indeterminate .igx-checkbox__ripple{background:var(--empty-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.12}.igx-checkbox--focused.igx-checkbox--checked .igx-checkbox__ripple,.igx-checkbox--focused.igx-checkbox--indeterminate .igx-checkbox__ripple{background:var(--fill-color)}.igx-checkbox--focused.igx-checkbox--invalid .igx-checkbox__ripple{background:var(--error-color)}.igx-checkbox:active .igx-checkbox__ripple,.igx-checkbox--indeterminate:active .igx-checkbox__ripple,.igx-checkbox--checked:active .igx-checkbox__ripple{opacity:.12}.igx-checkbox--plain .igx-checkbox__composite,.igx-checkbox--plain .igx-checkbox__composite:after,.igx-checkbox--plain .igx-checkbox__composite-mark{transition:none}igx-chip,.igx-chip__ghost{--ghost-elevation: var(--igx-chip-ghost-elevation, var(--ig-elevation-8));--remove-icon-color: var(--igx-chip-remove-icon-color, "currentColor");--focus-outline-color: var(--igx-chip-focus-outline-color, transparent);--focus-selected-outline-color: var(--igx-chip-focus-selected-outline-color, transparent);--remove-icon-color-focus: var(--igx-chip-remove-icon-color-focus, "currentColor");--text-color: var(--igx-chip-text-color, var(--ig-gray-300-contrast));--background: var(--igx-chip-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--border-color: var(--igx-chip-border-color, transparent);--ghost-background: var(--igx-chip-ghost-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--hover-text-color: var(--igx-chip-hover-text-color, var(--ig-gray-400-contrast));--hover-background: var(--igx-chip-hover-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--hover-border-color: var(--igx-chip-hover-border-color, transparent);--focus-text-color: var(--igx-chip-focus-text-color, var(--ig-gray-500-contrast));--focus-background: var(--igx-chip-focus-background, hsla(var(--ig-gray-500), var(--ig-gray-a)));--focus-border-color: var(--igx-chip-focus-border-color, transparent);--selected-text-color: var(--igx-chip-selected-text-color, var(--ig-gray-300-contrast));--selected-background: var(--igx-chip-selected-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--selected-border-color: var(--igx-chip-selected-border-color, transparent);--hover-selected-text-color: var(--igx-chip-hover-selected-text-color, var(--ig-gray-400-contrast));--hover-selected-background: var(--igx-chip-hover-selected-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--hover-selected-border-color: var(--igx-chip-hover-selected-border-color, transparent);--focus-selected-text-color: var(--igx-chip-focus-selected-text-color, var(--ig-gray-500-contrast));--focus-selected-background: var(--igx-chip-focus-selected-background, hsla(var(--ig-gray-500), var(--ig-gray-a)));--focus-selected-border-color: var(--igx-chip-focus-selected-border-color, transparent);--border-radius: var(--igx-chip-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1rem), 1rem));--disabled-text-color: var(--igx-chip-disabled-text-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-background: var(--igx-chip-disabled-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--disabled-border-color: var(--igx-chip-disabled-border-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--size: var(--igx-chip-size, max(var(--is-large, 1) * max(2rem, -1 * 2rem), var(--is-medium, 1) * max(1.5rem, -1 * 1.5rem), var(--is-small, 1) * max(1.25rem, -1 * 1.25rem)));--default-size: var(--igx-chip-default-size, 2);--ghost-shadow: var(--igx-chip-ghost-shadow, var(--ig-elevation-8))}.igx-chip-area{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;width:100%}.igx-chip-area:empty{display:none}.igx-chip__ghost,.igx-chip{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--chip-size: var(--component-size);position:relative;display:inline-flex;flex-shrink:0;transition:all .12s cubic-bezier(.455,.03,.515,.955);transition-property:top,left;min-width:max-content;touch-action:none;outline:none}[dir=rtl] .igx-chip__ghost,[dir=rtl] .igx-chip{transition-property:top right}.igx-chip__ghost:hover .igx-chip__item,.igx-chip:hover .igx-chip__item{color:var(--hover-text-color);background:var(--hover-background);border-color:var(--hover-border-color)}.igx-chip__ghost:hover .igx-chip__item--selected,.igx-chip:hover .igx-chip__item--selected{color:var(--hover-selected-text-color);background:var(--hover-selected-background);border-color:var(--hover-selected-border-color)}.igx-chip__ghost:focus .igx-chip__item,.igx-chip:focus .igx-chip__item{outline-style:none;color:var(--focus-text-color);background:var(--focus-background);border-color:var(--focus-border-color)}.igx-chip__ghost:focus .igx-chip__item--selected,.igx-chip:focus .igx-chip__item--selected{color:var(--focus-selected-text-color);background:var(--focus-selected-background);border-color:var(--focus-selected-border-color);transition:all .12s cubic-bezier(.455,.03,.515,.955)}.igx-chip__item{display:grid;grid-template-columns:minmax(0,auto) 1fr minmax(0,auto);align-items:center;justify-content:center;text-align:center;height:var(--size);padding-inline:max(var(--is-large, 1)*max(.75rem,-1 * .75rem),var(--is-medium, 1)*max(.375rem,-1 * .375rem),var(--is-small, 1)*max(.125rem,-1 * .125rem));gap:max(var(--is-large, 1)*max(.5rem,-1 * .5rem),var(--is-medium, 1)*max(.375rem,-1 * .375rem),var(--is-small, 1)*max(.1875rem,-1 * .1875rem));color:var(--text-color);background:var(--background);border:.0625rem solid var(--border-color);border-radius:var(--border-radius);-webkit-user-select:none;user-select:none;overflow:hidden;cursor:pointer;filter:opacity(1)}.igx-chip__item igx-avatar{display:flex!important;align-items:center;justify-content:center;font-size:50%}.igx-chip__item igx-avatar,.igx-chip__item igx-circular-bar,.igx-chip__item igx-icon{--component-size: var(--chip-size)}.igx-chip__item igx-avatar,.igx-chip__item igx-circular-bar{max-height:100%;width:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1.125rem,-1 * 1.125rem),var(--is-small, 1)*max(.875rem,-1 * .875rem));max-width:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1.125rem,-1 * 1.125rem),var(--is-small, 1)*max(.875rem,-1 * .875rem));height:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1.125rem,-1 * 1.125rem),var(--is-small, 1)*max(.875rem,-1 * .875rem))}.igx-chip__item--selected{color:var(--selected-text-color);background:var(--selected-background);border-color:var(--selected-border-color);transition:all .12s cubic-bezier(.455,.03,.515,.955)}.igx-chip--primary .igx-chip__item{color:var(--ig-primary-500-contrast);background:hsla(var(--ig-primary-500),var(--ig-primary-a));border-color:hsla(var(--ig-primary-500),var(--ig-primary-a))}.igx-chip--primary.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--primary:hover .igx-chip__item{color:var(--ig-primary-600-contrast);background:hsla(var(--ig-primary-600),var(--ig-primary-a));border-color:hsla(var(--ig-primary-600),var(--ig-primary-a))}.igx-chip--primary.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--primary:focus .igx-chip__item{color:var(--ig-primary-800-contrast);background:hsla(var(--ig-primary-800),var(--ig-primary-a));border-color:hsla(var(--ig-primary-800),var(--ig-primary-a))}.igx-chip--info .igx-chip__item{color:var(--ig-info-500-contrast);background:hsla(var(--ig-info-500),var(--ig-info-a));border-color:hsla(var(--ig-info-500),var(--ig-info-a))}.igx-chip--info.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--info:hover .igx-chip__item{color:var(--ig-info-600-contrast);background:hsla(var(--ig-info-600),var(--ig-info-a));border-color:hsla(var(--ig-info-600),var(--ig-info-a))}.igx-chip--info.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--info:focus .igx-chip__item{color:var(--ig-info-800-contrast);background:hsla(var(--ig-info-800),var(--ig-info-a));border-color:hsla(var(--ig-info-800),var(--ig-info-a))}.igx-chip--success .igx-chip__item{color:var(--ig-success-500-contrast);background:hsla(var(--ig-success-500),var(--ig-success-a));border-color:hsla(var(--ig-success-500),var(--ig-success-a))}.igx-chip--success.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--success:hover .igx-chip__item{color:var(--ig-success-600-contrast);background:hsla(var(--ig-success-600),var(--ig-success-a));border-color:hsla(var(--ig-success-600),var(--ig-success-a))}.igx-chip--success.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--success:focus .igx-chip__item{color:var(--ig-success-800-contrast);background:hsla(var(--ig-success-800),var(--ig-success-a));border-color:hsla(var(--ig-success-800),var(--ig-success-a))}.igx-chip--warning .igx-chip__item{color:var(--ig-warn-500-contrast);background:hsla(var(--ig-warn-500),var(--ig-warn-a));border-color:hsla(var(--ig-warn-500),var(--ig-warn-a))}.igx-chip--warning.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--warning:hover .igx-chip__item{color:var(--ig-warn-600-contrast);background:hsla(var(--ig-warn-600),var(--ig-warn-a));border-color:hsla(var(--ig-warn-600),var(--ig-warn-a))}.igx-chip--warning.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--warning:focus .igx-chip__item{color:var(--ig-warn-800-contrast);background:hsla(var(--ig-warn-800),var(--ig-warn-a));border-color:hsla(var(--ig-warn-800),var(--ig-warn-a))}.igx-chip--danger .igx-chip__item{color:var(--ig-error-500-contrast);background:hsla(var(--ig-error-500),var(--ig-error-a));border-color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-chip--danger.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--danger:hover .igx-chip__item{color:var(--ig-error-600-contrast);background:hsla(var(--ig-error-600),var(--ig-error-a));border-color:hsla(var(--ig-error-600),var(--ig-error-a))}.igx-chip--danger.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--danger:focus .igx-chip__item{color:var(--ig-error-800-contrast);background:hsla(var(--ig-error-800),var(--ig-error-a));border-color:hsla(var(--ig-error-800),var(--ig-error-a))}.igx-chip__start>igx-avatar:first-child,.igx-chip__start>igx-circular-bar:first-child{margin-inline-start:calc(max(var(--is-large, 1) * max(.5rem,-1 * .5rem),var(--is-medium, 1) * max(.25rem,-1 * .25rem),var(--is-small, 1) * max(0rem,-1 * 0rem))*-1)}.igx-chip__start [igxPrefix]:first-of-type igx-avatar,.igx-chip__start [igxPrefix]:first-of-type igx-circular-bar,.igx-chip__start igx-prefix:first-of-type igx-avatar,.igx-chip__start igx-prefix:first-of-type igx-circular-bar{margin-inline-start:calc(max(var(--is-large, 1) * max(.5rem,-1 * .5rem),var(--is-medium, 1) * max(.25rem,-1 * .25rem),var(--is-small, 1) * max(0rem,-1 * 0rem))*-1)}.igx-chip__end>igx-avatar:last-child,.igx-chip__end>igx-circular-bar:last-child{margin-inline-end:calc(max(var(--is-large, 1) * max(.5rem,-1 * .5rem),var(--is-medium, 1) * max(.25rem,-1 * .25rem),var(--is-small, 1) * max(0rem,-1 * 0rem))*-1)}.igx-chip__end [igxPrefix]:first-of-type igx-avatar,.igx-chip__end [igxPrefix]:first-of-type igx-circular-bar,.igx-chip__end igx-prefix:first-of-type igx-avatar,.igx-chip__end igx-prefix:first-of-type igx-circular-bar{margin-inline-end:calc(max(var(--is-large, 1) * max(.5rem,-1 * .5rem),var(--is-medium, 1) * max(.25rem,-1 * .25rem),var(--is-small, 1) * max(0rem,-1 * 0rem))*-1)}.igx-chip__start,.igx-chip__end{display:flex;align-items:center;position:relative}.igx-chip__start:empty,.igx-chip__end:empty{display:none}.igx-chip__item igx-icon{width:max(var(--is-large, 1)*max(1.25rem,-1 * 1.25rem),var(--is-medium, 1)*max(1.25rem,-1 * 1.25rem),var(--is-small, 1)*max(1rem,-1 * 1rem));height:max(var(--is-large, 1)*max(1.25rem,-1 * 1.25rem),var(--is-medium, 1)*max(1.25rem,-1 * 1.25rem),var(--is-small, 1)*max(1rem,-1 * 1rem));font-size:max(var(--is-large, 1)*max(1.25rem,-1 * 1.25rem),var(--is-medium, 1)*max(1.25rem,-1 * 1.25rem),var(--is-small, 1)*max(1rem,-1 * 1rem));outline-style:none}.igx-chip__item igx-prefix,.igx-chip__item [igxPrefix],.igx-chip__item igx-suffix,.igx-chip__item [igxSuffix]{display:inline-flex;vertical-align:middle;max-width:32ch}.igx-chip__item igx-prefix>igx-icon,.igx-chip__item [igxPrefix]>igx-icon,.igx-chip__item igx-suffix>igx-icon,.igx-chip__item [igxSuffix]>igx-icon{display:block}.igx-chip__content{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;grid-column:2/3;max-width:32ch}.igx-chip__content:empty{display:none}.igx-chip__remove{display:inline-flex;color:var(--remove-icon-color, currentColor)}.igx-chip__remove:empty{display:none}.igx-chip__remove:focus igx-icon{color:var(--remove-icon-color-focus)}.igx-chip__remove igx-icon:focus{outline-style:none}.igx-chip__select{display:inline-flex;align-items:center;opacity:1;z-index:1;transition:opacity .12s cubic-bezier(.25,.46,.45,.94),width .12s cubic-bezier(.25,.46,.45,.94)}.igx-chip__select>*{width:inherit!important}.igx-chip__ghost{position:absolute;box-shadow:var(--ghost-shadow);overflow:hidden;color:var(--focus-text-color);background:var(--ghost-background);z-index:10}.igx-chip__ghost igx-avatar,.igx-chip__ghost igx-circular-bar,.igx-chip__ghost igx-icon{--component-size: var(--chip-size)}.igx-chip__ghost:hover,.igx-chip__ghost:focus{background:var(--ghost-background)}.igx-chip--disabled{cursor:default;pointer-events:none}.igx-chip--disabled .igx-chip__item{color:var(--disabled-text-color);background:var(--disabled-background);border-color:var(--disabled-border-color)}igx-column-actions{--background-color: var(--igx-column-actions-background-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--title-color: var(--igx-column-actions-title-color, hsla(var(--ig-primary-500), var(--ig-primary-a)))}.igx-column-actions{display:flex;flex-flow:column nowrap;background:var(--background-color);box-shadow:var(--ig-elevation-8);width:100%;flex:1 1 auto;min-width:11.25rem}.igx-column-actions__header-title{color:var(--title-color);margin:0;padding:1rem 1rem .5rem}.igx-column-actions__header-input{font-size:1rem!important;margin:-1rem 0 0!important;padding:.5rem 1rem}.igx-column-actions__columns{display:flex;flex-flow:column nowrap;overflow-y:auto;outline-style:none}.igx-column-actions__columns-item{padding:.25rem 1rem;min-height:2rem}.igx-column-actions__buttons{display:flex;justify-content:flex-end;padding:.5rem 1rem}igx-combo,igx-simple-combo{--toggle-button-background-focus--border: var(--igx-combo-toggle-button-background-focus--border, hsla(var(--ig-gray-300), var(--ig-gray-a)));--case-icon-color: var(--igx-combo-case-icon-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--case-icon-color--active: var(--igx-combo-case-icon-color--active, hsla(var(--ig-primary-500), var(--ig-primary-a)));--empty-list-background: var(--igx-combo-empty-list-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--search-separator-border-color: var(--igx-combo-search-separator-border-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--empty-list-placeholder-color: var(--igx-combo-empty-list-placeholder-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-background: var(--igx-combo-toggle-button-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--toggle-button-background-focus: var(--igx-combo-toggle-button-background-focus, hsla(var(--ig-gray-400), .3));--toggle-button-foreground: var(--igx-combo-toggle-button-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-foreground-focus: var(--igx-combo-toggle-button-foreground-focus, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-foreground-filled: var(--igx-combo-toggle-button-foreground-filled, hsla(var(--ig-gray-900), var(--ig-gray-a)));--clear-button-background: var(--igx-combo-clear-button-background, transparent);--clear-button-background-focus: var(--igx-combo-clear-button-background-focus, transparent);--clear-button-foreground: var(--igx-combo-clear-button-foreground, var(--ig-gray-100-contrast));--clear-button-foreground-focus: var(--igx-combo-clear-button-foreground-focus, var(--ig-gray-100-contrast));--toggle-button-background-disabled: var(--igx-combo-toggle-button-background-disabled, hsla(var(--ig-gray-100), var(--ig-gray-a)));--toggle-button-foreground-disabled: var(--igx-combo-toggle-button-foreground-disabled, hsla(var(--ig-gray-500), var(--ig-gray-a)));--default-size: var(--igx-combo-default-size, 2)}.igx-combo{position:relative;display:block}.igx-combo__checkbox{margin-inline-end:.5rem}.igx-combo__drop-down{position:absolute;width:100%}.igx-combo__drop-down .igx-drop-down{width:100%}.igx-combo__search{padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));margin:0!important;z-index:26;border-bottom:.0625rem dashed var(--search-separator-border-color)}.igx-combo__search .igx-input-group__bundle{padding-block-start:0;height:auto}.igx-combo__search igx-input-group{--ig-size: var(--ig-size-small)}.igx-combo__case-icon .igx-icon,.igx-combo__case-icon--active .igx-icon{width:1rem;height:1rem;font-size:1rem}.igx-combo__case-icon .igx-icon{color:hsla(var(--ig-gray-600),var(--ig-gray-a))!important}.igx-combo__case-icon--active .igx-icon{color:hsla(var(--ig-primary-500),var(--ig-primary-a))}.igx-combo__content{position:relative;overflow:hidden}.igx-combo__content:focus{outline:rgba(0,0,0,0)}.igx-combo__add{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;padding:1rem;gap:1rem;background:var(--empty-list-background)}.igx-combo__add-item{height:auto!important;background:var(--empty-list-background)!important;justify-content:center!important}.igx-combo__empty{display:flex;justify-content:center;align-items:center;width:100%;color:var(--empty-list-placeholder-color);padding:0 1.5rem;font-size:.8125rem}.igx-input-group .igx-combo__toggle-button{background:var(--toggle-button-background);color:var(--toggle-button-foreground)}.igx-input-group:not(.igx-input-group--disabled) .igx-combo__clear-button{background:var(--clear-button-background);color:var(--clear-button-foreground)}.igx-input-group--filled .igx-combo__toggle-button{color:var(--toggle-button-foreground-filled)}.igx-input-group--focused .igx-combo__toggle-button{color:var(--toggle-button-foreground-focus);background:var(--toggle-button-background-focus)}.igx-input-group--focused .igx-combo__clear-button{color:var(--clear-button-foreground-focus);background:var(--clear-button-background-focus)}.igx-input-group.igx-input-group--focused:not(.igx-input-group--box) .igx-combo__toggle-button{background:var(--toggle-button-background-focus--border)}.igx-input-group--disabled .igx-combo__toggle-button{background:var(--toggle-button-background-disabled)!important;color:var(--toggle-button-foreground-disabled)!important}igx-select{--toggle-button-background-focus--border: var(--igx-select-toggle-button-background-focus--border, hsla(var(--ig-gray-300), var(--ig-gray-a)));--toggle-button-background: var(--igx-select-toggle-button-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--toggle-button-background-focus: var(--igx-select-toggle-button-background-focus, hsla(var(--ig-gray-400), .3));--toggle-button-foreground: var(--igx-select-toggle-button-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-foreground-focus: var(--igx-select-toggle-button-foreground-focus, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-foreground-filled: var(--igx-select-toggle-button-foreground-filled, hsla(var(--ig-gray-900), var(--ig-gray-a)));--toggle-button-background-disabled: var(--igx-select-toggle-button-background-disabled, hsla(var(--ig-gray-100), var(--ig-gray-a)));--toggle-button-foreground-disabled: var(--igx-select-toggle-button-foreground-disabled, hsla(var(--ig-gray-500), var(--ig-gray-a)));--default-size: var(--igx-select-default-size, 2)}.igx-select{position:relative;display:block}.igx-input-group .igx-select__toggle-button{background:var(--toggle-button-background);color:var(--toggle-button-foreground)}.igx-input-group--filled .igx-select__toggle-button{color:var(--toggle-button-foreground-filled)}.igx-input-group--focused .igx-select__toggle-button{background:var(--toggle-button-background-focus);color:var(--toggle-button-foreground-focus)}.igx-input-group.igx-input-group--focused:not(.igx-input-group--box) .igx-select__toggle-button{background:var(--toggle-button-background-focus--border)}.igx-input-group.igx-input-group--disabled .igx-select__toggle-button{background:var(--toggle-button-background-disabled);color:var(--toggle-button-foreground-disabled)}igx-calendar,igx-days-view,igx-months-view,igx-years-view,.igx-date-picker{--content-background: var(--igx-calendar-content-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--content-text-color: var(--igx-calendar-content-text-color, var(--ig-surface-500-contrast));--border-color: var(--igx-calendar-border-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--header-background: var(--igx-calendar-header-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--header-text-color: var(--igx-calendar-header-text-color, var(--ig-secondary-500-contrast));--picker-background-color: var(--igx-calendar-picker-background-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--picker-arrow-color: var(--igx-calendar-picker-arrow-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--picker-arrow-hover-color: var(--igx-calendar-picker-arrow-hover-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--picker-text-color: var(--igx-calendar-picker-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--picker-text-hover-color: var(--igx-calendar-picker-text-hover-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--inactive-text-color: var(--igx-calendar-inactive-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--label-color: var(--igx-calendar-label-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--weekend-text-color: var(--igx-calendar-weekend-text-color, var(--ig-surface-500-contrast));--year-current-text-color: var(--igx-calendar-year-current-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--month-current-text-color: var(--igx-calendar-month-current-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--month-hover-current-text-color: var(--igx-calendar-month-hover-current-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--year-hover-text-color: var(--igx-calendar-year-hover-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--month-hover-background: var(--igx-calendar-month-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--month-hover-text-color: var(--igx-calendar-month-hover-text-color, var(--ig-gray-200-contrast));--date-selected-background: var(--igx-calendar-date-selected-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-selected-hover-background: var(--igx-calendar-date-selected-hover-background, hsla(var(--ig-gray-100), .18));--date-selected-focus-background: var(--igx-calendar-date-selected-focus-background, hsla(var(--ig-gray-100), .18));--date-selected-current-background: var(--igx-calendar-date-selected-current-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-selected-current-hover-background: var(--igx-calendar-date-selected-current-hover-background, hsla(var(--ig-gray-100), .18));--date-selected-current-focus-background: var(--igx-calendar-date-selected-current-focus-background, hsla(var(--ig-gray-100), .18));--date-selected-text-color: var(--igx-calendar-date-selected-text-color, var(--ig-secondary-500-contrast));--date-selected-hover-foreground: var(--igx-calendar-date-selected-hover-foreground, var(--ig-gray-100-contrast));--date-selected-focus-foreground: var(--igx-calendar-date-selected-focus-foreground, var(--ig-gray-100-contrast));--date-current-text-color: var(--igx-calendar-date-current-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-current-hover-foreground: var(--igx-calendar-date-current-hover-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-current-focus-foreground: var(--igx-calendar-date-current-focus-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-selected-current-foreground: var(--igx-calendar-date-selected-current-foreground, var(--ig-secondary-500-contrast));--date-selected-current-hover-foreground: var(--igx-calendar-date-selected-current-hover-foreground, var(--ig-secondary-500-contrast));--date-selected-current-focus-foreground: var(--igx-calendar-date-selected-current-focus-foreground, var(--ig-gray-100-contrast));--date-current-bg-color: var(--igx-calendar-date-current-bg-color, transparent);--date-current-hover-background: var(--igx-calendar-date-current-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--date-current-focus-background: var(--igx-calendar-date-current-focus-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--date-hover-background: var(--igx-calendar-date-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--date-focus-background: var(--igx-calendar-date-focus-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--date-special-background: var(--igx-calendar-date-special-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--date-special-text-color: var(--igx-calendar-date-special-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--date-disabled-text-color: var(--igx-calendar-date-disabled-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--date-disabled-background: var(--igx-calendar-date-disabled-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--week-number-color: var(--igx-calendar-week-number-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--week-number-background: var(--igx-calendar-week-number-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--border-radius: var(--igx-calendar-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--date-border-radius: var(--igx-calendar-date-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.25rem), 1.25rem));--month-border-radius: var(--igx-calendar-month-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.25rem), 1.25rem));--default-size: var(--igx-calendar-default-size, 2)}.igx-date-picker{box-shadow:var(--ig-elevation-24);border-radius:var(--border-radius);background:var(--content-background);overflow:hidden}.igx-date-picker .igx-calendar,.igx-date-picker .igx-calendar--vertical{background:var(--content-background)}.igx-date-picker .igx-calendar__header{background:var(--header-background);color:var(--header-text-color)}.igx-date-picker .igx-calendar-picker__prev,.igx-date-picker .igx-calendar-picker__next{color:var(--picker-arrow-color)}.igx-date-picker .igx-calendar-picker__prev:hover,.igx-date-picker .igx-calendar-picker__next:hover{color:var(--picker-arrow-hover-color)}.igx-date-picker .igx-calendar-picker__date{color:var(--picker-text-color)}.igx-date-picker .igx-calendar-picker__date:hover,.igx-date-picker .igx-calendar-picker__date:focus{color:var(--picker-text-hover-color)}.igx-date-picker .igx-calendar__label,.igx-date-picker .igx-calendar__date,.igx-date-picker .igx-calendar__year{color:var(--content-text-color);min-width:14.28%}.igx-date-picker .igx-calendar__label{color:var(--label-color)}.igx-date-picker .igx-calendar__label:hover,.igx-date-picker .igx-calendar__label:focus{color:var(--label-color)}.igx-date-picker .igx-calendar__date--weekend{color:var(--weekend-text-color)}.igx-date-picker .igx-calendar__date--disabled{color:var(--date-disabled-text-color)}.igx-date-picker .igx-calendar__year--current{color:var(--year-current-text-color)}.igx-date-picker .igx-calendar__year:hover,.igx-date-picker .igx-calendar__year:focus{color:var(--year-hover-text-color)}.igx-date-picker .igx-calendar__month:hover,.igx-date-picker .igx-calendar__month:focus,.igx-date-picker .igx-calendar__month--current:hover,.igx-date-picker .igx-calendar__month--current:focus{color:var(--month-hover-text-color)}.igx-date-picker .igx-calendar__month--current{color:var(--month-current-text-color)}.igx-date-picker .igx-calendar__date--inactive,.igx-date-picker .igx-calendar__date--inactive:hover{color:var(--inactive-text-color)}.igx-date-picker .igx-calendar__date--selected{color:var(--date-selected-text-color)}.igx-date-picker .igx-calendar__date--current{color:var(--date-current-text-color)}.igx-date-picker--vertical{min-width:23rem}.igx-date-picker--dropdown{display:flex;flex:1 0 0;flex-direction:column;box-shadow:var(--ig-elevation-3)}.igx-date-picker__buttons{display:flex;justify-content:flex-end;padding:.5rem}igx-date-range{--label-color: var(--igx-date-range-label-color, hsla(var(--ig-gray-500), var(--ig-gray-a)))}.igx-date-range-picker,.igx-date-range-picker--cosy,.igx-date-range-picker--compact{display:flex}.igx-date-range-picker>igx-icon,.igx-date-range-picker--cosy>igx-icon,.igx-date-range-picker--compact>igx-icon{cursor:pointer}.igx-date-range-picker igx-input-group,.igx-date-range-picker--cosy igx-input-group,.igx-date-range-picker--compact igx-input-group{flex:1}igx-date-range-start,igx-date-range-end,.igx-date-range-picker__start,.igx-date-range-picker__end{flex:1 0 0%}.igx-date-range-picker__label{display:flex;align-items:center;color:var(--label-color);margin:0 .5rem}.igx-date-range-picker-buttons{display:flex;justify-content:flex-end;padding:0 1rem 1rem}.igx-date-range-picker-buttons>*{margin-inline-end:.5rem}.igx-date-range-picker-buttons>*:last-of-type{margin-inline-end:0}.igx-date-range-picker-buttons:empty{display:none}.igx-dialog{--elevation: var(--igx-dialog-elevation, var(--ig-elevation-24));--background: var(--igx-dialog-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--title-color: var(--igx-dialog-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--message-color: var(--igx-dialog-message-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--border-color: var(--igx-dialog-border-color, transparent);--backdrop: var(--igx-dialog-backdrop, hsla(var(--ig-gray-500), .54));--border-radius: var(--igx-dialog-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .1111111111) * 2.25rem), 2.25rem));--default-size: var(--igx-dialog-default-size, 2);--shadow: var(--igx-dialog-shadow, var(--ig-elevation-24))}.igx-dialog{outline-style:none}.igx-dialog--hidden{display:none}.igx-dialog__window{position:relative;min-width:17.5rem;border:.0625rem solid var(--border-color);border-radius:var(--border-radius);background:var(--background);box-shadow:var(--shadow);overflow:hidden}.igx-dialog__window .igx-calendar{min-width:20rem}.igx-dialog__window .igx-calendar--vertical{min-width:31rem}.igx-dialog__window-title{display:flex;color:var(--title-color);padding:1.5rem 1.5rem .75rem}.igx-dialog__window-content{color:var(--message-color);padding:.75rem 1.5rem;position:relative;z-index:0}.igx-dialog__window-message{display:inline-block;max-width:40ch}@media all and (-ms-high-contrast: none){.igx-dialog__window-message{max-width:62ch}}.igx-dialog__window-actions{display:flex;flex-flow:row nowrap;justify-content:flex-end;padding:.5rem}.igx-dialog__window-actions button+button{margin-inline-start:.5rem}igx-divider{--color: var(--igx-divider-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--inset: var(--igx-divider-inset, 0)}.igx-divider{position:relative;justify-content:center;overflow:hidden}.igx-divider:after{content:"";position:absolute;height:100%;width:100%;background:var(--color)}.igx-divider:not(.igx-divider--vertical){display:flex;min-height:.0625rem;width:100%;position:relative}.igx-divider:not(.igx-divider--vertical):after{inset-inline-start:var(--inset)}.igx-divider:not(.igx-divider--vertical):not(.igx-divider--inset):after{width:100%}.igx-divider--inset:not(.igx-divider--vertical):after{min-width:.25rem;width:calc(100% - var(--inset)*2)}.igx-divider--dashed:not(.igx-divider--vertical):after{background:repeating-linear-gradient(to right,var(--color),var(--color) .625rem,transparent .625rem,transparent 1.25rem)}.igx-divider--dashed:after{background:repeating-linear-gradient(to bottom,var(--color),var(--color) .625rem,transparent .625rem,transparent 1.25rem)}.igx-divider--vertical{display:inline-flex;min-width:.0625rem;width:.0625rem}.igx-divider--vertical:after{inset-block-start:var(--inset);width:100%;height:100%}.igx-divider--vertical.igx-divider--inset:after{min-height:.25rem;height:calc(100% - var(--inset)*2)}igc-dockmanager{--igc-active-color: var(--igc-dockmanager-active-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--igc-background-color: var(--igc-dockmanager-background-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--igc-border-color: var(--igc-dockmanager-border-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--igc-button-text: var(--igc-dockmanager-button-text, hsla(var(--ig-gray-800), var(--ig-gray-a)));--igc-context-menu-color-active: var(--igc-dockmanager-context-menu-color-active, var(--ig-surface-500-contrast));--igc-dock-background: var(--igc-dockmanager-dock-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--igc-drop-shadow-background: var(--igc-dockmanager-drop-shadow-background, hsla(var(--ig-primary-900), .1));--igc-floating-pane-border-color: var(--igc-dockmanager-floating-pane-border-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--igc-flyout-shadow-color: var(--igc-dockmanager-flyout-shadow-color, hsla(var(--ig-gray-900), .1));--igc-joystick-border-color: var(--igc-dockmanager-joystick-border-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--igc-joystick-icon-color: var(--igc-dockmanager-joystick-icon-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--igc-joystick-icon-color-active: var(--igc-dockmanager-joystick-icon-color-active, var(--ig-surface-500-contrast));--igc-pane-content-background: var(--igc-dockmanager-pane-content-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--igc-pane-header-background: var(--igc-dockmanager-pane-header-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--igc-pinned-header-background: var(--igc-dockmanager-pinned-header-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--igc-splitter-background: var(--igc-dockmanager-splitter-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--igc-tab-background-active: var(--igc-dockmanager-tab-background-active, hsla(var(--ig-surface-500), var(--ig-surface-a)));--igc-text-color: var(--igc-dockmanager-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)))}igc-rating{--label-color: var(--igc-rating-label-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--value-label: var(--igc-rating-value-label, hsla(var(--ig-gray-700), var(--ig-gray-a)));--symbol-empty-color: var(--igc-rating-symbol-empty-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--symbol-full-color: var(--igc-rating-symbol-full-color, hsla(var(--ig-warn-500), var(--ig-warn-a)));--symbol-empty-filter: var(--igc-rating-symbol-empty-filter, grayscale(100%) opacity(50%));--symbol-full-filter: var(--igc-rating-symbol-full-filter, grayscale(50%));--disabled-label-color: var(--igc-rating-disabled-label-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-value-label: var(--igc-rating-disabled-value-label, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-empty-symbol-color: var(--igc-rating-disabled-empty-symbol-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-full-symbol-color: var(--igc-rating-disabled-full-symbol-color, hsla(var(--ig-warn-200), var(--ig-warn-a)));--default-size: var(--igc-rating-default-size, 2)}igc-rating::part(label){color:var(--label-color)}igc-rating::part(value-label){color:var(--value-label)}igc-rating[disabled]::part(label),igc-rating[disabled]::part(value-label){color:var(--disabled-label-color)}igc-rating[disabled]{--symbol-empty-color: var(--disabled-empty-symbol-color);--symbol-full-color: var(--disabled-full-symbol-color);--disabled-symbol-empty-filter: var(--symbol-empty-filter);--disabled-symbol-full-filter: var(--symbol-full-filter)}.igx-drop-down__list,.igx-grid-toolbar__dd-list{--elevation: var(--igx-drop-down-elevation, var(--ig-elevation-8));--background-color: var(--igx-drop-down-background-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-text-color: var(--igx-drop-down-header-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--item-text-color: var(--igx-drop-down-item-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--hover-item-text-color: var(--igx-drop-down-hover-item-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--hover-item-background: var(--igx-drop-down-hover-item-background, hsla(var(--ig-gray-100), .8));--focused-item-background: var(--igx-drop-down-focused-item-background, hsla(var(--ig-gray-100), .8));--focused-item-text-color: var(--igx-drop-down-focused-item-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--selected-item-background: var(--igx-drop-down-selected-item-background, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--selected-item-text-color: var(--igx-drop-down-selected-item-text-color, var(--ig-secondary-100-contrast));--selected-hover-item-background: var(--igx-drop-down-selected-hover-item-background, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--selected-hover-item-text-color: var(--igx-drop-down-selected-hover-item-text-color, var(--ig-secondary-200-contrast));--selected-focus-item-background: var(--igx-drop-down-selected-focus-item-background, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--selected-focus-item-text-color: var(--igx-drop-down-selected-focus-item-text-color, var(--ig-secondary-200-contrast));--disabled-item-background: var(--igx-drop-down-disabled-item-background, hsla(var(--ig-gray-50), 0));--disabled-item-text-color: var(--igx-drop-down-disabled-item-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--border-color: var(--igx-drop-down-border-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--border-width: var(--igx-drop-down-border-width, 0);--border-radius: var(--igx-drop-down-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--item-border-radius: var(--igx-drop-down-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 1.25rem), 1.25rem));--size: var(--igx-drop-down-size, max(var(--is-large, 1) * max(2.5rem, -1 * 2.5rem), var(--is-medium, 1) * max(2rem, -1 * 2rem), var(--is-small, 1) * max(1.75rem, -1 * 1.75rem)));--default-size: var(--igx-drop-down-default-size, 2);--shadow: var(--igx-drop-down-shadow, var(--ig-elevation-8))}.igx-drop-down{position:absolute}.igx-drop-down__list{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--dropdown-size: var(--component-size);overflow:hidden;border-radius:var(--border-radius);background:var(--background-color);box-shadow:var(--shadow);min-width:8rem;border:var(--border-width) solid var(--border-color)}.igx-drop-down__list-scroll{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative}.igx-drop-down__content{display:flex;width:100%;align-items:center;gap:.5rem}.igx-drop-down__inner{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-inline-end:auto}.igx-drop-down__inner+[igxSuffix],.igx-drop-down__inner+igx-suffix{margin-inline-end:0}.igx-drop-down__group label,.igx-drop-down__header,.igx-drop-down__item{display:flex;justify-content:flex-start;align-items:center;width:100%;white-space:nowrap;position:relative;height:var(--size)}.igx-drop-down__group label igx-divider,.igx-drop-down__header igx-divider,.igx-drop-down__item igx-divider{position:absolute;width:100%;inset-inline-start:0;bottom:0}.igx-drop-down__group label igx-icon,.igx-drop-down__header igx-icon,.igx-drop-down__item igx-icon{justify-content:center;--component-size: var(--dropdown-size)}.igx-drop-down__item{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: (--dropdown-size);color:var(--item-text-color);cursor:pointer;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1.25rem,-1 * 1.25rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));border-radius:var(--item-border-radius)}.igx-drop-down__item:focus{outline:0;outline-color:#0000;background:var(--focused-item-background);color:var(--focused-item-text-color)}.igx-drop-down__item:hover{background:var(--hover-item-background);color:var(--hover-item-text-color)}.igx-drop-down__group label,.igx-drop-down__header{color:var(--header-text-color);pointer-events:none;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-drop-down__group{pointer-events:auto}.igx-drop-down__item--focused{background:var(--focused-item-background);color:var(--focused-item-text-color)}.igx-drop-down__item--focused:hover{color:var(--focused-item-text-color);background:var(--focused-item-background)}.igx-drop-down__item--selected{background:var(--selected-item-background);color:var(--selected-item-text-color)}.igx-drop-down__item--selected:hover{background:var(--selected-hover-item-background);color:var(--selected-hover-item-text-color)}.igx-drop-down__item--selected.igx-drop-down__item--focused{background:var(--selected-focus-item-background);color:var(--selected-focus-item-text-color)}.igx-drop-down__item--disabled,.igx-drop-down__group--disabled{background:var(--disabled-item-background);color:var(--disabled-item-text-color);cursor:default;pointer-events:none}.igx-drop-down__item--disabled:hover,.igx-drop-down__group--disabled:hover{background:var(--disabled-item-background)}igx-expansion-panel{--header-background: var(--igx-expansion-panel-header-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--body-background: var(--igx-expansion-panel-body-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-focus-background: var(--igx-expansion-panel-header-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--header-title-color: var(--igx-expansion-panel-header-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--header-description-color: var(--igx-expansion-panel-header-description-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--header-icon-color: var(--igx-expansion-panel-header-icon-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--body-color: var(--igx-expansion-panel-body-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--disabled-color: var(--igx-expansion-panel-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--expanded-margin: var(--igx-expansion-panel-expanded-margin, .5rem);--border-radius: var(--igx-expansion-panel-border-radius, 0rem, 0rem, 1rem)}.igx-expansion-panel{display:flex;flex-direction:column;border-radius:var(--border-radius);overflow:hidden;transition:margin .35s cubic-bezier(.25,.46,.45,.94)}.igx-expansion-panel__header-title{color:var(--header-title-color);margin-inline-end:1rem}.igx-expansion-panel__header-description{color:var(--header-description-color)}.igx-expansion-panel__header-title,.igx-expansion-panel__header-description{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.igx-accordion{overflow-y:auto}.igx-accordion .igx-expansion-panel__header-title{display:-webkit-inline-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;word-wrap:break-word}.igx-accordion .igx-expansion-panel--expanded{margin:var(--expanded-margin) 0}.igx-accordion .igx-expansion-panel--expanded:first-of-type{margin-top:0}.igx-accordion .igx-expansion-panel--expanded:last-of-type{margin-bottom:0}.igx-expansion-panel__header-inner{display:flex;align-items:center;padding:1rem 1.5rem;cursor:pointer;background:var(--header-background)}.igx-expansion-panel__header-inner:focus,.igx-expansion-panel__header-inner:active{background:var(--header-focus-background);outline:rgba(0,0,0,0)}.igx-expansion-panel__title-wrapper{display:flex;flex-direction:column;justify-content:center;flex:1 0 0%;overflow:hidden}.igx-expansion-panel__header-icon--end{order:1;margin-inline-start:1rem}.igx-expansion-panel__header-icon--start{order:-1;margin-inline-end:1rem}.igx-expansion-panel__header-icon--none{display:none}.igx-expansion-panel__header-icon--end,.igx-expansion-panel__header-icon--start{display:flex;align-content:center;justify-content:center;-webkit-user-select:none;user-select:none;color:var(--header-icon-color)}.igx-expansion-panel__header-icon--end igx-icon,.igx-expansion-panel__header-icon--start igx-icon{--component-size: 3;color:var(--header-icon-color)}.igx-expansion-panel__body{color:var(--body-color);background:var(--body-background);overflow:hidden;padding:1rem 1.5rem}.igx-expansion-panel--disabled{pointer-events:none}.igx-expansion-panel--disabled .igx-expansion-panel__header-title,.igx-expansion-panel--disabled .igx-expansion-panel__header-description{color:var(--disabled-color)}.igx-expansion-panel--disabled .igx-expansion-panel__header-icon--start igx-icon,.igx-expansion-panel--disabled .igx-expansion-panel__header-icon--end igx-icon{color:var(--disabled-color)}igx-grid,igx-hierarchical-grid,igx-pivot-grid,igx-tree-grid,igx-advanced-filtering-dialog,igx-grid-excel-style-filtering,.igx-excel-filter__secondary{--grid-elevation: var(--igx-grid-grid-elevation, var(--ig-elevation-2));--drag-elevation: var(--igx-grid-drag-elevation, var(--ig-elevation-5));--grouparea-color: var(--igx-grid-grouparea-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--grouparea-background: var(--igx-grid-grouparea-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--drop-area-text-color: var(--igx-grid-drop-area-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--drop-area-icon-color: var(--igx-grid-drop-area-icon-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--drop-area-background: var(--igx-grid-drop-area-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--drop-area-on-drop-background: var(--igx-grid-drop-area-on-drop-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--header-background: var(--igx-grid-header-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--header-text-color: var(--igx-grid-header-text-color, hsla(var(--ig-gray-800), .7));--header-selected-background: var(--igx-grid-header-selected-background, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--header-selected-text-color: var(--igx-grid-header-selected-text-color, var(--ig-secondary-100-contrast));--sortable-header-icon-hover-color: var(--igx-grid-sortable-header-icon-hover-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--sorted-header-icon-color: var(--igx-grid-sorted-header-icon-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--header-border-width: var(--igx-grid-header-border-width, 1px);--header-border-style: var(--igx-grid-header-border-style, solid);--header-border-color: var(--igx-grid-header-border-color, hsla(var(--ig-gray-400), .38));--ghost-header-background: var(--igx-grid-ghost-header-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--ghost-header-text-color: var(--igx-grid-ghost-header-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--ghost-header-icon-color: var(--igx-grid-ghost-header-icon-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--filtering-background-and: var(--igx-grid-filtering-background-and, hsla(var(--ig-primary-300), var(--ig-primary-a)));--filtering-background-or: var(--igx-grid-filtering-background-or, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--filtering-background-and--focus: var(--igx-grid-filtering-background-and--focus, hsla(var(--ig-primary-700), var(--ig-primary-a)));--filtering-background-or--focus: var(--igx-grid-filtering-background-or--focus, hsla(var(--ig-secondary-700), var(--ig-secondary-a)));--excel-filtering-header-foreground: var(--igx-grid-excel-filtering-header-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--excel-filtering-subheader-foreground: var(--igx-grid-excel-filtering-subheader-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--excel-filtering-actions-foreground: var(--igx-grid-excel-filtering-actions-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--excel-filtering-actions-hover-foreground: var(--igx-grid-excel-filtering-actions-hover-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--excel-filtering-actions-disabled-foreground: var(--igx-grid-excel-filtering-actions-disabled-foreground, hsla(var(--ig-gray-400), var(--ig-gray-a)));--grid-border-color: var(--igx-grid-grid-border-color, transparent);--content-background: var(--igx-grid-content-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--content-text-color: var(--igx-grid-content-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--row-odd-background: var(--igx-grid-row-odd-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--row-even-background: var(--igx-grid-row-even-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--row-odd-text-color: var(--igx-grid-row-odd-text-color, inherit);--row-even-text-color: var(--igx-grid-row-even-text-color, inherit);--row-selected-background: var(--igx-grid-row-selected-background, hsla(var(--ig-secondary-50), var(--ig-secondary-a)));--tree-selected-filtered-row-text-color: var(--igx-grid-tree-selected-filtered-row-text-color, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--row-selected-text-color: var(--igx-grid-row-selected-text-color, var(--ig-secondary-50-contrast));--cell-selected-within-background: var(--igx-grid-cell-selected-within-background, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--cell-selected-within-text-color: var(--igx-grid-cell-selected-within-text-color, var(--ig-secondary-200-contrast));--row-selected-hover-background: var(--igx-grid-row-selected-hover-background, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--row-selected-hover-text-color: var(--igx-grid-row-selected-hover-text-color, var(--ig-secondary-100-contrast));--row-hover-background: var(--igx-grid-row-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--row-hover-text-color: var(--igx-grid-row-hover-text-color, var(--ig-gray-200-contrast));--row-border-color: var(--igx-grid-row-border-color, hsla(var(--ig-gray-300), .38));--pinned-border-width: var(--igx-grid-pinned-border-width, 2px);--pinned-border-style: var(--igx-grid-pinned-border-style, solid);--pinned-border-color: var(--igx-grid-pinned-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--cell-active-border-color: var(--igx-grid-cell-active-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--cell-selected-background: var(--igx-grid-cell-selected-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--tree-selected-filtered-cell-text-color: var(--igx-grid-tree-selected-filtered-cell-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--cell-selected-text-color: var(--igx-grid-cell-selected-text-color, var(--ig-gray-200-contrast));--cell-editing-background: var(--igx-grid-cell-editing-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--cell-editing-foreground: var(--igx-grid-cell-editing-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--cell-editing-focus-foreground: var(--igx-grid-cell-editing-focus-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--edit-mode-color: var(--igx-grid-edit-mode-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--edited-row-indicator: var(--igx-grid-edited-row-indicator, hsla(var(--ig-gray-400), var(--ig-gray-a)));--cell-new-color: var(--igx-grid-cell-new-color, inherit);--cell-edited-value-color: var(--igx-grid-cell-edited-value-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--cell-disabled-color: var(--igx-grid-cell-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--resize-line-color: var(--igx-grid-resize-line-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--drop-indicator-color: var(--igx-grid-drop-indicator-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--group-label-column-name-text: var(--igx-grid-group-label-column-name-text, hsla(var(--ig-primary-500), var(--ig-primary-a)));--group-label-icon: var(--igx-grid-group-label-icon, hsla(var(--ig-primary-500), var(--ig-primary-a)));--group-label-text: var(--igx-grid-group-label-text, hsla(var(--ig-gray-800), var(--ig-gray-a)));--expand-all-icon-color: var(--igx-grid-expand-all-icon-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--expand-all-icon-hover-color: var(--igx-grid-expand-all-icon-hover-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--expand-icon-color: var(--igx-grid-expand-icon-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--expand-icon-hover-color: var(--igx-grid-expand-icon-hover-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--active-expand-icon-color: var(--igx-grid-active-expand-icon-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--active-expand-icon-hover-color: var(--igx-grid-active-expand-icon-hover-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--group-count-background: var(--igx-grid-group-count-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--group-count-text-color: var(--igx-grid-group-count-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--group-row-background: var(--igx-grid-group-row-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--group-row-selected-background: var(--igx-grid-group-row-selected-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--filtering-header-background: var(--igx-grid-filtering-header-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--filtering-header-text-color: var(--igx-grid-filtering-header-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--filtering-row-background: var(--igx-grid-filtering-row-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--filtering-row-text-color: var(--igx-grid-filtering-row-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--tree-filtered-text-color: var(--igx-grid-tree-filtered-text-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--body-summaries-background: var(--igx-grid-body-summaries-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--body-summaries-text-color: var(--igx-grid-body-summaries-text-color, var(--ig-gray-100-contrast));--root-summaries-background: var(--igx-grid-root-summaries-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--root-summaries-text-color: var(--igx-grid-root-summaries-text-color, var(--ig-gray-300-contrast));--row-highlight: var(--igx-grid-row-highlight, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--row-ghost-background: var(--igx-grid-row-ghost-background, hsla(var(--ig-primary-50), var(--ig-primary-a)));--row-drag-color: var(--igx-grid-row-drag-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--drop-area-border-radius: var(--igx-grid-drop-area-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1rem), 1rem));--header-size: var(--igx-grid-header-size, max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)));--drop-area-size: var(--igx-grid-drop-area-size, max(var(--is-large, 1) * max(2rem, -1 * 2rem), var(--is-medium, 1) * max(1.5rem, -1 * 1.5rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--group-area-size: var(--igx-grid-group-area-size, max(var(--is-large, 1) * max(3.5625rem, -1 * 3.5625rem), var(--is-medium, 1) * max(3.0625rem, -1 * 3.0625rem), var(--is-small, 1) * max(2.5625rem, -1 * 2.5625rem)));--grid-shadow: var(--igx-grid-grid-shadow, var(--ig-elevation-2));--drag-shadow: var(--igx-grid-drag-shadow, var(--ig-elevation-5))}@keyframes scale-in-ver-center{0%{transform:scaleY(0);opacity:1}to{transform:scaleY(1);opacity:1}}igx-grid,igx-hierarchical-grid,igx-pivot-grid,igx-tree-grid{--igx-chip-disabled-text-color: hsla(var(--ig-gray-500), var(--ig-gray-a));--igx-chip-disabled-background: hsla(var(--ig-gray-300), var(--ig-gray-a));--igx-chip-disabled-border-color: hsla(var(--ig-gray-300), var(--ig-gray-a))}.igx-grid__tbody-content:focus,.igx-grid__tfoot:focus,.igx-grid-thead__wrapper:focus{outline:0}.igx-grid{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--grid-size: var(--component-size)}.igx-grid{--header-size: max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem));--grouparea-size: max(var(--is-large, 1) * max(3.5625rem, -1 * 3.5625rem), var(--is-medium, 1) * max(3.0625rem, -1 * 3.0625rem), var(--is-small, 1) * max(2.5625rem, -1 * 2.5625rem));--igx-tree-indent-size: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1rem, -1 * 1rem), var(--is-small, 1) * max(.75rem, -1 * .75rem));position:relative;display:grid;grid-template-rows:auto auto auto 1fr auto auto;grid-template-columns:100%;overflow:hidden;box-shadow:var(--grid-shadow);outline-style:none;z-index:1}.igx-grid .igx-checkbox{min-width:1.25rem}.igx-grid__caption{display:flex;align-items:center;font-size:1.25rem;line-height:2rem;padding:1rem 1.5rem;grid-row:1}.igx-grid-thead__wrapper,.igx-grid__tfoot{position:relative;display:flex;background:var(--header-background);color:var(--header-text-color);overflow:hidden;outline-style:none}.igx-grid-thead__wrapper .igx-grid__tr,.igx-grid__tfoot .igx-grid__tr{position:relative;background:inherit;color:inherit;z-index:2}.igx-grid-thead__wrapper .igx-grid__tr:hover,.igx-grid__tfoot .igx-grid__tr:hover{background:inherit;color:inherit}.igx-grid-thead__wrapper>[aria-activedescendant],.igx-grid__tfoot>[aria-activedescendant]{outline-style:none}.igx-grid-thead__wrapper{border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color);z-index:2}.igx-grid-thead__wrapper .igx-grid__cbx-selection--push{align-items:flex-start;padding-block-start:max(var(--is-large, 1)*max(.9375rem,-1 * .9375rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.625rem,-1 * .625rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)))}.igx-grid-thead__wrapper .igx-grid__tr{border-bottom:none}.igx-grid-thead{grid-row:3;display:flex;overflow:hidden}.igx-grid-thead .igx-grid__header-indentation igx-icon{--component-size: var(--ig-size, var(--ig-size-large));font-size:1.5rem;width:1.5rem;height:1.5rem}.igx-grid-thead .igx-grid__drag-indicator{cursor:default}.igx-grid-thead .igx-grid__tr--mrl .igx-grid__hierarchical-expander--header,.igx-grid-thead .igx-grid__tr--mrl .igx-grid__header-indentation,.igx-grid-thead .igx-grid__tr--mrl .igx-grid__row-indentation,.igx-grid-thead .igx-grid__tr--mrl .igx-grid__cbx-selection{border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid-thead__title{flex-basis:auto!important;align-items:center!important;border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color);height:var(--header-size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0}.igx-grid-thead__title--pinned-last{border-inline-end:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important}.igx-grid-thead__group{display:flex;flex-flow:row nowrap}.igx-grid-thead__item{display:flex;flex-flow:column nowrap}.igx-grid-thead__item .igx-grid-thead__group,.igx-grid-thead__item .igx-grid-thead__title,.igx-grid-thead__item .igx-grid-th{flex:1 1 auto}.igx-grid-thead__item .igx-grid-thead__title{flex:0 0 auto}.igx-grid-thead__item,.igx-grid-thead__subgroup{position:relative}.igx-grid__tfoot{grid-row:5;border-top:var(--header-border-width) var(--header-border-style) var(--header-border-color);z-index:10001}.igx-grid__footer{grid-row:7}.igx-grid-thead__wrapper igx-display-container{width:100%;overflow:visible}.igx-grid__tr igx-display-container,.igx-grid__summaries igx-display-container,.igx-grid__summaries--body igx-display-container{width:100%;overflow:visible}.igx-grid__mrl-block{display:grid;background:inherit;position:relative}.igx-grid__mrl-block .igx-grid-thead__item{display:flex}.igx-grid__mrl-block .igx-grid-thead__title,.igx-grid__mrl-block .igx-grid-th{align-items:center;flex-grow:1;border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid__mrl-block .igx-grid__td,.igx-grid__mrl-block .igx-grid-thead__title,.igx-grid__mrl-block .igx-grid-th{border-inline-end:.0625rem solid var(--row-border-color);border-bottom:.0625rem solid var(--row-border-color)}.igx-grid__tr--mrl.igx-grid__tr{border-bottom-color:#0000}.igx-grid__tr--mrl .igx-grid__cbx-selection,.igx-grid__tr--mrl .igx-grid__row-indentation,.igx-grid__tr--mrl .igx-grid__drag-indicator{border-bottom:.0625rem solid var(--row-border-color)}.igx-grid__tbody-content{position:relative;background:var(--content-background);color:var(--content-text-color);overflow:hidden;z-index:1;outline-style:none}.igx-grid__tbody{position:relative;display:flex;grid-row:4;overflow:hidden}.igx-grid__tbody-message{display:flex;justify-content:center;align-items:center;height:100%;color:var(--content-text-color);flex-direction:column;padding:1.5rem}.igx-grid__loading{display:flex;align-items:center;justify-content:center;height:100%;min-height:6.25rem}.igx-grid__loading>.igx-circular-bar{width:3.125rem;height:3.125rem}.igx-grid__scroll{grid-row:6;display:flex;flex-flow:row nowrap;width:100%;background:var(--header-background);z-index:10001}.igx-grid-thead__thumb{background:var(--header-background);border-inline-start:.0625rem solid var(--header-border-color)}.igx-grid__tfoot-thumb{position:absolute;top:0;inset-inline-end:0;background:var(--header-background);border-inline-start:.0625rem solid var(--header-border-color)}.igx-grid__tbody-scrollbar{background:var(--content-background);border-inline-start:.0625rem solid var(--row-border-color);position:relative}.igx-grid__tbody-scrollbar-start{background:var(--header-background)}.igx-grid__tbody-scrollbar-main{position:relative}.igx-grid__tbody-scrollbar-end,.igx-grid__scroll-start{background:var(--header-background)}.igx-grid__scroll-main igx-display-container{height:0}.igx-grid__scroll-main igx-horizontal-virtual-helper{height:100%}.igx-grid__tr{display:flex;background:var(--content-background);border-bottom:.0625rem solid var(--row-border-color);outline-style:none;position:relative;background-clip:content-box!important}.igx-grid__tr:hover{background:var(--row-hover-background);color:var(--row-hover-text-color)}.igx-grid__tr:hover .igx-grid__td--column-selected{color:var(--row-selected-hover-text-color);background:var(--row-selected-hover-background)}.igx-grid__tr:hover .igx-grid__td--selected.igx-grid__td--column-selected{color:var(--cell-selected-within-text-color);background:var(--cell-selected-within-background)}.igx-grid__tr.igx-grid__tr--ghost{background:var(--row-ghost-background);color:var(--row-drag-color);z-index:10002}.igx-grid__tr.igx-grid__tr--ghost,.igx-grid__tr.igx-grid__tr--ghost igx-grid-row{--row-ghost-background: var(--igx-grid-row-row-ghost-background, hsla(var(--ig-primary-50), var(--ig-primary-a)));--row-drag-color: var(--igx-grid-row-row-drag-color, )}.igx-grid__drag-indicator{display:flex;align-items:center;justify-content:center;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;flex:1 0 auto;min-width:3rem;background:inherit;z-index:4;cursor:move;border-inline-end:.0625rem solid rgba(0,0,0,0);background-clip:border-box}.igx-grid__drag-indicator igx-icon{width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem)}.igx-grid__drag-indicator--header{border-inline-end:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid__drag-indicator--off{color:var(--row-drag-color)}.igx-grid__tr--drag{opacity:.5}.igx-grid__tr--odd{background:var(--row-odd-background);color:var(--row-odd-text-color)}.igx-grid__tr--even{background:var(--row-even-background);color:var(--row-even-text-color)}.igx-grid__tr--expanded{border-bottom:none}.igx-grid__tr--pinned{position:relative;background:inherit;z-index:10000}.igx-grid__tr--pinned .igx-grid__hierarchical-expander--empty{border-inline-end:.0625rem solid var(--header-border-color)}.igx-grid__tr--pinned-top{border-bottom:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important}.igx-grid__tr--pinned-bottom{border-top:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important;position:absolute;bottom:0}.igx-grid__td--bool,.igx-grid__td--image{justify-content:center}.igx-grid__td--bool igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-grid__td--bool .igx-icon--error{color:hsla(var(--ig-gray-500),var(--ig-gray-a))}.igx-grid__td--bool-true .igx-icon--success{color:hsla(var(--ig-gray-700),var(--ig-gray-a))}.igx-grid__tr--edit{border-bottom:.0625rem solid var(--edit-mode-color);position:relative}.igx-grid__tr--edit:after{content:"";position:absolute;height:.0625rem;width:100%;top:-.0625rem;inset-inline-start:0;background:var(--edit-mode-color)}.igx-grid__tr--edit.igx-grid__tr{border-bottom:.0625rem solid var(--edit-mode-color)}.igx-grid__tr--edit .igx-grid__td--editing{border:none}.igx-grid__tr--edit .igx-grid__td--editing .igx-input-group--focused .igx-input-group__bundle,.igx-input-group--focused .igx-grid__tr--edit .igx-grid__td--editing .igx-input-group__bundle{caret-color:var(--edit-mode-color)!important}.igx-grid__tr--edit .igx-grid__td--editing .igx-input-group--fluent .igx-input-group__bundle:focus-within:after,.igx-input-group--fluent .igx-grid__tr--edit .igx-grid__td--editing .igx-input-group__bundle:focus-within:after,.igx-grid__tr--edit .igx-grid__td--editing .igx-input-group--fluent .igx-input-group__bundle:focus:after,.igx-input-group--fluent .igx-grid__tr--edit .igx-grid__td--editing .igx-input-group__bundle:focus:after{border:none!important}.igx-grid__tr--edit [aria-readonly=true]{color:var(--cell-disabled-color)}.igx-grid__tr--edit [aria-readonly=true] igx-icon{color:var(--cell-disabled-color)}.igx-grid__tr--inner{display:flex;background:inherit}.igx-grid__tr--header{display:flex;align-items:center}.igx-grid__tr--add-animate{animation:scale-in-ver-center .2s cubic-bezier(.455,.03,.515,.955)}.igx-grid__tr--mrl.igx-grid__tr--edit:first-of-type:after{top:0;z-index:5}.igx-grid__tr--edited:before{content:"";position:absolute;width:.125rem;height:100%;z-index:10000;background:var(--edited-row-indicator)}.igx-grid__tr--group{position:relative;background:var(--header-background)!important}.igx-grid__tr--filtered .igx-grid__td-text,.igx-grid__tr--filtered .igx-grid__tree-grouping-indicator,.igx-grid__tr--filtered .igx-grid__tree-grouping-indicator:hover{color:var(--tree-filtered-text-color)}.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__td-text,.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__tree-grouping-indicator,.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__tree-grouping-indicator:hover{color:var(--tree-selected-filtered-cell-text-color)}.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__td-text,.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__tree-grouping-indicator,.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__tree-grouping-indicator:hover{color:var(--tree-selected-filtered-row-text-color)}.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__td-text,.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__tree-grouping-indicator,.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__tree-grouping-indicator:hover{color:var(--tree-selected-filtered-cell-text-color)}.igx-grid__tree-grouping-indicator{display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;outline-style:none;margin-inline-end:.5rem;cursor:pointer;color:var(--expand-icon-color)}.igx-grid__tree-grouping-indicator:hover{color:var(--expand-icon-hover-color)}[dir=rtl] .igx-grid__tree-grouping-indicator{transform:scaleX(-1)}.igx-grid__tree-grouping-indicator igx-icon{--component-size: 3}.igx-grid__tree-loading-indicator{width:1.5rem;height:1.5rem;margin-inline-end:.5rem}.igx-grid__tree-loading-indicator .igx-circular-bar__outer{stroke:var(--expand-icon-color)}.igx-grid__tree-loading-indicator>.igx-circular-bar{width:1.5rem;height:1.5rem}.igx-grid__td,.igx-grid-thead__title,.igx-grid-th{position:relative;display:flex;flex:1 1 0%;align-items:center;outline-style:none;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;font-size:.8125rem;line-height:1rem;color:inherit;text-align:start;background-clip:border-box!important}.igx-grid__td-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;pointer-events:none}.igx-grid__td--fw,.igx-grid-th--fw{flex-grow:0;outline-style:none}.igx-grid__tr-container--active,.igx-grid__group-row--active,.igx-grid-summary--active,.igx-grid-th--active .igx-grid-th--selected,.igx-grid-th--active .igx-grid-th--selectable,.igx-grid-th--active,.igx-grid__td--active{box-shadow:inset 0 0 0 .0625rem var(--cell-active-border-color)}.igx-grid__tr-container--active .igx-grid__filtering-cell,.igx-grid__group-row--active .igx-grid__filtering-cell,.igx-grid-summary--active .igx-grid__filtering-cell,.igx-grid-th--active .igx-grid__filtering-cell,.igx-grid__td--active .igx-grid__filtering-cell,.igx-grid__tr-container--active .igx-grid__filtering-cell--selected,.igx-grid__group-row--active .igx-grid__filtering-cell--selected,.igx-grid-summary--active .igx-grid__filtering-cell--selected,.igx-grid-th--active .igx-grid__filtering-cell--selected,.igx-grid__td--active .igx-grid__filtering-cell--selected,.igx-grid__tr-container--active .igx-grid-thead__title,.igx-grid__group-row--active .igx-grid-thead__title,.igx-grid-summary--active .igx-grid-thead__title,.igx-grid-th--active .igx-grid-thead__title,.igx-grid__td--active .igx-grid-thead__title,.igx-grid__tr-container--active .igx-grid-th,.igx-grid__group-row--active .igx-grid-th,.igx-grid-summary--active .igx-grid-th,.igx-grid-th--active .igx-grid-th,.igx-grid__td--active .igx-grid-th{border-inline-end-color:var(--cell-active-border-color);border-bottom-color:var(--cell-active-border-color)}.igx-grid__td--invalid{padding-inline-end:.25rem!important}.igx-grid__td--invalid>igx-icon{margin-inline-start:auto;color:hsla(var(--ig-error-500),var(--ig-error-a));width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-grid__td--invalid .igx-grid__td-text{width:100%}.igx-grid__td--invalid .igx-input-group__bundle:focus-within:after{border:none!important}.igx-grid__td--valid{box-shadow:inset 0 0 0 .125rem hsla(var(--ig-success-500),var(--ig-success-a))!important}.igx-grid__td--pinned.igx-grid__td--selected,.igx-grid__td--selected{color:var(--cell-selected-text-color);background:var(--cell-selected-background)}.igx-grid__td--selected .igx-grid__tree-grouping-indicator:hover{color:var(--cell-selected-text-color)}.igx-grid__tr--selected{color:var(--row-selected-text-color);background:var(--row-selected-background)}.igx-grid__tr--selected .igx-grid__td--selected{color:var(--cell-selected-within-text-color);background:var(--cell-selected-within-background)}.igx-grid__tr--selected:hover{background:var(--row-selected-hover-background);color:var(--row-selected-hover-text-color)}.igx-grid__tr--selected:hover .igx-grid__td--column-selected{color:var(--row-selected-hover-text-color);background:var(--row-selected-hover-background)}.igx-grid__tr--selected .igx-grid__tree-grouping-indicator,.igx-grid__tr--selected .igx-grid__tree-grouping-indicator:hover{color:var(--row-selected-text-color)}.igx-grid__td--column-selected{color:var(--row-selected-text-color);background:var(--row-selected-background)}.igx-grid__td--selected.igx-grid__td--column-selected{color:var(--cell-selected-within-text-color);background:var(--cell-selected-within-background)}.igx-grid__td--new{color:var(--cell-new-color)}.igx-grid__td--edited .igx-grid__td-text{font-style:italic;color:var(--cell-edited-value-color);padding:0 .0625rem}.igx-grid__tr--deleted .igx-grid__td-text{font-style:italic;color:hsla(var(--ig-error-500),var(--ig-error-a));text-decoration:line-through}.igx-grid__tr--disabled .igx-grid__td-text{color:var(--cell-disabled-color)}.igx-grid__td--editing{background:var(--cell-editing-background)!important;box-shadow:inset 0 0 0 .125rem var(--edit-mode-color);padding:0!important}.igx-grid__td--editing>igx-input-group,.igx-grid__td--editing igx-combo,.igx-grid__td--editing igx-select,.igx-grid__td--editing igx-date-picker,.igx-grid__td--editing igx-time-picker{position:relative;height:calc(100% - .25rem);width:calc(100% - .25rem);inset-inline-start:.125rem;overflow:hidden}.igx-grid__td--editing igx-input-group{height:100%;--theme: fluent}.igx-grid__td--editing igx-input-group input{height:100%;color:var(--cell-editing-foreground)}.igx-grid__td--editing igx-input-group input:focus{color:var(--cell-editing-focus-foreground)}.igx-grid__td--editing .igx-input-group__bundle{height:100%!important;min-height:100%!important;border:none!important}.igx-grid__td--editing .igx-input-group__bundle:before{content:none!important}.igx-grid__td--editing .igx-input-group__bundle:after{display:none}.igx-grid__td--editing .igx-input-group__bundle-main,.igx-grid__td--editing .igx-input-group__bundle-start,.igx-grid__td--editing .igx-input-group__bundle-end{height:calc(100% - .25rem)}.igx-grid__td--invalid.igx-grid__td--editing{box-shadow:inset 0 0 0 .125rem hsla(var(--ig-error-500),var(--ig-error-a))!important;padding-inline-end:.25rem!important}.igx-grid__td--editing igx-prefix,.igx-grid__td--editing igx-suffix{border-radius:0!important;padding-top:0!important;padding-bottom:0!important}.igx-grid__td--editing igx-date-range-picker{height:100%}.igx-grid__td--editing igx-time-picker [igxLabel]{display:none}.igx-grid__td--editing input{margin:0 auto;max-width:100%}.igx-grid__td--editing .igx-input-group__input,.igx-grid__td--editing .igx-input-group__textarea{font-size:.8125rem!important;line-height:1rem!important}.igx-grid__td--editing.igx-grid__td--number,.igx-grid__td--editing.igx-grid-th--number{justify-content:flex-start!important}.igx-grid__td--pinned,.igx-grid__td--pinned-last,.igx-grid__td--pinned-first,.igx-grid-th--pinned{position:relative;background:inherit;z-index:9999}.igx-grid__td--pinned.igx-grid__td--column-selected{color:var(--row-selected-text-color);background:var(--row-selected-background)}.igx-grid__td--pinned.igx-grid__td--column-selected:hover{background:var(--row-selected-hover-background);color:var(--row-selected-text-color)}.igx-grid__td--pinned-last,.igx-grid-th--pinned-last{border-inline-end:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important}.igx-grid__td--pinned-last .igx-grid__filtering-cell,.igx-grid-th--pinned-last .igx-grid__filtering-cell,.igx-grid__td--pinned-last .igx-grid__filtering-cell--selected,.igx-grid-th--pinned-last .igx-grid__filtering-cell--selected,.igx-grid__td--pinned-last .igx-grid-thead__title,.igx-grid-th--pinned-last .igx-grid-thead__title,.igx-grid__td--pinned-last .igx-grid-th,.igx-grid-th--pinned-last .igx-grid-th{border-inline-end:none}.igx-grid__td--pinned-first,.igx-grid-th--pinned-first{border-inline-start:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important}.igx-grid__td--row-pinned-first{overflow:hidden}.igx-grid__td--pinned-chip{margin-inline-end:max(var(--is-large, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid-thead__title,.igx-grid-th{flex-flow:row nowrap;justify-content:space-between;align-items:flex-end;font-size:.75rem;font-weight:600;min-width:0;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;border-inline-end:var(--header-border-width) var(--header-border-style) var(--header-border-color);min-height:var(--header-size);outline-style:none;overflow:hidden;transition:color .25s ease-in-out}.igx-grid-th--filtering{background:var(--filtering-header-background);color:var(--filtering-header-text-color);z-index:3}.igx-grid-th__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600;min-width:3ch;-webkit-user-select:none;user-select:none;cursor:initial;flex-grow:1;line-height:var(--header-size);transition:color .25s ease-in-out}.igx-grid-th__icons{display:inline-flex;align-items:center;justify-content:flex-end;-webkit-user-select:none;user-select:none;min-width:1.875rem;height:var(--header-size);align-self:flex-end}.igx-grid-th__icons:empty{min-width:0}.igx-grid-th__icons .sort-icon{position:relative;display:flex}.igx-grid-th__icons .sort-icon igx-icon{width:var(--igx-icon-size, .9375rem);height:var(--igx-icon-size, .9375rem);font-size:var(--igx-icon-size, .9375rem)}.igx-grid-th__icons .sort-icon:after{content:attr(data-sortIndex);position:absolute;top:-.3125rem;inset-inline-end:-.0625rem;font-size:.625rem;text-align:end;font-family:sans-serif;line-height:.625rem}.igx-grid-th__expander{display:flex;align-items:center;justify-content:center;margin-inline-end:.5rem;cursor:pointer}.igx-grid-th__expander igx-icon{color:var(--expand-icon-color)}.igx-grid-th__expander:hover igx-icon{color:var(--expand-icon-hover-color)}.igx-grid-th__group-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-grid-th--collapsible{justify-content:normal}.igx-grid-th--selectable{color:var(--header-selected-text-color);background:var(--header-selected-background);opacity:.7}.igx-grid-th--selectable.igx-grid__drag-ghost-image{opacity:1}.igx-grid-th--selectable .sort-icon{color:var(--header-selected-text-color)}.igx-grid-th--selectable .sort-icon :after{background:var(--header-selected-background)}.igx-grid-th--selectable.igx-grid-th--sorted .sort-icon{color:var(--header-selected-text-color)}.igx-grid-th--selectable.igx-grid-th--sorted .sort-icon:focus,.igx-grid-th--selectable.igx-grid-th--sorted .sort-icon:hover{color:var(--header-selected-text-color)}.igx-grid-th--selected{color:var(--header-selected-text-color);background:var(--header-selected-background)}.igx-grid-th--selected .sort-icon:after{background:var(--header-selected-background)}.igx-grid-th--selected.igx-grid-th--sorted .sort-icon{color:var(--header-selected-text-color)}.igx-grid-th--selected.igx-grid-th--sorted .sort-icon:focus,.igx-grid-th--selected.igx-grid-th--sorted .sort-icon:hover{color:var(--header-selected-text-color)}.igx-grid-th--sortable .sort-icon{cursor:pointer;opacity:.7}.igx-grid-th--sortable .sort-icon:hover{opacity:1}.igx-grid-th--sorted .sort-icon{opacity:1;color:var(--sorted-header-icon-color)}.igx-grid-th--sorted .sort-icon:hover{color:var(--sortable-header-icon-hover-color)}.igx-grid-th--filtrable .igx-grid-th__title{opacity:.7}.igx-grid-th--filtrable.igx-grid-th--sortable .sort-icon{cursor:pointer;opacity:.7}.igx-grid-th--filtrable.igx-grid-th--sortable .sort-icon:hover{opacity:1}.sort-icon{transition:all .25s ease-in-out}.igx-grid__td--number,.igx-grid-th--number{text-align:end;justify-content:flex-end}.igx-grid__td--number .igx-grid-th__icons,.igx-grid-th--number .igx-grid-th__icons{justify-content:flex-start;order:-1}.igx-grid__td--number .igx-grid-th__icons .sort-icon,.igx-grid-th--number .igx-grid-th__icons .sort-icon{order:1}.igx-grid__cbx-selection{display:flex;justify-content:center;align-items:center;background:inherit;z-index:4;background-clip:border-box}.igx-grid__cbx-padding{display:flex;align-items:center;justify-content:center;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid-th__resize-handle{position:absolute;width:.25rem;top:0;inset-inline-end:-.125rem;height:100%;z-index:2}.igx-grid-th__resize-line{position:absolute;cursor:col-resize;width:.25rem;background:var(--resize-line-color);z-index:2}.igx-grid-th__resize-line:before,.igx-grid-th__resize-line:after{position:absolute;content:"";height:100%;width:6rem}.igx-grid-th__resize-line:before{inset-inline-end:100%}.igx-grid-th__resize-line:after{inset-inline-start:100%}.igx-grid__summaries,.igx-grid__summaries--body{display:flex;overflow:hidden;background:var(--root-summaries-background);outline-style:none}.igx-grid__summaries .igx-grid-summary__result,.igx-grid__summaries--body .igx-grid-summary__result{color:var(--root-summaries-text-color)}.igx-grid__summaries--body{background:var(--body-summaries-background);border-bottom:.0625rem dashed var(--row-border-color)}.igx-grid__summaries--body:last-of-type{border-bottom:none}.igx-grid__summaries--body .igx-grid-summary__result{color:var(--body-summaries-text-color)}.igx-grid__summaries-patch{background:inherit;position:relative;z-index:1;border-inline-end:.0625rem solid var(--header-border-color)}.igx-grid-th__drop-indicator-left,.igx-grid-th__drop-indicator-right{position:absolute;width:.0625rem;height:100%;top:0;z-index:1}.igx-grid-th__drop-indicator-left{inset-inline-start:-.0625rem}.igx-grid-th__drop-indicator-right{inset-inline-end:-.0625rem}.igx-grid-th__drop-indicator--active.igx-grid-th__drop-indicator-left,.igx-grid-th__drop-indicator--active.igx-grid-th__drop-indicator-right{border-inline-end:.0625rem solid var(--drop-indicator-color)}.igx-grid-th__drop-indicator--active:after,.igx-grid-th__drop-indicator--active:before{position:absolute;content:"";width:0;height:0;border-style:solid;inset-inline-start:-.1875rem}.igx-grid-th__drop-indicator--active:before{bottom:0;border-width:0 .25rem .25rem;border-color:rgba(0,0,0,0) rgba(0,0,0,0) var(--drop-indicator-color)}.igx-grid-th__drop-indicator--active:after{top:0;border-width:.25rem .25rem 0;border-color:var(--drop-indicator-color) rgba(0,0,0,0) rgba(0,0,0,0)}.igx-grid__scroll-on-drag-left,.igx-grid__scroll-on-drag-right{position:absolute;width:.9375rem;top:0;height:100%;z-index:25}.igx-grid__scroll-on-drag-left{inset-inline-start:0}.igx-grid__scroll-on-drag-right{inset-inline-end:0}.igx-grid__scroll-on-drag-pinned{position:absolute;width:.9375rem;height:100%;top:0;z-index:25}.igx-grid__drag-ghost-image{position:absolute;display:flex;align-items:center;background:var(--ghost-header-background);color:var(--ghost-header-text-color);min-width:10.5rem;max-width:20rem;height:var(--header-size);min-height:var(--header-size);top:-6249.9375rem;inset-inline-start:-6249.9375rem;border:none;box-shadow:var(--drag-shadow);overflow:hidden;z-index:20}.igx-grid__drag-ghost-image .igx-grid-th__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1 0 0;text-align:end}.igx-grid__drag-ghost-image .igx-grid-th__icons{display:none}.igx-grid__drag-ghost-image .igx-grid-thead__title{border:none}.igx-grid__drag-ghost-image-icon{color:var(--ghost-header-icon-color);margin-inline-end:.75rem}.igx-grid__drag-ghost-image-icon-group{color:var(--ghost-header-icon-color);padding:1.5rem;padding-inline-end:0;margin-inline-end:.5rem}.igx-grid__drag-col-header{background:var(--header-background)}.igx-grid__drag-col-header .igx-grid-thead__title>*,.igx-grid__drag-col-header .igx-grid-th>*{opacity:.4}.igx-grid__group-row{background:var(--group-row-background);display:flex;outline-style:none;border-bottom:.0625rem solid var(--row-border-color);min-height:var(--header-size)}.igx-grid__group-row .igx-grid__drag-indicator{cursor:default;flex-grow:0}.igx-grid__group-row .igx-grid__cbx-selection{background:initial}.igx-grid__group-row--active{background:var(--group-row-selected-background)}.igx-grid__group-row--active .igx-grid__grouping-indicator{color:var(--expand-icon-color)}.igx-grid__group-row--active .igx-grid__drag-indicator{border:.0625rem solid var(--cell-active-border-color);border-inline-start-width:0;border-inline-end-width:0;box-shadow:inset .0625rem 0 0 0 var(--cell-active-border-color)}.igx-grid__group-row--active:hover{background:var(--group-row-selected-background)}.igx-group-label{display:flex;align-items:center;justify-content:flex-start;line-height:1rem}.igx-group-label>*{margin-inline-end:.25rem}.igx-group-label>*:last-child{margin-inline-end:0}.igx-group-label__icon{-webkit-user-select:none;user-select:none}.igx-group-label__icon igx-icon{color:var(--group-label-icon);width:var(--igx-icon-size, 1rem);height:var(--igx-icon-size, 1rem);font-size:var(--igx-icon-size, 1rem)}.igx-group-label__column-name{color:var(--group-label-column-name-text);font-weight:600;font-size:.75rem}.igx-group-label__count-badge{--background-color: var(--group-count-background);--text-color: var(--group-count-text-color)}.igx-group-label__count-badge>span{font-size:.75rem}.igx-group-label__text{font-size:.8125rem;color:var(--group-label-text)}[dir=rtl] .igx-grid__group-content{padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}[dir=rtl] .igx-group-label>*{margin-inline-start:.25rem}[dir=rtl] .igx-group-label>*:last-child{margin-inline-start:0}.igx-grid__group-content{display:flex;align-items:center;justify-content:flex-start;flex:1 1 auto;padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));min-height:max(var(--is-large, 1)*max(3.125rem,-1 * 3.125rem),var(--is-medium, 1)*max(2.5rem,-1 * 2.5rem),var(--is-small, 1)*max(2rem,-1 * 2rem))}.igx-grid__group-content:focus{outline:rgba(0,0,0,0)}.igx-grid__row-indentation{position:relative;display:flex;justify-content:center;align-items:center;padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));border-inline-end:.0625rem solid var(--header-border-color);background:inherit;z-index:1;background-clip:border-box}.igx-grid__row-indentation:after{content:"";position:absolute;width:100%;height:.0625rem;bottom:-.0625rem;inset-inline-start:0;background:rgba(0,0,0,0)}.igx-grid__row-indentation .igx-button--icon{width:1.75rem;height:1.75rem;color:var(--expand-all-icon-color)}.igx-grid__row-indentation:focus .igx-button--icon,.igx-grid__row-indentation:hover .igx-button--icon{color:var(--expand-all-icon-hover-color)}.igx-grid-grouparea{grid-row:2;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color);background:var(--grouparea-background);color:var(--grouparea-color);min-height:var(--grouparea-size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;z-index:2;height:100%;overflow:hidden}.igx-grid-grouparea:focus{outline-style:none}.igx-grid-grouparea .igx-chip,.igx-grid-grouparea .igx-chip__ghost{margin-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)))}.igx-grid-grouparea__connector{display:inline-flex;justify-content:center;align-items:center;margin:0 .25rem}.igx-grid-grouparea__connector igx-icon{width:var(--igx-icon-size, 1rem);height:var(--igx-icon-size, 1rem);font-size:var(--igx-icon-size, 1rem)}[dir=rtl] .igx-grid-grouparea__connector{transform:scaleX(-1)}.igx-drop-area{display:flex;align-items:center;justify-content:flex-start;min-width:5rem;height:max(var(--is-large, 1)*max(2rem,-1 * 2rem),var(--is-medium, 1)*max(1.5rem,-1 * 1.5rem),var(--is-small, 1)*max(1.5rem,-1 * 1.5rem));padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;flex:1 0 0%;background:var(--drop-area-background);border-radius:var(--drop-area-border-radius)}.igx-drop-area .igx-drop-area__icon{color:var(--drop-area-icon-color);width:1rem;height:1rem;font-size:1rem;margin-inline-end:.5rem}.igx-drop-area--hover{background:var(--drop-area-on-drop-background)}.igx-drop-area__text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--drop-area-text-color);font-size:.8125rem}.igx-grid__grouping-indicator{position:relative;display:flex;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;z-index:1;cursor:pointer;padding-inline-end:.75rem;margin-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1rem,-1 * 1rem),var(--is-small, 1)*max(.75rem,-1 * .75rem));min-height:var(--header-size)}.igx-grid__grouping-indicator igx-icon{color:var(--expand-icon-color);width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem)}.igx-grid__grouping-indicator:hover,.igx-grid__grouping-indicator:focus{outline-style:none}.igx-grid__grouping-indicator:hover igx-icon,.igx-grid__grouping-indicator:focus igx-icon{color:var(--expand-icon-hover-color)}[dir=rtl] .igx-grid__grouping-indicator{transform:scaleX(-1)}.igx-grid__header-indentation{position:relative;padding-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1rem,-1 * 1rem),var(--is-small, 1)*max(.75rem,-1 * .75rem));border-inline-end:.0625rem solid var(--header-border-color);background:var(--header-background);z-index:4}.igx-grid__header-indentation igx-icon{--component-size: var(--grid-size)}.igx-grid__group-expand-btn{position:absolute;cursor:pointer;-webkit-user-select:none;user-select:none;inset-block-start:calc(50% - 12px);inset-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1rem,-1 * 1rem),var(--is-small, 1)*max(.75rem,-1 * .75rem))}.igx-grid__group-expand-btn:hover{color:var(--expand-icon-hover-color)}.igx-grid__group-expand-btn.igx-grid__group-expand-btn--push{inset-block-start:max(var(--is-large, 1)*max(.8125rem,-1 * .8125rem),var(--is-medium, 1)*max(.5rem,-1 * .5rem),var(--is-small, 1)*max(.25rem,-1 * .25rem))}.igx-grid__row-indentation--level-1{padding-inline-start:max(var(--is-large, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(2.5rem,-1 * 2.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(2.25rem,-1 * 2.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-1 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-2{padding-inline-start:max(var(--is-large, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(3.5rem,-1 * 3.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-2 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(2rem,-1 * 2rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-3{padding-inline-start:max(var(--is-large, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3.75rem,-1 * 3.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-3 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(2.25rem,-1 * 2.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-4{padding-inline-start:max(var(--is-large, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(5.5rem,-1 * 5.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-4 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(4rem,-1 * 4rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-5{padding-inline-start:max(var(--is-large, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(6.5rem,-1 * 6.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(5.25rem,-1 * 5.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-5 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(5rem,-1 * 5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3.75rem,-1 * 3.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-6{padding-inline-start:max(var(--is-large, 1)*max(10.5rem,-1 * 10.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-6 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-7{padding-inline-start:max(var(--is-large, 1)*max(12rem,-1 * 12rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(8.5rem,-1 * 8.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(6.75rem,-1 * 6.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-7 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(10.5rem,-1 * 10.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(7rem,-1 * 7rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(5.25rem,-1 * 5.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-8{padding-inline-start:max(var(--is-large, 1)*max(13.5rem,-1 * 13.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(9.5rem,-1 * 9.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-8 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(12rem,-1 * 12rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(8rem,-1 * 8rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-9{padding-inline-start:max(var(--is-large, 1)*max(15rem,-1 * 15rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(10.5rem,-1 * 10.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(8.25rem,-1 * 8.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-9 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(13.5rem,-1 * 13.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(6.75rem,-1 * 6.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-10{padding-inline-start:max(var(--is-large, 1)*max(16.5rem,-1 * 16.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(11.5rem,-1 * 11.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-10 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(15rem,-1 * 15rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(10rem,-1 * 10rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__outlet{--ig-size: var(--grid-size);z-index:10002;position:fixed}.igx-grid__loading-outlet{z-index:10003}.igx-grid__loading-outlet>.igx-overlay__wrapper--modal{background:none}.igx-grid__loading-outlet .igx-circular-bar{width:3.125rem;height:3.125rem}.igx-grid__row-editing-outlet{z-index:10000;position:absolute}.igx-grid__row-editing-outlet .igx-overlay__wrapper,.igx-grid__row-editing-outlet .igx-overlay__wrapper--modal,.igx-grid__row-editing-outlet .igx-overlay__wrapper--flex,.igx-grid__row-editing-outlet .igx-overlay__wrapper--flex-container{position:absolute}.igx-grid__addrow-snackbar{position:absolute;z-index:5;bottom:1.5rem;inset-inline-start:50%;transform:translate(-50%)}.igx-grid__filtering-cell,.igx-grid__filtering-cell--selected{display:flex;align-items:center;border-inline-end:var(--header-border-width) var(--header-border-style) var(--header-border-color);border-top:var(--header-border-width) var(--header-border-style) var(--header-border-color);height:var(--header-size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;overflow:hidden}.igx-grid__filtering-cell igx-chips-area,.igx-grid__filtering-cell--selected igx-chips-area{transition:transform .25s cubic-bezier(.175,.885,.32,1.275);flex-wrap:nowrap}.igx-grid__filtering-cell igx-chips-area .igx-filtering-chips__connector,.igx-grid__filtering-cell--selected igx-chips-area .igx-filtering-chips__connector{font-size:.75rem;text-transform:uppercase;font-weight:600;margin:0 .5rem}.igx-grid__filtering-cell--selected{color:var(--header-selected-text-color);background:var(--header-selected-background)}.igx-grid__filtering-cell-indicator,.igx-grid__filtering-cell-indicator--hidden{position:relative;display:flex;align-items:center;justify-content:center;padding-inline-end:.5rem;margin-inline-start:.5rem;cursor:pointer;visibility:visible}.igx-grid__filtering-cell-indicator igx-icon,.igx-grid__filtering-cell-indicator--hidden igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-grid__filtering-cell-indicator .igx-badge,.igx-grid__filtering-cell-indicator--hidden .igx-badge{--size: .875rem;--font-size: .75rem;line-height:0;position:absolute;inset-inline-end:0}.igx-grid__filtering-cell-indicator--hidden{visibility:hidden}.igx-grid__filtering-row{position:absolute;display:flex;width:100%;height:max(var(--is-large, 1) * max(3.125rem,-1 * 3.125rem),var(--is-medium, 1) * max(2.5rem,-1 * 2.5rem),var(--is-small, 1) * max(2rem,-1 * 2rem));padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));align-items:center;justify-content:space-between;background:var(--filtering-row-background);color:var(--filtering-row-text-color);inset-inline-start:0;bottom:0;z-index:3}.igx-grid__filtering-row:after{display:block;position:absolute;content:"";background:inherit;inset-inline-start:0;inset-inline-end:0;top:0;bottom:0;box-shadow:0 .0625rem 0 var(--filtering-row-background),0 .25rem .625rem #0000001f;z-index:-1}.igx-grid__filtering-row igx-input-group{--theme: fluent;width:100%;max-width:12.5rem;min-width:8.75rem;--size:calc(max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)) - .5rem)}.igx-grid__filtering-row igx-prefix:focus{color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-grid__filtering-row igx-suffix igx-icon{outline-style:none}.igx-grid__filtering-row igx-suffix igx-icon:focus{color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-grid__filtering-row igx-suffix igx-icon+igx-icon{margin-inline-start:.25rem}.igx-grid__filtering-dropdown-items{display:flex;align-items:center}.igx-grid__filtering-dropdown-text{margin-inline-start:1rem}.igx-grid__filtering-row-main{display:flex;flex:1;overflow:hidden;max-width:calc(100% - 176px);min-width:3.5rem}.igx-grid__filtering-row-main igx-chips-area{transition:transform .25s cubic-bezier(.175,.885,.32,1.275);flex-wrap:nowrap;margin:0 .5rem}.igx-grid__filtering-row-main igx-chip{margin:0 .25rem}.igx-grid__filtering-row-main [igxButton] igx-icon{position:absolute;inset-inline-start:.75rem;top:50%;transform:translateY(-50%)}.igx-grid__filtering-row-main [igxButton] span{margin-inline-start:1rem}.igx-grid__filtering-row-scroll-start{width:1.5rem;height:1.5rem;position:relative;overflow:visible;margin:0 .5rem;z-index:1}.igx-grid__filtering-row-scroll-start:after{display:block;position:absolute;width:.625rem;content:"";inset-block:-.125rem;background:linear-gradient(to right,var(--filtering-row-background),transparent);inset-inline-start:calc(100% + 6px)}[dir=rtl] .igx-grid__filtering-row-scroll-start{transform:scaleX(-1)}[dir=rtl] .igx-grid__filtering-row-scroll-start:after{content:initial}[dir=rtl] .igx-grid__filtering-row-scroll-start:before{display:block;position:absolute;width:.625rem;content:"";inset-block:-.125rem;background:linear-gradient(to right,var(--filtering-row-background),transparent);inset-inline-end:calc(100% + 6px)}.igx-grid__filtering-row-scroll-end{width:1.5rem;height:1.5rem;position:relative;overflow:visible;margin:0 .5rem;z-index:1}.igx-grid__filtering-row-scroll-end:before{display:block;position:absolute;width:.625rem;content:"";inset-block:-.125rem;background:linear-gradient(to left,var(--filtering-row-background),transparent);inset-inline-end:calc(100% + 6px)}[dir=rtl] .igx-grid__filtering-row-scroll-end{transform:scaleX(-1)}[dir=rtl] .igx-grid__filtering-row-scroll-end:before{content:initial}[dir=rtl] .igx-grid__filtering-row-scroll-end:after{display:block;position:absolute;width:.625rem;content:"";inset-block:-.125rem;background:linear-gradient(to left,var(--filtering-row-background),transparent);inset-inline-start:calc(100% + 6px)}.igx-grid__tr--highlighted{position:relative}.igx-grid__tr--highlighted:after{content:"";position:absolute;top:0;inset-inline-start:0;width:.25rem;height:100%;background:var(--row-highlight);z-index:3}.igx-grid__tr--highlighted .igx-grid__tr--edited:before{inset-inline-start:.25rem}.igx-grid__tr--highlighted:before{inset-inline-start:.25rem}.igx-grid__tr-container{overflow:auto;width:100%;border-bottom:.0625rem solid var(--row-border-color)}.igx-grid__hierarchical-expander,.igx-grid__hierarchical-expander--empty{-webkit-user-select:none;user-select:none;background:inherit;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;color:var(--expand-icon-color);background-clip:border-box}.igx-grid__hierarchical-expander:focus,.igx-grid__hierarchical-expander--empty:focus{outline:none}.igx-grid__hierarchical-expander:focus igx-icon,.igx-grid__hierarchical-expander--empty:focus igx-icon{color:var(--expand-icon-hover-color)}.igx-grid__hierarchical-expander:hover igx-icon,.igx-grid__hierarchical-expander--empty:hover igx-icon{color:var(--expand-icon-hover-color)}.igx-grid__hierarchical-expander igx-icon,.igx-grid__hierarchical-expander--empty igx-icon{--component-size: 3;color:var(--expand-icon-color);max-width:1.5rem;min-width:1.5rem}[dir=rtl] .igx-grid__hierarchical-expander,[dir=rtl] .igx-grid__hierarchical-expander--empty{transform:scaleX(-1)}.igx-grid__hierarchical-expander--empty{cursor:default;pointer-events:none}.igx-grid__hierarchical-expander--header{background:inherit;border-inline-end:.0625rem solid var(--header-border-color);z-index:3;background-clip:border-box}.igx-grid__hierarchical-expander--header igx-icon{display:flex;align-items:center}.igx-grid__hierarchical-expander--push{align-items:flex-start}.igx-grid__hierarchical-expander--push igx-icon{min-height:var(--header-size);max-height:var(--header-size)}.igx-grid__header-indentation--no-border{border-inline-end:.0625rem solid rgba(0,0,0,0)}.igx-grid__hierarchical-indent{display:flex;margin-inline-start:max(var(--is-large, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(3.5rem,-1 * 3.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-block:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)))}.igx-grid__hierarchical-indent--scroll{margin-inline-end:max(var(--is-large, 1)*max(calc(1.5rem + 18px),-1 * calc(1.5rem + 18px))*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(calc(1rem + 18px),-1 * calc(1rem + 18px))*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(calc(.75rem + 18px),-1 * calc(.75rem + 18px))*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter{display:block;width:20rem;height:100%;flex-grow:1;box-shadow:var(--ig-elevation-12);overflow:auto;min-width:20rem}.igx-excel-filter--inline{box-shadow:none;width:100%}.igx-excel-filter__loading{display:flex;justify-content:center;align-items:center}.igx-excel-filter__icon,.igx-excel-filter__icon--filtered{display:flex;cursor:pointer}.igx-excel-filter__icon igx-icon,.igx-excel-filter__icon--filtered igx-icon{width:var(--igx-icon-size, .9375rem);height:var(--igx-icon-size, .9375rem);font-size:var(--igx-icon-size, .9375rem)}.igx-excel-filter__icon--filtered igx-icon{color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-excel-filter__menu{--component-size: var(--ig-size, var(--ig-size-large));display:flex;flex-direction:column;height:100%;background:var(--filtering-row-background);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem)}.igx-excel-filter__menu igx-buttongroup{--shadow: none;--item-background: var(--filtering-row-background);--item-hover-background: hsla(var(--ig-gray-100), var(--ig-gray-a));--item-selected-background: hsla(var(--ig-gray-100), var(--ig-gray-a));--item-text-color: hsla(var(--ig-gray-700), var(--ig-gray-a));--item-hover-text-color: hsla(var(--ig-gray-800), var(--ig-gray-a));--item-selected-text-color: hsla(var(--ig-secondary-500), var(--ig-secondary-a));--item-border-color: transparent;--item-selected-border-color: transparent;--item-disabled-border: transparent}.igx-excel-filter__menu,.igx-excel-filter__menu igx-tree-node{--background: var(--igx-tree-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground: var(--igx-tree-foreground, var(--ig-surface-500-contrast));--background-selected: var(--igx-tree-background-selected, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-selected: var(--igx-tree-foreground-selected, var(--ig-surface-500-contrast));--background-active: var(--igx-tree-background-active, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-active: var(--igx-tree-foreground-active, var(--ig-surface-500-contrast));--background-active-selected: var(--igx-tree-background-active-selected, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-active-selected: var(--igx-tree-foreground-active-selected, var(--ig-surface-500-contrast));--border-color: var(--igx-tree-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--background-disabled: var(--igx-tree-background-disabled, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-disabled: var(--igx-tree-foreground-disabled, hsla(var(--ig-gray-500), var(--ig-gray-a)));--drop-area-color: var(--igx-tree-drop-area-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-color: var(--igx-tree-hover-color, hsla(var(--ig-gray-900), .1));--hover-selected-color: var(--igx-tree-hover-selected-color, hsla(var(--ig-gray-900), .1));--size: var(--igx-tree-size, max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)));--default-size: var(--igx-tree-default-size, 2)}.igx-excel-filter__menu .igx-tree{display:block;z-index:0;overflow-y:auto}.igx-excel-filter__menu .igx-tree-node,.igx-excel-filter__menu .igx-tree-node__wrapper,.igx-excel-filter__menu .igx-tree-node__toggle-button,.igx-excel-filter__menu .igx-tree-node__content,.igx-excel-filter__menu .igx-tree-node__select{display:flex}.igx-excel-filter__menu .igx-tree-node{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--tree-size: var(--component-size);flex-direction:column}.igx-excel-filter__menu .igx-tree-node__wrapper,.igx-excel-filter__menu .igx-tree-node__toggle-button,.igx-excel-filter__menu .igx-tree-node__select{align-items:center}.igx-excel-filter__menu .igx-tree-node__toggle-button,.igx-excel-filter__menu .igx-tree-node__select{margin-inline-end:.5rem}.igx-excel-filter__menu .igx-tree-node__content,.igx-excel-filter__menu .igx-tree-node__toggle-button,.igx-excel-filter__menu .igx-tree-node__select{z-index:1}.igx-excel-filter__menu .igx-tree-node__toggle-button--hidden{visibility:hidden}.igx-excel-filter__menu .igx-tree-node__wrapper{min-height:var(--size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;position:relative;background:var(--background);color:var(--foreground)}.igx-excel-filter__menu .igx-tree-node__wrapper igx-icon{width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem)}[dir=rtl] .igx-excel-filter__menu .igx-tree-node__wrapper igx-icon{transform:scaleX(-1)}.igx-excel-filter__menu .igx-tree-node__wrapper:after{content:"";position:absolute;top:0;inset-inline-start:0;width:100%;height:100%;background:rgba(0,0,0,0);z-index:0}.igx-excel-filter__menu .igx-tree-node__wrapper:hover:after{background:var(--hover-color)}.igx-excel-filter__menu .igx-tree-node__wrapper:focus{outline-width:0}.igx-excel-filter__menu .igx-tree-node__wrapper igx-circular-bar{--circular-bar: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(calc(1.5rem - 4px), -1 * calc(1.5rem - 4px)), var(--is-small, 1) * max(calc(1.5rem - 6px), -1 * calc(1.5rem - 6px)));width:var(--circular-bar);height:var(--circular-bar)}.igx-excel-filter__menu .igx-tree-node__wrapper--selected{background:var(--background-selected);color:var(--foreground-selected)}.igx-excel-filter__menu .igx-tree-node__wrapper--selected:hover:after{background:var(--hover-selected-color)}.igx-excel-filter__menu .igx-tree-node__wrapper--active{background:var(--background-active);color:var(--foreground-active)}.igx-excel-filter__menu .igx-tree-node__wrapper--active.igx-tree-node__wrapper--selected{background:var(--background-active-selected);color:var(--foreground-active-selected)}.igx-excel-filter__menu .igx-tree-node__wrapper--focused{box-shadow:inset 0 0 0 .0625rem var(--border-color)}.igx-excel-filter__menu .igx-tree-node__wrapper--disabled{background:var(--background-disabled)!important;color:var(--foreground-disabled)!important;box-shadow:none!important;pointer-events:none}.igx-excel-filter__menu .igx-tree-node__wrapper--disabled:after{display:none}.igx-excel-filter__menu .igx-tree-node__wrapper--disabled .igx-tree-node__toggle-button{color:var(--foreground-disabled)!important}.igx-excel-filter__menu .igx-tree-node__spacer{--component-size: var(--tree-size);--spacer: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1rem, -1 * 1rem), var(--is-small, 1) * max(.75rem, -1 * .75rem));width:var(--spacer);display:inline-block}.igx-excel-filter__menu .igx-tree-node__content{display:block;align-items:center;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-excel-filter__menu .igx-tree-node__toggle-button{justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:1.5rem}.igx-excel-filter__menu .igx-tree-node__drop-indicator{display:flex;visibility:hidden;position:absolute;inset-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));bottom:0;width:max(var(--is-large, 1)*max(calc(100% - 5rem),-1 * calc(100% - 5rem))*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(calc(100% - 4rem),-1 * calc(100% - 4rem))*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(calc(100% - 3.5rem),-1 * calc(100% - 3.5rem))*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-excel-filter__menu .igx-tree-node__drop-indicator>div{flex:1;height:.0625rem;background:var(--drop-area-color)}.igx-excel-filter__menu .igx-tree-node__group{overflow:hidden}.igx-excel-filter__menu .igx-tree-node__wrapper{padding:0}.igx-excel-filter__menu igx-chips-area{padding-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline-end:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-block-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-block-end:0;gap:max(var(--is-large, 1)*max(.5rem,-1 * .5rem),var(--is-medium, 1)*max(.25rem,-1 * .25rem),var(--is-small, 1)*max(.25rem,-1 * .25rem))}.igx-excel-filter__menu-header,.igx-excel-filter__secondary-header{display:flex;align-items:center;padding:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));color:var(--excel-filtering-header-foreground)}.igx-excel-filter__menu-header-actions{display:flex;margin-inline-start:auto}.igx-excel-filter__menu-header-actions [igxButton]+[igxButton]{margin-inline-start:.25rem}.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-pin,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-pin--disabled,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-unpin,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-hide,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-select,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-selected,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-filter,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-clear,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-clear--disabled{padding:0!important;margin:0!important}.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-pin,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-pin--disabled,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-unpin,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-hide,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-select,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-selected,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-filter,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-clear,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-clear--disabled{justify-content:center}.igx-excel-filter__menu-footer,.igx-excel-filter__secondary-footer{display:flex;justify-content:space-between}.igx-excel-filter__menu-footer .igx-excel-filter__apply,.igx-excel-filter__secondary-footer .igx-excel-filter__apply,.igx-excel-filter__menu-footer .igx-excel-filter__cancel,.igx-excel-filter__secondary-footer .igx-excel-filter__cancel{flex-grow:1}.igx-excel-filter__menu-footer .igx-excel-filter__apply [igxButton],.igx-excel-filter__secondary-footer .igx-excel-filter__apply [igxButton],.igx-excel-filter__menu-footer .igx-excel-filter__cancel [igxButton],.igx-excel-filter__secondary-footer .igx-excel-filter__cancel [igxButton]{width:100%}.igx-excel-filter__clear{flex-grow:1}.igx-excel-filter__cancel+.igx-excel-filter__apply{margin-inline-start:1rem}.igx-excel-filter__sort,.igx-excel-filter__move{display:block;padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter__sort header,.igx-excel-filter__move header{color:var(--excel-filtering-subheader-foreground);margin-bottom:.25rem}.igx-excel-filter__sort igx-icon,.igx-excel-filter__move igx-icon{display:initial;width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-excel-filter__menu--compact .igx-excel-filter__sort,.igx-excel-filter__menu--compact .igx-excel-filter__move{display:flex;align-items:center;justify-content:space-between}.igx-excel-filter__menu--compact .igx-excel-filter__sort header,.igx-excel-filter__menu--compact .igx-excel-filter__move header{margin-inline-end:auto}.igx-excel-filter__actions{padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter__actions-selected igx-icon{color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}[dir=rtl] .igx-excel-filter__move .igx-button-group{flex-direction:row-reverse}[dir=rtl] .igx-excel-filter__move .igx-button-group igx-icon,[dir=rtl] .igx-excel-filter__move .igx-button-group [igxButton]{direction:ltr}[dir=rtl] .igx-excel-filter__sort .igx-button-group{flex-direction:row-reverse}[dir=rtl] .igx-excel-filter__sort .igx-button-group igx-icon,[dir=rtl] .igx-excel-filter__sort .igx-button-group [igxButton]{direction:ltr}.igx-excel-filter__actions-pin,.igx-excel-filter__actions-pin--disabled,.igx-excel-filter__actions-unpin,.igx-excel-filter__actions-hide,.igx-excel-filter__actions-select,.igx-excel-filter__actions-selected,.igx-excel-filter__actions-filter,.igx-excel-filter__actions-clear,.igx-excel-filter__actions-clear--disabled{display:flex;align-items:center;justify-content:space-between;padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));cursor:pointer;color:var(--excel-filtering-actions-foreground);outline-style:none}.igx-excel-filter__actions-pin:hover,.igx-excel-filter__actions-pin--disabled:hover,.igx-excel-filter__actions-unpin:hover,.igx-excel-filter__actions-hide:hover,.igx-excel-filter__actions-select:hover,.igx-excel-filter__actions-selected:hover,.igx-excel-filter__actions-filter:hover,.igx-excel-filter__actions-clear:hover,.igx-excel-filter__actions-clear--disabled:hover,.igx-excel-filter__actions-pin:focus,.igx-excel-filter__actions-pin--disabled:focus,.igx-excel-filter__actions-unpin:focus,.igx-excel-filter__actions-hide:focus,.igx-excel-filter__actions-select:focus,.igx-excel-filter__actions-selected:focus,.igx-excel-filter__actions-filter:focus,.igx-excel-filter__actions-clear:focus,.igx-excel-filter__actions-clear--disabled:focus{background:hsla(var(--ig-gray-100),var(--ig-gray-a));color:var(--excel-filtering-actions-hover-foreground)}.igx-excel-filter__actions-pin igx-icon,.igx-excel-filter__actions-pin--disabled igx-icon,.igx-excel-filter__actions-unpin igx-icon,.igx-excel-filter__actions-hide igx-icon,.igx-excel-filter__actions-select igx-icon,.igx-excel-filter__actions-selected igx-icon,.igx-excel-filter__actions-filter igx-icon,.igx-excel-filter__actions-clear igx-icon,.igx-excel-filter__actions-clear--disabled igx-icon{--component-size: 3}[dir=rtl] .igx-excel-filter__actions-pin igx-icon,[dir=rtl] .igx-excel-filter__actions-pin--disabled igx-icon,[dir=rtl] .igx-excel-filter__actions-unpin igx-icon,[dir=rtl] .igx-excel-filter__actions-hide igx-icon,[dir=rtl] .igx-excel-filter__actions-select igx-icon,[dir=rtl] .igx-excel-filter__actions-selected igx-icon,[dir=rtl] .igx-excel-filter__actions-filter igx-icon,[dir=rtl] .igx-excel-filter__actions-clear igx-icon,[dir=rtl] .igx-excel-filter__actions-clear--disabled igx-icon{transform:scaleX(-1)}.igx-excel-filter__actions-pin--disabled,.igx-excel-filter__actions-clear--disabled{color:var(--excel-filtering-actions-disabled-foreground);pointer-events:none}.igx-excel-filter__empty{display:grid;place-items:center;height:100%}.igx-excel-filter__menu-main{display:flex;flex-direction:column;flex-grow:1;overflow:hidden;padding:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));gap:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-excel-filter__menu-main igx-list{flex-grow:1;overflow:hidden;margin-inline:calc(max(var(--is-large, 1)*max(-1rem,-1 * -1rem),var(--is-medium, 1)*max(-.5rem,-1 * -.5rem),var(--is-small, 1)*max(-.25rem,-1 * -.25rem))*-1);border:0;border-top:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a));border-bottom:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a))}.igx-excel-filter__menu-main .igx-excel-filter__tree{background:hsla(var(--ig-surface-500),var(--ig-surface-a));overflow-y:auto;margin-inline:calc(max(var(--is-large, 1)*max(-1rem,-1 * -1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(-.5rem,-1 * -.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(-.25rem,-1 * -.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))*-1);margin-block:0;flex:1;border-top:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a));border-bottom:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a))}.igx-excel-filter__menu-main .igx-excel-filter__tree igx-icon{width:var(--igx-icon-size, 1.25rem);height:var(--igx-icon-size, 1.25rem);font-size:var(--igx-icon-size, 1.25rem)}.igx-excel-filter__menu-main .igx-excel-filter__tree>igx-checkbox,.igx-excel-filter__menu-main .igx-excel-filter__tree .igx-tree-node__wrapper{height:max(var(--is-large, 1) * max(2.5rem,-1 * 2.5rem),var(--is-medium, 1) * max(2rem,-1 * 2rem),var(--is-small, 1) * max(1.5rem,-1 * 1.5rem));min-height:max(var(--is-large, 1) * max(2.5rem,-1 * 2.5rem),var(--is-medium, 1) * max(2rem,-1 * 2rem),var(--is-small, 1) * max(1.5rem,-1 * 1.5rem))}.igx-excel-filter__menu-main .igx-excel-filter__tree .igx-tree-node__toggle-button{min-width:1.25rem;margin-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-inline-end:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter__menu-main .igx-excel-filter__tree .igx-tree{overflow-y:hidden}.igx-excel-filter__menu-main .igx-excel-filter__tree-alike{background:hsla(var(--ig-surface-500),var(--ig-surface-a));display:flex;flex-direction:column;z-index:1}.igx-excel-filter__menu-main .igx-excel-filter__tree-alike-item{display:flex;align-items:center;height:max(var(--is-large, 1)*max(2.5rem,-1 * 2.5rem),var(--is-medium, 1)*max(2rem,-1 * 2rem),var(--is-small, 1)*max(1.5rem,-1 * 1.5rem));background:hsla(var(--ig-surface-500),var(--ig-surface-a))}.igx-excel-filter__menu-main .igx-excel-filter__tree-alike-item:hover,.igx-excel-filter__menu-main .igx-excel-filter__tree-alike-item:focus{background:hsla(var(--ig-gray-200),var(--ig-gray-a))}.igx-excel-filter__menu-main .igx-excel-filter__tree-alike-item>igx-checkbox{margin-inline-start:max(var(--is-large, 1)*max(2.75rem,-1 * 2.75rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(2.25rem,-1 * 2.25rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1.75rem,-1 * 1.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter__menu--cosy{--component-size: var(--ig-size, var(--ig-size-medium))}.igx-excel-filter__menu--cosy .igx-excel-filter__menu-header,.igx-excel-filter__menu--cosy .igx-excel-filter__secondary-header{justify-content:space-between}.igx-excel-filter__menu--compact{--component-size: var(--ig-size, var(--ig-size-small))}.igx-excel-filter__menu--compact .igx-excel-filter__menu-header,.igx-excel-filter__menu--compact .igx-excel-filter__secondary-header{justify-content:space-between}.igx-excel-filter__menu--compact .igx-excel-filter__sort igx-buttongroup,.igx-excel-filter__menu--compact .igx-excel-filter__move igx-buttongroup{width:13rem}.igx-excel-filter__menu--compact .igx-excel-filter__move{margin-bottom:0}.igx-excel-filter__secondary{width:32.5rem;min-width:32.5rem;background:var(--filtering-row-background);box-shadow:var(--ig-elevation-12);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem)}.igx-excel-filter__condition{display:flex;flex-wrap:wrap;align-items:center;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0}.igx-excel-filter__condition igx-select{flex-grow:1;flex-basis:40%;margin:1rem 0}.igx-excel-filter__condition igx-select~igx-input-group,.igx-excel-filter__condition igx-select~igx-date-picker{margin-inline-start:1rem}.igx-excel-filter__condition igx-buttongroup{min-width:30%}.igx-excel-filter__condition [igxButton=icon]{margin-inline-start:1rem}.igx-excel-filter__add-filter{margin-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-block-start:0}.igx-excel-filter__add-filter igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-excel-filter__secondary-header{border-bottom:.0625rem solid hsla(var(--ig-gray-300),var(--ig-gray-a))}.igx-excel-filter__secondary-main{height:14.5rem;overflow:auto}.igx-excel-filter__secondary-footer{padding:.5rem 1rem;border-top:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a))}.igx-excel-filter__secondary-footer .igx-excel-filter__apply,.igx-excel-filter__secondary-footer .igx-excel-filter__cancel{flex-grow:0}.igx-excel-filter__filter-results{position:absolute;width:1px;height:1px;overflow:hidden}igx-excel-style-filter-operations,[igxExcelStyleFilterOperations]{display:flex;flex-direction:column;flex-grow:1;overflow:hidden}.igx-advanced-filter{background:var(--filtering-row-background);box-shadow:var(--ig-elevation-12)}.igx-advanced-filter igx-query-builder{--igx-query-builder-background: var(--filtering-row-background);--igx-query-builder-background-and: var(--filtering-background-and);--igx-query-builder-background-and--focus: var(--filtering-background-and--focus);--igx-query-builder-background-or: var(--filtering-background-or);--igx-query-builder-background-or--focus: var(--filtering-background-or--focus);box-shadow:none}.igx-advanced-filter igx-query-builder-header{cursor:grab}.igx-grid__filtering-row-editing-buttons--small,.igx-grid__filtering-row-editing-buttons{display:flex;align-items:center}.igx-grid__filtering-row-editing-buttons--small button,.igx-grid__filtering-row-editing-buttons button{transition:none}.igx-grid__filtering-row-editing-buttons--small button:not([disabled]) igx-icon{color:var(--sorted-header-icon-color)}.igx-grid__tr-action:last-of-type{border-inline-end:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid__pivot--super-compact .igx-grid__td,.igx-grid__pivot--super-compact .igx-grid-thead__title,.igx-grid__pivot--super-compact .igx-grid-th{padding:0 .25rem!important;min-height:1.5rem!important;height:1.5rem}.igx-grid__pivot--super-compact .igx-grid-thead__title>*,.igx-grid__pivot--super-compact .igx-grid-th>*{line-height:normal;align-self:initial;max-height:100%}.igx-grid-thead--pivot{display:flex}.igx-grid-thead--pivot .igx-grid-thead--virtualizationWrapper{border-inline-start:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid-thead--virtualizationWrapper{height:100%}.igx-grid-thead--virtualizationContainer{overflow:visible;height:100%}.igx-grid__tr-pivot{display:flex;align-items:center;background:inherit;overflow:hidden;z-index:3;height:var(--header-size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;background-clip:border-box!important;border-inline-start:var(--header-border-width) var(--header-border-style) var(--header-border-color);border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid__tr-pivot igx-chips-area{flex-wrap:nowrap;width:auto}.igx-grid__tr-pivot igx-chips-area>*{margin-inline-end:.25rem}.igx-grid__tr-pivot igx-chips-area:last-child{margin-inline-end:0}.igx-grid__pivot-filter-toggle{display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.igx-grid__pivot-filter-toggle>igx-badge{position:absolute;top:-.25rem;inset-inline-start:60%;width:1.125rem;min-width:1.125rem;height:1.125rem;font-size:.625rem;pointer-events:none;-webkit-user-select:none;user-select:none}.igx-grid__pivot-empty-chip-area{line-height:normal;font-size:.875rem;margin-inline-end:0!important}.igx-grid__tr-pivot--row-area{height:auto!important;align-items:flex-end;padding-bottom:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));border-inline-start:0;border-bottom:0}.igx-grid__tr-pivot--filter-container{display:flex;flex-direction:column}.igx-grid__tr-pivot--chip_drop_indicator{width:.125rem;background:var(--resize-line-color);visibility:hidden}.igx-grid__tr-pivot--drop-row-area{flex-grow:1}.igx-grid__tr-pivot--filter{height:var(--header-size);border-inline-start:0;border-inline-end:0;border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid-thead__wrapper--pivot{border-bottom:0}.igx-grid__tr-pivot-group{flex:1}.igx-grid__tr-pivot-toggle-icons{display:inline-flex!important}.igx-grid__tr-pivot--columnDimensionLeaf{box-shadow:none}.igx-grid__tr-pivot--columnDimensionLeaf igx-grid-header{border:none}.igx-grid__tr-pivot--columnMultiRowSpan igx-grid-header>*{visibility:hidden}.igx-grid__tr-header-row igx-pivot-row-dimension-header-group igx-pivot-row-dimension-header{align-items:center}.igx-grid-summary{--background-color: var(--igx-grid-summary-background-color, inherit);--focus-background-color: var(--igx-grid-summary-focus-background-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));--label-color: var(--igx-grid-summary-label-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--label-hover-color: var(--igx-grid-summary-label-hover-color, hsla(var(--ig-primary-700), var(--ig-primary-a)));--result-color: var(--igx-grid-summary-result-color, "currentColor");--border-color: var(--igx-grid-summary-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--pinned-border-width: var(--igx-grid-summary-pinned-border-width, 2px);--pinned-border-style: var(--igx-grid-summary-pinned-border-style, solid);--pinned-border-color: var(--igx-grid-summary-pinned-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)))}.igx-grid-summary,.igx-grid-summary--cosy,.igx-grid-summary--compact{position:relative;display:flex;flex-direction:column;flex:1 1 0%;padding-block:0;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));background:var(--background-color, inherit);overflow:hidden;outline-style:none}.igx-grid-summary:after,.igx-grid-summary--cosy:after,.igx-grid-summary--compact:after{position:absolute;inset:0}.igx-grid-summary:focus:after,.igx-grid-summary--cosy:focus:after,.igx-grid-summary--compact:focus:after{background:var(--focus-background-color)}.igx-grid-summary--pinned{position:relative;z-index:1}.igx-grid-summary--fw{flex-grow:0}.igx-grid-summary--pinned-last{border-inline-end:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)}@media print{.igx-grid-summary--pinned-last{border-inline-end:var(--pinned-border-width) var(--pinned-border-style) #999}}.igx-grid-summary--pinned-first{border-inline-start:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)}@media print{.igx-grid-summary--pinned-first{border-inline-start:var(--pinned-border-width) var(--pinned-border-style) #999}}.igx-grid-summary__item{display:flex;align-items:center;padding-block:max(var(--is-large, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.125rem,-1 * .125rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(0,-1 * 0)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));padding-inline:0;font-size:.75rem;position:relative}.igx-grid-summary__label{color:var(--label-color);min-width:1.875rem;margin-inline-end:.1875rem}.igx-grid-summary__label:hover{color:var(--label-hover-color)}.igx-grid-summary__result{color:var(--result-color);font-weight:600;flex:1 1 auto;text-align:end}.igx-grid-summary__label,.igx-grid-summary__result{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}igx-grid-toolbar,.igx-grid-toolbar__dd-list{--background-color: var(--igx-grid-toolbar-background-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--title-text-color: var(--igx-grid-toolbar-title-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--dropdown-background: var(--igx-grid-toolbar-dropdown-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--item-text-color: var(--igx-grid-toolbar-item-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--item-hover-background: var(--igx-grid-toolbar-item-hover-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--item-hover-text-color: var(--igx-grid-toolbar-item-hover-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--item-focus-background: var(--igx-grid-toolbar-item-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--item-focus-text-color: var(--igx-grid-toolbar-item-focus-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--size: var(--igx-grid-toolbar-size, max(var(--is-large, 1) * max(3.625rem, -1 * 3.625rem), var(--is-medium, 1) * max(3.25rem, -1 * 3.25rem), var(--is-small, 1) * max(2.75rem, -1 * 2.75rem)))}.igx-grid-toolbar,.igx-grid-toolbar--cosy,.igx-grid-toolbar--compact{position:relative;width:100%;display:flex;align-items:center;justify-content:space-between;grid-row:1;font-size:1rem;border-bottom:.0625rem solid hsla(var(--ig-gray-300),var(--ig-gray-a));background:var(--background-color);height:auto;min-height:var(--size);padding-block:0;padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline-end:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid-toolbar [igxButton],.igx-grid-toolbar--cosy [igxButton],.igx-grid-toolbar--compact [igxButton]{margin-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid-toolbar [igxButton]:first-of-type,.igx-grid-toolbar--cosy [igxButton]:first-of-type,.igx-grid-toolbar--compact [igxButton]:first-of-type{margin-inline-start:0}.igx-grid-toolbar [igxButton]:last-of-type,.igx-grid-toolbar--cosy [igxButton]:last-of-type,.igx-grid-toolbar--compact [igxButton]:last-of-type{margin-inline-end:0}[dir=rtl].igx-grid-toolbar,[dir=rtl].igx-grid-toolbar--cosy,[dir=rtl].igx-grid-toolbar--compact{text-align:end}[dir=rtl].igx-grid-toolbar [igxButton],[dir=rtl].igx-grid-toolbar--cosy [igxButton],[dir=rtl].igx-grid-toolbar--compact [igxButton]{margin-inline-start:0;margin-inline-end:.5rem}[dir=rtl].igx-grid-toolbar [igxButton]:last-child,[dir=rtl].igx-grid-toolbar--cosy [igxButton]:last-child,[dir=rtl].igx-grid-toolbar--compact [igxButton]:last-child{margin-inline-end:0}.igx-grid-toolbar__title{color:var(--title-text-color);flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:40ch;margin-inline-end:1rem}.igx-grid-toolbar__custom-content{display:flex;flex-wrap:wrap;flex-grow:1;justify-content:flex-end;margin-inline-end:1rem}.igx-grid-toolbar__actions{display:flex;align-items:center;flex-flow:row wrap;margin-inline-start:auto}.igx-grid-toolbar__actions>*{display:flex;margin-inline-start:1rem}.igx-grid-toolbar__actions>*:first-child{margin-inline-start:0}.igx-grid-toolbar__actions:empty,.igx-grid-toolbar__title:empty,.igx-grid-toolbar__custom-content:empty{display:none}.igx-grid-toolbar__title:empty+.igx-grid-toolbar__custom-content:empty+.igx-grid-toolbar__actions{width:100%;margin-inline-start:0;justify-content:flex-end}.igx-grid-toolbar__progress-bar{position:absolute;width:100%;inset-inline-start:0;inset-inline-end:0;bottom:-.0625rem;height:.125rem;overflow:hidden;background:var(--background-color)}.igx-grid-toolbar__progress-bar igx-linear-bar>*{border-radius:0}.igx-grid-toolbar__progress-bar igx-linear-bar>*:first-child>div{background:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-grid-toolbar__adv-filter--filtered{border-color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))!important}.igx-grid-toolbar__dropdown{position:relative}.igx-grid-toolbar__dd-list{list-style:none;background:var(--dropdown-background);margin:0;padding:0;box-shadow:var(--ig-elevation-8)}.igx-grid-toolbar__dd-list-items{cursor:pointer;position:relative;padding:.5rem 1rem;color:var(--item-text-color);white-space:nowrap}.igx-grid-toolbar__dd-list-items:hover{background:var(--item-hover-background);color:var(--item-hover-text-color)}.igx-grid-toolbar__dd-list-items:focus{background:var(--item-focus-background);color:var(--item-focus-text-color)}igx-pivot-data-selector{--background: var(--igx-pivot-data-selector-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-color: var(--igx-pivot-data-selector-header-color, hsla(var(--ig-gray-100), var(--ig-gray-a)))}.igx-pivot-data-selector{display:flex;flex-direction:column;max-width:17.5rem;background:var(--background);z-index:0}.igx-pivot-data-selector>igx-input-group{flex:0 1 auto}.igx-pivot-data-selector igx-display-container{display:flex;flex-direction:column}.igx-pivot-data-selector>igx-list igx-display-container{padding:.25rem}.igx-pivot-data-selector>igx-list igx-list-item{display:flex;min-height:1.75rem}.igx-pivot-data-selector>igx-list .igx-checkbox__label,.igx-pivot-data-selector>igx-list .igx-checkbox__label--before{font-size:.8125rem}.igx-pivot-data-selector .igx-input-group--box .igx-input-group__input,.igx-input-group--box .igx-pivot-data-selector .igx-input-group__input{transform:none}.igx-pivot-data-selector .igx-input-group igx-prefix,.igx-input-group .igx-pivot-data-selector igx-prefix,.igx-pivot-data-selector .igx-input-group--focused igx-prefix,.igx-input-group--focused .igx-pivot-data-selector igx-prefix,.igx-pivot-data-selector .igx-input-group [igxPrefix],.igx-input-group .igx-pivot-data-selector [igxPrefix],.igx-pivot-data-selector .igx-input-group--focused [igxPrefix],.igx-input-group--focused .igx-pivot-data-selector [igxPrefix]{padding-inline-end:1rem!important;box-sizing:content-box}.igx-pivot-data-selector .igx-input-group--box .igx-input-group__bundle-main,.igx-input-group--box .igx-pivot-data-selector .igx-input-group__bundle-main{padding-top:0!important}.igx-pivot-data-selector .igx-expansion-panel__body{position:relative;height:8rem;font-size:.875rem;padding:.25rem;overflow-y:auto}.igx-pivot-data-selector .igx-expansion-panel__body>igx-list{height:auto}.igx-pivot-data-selector .igx-expansion-panel__header-icon--start{margin-inline-end:.5rem}.igx-pivot-data-selector .igx-expansion-panel__header-title{display:flex}.igx-pivot-data-selector .igx-expansion-panel__header-title>h6{font-size:.75rem;margin-bottom:0}.igx-pivot-data-selector .igx-expansion-panel__header-inner{background:var(--header-color);padding:.25rem}.dragOver .igx-pivot-data-selector .igx-expansion-panel__header-inner{background:hsla(var(--ig-gray-300),var(--ig-gray-a));box-shadow:inset 0 0 0 .0625rem hsla(var(--ig-gray-400),var(--ig-gray-a))}.igx-pivot-data-selector__filter{display:flex;flex-direction:column;overflow:hidden}.igx-pivot-data-selector__filter igx-list{display:flex;flex-direction:column;padding:.5rem .25rem;min-height:11.625rem;max-height:13rem;overflow-y:auto}.igx-pivot-data-selector__filter igx-list-item{display:flex}.igx-pivot-data-selector__filter igx-checkbox+span{margin-inline-start:.5rem;line-height:1.75rem}.igx-pivot-data-selector__header,.igx-pivot-data-selector__header-extra{display:flex;align-items:center}.igx-pivot-data-selector__header-extra igx-icon{padding:0 .5rem;box-sizing:content-box}.igx-pivot-data-selector__header-extra .igx-chip__item{height:max(var(--is-large, 1) * max(1.375rem,-1 * 1.375rem),var(--is-medium, 1) * max(1.25rem,-1 * 1.25rem),var(--is-small, 1) * max(1.125rem,-1 * 1.125rem))}.igx-pivot-data-selector__header-extra .igx-chip__content{padding:0 .125rem}.igx-pivot-data-selector__item{display:flex;align-items:center;justify-content:space-between;min-height:2rem;width:100%}.igx-drag--push .igx-pivot-data-selector__item{padding-top:2rem}.igx-pivot-data-selector__item-ghost{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;background:hsla(var(--ig-surface-500),var(--ig-surface-a));min-height:2rem;height:auto;padding:0 .125rem 0 .25rem;cursor:grabbing;box-shadow:var(--ig-elevation-24);border:.0625rem solid hsla(var(--ig-gray-100),var(--ig-gray-a));border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .125rem),.125rem);z-index:10}.igx-pivot-data-selector igx-icon,.igx-pivot-data-selector__item-ghost igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-pivot-data-selector__item-ghost-text{display:flex;align-items:center}.igx-pivot-data-selector__item-ghost-text igx-icon{margin-inline-end:.5rem}.igx-pivot-data-selector__item-ghost--no-drop{cursor:no-drop}.igx-pivot-data-selector__item-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:calc(100% - .625rem)}.igx-pivot-data-selector__item-text,.igx-pivot-data-selector__action-sort,.igx-pivot-data-selector__action-filter,.igx-pivot-data-selector__action-move,.igx-pivot-data-selector__action-summary{-webkit-user-select:none;user-select:none}.igx-pivot-data-selector__action-sort,.igx-pivot-data-selector__action-summary,.igx-pivot-data-selector__action-filter{cursor:pointer}.igx-pivot-data-selector__action-move{cursor:grab}.igx-pivot-data-selector__item-start{display:flex;justify-content:space-between;align-items:center;flex:0 1 100%;margin-inline-end:.5rem;overflow:hidden}.igx-pivot-data-selector__item-end{display:flex}.igx-pivot-data-selector__item-end igx-icon+igx-icon{margin-inline-start:.5rem}.igx-highlight{--resting-background: var(--igx-highlight-resting-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--resting-color: var(--igx-highlight-resting-color, var(--ig-gray-300-contrast));--active-background: var(--igx-highlight-active-background, hsla(var(--ig-secondary-A100), var(--ig-secondary-a)));--active-color: var(--igx-highlight-active-color, var(--ig-secondary-A100-contrast))}.igx-highlight,.igx-highlight--active{color:var(--resting-color);background:var(--resting-background)}.igx-highlight--active{color:var(--active-color);background:var(--active-background)}igx-icon{--color: var(--igx-icon-color, "currentColor");--disabled-color: var(--igx-icon-disabled-color, "currentColor");--size: var(--igx-icon-size, max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.25rem, -1 * 1.25rem), var(--is-small, 1) * max(1.125rem, -1 * 1.125rem)));--default-size: var(--igx-icon-default-size, 3)}.igx-icon{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));display:inline-flex;font-size:var(--size);color:var(--color);direction:inherit}.igx-icon div,.igx-icon svg{display:block;width:inherit;height:inherit;fill:currentColor}[igxPrefix].material-icons.igx-icon,[igxSuffix].material-icons.igx-icon{font-family:Material Icons}igx-icon.igx-icon{width:1em;height:1em}.igx-icon--success{color:hsla(var(--ig-success-500),var(--ig-success-a))}.igx-icon--error{color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-icon--inactive{color:var(--disabled-color)!important;opacity:.54}igx-input-group,igx-date-range-start,igx-date-range-end{--search-resting-elevation: var(--igx-input-group-search-resting-elevation, var(--ig-elevation-1));--search-hover-elevation: var(--igx-input-group-search-hover-elevation, var(--ig-elevation-2));--search-disabled-elevation: var(--igx-input-group-search-disabled-elevation, var(--ig-elevation-0));--helper-text-color: var(--igx-input-group-helper-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--input-prefix-background: var(--igx-input-group-input-prefix-background, transparent);--input-prefix-color: var(--igx-input-group-input-prefix-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--input-prefix-background--filled: var(--igx-input-group-input-prefix-background--filled, inherit);--input-prefix-color--filled: var(--igx-input-group-input-prefix-color--filled, hsla(var(--ig-gray-900), var(--ig-gray-a)));--input-prefix-background--focused: var(--igx-input-group-input-prefix-background--focused, inherit);--input-prefix-color--focused: var(--igx-input-group-input-prefix-color--focused, hsla(var(--ig-gray-900), var(--ig-gray-a)));--input-suffix-background: var(--igx-input-group-input-suffix-background, transparent);--input-suffix-color: var(--igx-input-group-input-suffix-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--input-suffix-background--filled: var(--igx-input-group-input-suffix-background--filled, inherit);--input-suffix-color--filled: var(--igx-input-group-input-suffix-color--filled, hsla(var(--ig-gray-900), var(--ig-gray-a)));--input-suffix-background--focused: var(--igx-input-group-input-suffix-background--focused, inherit);--input-suffix-color--focused: var(--igx-input-group-input-suffix-color--focused, hsla(var(--ig-gray-900), var(--ig-gray-a)));--idle-text-color: var(--igx-input-group-idle-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--filled-text-color: var(--igx-input-group-filled-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--focused-text-color: var(--igx-input-group-focused-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--disabled-text-color: var(--igx-input-group-disabled-text-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--idle-secondary-color: var(--igx-input-group-idle-secondary-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--filled-secondary-color: var(--igx-input-group-filled-secondary-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--focused-secondary-color: var(--igx-input-group-focused-secondary-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--idle-bottom-line-color: var(--igx-input-group-idle-bottom-line-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--hover-bottom-line-color: var(--igx-input-group-hover-bottom-line-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--focused-bottom-line-color: var(--igx-input-group-focused-bottom-line-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--interim-bottom-line-color: var(--igx-input-group-interim-bottom-line-color, hsla(var(--ig-primary-500), .12));--disabled-bottom-line-color: var(--igx-input-group-disabled-bottom-line-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-border-color: var(--igx-input-group-disabled-border-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--border-color: var(--igx-input-group-border-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--hover-border-color: var(--igx-input-group-hover-border-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--focused-border-color: var(--igx-input-group-focused-border-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--border-background: var(--igx-input-group-border-background, transparent);--border-disabled-background: var(--igx-input-group-border-disabled-background, transparent);--search-background: var(--igx-input-group-search-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--search-disabled-background: var(--igx-input-group-search-disabled-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--success-secondary-color: var(--igx-input-group-success-secondary-color, hsla(var(--ig-success-500), var(--ig-success-a)));--warning-secondary-color: var(--igx-input-group-warning-secondary-color, hsla(var(--ig-warn-500), var(--ig-warn-a)));--error-secondary-color: var(--igx-input-group-error-secondary-color, hsla(var(--ig-error-500), var(--ig-error-a)));--placeholder-color: var(--igx-input-group-placeholder-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--disabled-placeholder-color: var(--igx-input-group-disabled-placeholder-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--box-background: var(--igx-input-group-box-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--box-background-hover: var(--igx-input-group-box-background-hover, hsla(var(--ig-gray-200), var(--ig-gray-a)));--box-background-focus: var(--igx-input-group-box-background-focus, hsla(var(--ig-gray-300), var(--ig-gray-a)));--box-disabled-background: var(--igx-input-group-box-disabled-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--box-border-radius: var(--igx-input-group-box-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--border-border-radius: var(--igx-input-group-border-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--search-border-radius: var(--igx-input-group-search-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--success-shadow-color: var(--igx-input-group-success-shadow-color, hsla(var(--ig-success-500), .38));--error-shadow-color: var(--igx-input-group-error-shadow-color, hsla(var(--ig-error-500), .38));--size: var(--igx-input-group-size, max(var(--is-large, 1) * max(3.5rem, -1 * 3.5rem), var(--is-medium, 1) * max(3rem, -1 * 3rem), var(--is-small, 1) * max(2.5rem, -1 * 2.5rem)));--default-size: var(--igx-input-group-default-size, 2);--search-resting-shadow: var(--igx-input-group-search-resting-shadow, var(--ig-elevation-1));--search-hover-shadow: var(--igx-input-group-search-hover-shadow, var(--ig-elevation-2));--search-disabled-shadow: var(--igx-input-group-search-disabled-shadow, var(--ig-elevation-0))}.igx-input-group igx-prefix,.igx-input-group--focused igx-prefix,.igx-input-group [igxPrefix],.igx-input-group--focused [igxPrefix]{color:var(--input-prefix-color);background:var(--input-prefix-background);grid-area:1/1/auto/auto}.igx-input-group igx-suffix,.igx-input-group--focused igx-suffix,.igx-input-group [igxSuffix],.igx-input-group--focused [igxSuffix]{color:var(--input-suffix-color);background:var(--input-suffix-background);grid-area:1/3/auto/auto}.igx-input-group igx-prefix,.igx-input-group--focused igx-prefix,.igx-input-group [igxPrefix],.igx-input-group--focused [igxPrefix],.igx-input-group igx-suffix,.igx-input-group--focused igx-suffix,.igx-input-group [igxSuffix],.igx-input-group--focused [igxSuffix]{position:relative;display:inline-flex;width:max-content;align-items:center;height:100%!important;transition:color .25s cubic-bezier(.215,.61,.355,1),background .25s cubic-bezier(.215,.61,.355,1);padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}igx-input-group,igx-date-range-start,igx-date-range-end{--theme: material}.igx-input-group,.igx-input-group--focused{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--input-size: var(--component-size);position:relative;display:block;color:var(--idle-text-color)}.igx-input-group igx-prefix,.igx-input-group--focused igx-prefix,.igx-input-group [igxPrefix],.igx-input-group--focused [igxPrefix]{outline-style:none}.igx-input-group igx-suffix,.igx-input-group--focused igx-suffix,.igx-input-group [igxSuffix],.igx-input-group--focused [igxSuffix]{outline-style:none}.igx-input-group input,.igx-input-group--focused input,.igx-input-group textarea,.igx-input-group--focused textarea,.igx-input-group span,.igx-input-group--focused span{font:inherit;margin:0}.igx-input-group input[type=file],.igx-input-group--focused input[type=file]{position:absolute;width:1px;height:1px;margin:-1px;border:none;clip:rect(0,0,0,0);outline:0;pointer-events:none;overflow:hidden;appearance:none}.igx-input-group textarea,.igx-input-group--focused textarea{overflow:auto}.igx-input-group input[type=number],.igx-input-group--focused input[type=number]{-moz-appearance:textfield}.igx-input-group input[type=number]::-webkit-inner-spin-button,.igx-input-group--focused input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;height:auto}.igx-input-group input[type=search]::-webkit-search-cancel-button,.igx-input-group--focused input[type=search]::-webkit-search-cancel-button,.igx-input-group input[type=search]::-webkit-search-decoration,.igx-input-group--focused input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.igx-input-group igx-icon,.igx-input-group--focused igx-icon{--component-size: var(--input-size)}.igx-input-group--box,.igx-input-group--border,.igx-input-group--search,.igx-input-group--indigo{margin-block-start:0}.igx-input-group--filled{color:var(--input-prefix-color--filled)}.igx-input-group--filled igx-prefix,.igx-input-group--filled [igxPrefix]{color:var(--input-prefix-color--filled);background:var(--input-prefix-background--filled)}.igx-input-group--filled igx-suffix,.igx-input-group--filled [igxSuffix]{color:var(--input-suffix-color--filled);background:var(--input-suffix-background--filled)}.igx-input-group--focused{color:var(--input-prefix-color--focused)}.igx-input-group--focused igx-prefix,.igx-input-group--focused [igxPrefix]{color:var(--input-prefix-color--focused);background:var(--input-prefix-background--focused)}.igx-input-group--focused igx-suffix,.igx-input-group--focused [igxSuffix]{color:var(--input-suffix-color--focused);background:var(--input-suffix-background--focused)}.igx-input-group--disabled,.igx-input-group--disabled.igx-input-group--required{-webkit-user-select:none;user-select:none;color:var(--disabled-text-color)!important}.igx-input-group--box .igx-input-group__wrapper,.igx-input-group--indigo .igx-input-group__wrapper{border-radius:var(--box-border-radius);border-end-start-radius:0;border-end-end-radius:0;overflow:hidden}.igx-input-group__bundle{display:grid;grid-template-columns:auto 1fr auto;grid-area:1/2/span 1/span 2;height:var(--size);position:relative;max-width:100%;font-size:1rem}.igx-input-group__bundle:after{content:"";position:absolute;bottom:0%;width:100%;border-block-end:.0625rem solid var(--idle-bottom-line-color);transition:all .25s cubic-bezier(.215,.61,.355,1)}.igx-input-group__bundle .igx-input-group__bundle-start{border-start-start-radius:calc(var(--box-border-radius) - .0625rem)}.igx-input-group__bundle .igx-input-group__bundle-end{border-start-end-radius:calc(var(--box-border-radius) - .0625rem)}.igx-input-group--fluent .igx-input-group__bundle:after,.igx-input-group--bootstrap .igx-input-group__bundle:after{display:none}.igx-input-group__bundle:hover{cursor:pointer}.igx-input-group__bundle:hover:after{border-block-end-width:.0625rem;border-block-end-color:var(--hover-bottom-line-color)}.igx-input-group--focused .igx-input-group__bundle:after{border-block-end-width:.125rem;border-block-end-color:var(--focused-bottom-line-color)}.igx-input-group--valid .igx-input-group__bundle:after{border-block-end-color:var(--success-secondary-color)}.igx-input-group--invalid .igx-input-group__bundle:after{border-block-end-color:var(--error-secondary-color)}.igx-input-group--disabled .igx-input-group__bundle,.igx-input-group--disabled.igx-input-group--required .igx-input-group__bundle{cursor:default}.igx-input-group--disabled .igx-input-group__bundle:after,.igx-input-group--disabled.igx-input-group--required .igx-input-group__bundle:after{border-block-end-color:var(--disabled-bottom-line-color);border-block-end-style:dashed}.igx-input-group__bundle-start{grid-area:1/1}.igx-input-group__bundle-main{grid-area:1/2/span 1/span 2;flex-grow:1;position:relative;max-width:inherit}.igx-input-group--box .igx-input-group__bundle{padding:0!important;background:var(--box-background)}.igx-input-group--box .igx-input-group__bundle:hover{background:var(--box-background-hover)}.igx-input-group--box.igx-input-group--focused .igx-input-group__bundle{background:var(--box-background-focus)}.igx-input-group--box.igx-input-group--disabled .igx-input-group__bundle{background-color:var(--box-disabled-background)}.igx-input-group__bundle-main,.igx-input-group__notch{padding-inline:.25rem}.igx-input-group__notch{display:flex;align-items:center;width:auto;min-width:0;height:100%;position:relative;grid-area:1/2}.igx-input-group--border .igx-input-group__notch{padding:0 .25rem}.igx-input-group__filler{grid-area:1/3}.igx-input-group__bundle-end{grid-area:1/4}.igx-input-group__bundle-start,.igx-input-group__bundle-end{display:flex;align-items:center;min-width:0;min-height:100%;overflow:hidden;min-width:max(var(--is-large, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.625rem,-1 * .625rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-input-group--border .igx-input-group__bundle{grid-template-columns:auto auto 1fr auto;display:grid;align-items:initial;padding:0;box-shadow:none;border-radius:var(--border-border-radius);background:var(--border-background)}.igx-input-group--border .igx-input-group__bundle .igx-input-group__bundle-start{width:auto;flex-shrink:0;border-color:var(--border-color);border-style:solid;border-inline-start-width:.0625rem;border-inline-end-width:0;border-block-start-width:.0625rem;border-block-end-width:.0625rem;border-start-start-radius:var(--border-border-radius);border-end-start-radius:var(--border-border-radius)}.igx-input-group--border .igx-input-group__bundle .igx-input-group__filler{border-width:.0625rem;border-style:solid;border-color:var(--border-color);border-left:none;border-right:none}.igx-input-group--border .igx-input-group__bundle .igx-input-group__notch{border-block-start:.0625rem solid var(--border-color);border-block-end:.0625rem solid var(--border-color);overflow:visible}.igx-input-group--border .igx-input-group__bundle .igx-input-group__notch .igx-input-group__label{position:relative}.igx-input-group--border .igx-input-group__bundle .igx-input-group__notch:empty{display:none}.igx-input-group--border .igx-input-group__bundle .igx-input-group__bundle-end{display:flex;justify-content:flex-end;flex-grow:1;height:100%;grid-area:1/4;border-color:var(--border-color);border-style:solid;border-inline-start-width:0;border-inline-end-width:.0625rem;border-block-start-width:.0625rem;border-block-end-width:.0625rem;border-start-end-radius:var(--border-border-radius);border-end-end-radius:var(--border-border-radius)}.igx-input-group--border .igx-input-group__bundle .igx-input-group igx-prefix,.igx-input-group .igx-input-group--border .igx-input-group__bundle igx-prefix,.igx-input-group--border .igx-input-group__bundle .igx-input-group--focused igx-prefix,.igx-input-group--focused .igx-input-group--border .igx-input-group__bundle igx-prefix,.igx-input-group--border .igx-input-group__bundle .igx-input-group [igxPrefix],.igx-input-group .igx-input-group--border .igx-input-group__bundle [igxPrefix],.igx-input-group--border .igx-input-group__bundle .igx-input-group--focused [igxPrefix],.igx-input-group--focused .igx-input-group--border .igx-input-group__bundle [igxPrefix],.igx-input-group--border .igx-input-group__bundle .igx-input-group igx-suffix,.igx-input-group .igx-input-group--border .igx-input-group__bundle igx-suffix,.igx-input-group--border .igx-input-group__bundle .igx-input-group--focused igx-suffix,.igx-input-group--focused .igx-input-group--border .igx-input-group__bundle igx-suffix,.igx-input-group--border .igx-input-group__bundle .igx-input-group [igxSuffix],.igx-input-group .igx-input-group--border .igx-input-group__bundle [igxSuffix],.igx-input-group--border .igx-input-group__bundle .igx-input-group--focused [igxSuffix],.igx-input-group--focused .igx-input-group--border .igx-input-group__bundle [igxSuffix]{height:100%}.igx-input-group--border .igx-input-group__bundle:after{display:none}.igx-input-group--border.igx-input-group--disabled .igx-input-group__bundle{background:var(--border-disabled-background)}.igx-input-group--border .igx-input-group__input,.igx-input-group--border .igx-input-group__file-input{width:100%;height:100%!important;padding-block:0;border:none;outline-style:none;z-index:1}.igx-input-group--search .igx-input-group__notch,.igx-input-group--search .igx-input-group__bundle-main{padding-inline-start:max(var(--is-large, 1)*max(1.125rem,-1 * 1.125rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--search .igx-input-group__notch,.igx-input-group--search .igx-input-group__bundle-main{padding-inline-end:max(var(--is-large, 1)*max(1.125rem,-1 * 1.125rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--search .igx-input-group__notch,.igx-input-group--search .igx-input-group__bundle-main{padding-inline:.25rem}.igx-input-group--search .igx-input-group__bundle{background:var(--search-background);box-shadow:var(--search-resting-shadow);border-radius:var(--search-border-radius);overflow:hidden}.igx-input-group--search .igx-input-group__bundle:after{display:none}.igx-input-group--search .igx-input-group__bundle:hover,.igx-input-group--search.igx-input-group--focused .igx-input-group__bundle{box-shadow:var(--search-hover-shadow);border-color:var(--hover-border-color)}.igx-input-group--search.igx-input-group--disabled .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--search.igx-input-group--disabled .igx-input-group__bundle{background:var(--search-disabled-background);box-shadow:var(--search-disabled-shadow);border-color:var(--disabled-border-color)}.igx-input-group--border .igx-input-group__bundle-main{background:rgba(0,0,0,0);padding:0 .25rem;font-size:1rem}.igx-input-group__label{padding-inline-end:.25rem;backface-visibility:hidden;will-change:transform;transform-origin:top left;transition:all .25s cubic-bezier(.215,.61,.355,1);margin-inline-start:max(var(--is-large, 1)*max(-.25rem,-1 * -.25rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(-.125rem,-1 * -.125rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(0,-1 * 0)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--border .igx-input-group__label{padding-inline-end:0;display:inline-block;position:relative;background:rgba(0,0,0,0)}.igx-input-group--border .igx-input-group__label,.igx-input-group--search .igx-input-group__label{transform:translateY(0)}.igx-input-group--search .igx-input-group__label+.igx-input-group__input{transform:translateY(0)}.igx-input-group--focused .igx-input-group__label,.igx-input-group--placeholder .igx-input-group__label,.igx-input-group--filled .igx-input-group__label,.igx-input-group--file .igx-input-group__label{--floating-label-position: -73%;transform:translateY(var(--floating-label-position));font-size:.75rem}.igx-input-group--border.igx-input-group--focused .igx-input-group__notch,.igx-input-group--border.igx-input-group--filled .igx-input-group__notch,.igx-input-group--border.igx-input-group--placeholder .igx-input-group__notch,.igx-input-group--border.igx-input-group--file .igx-input-group__notch{border-block-start-color:#0000!important}.igx-input-group--border.igx-input-group--focused .igx-input-group__bundle-start{border-inline-start-width:.125rem;border-block-start-width:.125rem;border-block-end-width:.125rem;border-inline-start-color:var(--focused-border-color);border-block-start-color:var(--focused-border-color);border-block-end-color:var(--focused-border-color)}.igx-input-group--border.igx-input-group--focused .igx-input-group__bundle-end{border-inline-end-width:.125rem;border-block-start-width:.125rem;border-block-end-width:.125rem;border-inline-end-color:var(--focused-border-color);border-block-start-color:var(--focused-border-color);border-block-end-color:var(--focused-border-color)}.igx-input-group--border.igx-input-group--focused .igx-input-group__filler,.igx-input-group--border.igx-input-group--focused .igx-input-group__notch{border-block-width:.125rem}.igx-input-group--border.igx-input-group--focused .igx-input-group__filler{border-block-color:var(--focused-border-color)}.igx-input-group--border.igx-input-group--focused .igx-input-group__notch{border-block-end-color:var(--focused-border-color)}.igx-input-group--border.igx-input-group--focused igx-prefix:first-child,.igx-input-group--border.igx-input-group--focused [igxPrefix]:first-child{margin-inline-start:-.0625rem}.igx-input-group--border.igx-input-group--focused igx-suffix:last-child,.igx-input-group--border.igx-input-group--focused [igxSuffix]:last-child{margin-inline-end:-.0625rem}.igx-input-group--border.igx-input-group--filled .igx-input-group__label,.igx-input-group--border.igx-input-group--file .igx-input-group__label,.igx-input-group--border.igx-input-group--focused .igx-input-group__label,.igx-input-group--border.igx-input-group--placeholder .igx-input-group__label{--label-position: max(var(--is-large, 1) * max(26px, -1 * 26px), var(--is-medium, 1) * max(22px, -1 * 22px), var(--is-small, 1) * max(18px, -1 * 18px));transform:translateY(calc(var(--label-position) * -1));font-size:.75rem;margin-top:0;overflow:hidden;will-change:font-size,color,transform}.igx-input-group--textarea-group .igx-input-group__bundle{--textarea-size: max(var(--is-large, 1) * max(5.125rem, -1 * 5.125rem), var(--is-medium, 1) * max(4.3157894737rem, -1 * 4.3157894737rem), var(--is-small, 1) * max(3.7272727273rem, -1 * 3.7272727273rem));min-height:var(--textarea-size)!important;height:auto!important}.igx-input-group--textarea-group .igx-input-group__bundle .igx-input-group__label{position:absolute}.igx-input-group--textarea-group .igx-input-group__label{transition-duration:0ms}.igx-input-group--textarea-group.igx-input-group--focused .igx-input-group__label,.igx-input-group--textarea-group.igx-input-group--filled .igx-input-group__label,.igx-input-group--textarea-group.igx-input-group--placeholder .igx-input-group__label{transform:translateY(0);top:.3125rem}.igx-input-group--textarea-group.igx-input-group--filled.igx-input-group--border .igx-input-group__label,.igx-input-group--textarea-group.igx-input-group--placeholder.igx-input-group--border .igx-input-group__label,.igx-input-group--textarea-group.igx-input-group--focused.igx-input-group--border .igx-input-group__label{top:0;transform:translateY(-50%);margin-block-end:auto!important}.igx-input-group--textarea-group.igx-input-group--filled .igx-input-group__notch,.igx-input-group--textarea-group.igx-input-group--placeholder .igx-input-group__notch,.igx-input-group--textarea-group.igx-input-group--filled.igx-input-group--border .igx-input-group__notch,.igx-input-group--textarea-group.igx-input-group--placeholder.igx-input-group--border .igx-input-group__notch{border-block-start-width:.125rem}.igx-input-group--focused .igx-input-group__label{color:var(--focused-secondary-color)}.igx-input-group--valid .igx-input-group__label{color:var(--success-secondary-color)}.igx-input-group--invalid .igx-input-group__label{color:var(--error-secondary-color)}.igx-input-group--required .igx-input-group__label:after{content:"*";font-size:inherit;vertical-align:top;margin-inline-start:.125rem;display:inline-block}.igx-input-group--disabled .igx-input-group__label{color:var(--disabled-text-color)!important}.igx-input-group__input,.igx-input-group__textarea{position:relative;display:block;border:none;padding-block-start:1.25rem;padding-block-end:.375rem;padding-inline:0;height:calc(var(--size) - 2px);width:100%;min-width:0;background:rgba(0,0,0,0);color:var(--filled-text-color);outline-style:none;box-shadow:none;overflow:hidden;text-overflow:ellipsis}.igx-input-group__input:not([type=date]),.igx-input-group__textarea:not([type=date]){line-height:0!important}.igx-input-group__input::placeholder,.igx-input-group__textarea::placeholder{color:var(--placeholder-color);opacity:1;line-height:normal}.igx-input-group__notch:empty+.igx-input-group__bundle-main .igx-input-group__input,.igx-input-group__notch:empty+.igx-input-group__bundle-main .igx-input-group__textarea{padding-block:0}.igx-input-group__file-input{width:100%;max-width:100%;overflow:hidden;padding-block-start:1.25rem;padding-block-end:.375rem;height:calc(var(--size) - 2px);color:var(--filled-text-color)}.igx-input-group__file-input span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;position:relative;display:inline-block;width:inherit;max-width:inherit;top:50%;transform:translateY(-50%)}.igx-input-group__clear-icon:focus{background-color:hsla(var(--ig-primary-500),var(--ig-primary-a));color:var(--ig-primary-600-contrast);background-color:#0000;color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-input-group__input:-webkit-autofill{transition-delay:99999s}.igx-input-group__input::-ms-clear{display:none}.igx-input-group__input:hover,.igx-input-group__file-input:hover,.igx-input-group__textarea:hover{cursor:pointer}.igx-input-group__input:focus,.igx-input-group__file-input:focus,.igx-input-group__textarea:focus{cursor:text;color:var(--focused-text-color)}.igx-input-group--disabled .igx-input-group__input,.igx-input-group--disabled .igx-input-group__file-input,.igx-input-group--disabled.igx-input-group--required .igx-input-group__input,.igx-input-group--disabled.igx-input-group--required .igx-input-group__file-input,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__input,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__file-input{cursor:default;color:var(--disabled-text-color)!important}.igx-input-group--disabled .igx-input-group__input::placeholder,.igx-input-group--disabled .igx-input-group__file-input::placeholder,.igx-input-group--disabled.igx-input-group--required .igx-input-group__input::placeholder,.igx-input-group--disabled.igx-input-group--required .igx-input-group__file-input::placeholder,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__input::placeholder,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__file-input::placeholder{color:var(--disabled-placeholder-color)}.igx-input-group__textarea{--textarea-size: max(var(--is-large, 1) * max(5.125rem, -1 * 5.125rem), var(--is-medium, 1) * max(4.3157894737rem, -1 * 4.3157894737rem), var(--is-small, 1) * max(3.7272727273rem, -1 * 3.7272727273rem));min-height:var(--textarea-size);height:auto;resize:vertical;overflow:hidden;padding:0;line-height:normal!important;z-index:1}.igx-input-group__textarea:not([type="*"]){line-height:normal!important}.igx-input-group--textarea-group .igx-input-group__bundle-main{overflow:hidden;height:calc(100% - .125rem);top:.0625rem;padding-block-start:1.25rem}.igx-input-group--disabled .igx-input-group__textarea,.igx-input-group--disabled.igx-input-group--required .igx-input-group__textarea{color:var(--disabled-text-color)!important}.igx-input-group--disabled .igx-input-group__textarea::placeholder,.igx-input-group--disabled.igx-input-group--required .igx-input-group__textarea::placeholder{color:var(--disabled-placeholder-color)}.igx-input-group__line{position:absolute;width:100%;inset-inline-end:0;height:.125rem;align-self:end;transform:scaleX(0);transform-origin:center;background:var(--focused-secondary-color);z-index:1}.igx-input-group--valid .igx-input-group__line{background:var(--success-secondary-color)}.igx-input-group--border.igx-input-group--valid .igx-input-group__bundle-start{border-inline-start-color:var(--success-secondary-color);border-block-start-color:var(--success-secondary-color);border-block-end-color:var(--success-secondary-color)}.igx-input-group--border.igx-input-group--valid .igx-input-group__bundle-end{border-inline-end-color:var(--success-secondary-color);border-block-start-color:var(--success-secondary-color);border-block-end-color:var(--success-secondary-color)}.igx-input-group--border.igx-input-group--valid .igx-input-group__notch,.igx-input-group--border.igx-input-group--valid .igx-input-group__filler{border-block-color:var(--success-secondary-color)}.igx-input-group--border.igx-input-group--warning .igx-input-group__bundle-start{border-inline-start-color:var(--warning-secondary-color);border-block-start-color:var(--warning-secondary-color);border-block-end-color:var(--warning-secondary-color)}.igx-input-group--border.igx-input-group--warning .igx-input-group__bundle-end{border-inline-end-color:var(--warning-secondary-color);border-block-start-color:var(--warning-secondary-color);border-block-end-color:var(--warning-secondary-color)}.igx-input-group--border.igx-input-group--warning .igx-input-group__notch,.igx-input-group--border.igx-input-group--warning .igx-input-group__filler{border-block-color:var(--warning-secondary-color)}.igx-input-group--invalid .igx-input-group__line{background:var(--error-secondary-color)}.igx-input-group--border.igx-input-group--invalid .igx-input-group__bundle-start{border-inline-start-color:var(--error-secondary-color);border-block-start-color:var(--error-secondary-color);border-block-end-color:var(--error-secondary-color)}.igx-input-group--border.igx-input-group--invalid .igx-input-group__bundle-end{border-inline-end-color:var(--error-secondary-color);border-block-start-color:var(--error-secondary-color);border-block-end-color:var(--error-secondary-color)}.igx-input-group--border.igx-input-group--invalid .igx-input-group__notch,.igx-input-group--border.igx-input-group--invalid .igx-input-group__filler{border-block-color:var(--error-secondary-color)}.igx-input-group--border.igx-input-group--disabled .igx-input-group__bundle-start{border-inline-start-color:var(--disabled-border-color);border-block-start-color:var(--disabled-border-color);border-block-end-color:var(--disabled-border-color)}.igx-input-group--border.igx-input-group--disabled .igx-input-group__bundle-end{border-inline-end-color:var(--disabled-border-color);border-block-start-color:var(--disabled-border-color);border-block-end-color:var(--disabled-border-color)}.igx-input-group--border.igx-input-group--disabled .igx-input-group__notch,.igx-input-group--border.igx-input-group--disabled .igx-input-group__filler{border-block-color:var(--disabled-border-color)}.igx-input-group--focused .igx-input-group__line{transform:scaleX(1);transition:transform .25s cubic-bezier(.215,.61,.355,1)}.igx-input-group--border .igx-input-group__line,.igx-input-group--search .igx-input-group__line{display:none}.igx-input-group__hint{color:var(--helper-text-color);position:relative;display:flex;padding-block-start:.3125rem;padding-inline-start:1rem;justify-content:space-between}.igx-input-group__hint>*{margin-inline-end:.5rem}.igx-input-group__hint>*:last-child{margin-inline-end:0}.igx-input-group__hint:empty{display:none}.igx-input-group--valid .igx-input-group__hint{color:var(--success-secondary-color)}.igx-input-group--invalid .igx-input-group__hint{color:var(--error-secondary-color)}.igx-input-group__hint-item--start,.igx-input-group__hint-item--end{display:flex;align-items:center;position:relative}.igx-input-group__hint-item--start{justify-content:flex-start}.igx-input-group__hint-item--end{justify-content:flex-end}.igx-input-group__hint-item--start,.igx-input-group__hint-item--end{width:100%}.igx-input-group--disabled igx-prefix,.igx-input-group--disabled.igx-input-group--required igx-prefix,.igx-input-group--disabled [igxPrefix],.igx-input-group--disabled igx-suffix,.igx-input-group--disabled.igx-input-group--required igx-suffix,.igx-input-group--disabled [igxSuffix]{color:var(--disabled-text-color);background:inherit;pointer-events:none}.igx-input-group--disabled .igx-input-group__hint{color:var(--disabled-text-color)}.igx-input-group--indigo .igx-input-group__bundle{border-radius:var(--box-border-radius) var(--box-border-radius) 0 0;transition:background .25s cubic-bezier(.215,.61,.355,1);padding-top:0}.igx-input-group--indigo .igx-input-group__bundle:hover,.igx-input-group--indigo .igx-input-group__bundle:focus{background:var(--box-background-hover)}.igx-input-group--indigo.igx-input-group--focused .igx-input-group__label{color:var(--focused-secondary-color)}.igx-input-group--indigo.igx-input-group--invalid .igx-input-group__label{color:var(--error-secondary-color)}.igx-input-group--indigo.igx-input-group--valid .igx-input-group__label{color:var(--success-secondary-color)}.igx-input-group--indigo .igx-input-group__input,.igx-input-group--indigo .igx-input-group__file-input{padding-block:.5rem;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--indigo.igx-input-group--focused .igx-input-group__bundle{background:var(--box-background-hover)}.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__bundle{background:rgba(0,0,0,0)}.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__bundle:hover,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__bundle:focus{background:rgba(0,0,0,0)}.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__bundle:after{border-bottom-style:solid}.igx-input-group--fluent igx-prefix,.igx-input-group--fluent [igxPrefix],.igx-input-group--fluent igx-suffix,.igx-input-group--fluent [igxSuffix]{outline-style:none}.igx-input-group--fluent select{width:calc(100% + .5rem);margin-inline-start:-.5rem!important;cursor:pointer!important}.igx-input-group--fluent.igx-input-group--search{display:flex;flex-direction:column}.igx-input-group--fluent.igx-input-group--search igx-prefix,.igx-input-group--fluent.igx-input-group--search [igxPrefix]{overflow:hidden}.igx-input-group--fluent.igx-input-group--search.igx-input-group--focused igx-prefix,.igx-input-group--fluent.igx-input-group--search.igx-input-group--focused [igxPrefix]{display:none}.igx-input-group--fluent.igx-input-group--required .igx-input-group__bundle:before{content:"*";position:absolute;top:-.5rem;inset-inline-start:calc(100% + .25rem);color:var(--error-secondary-color)}.igx-input-group--bootstrap.igx-input-group--textarea-group .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--textarea-group .igx-input-group__bundle{display:flex}.igx-input-group--fluent.igx-input-group--required .igx-input-group__label:after{color:var(--error-secondary-color)}.igx-input-group--fluent.igx-input-group--required.igx-input-group--disabled .igx-input-group__label:after{color:var(--disabled-text-color)}.igx-input-group--fluent .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--search .igx-input-group__bundle{--min-width: max(var(--is-large, 1) * max(.5rem, -1 * .5rem), var(--is-medium, 1) * max(.375rem, -1 * .375rem), var(--is-small, 1) * max(.25rem, -1 * .25rem));min-height:var(--size);padding:0;border:.0625rem solid var(--border-color);background:var(--border-background);align-items:stretch;overflow:hidden}.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-start,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-start{margin-block-start:-.0625rem;margin-inline-start:-.0625rem}.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-end,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-end{margin-block-start:-.0625rem;margin-inline-end:-.0625rem}.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-start:empty+.igx-input-group__bundle-main,.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-end:empty+.igx-input-group__bundle-main,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-start:empty+.igx-input-group__bundle-main,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-end:empty+.igx-input-group__bundle-main{margin-inline-start:-.0625rem}.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-main,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-main{margin-block-start:-.0625rem}.igx-input-group--fluent .igx-input-group__bundle:hover,.igx-input-group--fluent.igx-input-group--search .igx-input-group__bundle:hover{border-color:var(--hover-border-color)}.igx-input-group--fluent .igx-input-group__bundle:focus-within,.igx-input-group--fluent .igx-input-group__bundle:focus{border-color:var(--focused-border-color);border-width:.125rem}.igx-input-group--fluent.igx-input-group--invalid .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--invalid .igx-input-group__bundle:hover,.igx-input-group--fluent.igx-input-group--invalid .igx-input-group__bundle:focus-within{border-color:var(--error-secondary-color)}.igx-input-group--fluent.igx-input-group--valid .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--valid .igx-input-group__bundle:hover,.igx-input-group--fluent.igx-input-group--valid .igx-input-group__bundle:focus-within{border-color:var(--success-secondary-color)}.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__bundle:hover,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__bundle{border-color:var(--disabled-border-color);background:var(--border-disabled-background)}.igx-input-group--fluent .igx-input-group__bundle-main,.igx-input-group--fluent.igx-input-group--search .igx-input-group__bundle-main{align-self:center;cursor:default}.igx-input-group--fluent.igx-input-group--textarea-group .igx-input-group__bundle-start:empty,.igx-input-group--fluent.igx-input-group--textarea-group .igx-input-group__bundle-end:empty{display:none}.igx-input-group--fluent .igx-input-group__input,.igx-input-group--fluent .igx-input-group__file-input,.igx-input-group--fluent.igx-input-group--search .igx-input-group__input{font-size:.875rem;padding-block:0;padding-inline:.5rem;margin:0;border:none}.igx-input-group--indigo .igx-input-group__textarea{padding-block:.5rem;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--fluent .igx-input-group__textarea{padding:.5rem}.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__input,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__input:hover,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__input:focus,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__file-input,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__file-input:hover,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__file-input:focus{color:var(--disabled-text-color)}.igx-input-group--fluent .igx-input-group__label,.igx-input-group--fluent.igx-input-group--search .igx-input-group__label,.igx-input-group--indigo .igx-input-group__label{display:block;font-size:.875rem;font-weight:600;position:static;transform:translateY(0);transform-origin:top left;margin-top:0!important;height:auto;margin-block-end:.25rem;color:var(--idle-secondary-color)}[dir=rtl] .igx-input-group--fluent .igx-input-group__label,.igx-input-group--fluent [dir=rtl] .igx-input-group__label,[dir=rtl] .igx-input-group--indigo .igx-input-group__label,.igx-input-group--indigo [dir=rtl] .igx-input-group__label{transform-origin:top right}.igx-input-group--fluent.igx-input-group--required .igx-input-group__label+.igx-input-group__bundle:before{display:none}.igx-input-group--fluent.igx-input-group--valid .igx-input-group__label,.igx-input-group--fluent.igx-input-group--invalid .igx-input-group__label{color:var(--idle-text-color)}.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__label{color:var(--disabled-text-color)!important}.igx-input-group--fluent.igx-input-group--filled .igx-input-group__label,.igx-input-group--fluent.igx-input-group--file .igx-input-group__label{transform:translateY(0)}.igx-input-group--fluent.igx-input-group--focused .igx-input-group__label{color:hsla(var(--ig-gray-800),var(--ig-gray-a));transform:translateY(0) scale(1)}.igx-input-group--fluent.igx-input-group--focused.igx-input-group--textarea-group .igx-input-group__hint{margin-block-start:-.0625rem}.igx-input-group--fluent.igx-input-group--placeholder .igx-input-group__label{transform:translateY(0) scale(1)}.igx-input-group--fluent igx-prefix .ig-typography [igx-button],.igx-input-group--fluent [igxPrefix] .ig-typography [igx-button],.igx-input-group--fluent igx-prefix .ig-typography igx-button,.igx-input-group--fluent [igxPrefix] .ig-typography igx-button,.igx-input-group--fluent igx-prefix button,.igx-input-group--fluent [igxPrefix] button,.igx-input-group--fluent igx-suffix .ig-typography [igx-button],.igx-input-group--fluent [igxSuffix] .ig-typography [igx-button],.igx-input-group--fluent igx-suffix .ig-typography igx-button,.igx-input-group--fluent [igxSuffix] .ig-typography igx-button,.igx-input-group--fluent igx-suffix button,.igx-input-group--fluent [igxSuffix] button{border-radius:0;height:100%}.igx-input-group--fluent [igxPrefix]:first-child [igxButton]:after,.igx-input-group--fluent [igxPrefix]:first-child button:after,.igx-input-group--fluent igx-prefix:first-child [igxButton]:after,.igx-input-group--fluent igx-prefix:first-child button:after{border-start-start-radius:var(--border-border-radius);border-end-start-radius:var(--border-border-radius)}.igx-input-group--fluent igx-prefix,.igx-input-group--fluent [igxPrefix],.igx-input-group--fluent igx-suffix,.igx-input-group--fluent [igxSuffix]{padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--fluent .igx-input-group__upload-button{padding:0}.igx-input-group--bootstrap.igx-input-group--prefixed .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--prefixed .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--prefixed .igx-input-group__textarea{border-start-start-radius:0;border-end-start-radius:0}.igx-input-group--bootstrap.igx-input-group--suffixed .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--suffixed .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--suffixed .igx-input-group__textarea{border-start-end-radius:0;border-end-end-radius:0}.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle{background-image:none}.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle .igx-input-group__bundle-start,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle .igx-input-group__bundle-end{border-color:var(--disabled-border-color)}.igx-input-group--bootstrap .igx-input-group__bundle{padding:0;box-shadow:none;z-index:0}.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__bundle,.igx-input-group--bootstrap .igx-input-group__bundle:hover{border:none;box-shadow:none}.igx-input-group--bootstrap .igx-input-group__bundle-start,.igx-input-group--bootstrap .igx-input-group__bundle-end{flex:none;border-width:.0625rem;border-style:solid;border-color:var(--border-color);overflow:hidden}.igx-input-group--bootstrap .igx-input-group__bundle-start:empty,.igx-input-group--bootstrap .igx-input-group__bundle-end:empty{display:none}.igx-input-group--bootstrap .igx-input-group__bundle-start{grid-area:1/1;border-inline-start-width:.0625rem;border-inline-end-width:0;border-block-start-width:.0625rem;border-block-end-width:.0625rem;border-start-start-radius:var(--box-border-radius);border-end-start-radius:var(--box-border-radius)}.igx-input-group--bootstrap .igx-input-group__bundle-end{grid-area:1/3;border-inline-start-width:0;border-inline-end-width:.0625rem;border-block-start-width:.0625rem;border-block-end-width:.0625rem;border-start-end-radius:var(--box-border-radius);border-end-end-radius:var(--box-border-radius)}.igx-input-group--bootstrap .igx-input-group__label,.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__label,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__label,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__label{position:static;display:block;color:var(--idle-secondary-color);padding:0;line-height:1.5rem;transform:translateY(0);transform-origin:top left;margin-block-start:0!important;margin-block-end:.25rem;height:auto;font-size:1rem}[dir=rtl] .igx-input-group--bootstrap .igx-input-group__label,.igx-input-group--bootstrap [dir=rtl] .igx-input-group__label{transform-origin:top right}.igx-input-group--bootstrap .igx-input-group__input,.igx-input-group--bootstrap .igx-input-group__textarea{height:auto;line-height:1.5;margin:0;font-size:max(var(--is-large, 1)*max(1.25rem,-1 * 1.25rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));transition:box-shadow .15s ease-out,border .15s ease-out}.igx-input-group--bootstrap .igx-input-group__input,.igx-input-group--bootstrap .igx-input-group__textarea,.igx-input-group--bootstrap .igx-input-group__file-input{border:.0625rem solid var(--border-color);padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));grid-area:1/2/auto/auto;border-radius:var(--box-border-radius);z-index:1}.igx-input-group--bootstrap .igx-input-group__file-input{height:inherit}.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__textarea{border:.0625rem solid var(--focused-border-color);box-shadow:0 0 0 .25rem var(--focused-secondary-color)}.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__input:hover,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__file-input:hover,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__textarea,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__textarea:hover{border:.0625rem solid var(--success-secondary-color);box-shadow:0 0 0 .25rem var(--success-shadow-color)}.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__input:hover,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__file-input:hover,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__textarea,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__textarea:hover{border:.0625rem solid var(--error-secondary-color);box-shadow:0 0 0 .25rem var(--error-shadow-color)}.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__textarea{background:var(--border-disabled-background);border:.0625rem solid var(--disabled-border-color);box-shadow:none}.igx-input-group--bootstrap.igx-input-group--search .igx-input-group__input{transform:translateY(0)}.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle igx-prefix,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle [igxPrefix],.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle igx-suffix,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle [igxSuffix]{background:var(--border-disabled-background);border-color:var(--disabled-border-color);color:var(--disabled-text-color)}.igx-input-group--bootstrap .igx-input-group__upload-button{padding:0}.igx-input-group--bootstrap .igx-input-group__upload-button [igxButton]{min-height:0;height:calc(100% - .5rem)}igx-list{--background: var(--igx-list-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-background: var(--igx-list-header-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-text-color: var(--igx-list-header-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--item-background: var(--igx-list-item-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--item-background-hover: var(--igx-list-item-background-hover, hsla(var(--ig-gray-200), var(--ig-gray-a)));--item-background-active: var(--igx-list-item-background-active, hsla(var(--ig-gray-200), var(--ig-gray-a)));--item-text-color: var(--igx-list-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-text-color-hover: var(--igx-list-item-text-color-hover, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-text-color-active: var(--igx-list-item-text-color-active, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-title-color: var(--igx-list-item-title-color, "currentColor");--item-title-color-hover: var(--igx-list-item-title-color-hover, "currentColor");--item-title-color-active: var(--igx-list-item-title-color-active, "currentColor");--item-action-color: var(--igx-list-item-action-color, "currentColor");--item-action-color-hover: var(--igx-list-item-action-color-hover, "currentColor");--item-action-color-active: var(--igx-list-item-action-color-active, "currentColor");--item-subtitle-color: var(--igx-list-item-subtitle-color, "currentColor");--item-subtitle-color-hover: var(--igx-list-item-subtitle-color-hover, "currentColor");--item-subtitle-color-active: var(--igx-list-item-subtitle-color-active, "currentColor");--item-thumbnail-color: var(--igx-list-item-thumbnail-color, "currentColor");--item-thumbnail-color-hover: var(--igx-list-item-thumbnail-color-hover, "currentColor");--item-thumbnail-color-active: var(--igx-list-item-thumbnail-color-active, "currentColor");--border-color: var(--igx-list-border-color, transparent);--border-width: var(--igx-list-border-width, 0);--border-radius: var(--igx-list-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 1.5rem), 1.5rem));--item-border-radius: var(--igx-list-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 1.5rem), 1.5rem));--default-size: var(--igx-list-default-size, 2)}.igx-list,.igx-list--empty{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--list-size: var(--component-size);position:relative;display:flex;flex-flow:column nowrap;background:var(--background);height:auto;overflow-y:auto;overflow-x:hidden;z-index:0;border-radius:var(--border-radius)}.igx-list:focus-visible,.igx-list--empty:focus-visible{outline-style:none}.igx-list--empty{justify-content:center;align-items:center}.igx-list--empty .igx-list__message{text-align:center;color:var(--item-text-color);padding:1rem;z-index:1}.igx-list__header{--component-size: var(--list-size);display:flex;align-items:center;color:var(--header-text-color);background:var(--header-background);padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.125rem,-1 * .125rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));-webkit-user-select:none;user-select:none}.igx-list__item-base{display:flex;flex-flow:column wrap;justify-content:center;border-radius:var(--item-border-radius);color:var(--item-text-color);background:var(--item-background)}.igx-list__item-base:hover{color:var(--item-text-color-hover);background:var(--item-background-hover)}.igx-list__item-base:hover .igx-list__item-lines{color:currentColor}.igx-list__item-base:hover .igx-list__item-line-title{color:var(--item-title-color-hover)}.igx-list__item-base:hover .igx-list__item-line-subtitle{color:var(--item-subtitle-color-hover)}.igx-list__item-base:hover .igx-list__item-actions{color:var(--item-action-color-hover)}.igx-list__item-base:hover .igx-list__item-actions igx-icon{color:var(--item-action-color-hover)}.igx-list__item-base:hover .igx-list__item-thumbnail{color:var(--item-thumbnail-color-hover)}.igx-list__item-base:hover .igx-list__item-thumbnail igx-icon{color:var(--item-thumbnail-color-hover)}.igx-list__item-right,.igx-list__item-left{position:absolute;visibility:hidden;display:flex;z-index:1}.igx-list__item-lines{color:currentColor;display:flex;flex-direction:column;flex:1 0 0%}.igx-list__item-lines:empty{display:none}.igx-list__item-line-subtitle{color:var(--item-subtitle-color);opacity:.74}.igx-list__item-line-title{color:var(--item-title-color)}.igx-list__item-actions{display:flex;align-items:center;justify-content:center;color:var(--item-action-color)}.igx-list__item-actions>*{--component-size: var(--list-size);margin-inline-start:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-list__item-actions:empty{display:none}.igx-list__item-actions igx-icon{color:var(--item-action-color)}[dir=rtl] .igx-list__item-actions igx-icon{transform:scaleX(-1)}.igx-list__item-content,.igx-list__item-content:active{--component-size: var(--list-size);display:flex;align-items:center;position:relative;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.125rem,-1 * .125rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));border-radius:var(--item-border-radius);background:inherit;z-index:2}.igx-list__item-thumbnail{display:flex;align-items:center;justify-content:center;align-self:flex-start;padding:0;color:var(--item-thumbnail-color)}.igx-list__item-thumbnail>igx-icon{--component-size: var(--list-size);margin-inline-end:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-inline-start:0;margin-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)))}.igx-list__item-thumbnail>igx-avatar{--ig-size: 1}.igx-list__item-thumbnail>igx-avatar>igx-icon{margin:0}.igx-list__item-thumbnail:empty{display:none}.igx-list__item-thumbnail:not(:empty)+.igx-list__item-lines{--component-size: var(--list-size);margin:0;margin-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-list__item-lines+.igx-list__item-actions{margin-inline-start:.5rem}.igx-list__item-content:active,.igx-list__item-base--active .igx-list__item-content{color:var(--item-text-color-active);background:var(--item-background-active);z-index:3}.igx-list__item-content:active .igx-list__item-line-title,.igx-list__item-base--active .igx-list__item-content .igx-list__item-line-title{color:var(--item-title-color-active)}.igx-list__item-content:active .igx-list__item-line-subtitle,.igx-list__item-base--active .igx-list__item-content .igx-list__item-line-subtitle{color:var(--item-subtitle-color-active)}.igx-list__item-content:active .igx-list__item-actions,.igx-list__item-base--active .igx-list__item-content .igx-list__item-actions{color:var(--item-action-color-active)}.igx-list__item-content:active .igx-list__item-actions igx-icon,.igx-list__item-base--active .igx-list__item-content .igx-list__item-actions igx-icon{color:var(--item-action-color-active)}.igx-list__item-content:active .igx-list__item-thumbnail,.igx-list__item-base--active .igx-list__item-content .igx-list__item-thumbnail{color:var(--item-thumbnail-color-active)}.igx-list__item-content:active .igx-list__item-thumbnail igx-icon,.igx-list__item-base--active .igx-list__item-content .igx-list__item-thumbnail igx-icon{color:var(--item-thumbnail-color-active)}.igx-list__item-content:not(:active){transition:transform .3s cubic-bezier(.25,.46,.45,.94)}[igxLabel]{--color: var(--igx-label-color, hsla(var(--ig-gray-700), var(--ig-gray-a)))}[igxLabel]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;position:relative;color:var(--color);max-width:100%;line-height:normal;font-size:1rem}[dir=rtl] [igxLabel]{transform-origin:top right}igx-navbar{--elevation: var(--igx-navbar-elevation, var(--ig-elevation-4));--background: var(--igx-navbar-background, hsla(var(--ig-primary-500), var(--ig-primary-a)));--text-color: var(--igx-navbar-text-color, var(--ig-primary-500-contrast));--idle-icon-color: var(--igx-navbar-idle-icon-color, var(--ig-primary-500-contrast));--hover-icon-color: var(--igx-navbar-hover-icon-color, var(--ig-primary-500-contrast));--shadow: var(--igx-navbar-shadow, var(--ig-elevation-4))}.igx-navbar{display:flex;position:relative;flex-flow:row nowrap;align-items:center;justify-content:space-between;width:100%;min-height:3.5rem;max-height:8rem;padding-inline:1rem;background:var(--background);color:var(--text-color);box-shadow:var(--shadow);z-index:4;overflow:hidden}igx-navbar-title,[igxNavbarTitle],igx-navbar-action,[igxNavbarAction],.igx-navbar__right,.igx-navbar__left{display:flex;align-items:center}igx-navbar-title,[igxNavbarTitle],.igx-navbar__title{display:-webkit-inline-box;-webkit-line-clamp:4;overflow:hidden;margin:0;flex-grow:1;-webkit-user-select:text;user-select:text;display:flex;flex-direction:row}.igx-navbar__right,.igx-navbar__left{-webkit-user-select:none;user-select:none}.igx-navbar__right>*+*,.igx-navbar__left>*+*{margin-inline-start:1rem}.igx-navbar__right>igx-icon,.igx-navbar__left>igx-icon,.igx-navbar__right [igxButton=icon],.igx-navbar__left [igxButton=icon]{--component-size: 3;cursor:pointer;color:var(--idle-icon-color);transition:color .15s cubic-bezier(.25,.46,.45,.94)}.igx-navbar__right>igx-icon:hover,.igx-navbar__left>igx-icon:hover,.igx-navbar__right [igxButton=icon]:hover,.igx-navbar__left [igxButton=icon]:hover{color:var(--hover-icon-color)}.igx-navbar__left{flex-grow:1}igx-nav-drawer{--elevation: var(--igx-nav-drawer-elevation, var(--ig-elevation-16));--background: var(--igx-nav-drawer-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--border-color: var(--igx-nav-drawer-border-color, hsla(var(--ig-gray-900), .14));--item-header-text-color: var(--igx-nav-drawer-item-header-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--item-text-color: var(--igx-nav-drawer-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-icon-color: var(--igx-nav-drawer-item-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-active-text-color: var(--igx-nav-drawer-item-active-text-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--item-active-background: var(--igx-nav-drawer-item-active-background, hsla(var(--ig-primary-500), .12));--item-hover-background: var(--igx-nav-drawer-item-hover-background, hsla(var(--ig-gray-200), .8));--item-hover-text-color: var(--igx-nav-drawer-item-hover-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--item-active-icon-color: var(--igx-nav-drawer-item-active-icon-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--item-hover-icon-color: var(--igx-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--border-radius: var(--igx-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));--item-border-radius: var(--igx-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .1666666667) * 1.5rem), 1.5rem));--shadow: var(--igx-nav-drawer-shadow, var(--ig-elevation-16))}.igx-nav-drawer{transition:flex-basis;transition-duration:.3s;transition-timing-function:cubic-bezier(.25,.46,.45,.94);flex-shrink:0}.igx-nav-drawer__aside{position:fixed;height:100%;max-width:90%;min-height:100%;overflow-x:hidden;background:var(--background);top:0;bottom:0;inset-inline-start:0;z-index:999;transition:width,transform;transition-timing-function:cubic-bezier(.25,.46,.45,.94),cubic-bezier(.25,.46,.45,.94);box-shadow:var(--shadow);border-inline-end:.0625rem solid var(--border-color);border-radius:var(--border-radius)}.igx-nav-drawer__aside.panning{overflow-x:hidden;transition:none}.igx-nav-drawer__aside--pinned{position:relative;max-width:100%;box-shadow:none;z-index:0}.igx-nav-drawer__aside--collapsed.igx-nav-drawer__aside--right{transform:translate3d(300px,0,0);box-shadow:none}[dir=rtl] .igx-nav-drawer__aside--collapsed.igx-nav-drawer__aside--right{transform:translate3d(-300px,0,0)}.igx-nav-drawer__aside--pinned.igx-nav-drawer__aside--collapsed{transform:none;width:0;overflow:hidden;border:none}.igx-nav-drawer__aside--collapsed{transform:translate3d(-300px,0,0);box-shadow:none}[dir=rtl] .igx-nav-drawer__aside--collapsed{transform:translate3d(300px,0,0)}.igx-nav-drawer__aside--right{inset-inline-start:auto;inset-inline-end:0;border-inline-end:none;border-inline-start:.0625rem solid var(--border-color)}.igx-nav-drawer__aside--mini{width:3.75rem;transition-duration:.2s,.2s}.igx-nav-drawer__aside--mini .igx-nav-drawer__item,.igx-nav-drawer__aside--mini .igx-nav-drawer__item--active{justify-content:center}.igx-nav-drawer__aside--mini .igx-nav-drawer__item igx-icon,.igx-nav-drawer__aside--mini .igx-nav-drawer__item--active igx-icon{margin-inline-start:0}.igx-nav-drawer__aside--normal{width:15.125rem;transition-duration:.3s,.3s}.igx-nav-drawer__overlay{opacity:1;background:hsla(var(--ig-gray-500),.54);transition:opacity,visibility;transition-duration:.25s,.25s;transition-timing-function:ease-in,step-start;transition-delay:0s,0s;position:absolute;inset-inline-start:0;top:0;width:100%;height:100%;visibility:visible;z-index:999}.igx-nav-drawer__overlay.panning{transform:translateZ(0);transition:none}.igx-nav-drawer__overlay--hidden{transition-timing-function:ease-in-out,step-end;visibility:hidden;opacity:0}.igx-nav-drawer__overlay.panning.igx-nav-drawer__overlay--hidden{visibility:visible}.igx-nav-drawer__item,.igx-nav-drawer__item--active{position:relative;display:flex;align-items:center;flex-flow:row nowrap;color:var(--item-text-color);max-height:3rem;min-width:2rem;margin:.5rem!important;padding:.75rem .5rem;gap:2rem;cursor:pointer;-webkit-user-select:none;user-select:none;outline:rgba(0,0,0,0);white-space:nowrap;border-radius:var(--item-border-radius);text-decoration:none;width:calc(100% - 1rem);border:none;justify-content:flex-start}.igx-nav-drawer__item igx-icon,.igx-nav-drawer__item--active igx-icon{--component-size: 3;color:var(--item-icon-color)}[igxButton].igx-nav-drawer__item,[igxButton].igx-nav-drawer__item--active{background:rgba(0,0,0,0);border:none}.igx-nav-drawer__item.igx-button--fab,.igx-nav-drawer__item--active.igx-button--fab{min-height:auto}.igx-nav-drawer__item.igx-button--icon,.igx-nav-drawer__item--active.igx-button--icon{height:auto;transition:none}.igx-nav-drawer__item:hover,.igx-nav-drawer__item--active:hover,.igx-nav-drawer__item:focus,.igx-nav-drawer__item--active:focus{background:var(--item-hover-background);color:var(--item-hover-text-color);box-shadow:none}.igx-nav-drawer__item:hover igx-icon,.igx-nav-drawer__item--active:hover igx-icon,.igx-nav-drawer__item:focus igx-icon,.igx-nav-drawer__item--active:focus igx-icon{color:var(--item-hover-icon-color)}.igx-nav-drawer__item--active{color:var(--item-active-text-color);background:var(--item-active-background)}.igx-nav-drawer__item--active igx-icon{color:var(--item-active-icon-color)}.igx-nav-drawer__item--active:focus,.igx-nav-drawer__item--active:hover{color:var(--item-active-text-color);background:var(--item-active-background)}.igx-nav-drawer__item--active:focus igx-icon,.igx-nav-drawer__item--active:hover igx-icon{color:var(--item-active-icon-color)}[igxButton].igx-nav-drawer__item,[igxButton].igx-nav-drawer__item--active{box-shadow:none}[igxButton].igx-nav-drawer__item igx-icon,[igxButton].igx-nav-drawer__item--active igx-icon{width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem);margin:0}[igxButton].igx-nav-drawer__item:hover,[igxButton].igx-nav-drawer__item--active:hover,[igxButton].igx-nav-drawer__item:focus,[igxButton].igx-nav-drawer__item--active:focus{box-shadow:none;border:none}.igx-nav-drawer__item--header{display:block;padding:.75rem 1rem;white-space:nowrap;color:var(--item-header-text-color)}.igx-nav-drawer__style-dummy{height:0;background:none;box-shadow:none;transition:none;visibility:hidden}.igx-nav-drawer--disable-animation{transition-duration:0s}.igx-overlay__wrapper--modal,.igx-overlay__content--modal{--background-color: var(--igx-overlay-background-color, hsla(var(--ig-gray-500), .54))}.igx-overlay{width:0;height:0;box-sizing:content-box}.igx-overlay__wrapper,.igx-overlay__wrapper--modal,.igx-overlay__wrapper--flex,.igx-overlay__wrapper--flex-container{position:fixed;inset:0;background:rgba(0,0,0,0);transition:background .25s cubic-bezier(.455,.03,.515,.955);pointer-events:none;z-index:10005;box-sizing:content-box}.igx-overlay__wrapper--modal{background:var(--background-color);pointer-events:initial}.igx-overlay__wrapper--flex{display:flex}.igx-overlay__wrapper--flex-container{display:flex;position:absolute}.igx-overlay__content,.igx-overlay__content--modal,.igx-overlay__content--elastic,.igx-overlay__content--relative{position:absolute;pointer-events:all;box-sizing:content-box}.igx-overlay__content--modal{pointer-events:initial}.igx-overlay__content--elastic{overflow:auto}.igx-overlay__content--relative{position:relative}.igx-toggle--hidden{display:none!important}igx-paginator{--text-color: var(--igx-paginator-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--background-color: var(--igx-paginator-background-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));--border-color: var(--igx-paginator-border-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--size: var(--igx-paginator-size, max(var(--is-large, 1) * max(3.5rem, -1 * 3.5rem), var(--is-medium, 1) * max(3rem, -1 * 3rem), var(--is-small, 1) * max(2.75rem, -1 * 2.75rem)))}.igx-paginator{--component-size: var(--ig-size, var(--ig-size-large));display:flex;justify-content:space-between;align-items:center;color:var(--text-color);background:var(--background-color);font-size:.75rem;border-top:.0625rem solid var(--border-color);z-index:1;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;height:var(--size);width:100%}.igx-paginator:empty{padding:0}.igx-paginator{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1)}.igx-paginator-content{display:flex;align-items:center;justify-content:space-between;width:100%}.igx-page-size{display:flex;justify-content:flex-start;align-items:center;flex:1}.igx-page-size__label{margin-inline-end:.5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-page-size__select{display:flex;max-width:7.125rem;min-width:6.25rem}.igx-page-size__select igx-select{--ig-size: 1}.igx-page-nav{display:flex;justify-content:flex-end;align-items:center;flex:1}.igx-page-nav>*{margin-inline-start:.5rem}[dir=rtl] .igx-page-nav igx-icon{transform:scaleX(-1)}.igx-page-nav__text{display:flex}@keyframes rotate-center{0%{transform:rotate(0)}to{transform:rotate(360deg)}}igx-circular-bar{--base-circle-color: var(--igx-circular-bar-base-circle-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--progress-circle-color: var(--igx-circular-bar-progress-circle-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--text-color: var(--igx-circular-bar-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--track-border-radius: var(--igx-circular-bar-track-border-radius, 0rem);--progress-circle-color-start: var(--igx-circular-bar-progress-circle-color-start, hsla(var(--ig-primary-500), var(--ig-primary-a)));--progress-circle-color-end: var(--igx-circular-bar-progress-circle-color-end, hsla(var(--ig-primary-500), var(--ig-primary-a)))}.igx-circular-bar{display:inline-flex;flex:1 1 auto;width:2rem;height:2rem;position:relative}.igx-circular-bar svg{width:100%;height:100%;min-width:inherit;min-height:inherit;transform:rotate(-90deg)}.igx-circular-bar--indeterminate{animation:rotate-center 3s linear normal infinite}[dir=rtl] .igx-circular-bar--indeterminate{animation-direction:reverse}.igx-circular-bar__inner{stroke-width:.25rem;fill:#0000;stroke:var(--base-circle-color)}.igx-circular-bar__outer{fill:#0000;stroke-width:.25rem;stroke-dashoffset:289;stroke-dasharray:289}.igx-circular-bar--indeterminate .igx-circular-bar__outer{stroke-dasharray:289;animation:indeterminate-accordion 1.5s cubic-bezier(0,.085,.68,.53) normal infinite}[dir=rtl] .igx-circular-bar--indeterminate .igx-circular-bar__outer,.igx-circular-bar--indeterminate [dir=rtl] .igx-circular-bar__outer{animation-direction:reverse}.igx-circular-bar__text{position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%);font-size:1rem;line-height:1;text-align:center;font-weight:600;fill:var(--text-color)}.igx-circular-bar--indeterminate .igx-circular-bar__text{visibility:hidden}.igx-circular-bar__gradient-start{stop-color:var(--progress-circle-color-start)}.igx-circular-bar__gradient-end{stop-color:var(--progress-circle-color-end)}@keyframes indeterminate-accordion{0%{stroke-dashoffset:578;stroke-dasharray:259}to{stroke-dashoffset:120}}igx-linear-bar{--track-color: var(--igx-linear-bar-track-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--fill-color-default: var(--igx-linear-bar-fill-color-default, hsla(var(--ig-primary-500), var(--ig-primary-a)));--fill-color-danger: var(--igx-linear-bar-fill-color-danger, hsla(var(--ig-error-500), var(--ig-error-a)));--fill-color-warning: var(--igx-linear-bar-fill-color-warning, hsla(var(--ig-warn-500), var(--ig-warn-a)));--fill-color-info: var(--igx-linear-bar-fill-color-info, hsla(var(--ig-info-500), var(--ig-info-a)));--fill-color-success: var(--igx-linear-bar-fill-color-success, hsla(var(--ig-success-500), var(--ig-success-a)));--stripes-color: var(--igx-linear-bar-stripes-color, hsla(var(--ig-gray-50), .7));--text-color: var(--igx-linear-bar-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--track-border-radius: var(--igx-linear-bar-track-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * .5rem), .5rem))}.igx-linear-bar{position:relative;display:flex;width:100%;flex:1 1 100%;flex-direction:column}[dir=rtl].igx-linear-bar .igx-linear-bar__base,[dir=rtl] .igx-linear-bar .igx-linear-bar__base{transform:rotateY(180deg)}.igx-linear-bar__base{position:relative;width:inherit;height:.25rem;background:var(--track-color);overflow:hidden;border-radius:var(--track-border-radius);z-index:0}.igx-linear-bar__indicator{width:100%;position:absolute;height:100%}.igx-linear-bar--striped .igx-linear-bar__indicator{background-image:linear-gradient(-45deg,var(--stripes-color) 25%,transparent 25%,transparent 50%,var(--stripes-color) 50%,var(--stripes-color) 75%,transparent 75%,transparent);background-size:2.5rem 2.5rem}[dir=rtl] .igx-linear-bar--striped .igx-linear-bar__indicator,.igx-linear-bar--striped [dir=rtl] .igx-linear-bar__indicator{background-image:linear-gradient(45deg,var(--stripes-color) 25%,transparent 25%,transparent 50%,var(--stripes-color) 50%,var(--stripes-color) 75%,transparent 75%,transparent)}.igx-linear-bar--indeterminate .igx-linear-bar__indicator-secondary,.igx-linear-bar--indeterminate .igx-linear-bar__indicator{transform-origin:top left;width:100%!important;height:inherit;position:absolute;background:rgba(0,0,0,0)}.igx-linear-bar--indeterminate .igx-linear-bar__indicator-secondary:after,.igx-linear-bar--indeterminate .igx-linear-bar__indicator:after{content:"";position:absolute;top:0;inset-inline-start:0;width:inherit;height:inherit;background:var(--fill-color-default);backface-visibility:hidden}.igx-linear-bar--indeterminate .igx-linear-bar__indicator{transform:scale3d(0,1,1);animation:indeterminate-primary 2s infinite linear;left:-145.166611%}.igx-linear-bar--indeterminate .igx-linear-bar__indicator:after{animation:indeterminate-primary-scale 2s infinite linear}.igx-linear-bar--indeterminate .igx-linear-bar__indicator-secondary{animation:indeterminate-secondary 2s infinite linear;left:-54.888891%}.igx-linear-bar--indeterminate .igx-linear-bar__indicator-secondary:after{animation:indeterminate-secondary-scale 2s infinite linear;width:100%;height:inherit}.igx-linear-bar__indicator{background:var(--fill-color-default)}.igx-linear-bar--danger .igx-linear-bar__indicator{background-color:var(--fill-color-danger)}.igx-linear-bar--warning .igx-linear-bar__indicator{background-color:var(--fill-color-warning)}.igx-linear-bar--info .igx-linear-bar__indicator{background-color:var(--fill-color-info)}.igx-linear-bar--success .igx-linear-bar__indicator{background-color:var(--fill-color-success)}.igx-linear-bar__value,.igx-linear-bar__value--start,.igx-linear-bar__value--center,.igx-linear-bar__value--end,.igx-linear-bar__value--top,.igx-linear-bar__value--hidden,.igx-linear-bar--indeterminate .igx-linear-bar__value{margin:0;color:var(--text-color);font-size:.875rem;font-weight:600}.igx-linear-bar__value,.igx-linear-bar__value--start{align-self:flex-start}.igx-linear-bar__value--center{align-self:center}.igx-linear-bar__value--end{align-self:flex-end}.igx-linear-bar__value--top{order:-1}.igx-linear-bar__value--hidden,.igx-linear-bar--indeterminate .igx-linear-bar__value{display:none}@keyframes indeterminate-primary{0%{transform:translate(0)}20%{animation-timing-function:cubic-bezier(.5,0,.701732,.495819);transform:translate(0)}59.15%{animation-timing-function:cubic-bezier(.302435,.381352,.55,.956352);transform:translate(83.67142%)}to{transform:translate(200.611057%)}}@keyframes indeterminate-primary-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.334731,.12482,.785844,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.334731,.12482,.785844,1);transform:scaleX(.661479)}to{transform:scaleX(.08)}}@keyframes indeterminate-secondary{0%{animation-timing-function:cubic-bezier(.15,0,.515058,.409685);transform:translate(0)}25%{animation-timing-function:cubic-bezier(.31033,.284058,.8,.733712);transform:translate(37.651913%)}48.35%{animation-timing-function:cubic-bezier(.4,.627035,.6,.902026);transform:translate(84.386165%)}to{transform:translate(160.277782%)}}@keyframes indeterminate-secondary-scale{0%{animation-timing-function:cubic-bezier(.15,0,.515058,.409685);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.284058,.8,.733712);transform:scaleX(.457104)}44.15%{animation-timing-function:cubic-bezier(.4,.627035,.6,.902026);transform:scaleX(.72796)}to{transform:scaleX(.08)}}igx-radio{--hover-color: var(--igx-radio-hover-color, transparent);--fill-hover-border-color: var(--igx-radio-fill-hover-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--label-color: var(--igx-radio-label-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--empty-color: var(--igx-radio-empty-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--fill-color: var(--igx-radio-fill-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--fill-color-hover: var(--igx-radio-fill-color-hover, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--disabled-color: var(--igx-radio-disabled-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-label-color: var(--igx-radio-disabled-label-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--error-color: var(--igx-radio-error-color, hsla(var(--ig-error-500), var(--ig-error-a)));--error-color-hover: var(--igx-radio-error-color-hover, hsla(var(--ig-error-500), var(--ig-error-a)))}.igx-radio{position:relative;display:inline-flex;flex-flow:row nowrap;align-items:center;color:var(--label-color)}.igx-radio__input{position:absolute;width:1px;height:1px;margin:-1px;border:none;clip:rect(0,0,0,0);outline:0;pointer-events:none;overflow:hidden;appearance:none}.igx-radio--disabled{pointer-events:none;color:var(--disabled-label-color);-webkit-user-select:none;user-select:none}.igx-radio--invalid .igx-radio__label{color:var(--error-color)}.igx-radio--disabled .igx-radio__label{color:var(--disabled-label-color)}.igx-radio__composite{position:relative;display:inline-block;width:2.5rem;height:2.5rem;min-width:2.5rem;line-height:2.5rem;cursor:pointer;color:var(--label-color);-webkit-user-select:none;user-select:none}.igx-radio__composite:before,.igx-radio__composite:after{position:absolute;content:"";width:2.5rem;height:2.5rem;inset-inline-start:0;top:0;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%)}.igx-radio__composite:before,.igx-radio__composite:after{width:1.25rem;height:1.25rem;top:25%;inset-inline-start:25%}.igx-radio__composite:before{backface-visibility:hidden;transform:scale(0);transition:all .2s ease-in;z-index:1}.igx-radio__composite:after{border:.125rem solid var(--empty-color)}.igx-radio--checked .igx-radio__composite:before{border:.125rem solid var(--fill-color);background:var(--fill-color);transform:scale(.5)}.igx-radio--checked .igx-radio__composite:after{border:.125rem solid var(--fill-color)}.igx-radio:hover .igx-radio__composite:before,.igx-radio:active .igx-radio__composite:before{background:var(--hover-color)}.igx-radio--invalid:hover .igx-radio__composite:before,.igx-radio--invalid:active .igx-radio__composite:before{background:var(--error-color)}.igx-radio--checked.igx-radio--invalid:hover .igx-radio__composite:before,.igx-radio--checked.igx-radio--invalid:active .igx-radio__composite:before{background:var(--error-color-hover)}.igx-radio--checked.igx-radio--invalid:hover .igx-radio__composite:after,.igx-radio--checked.igx-radio--invalid:active .igx-radio__composite:after{border:.125rem solid var(--error-color-hover)}.igx-radio--checked:hover .igx-radio__composite:before,.igx-radio--checked:active .igx-radio__composite:before,.igx-radio--focused.igx-radio--checked:hover .igx-radio__composite:before,.igx-radio--focused.igx-radio--checked:active .igx-radio__composite:before{background:var(--fill-color-hover);border-color:var(--fill-hover-border-color)}.igx-radio--checked:hover .igx-radio__composite:after,.igx-radio--checked:active .igx-radio__composite:after,.igx-radio--focused.igx-radio--checked:hover .igx-radio__composite:after,.igx-radio--focused.igx-radio--checked:active .igx-radio__composite:after{border-color:var(--fill-hover-border-color)}.igx-radio--invalid .igx-radio__composite:after{border:.125rem solid var(--error-color)}.igx-radio--checked.igx-radio--invalid .igx-radio__composite:after{border:.125rem solid var(--error-color)}.igx-radio--checked.igx-radio--invalid .igx-radio__composite:before{background:var(--error-color);border:.125rem solid rgba(0,0,0,0)}.igx-radio--disabled .igx-radio__composite:after{border:.125rem solid var(--disabled-color)}.igx-radio--checked.igx-radio--disabled .igx-radio__composite:after{border:.125rem solid var(--disabled-color)}.igx-radio--checked.igx-radio--disabled .igx-radio__composite:before{background:var(--disabled-color);border:.125rem solid rgba(0,0,0,0)}.igx-radio__label,.igx-radio__label--before{color:currentColor;cursor:pointer;-webkit-user-select:none;user-select:none;word-wrap:break-all}.igx-radio__label:empty,.igx-radio__label--before:empty{display:none}.igx-radio__label{margin-inline-start:.125rem}.igx-radio__label--before{order:-1;margin-inline-end:.125rem}.igx-radio__label--before:empty,.igx-radio__label:empty{margin:0}.igx-radio__ripple{display:block;position:absolute;top:calc(50% - 1.25rem);inset-inline-start:calc(50% - 1.25rem);width:2.5rem;height:2.5rem;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 1.25rem),1.25rem);overflow:hidden;pointer-events:none;filter:opacity(1)}.igx-radio__ripple .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-radio__ripple .igx-ripple{overflow:hidden}.igx-radio__ripple,.igx-radio__ripple [igxRipple]{--color: var(--igx-ripple-color, var(--fill-color))}.igx-radio--checked.igx-radio--invalid.igx-radio--focused .igx-radio__composite:after{border:.125rem solid var(--error-color)}.igx-radio--checked.igx-radio--invalid.igx-radio--focused .igx-radio__composite:before{background:var(--error-color);border-color:var(--error-color)}.igx-radio:hover .igx-radio__ripple,.igx-radio:active .igx-radio__ripple,.igx-radio--checked:hover .igx-radio__ripple,.igx-radio--checked:active .igx-radio__ripple,.igx-radio--invalid:hover .igx-radio__ripple,.igx-radio--invalid:active .igx-radio__ripple{background:var(--empty-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.06}.igx-radio--checked:hover .igx-radio__ripple,.igx-radio--checked:active .igx-radio__ripple{background:var(--fill-color)}.igx-radio--invalid:hover .igx-radio__ripple,.igx-radio--invalid:active .igx-radio__ripple{background:var(--error-color)}.igx-radio--focused .igx-radio__ripple,.igx-radio--focused:hover .igx-radio__ripple,.igx-radio--focused.igx-radio--invalid .igx-radio__ripple,.igx-radio--focused.igx-radio--checked .igx-radio__ripple{background:var(--empty-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.12}.igx-radio--focused.igx-radio--checked .igx-radio__ripple{background:var(--fill-color)}.igx-radio--focused.igx-radio--invalid .igx-radio__ripple{background:var(--error-color)}.igx-radio:active .igx-radio__ripple,.igx-radio--checked:active .igx-radio__ripple,.igx-radio--invalid:active .igx-radio__ripple{opacity:.12}.igx-radio-group{display:block}.igx-radio-group .igx-radio:not(:last-of-type){margin-inline-end:1rem}.igx-radio-group--vertical{display:flex;flex-flow:column}.igx-radio-group--vertical .igx-radio:not(:last-of-type){margin-inline-end:0;margin-block-end:0}igx-query-builder{--background: var(--igx-query-builder-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--header-background: var(--igx-query-builder-header-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--header-foreground: var(--igx-query-builder-header-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--background-and: var(--igx-query-builder-background-and, hsla(var(--ig-primary-300), var(--ig-primary-a)));--background-and--focus: var(--igx-query-builder-background-and--focus, hsla(var(--ig-primary-700), var(--ig-primary-a)));--background-or: var(--igx-query-builder-background-or, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--background-or--focus: var(--igx-query-builder-background-or--focus, hsla(var(--ig-secondary-700), var(--ig-secondary-a)))}.igx-query-builder{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);width:auto;min-width:41.25rem;background-color:var(--background);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem);box-shadow:var(--ig-elevation-12)}.igx-query-builder__header{display:flex;align-items:center;background-color:var(--header-background);color:var(--header-foreground);-webkit-user-select:none;user-select:none}.igx-query-builder__header h4,.igx-query-builder__header .ig-typography__h6{margin-bottom:0}.igx-query-builder__main{display:block;overflow:auto;min-height:max(var(--is-large, 1)*max(13.375rem,-1 * 13.375rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(10.25rem,-1 * 10.25rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(8.625rem,-1 * 8.625rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));max-height:max(var(--is-large, 1)*max(29.25rem,-1 * 29.25rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(24.625rem,-1 * 24.625rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(19.0625rem,-1 * 19.0625rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-query-builder__main [igxButton]+[igxButton]{margin-inline-start:.5rem}.igx-query-builder__header,.igx-query-builder__main{padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:1rem}.igx-query-builder__outlet igx-select-item>igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem);margin-inline-end:.5rem}.igx-filter-tree{display:flex}.igx-filter-tree+.igx-filter-tree,.igx-filter-tree+.igx-filter-tree__expression-item,.igx-filter-tree+.igx-filter-tree__inputs{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__line{width:.5rem;min-width:.5rem;background-color:#fff;margin-inline-end:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));outline-style:none;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem);cursor:pointer}.igx-filter-tree__line--and{background:var(--background-and)}.igx-filter-tree__line--selected.igx-filter-tree__line--and{background:var(--background-and--focus)}.igx-filter-tree__line--and:focus{box-shadow:inset 0 0 0 .125rem var(--background-and--focus)}.igx-filter-tree__line--or{background:var(--background-or)}.igx-filter-tree__line--selected.igx-filter-tree__line--or{background-color:var(--background-or--focus)}.igx-filter-tree__line--or:focus{box-shadow:inset 0 0 0 .125rem var(--background-or--focus)}.igx-filter-tree__expression{display:flex;flex-direction:column;align-items:flex-start}.igx-filter-tree__expression-item{display:flex;align-items:center}.igx-filter-tree__expression-item+.igx-filter-tree,.igx-filter-tree__expression-item+.igx-filter-tree__inputs,.igx-filter-tree__expression-item+.igx-filter-tree__expression-item{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__expression-item>igx-chip igx-prefix{display:flex}.igx-filter-tree__expression-column{padding:0 .5rem}.igx-filter-tree__expression-actions{display:inline-flex;margin:0 .5rem}.igx-filter-tree__expression-actions igx-icon{cursor:pointer;color:hsla(var(--ig-gray-500),var(--ig-gray-a));outline-style:none}.igx-filter-tree__expression-actions igx-icon:hover,.igx-filter-tree__expression-actions igx-icon:focus{color:hsla(var(--ig-gray-800),var(--ig-gray-a))}.igx-filter-tree__expression-actions igx-icon+igx-icon{margin-inline-start:.5rem}.igx-filter-tree__expression-condition{opacity:.7}.igx-filter-tree__buttons{display:flex;justify-content:space-between;align-items:center;margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__buttons+.igx-filter-tree,.igx-filter-tree__buttons+.igx-filter-tree__expression-item,.igx-filter-tree__buttons+.igx-filter-tree__inputs{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__inputs{display:flex;justify-content:space-between;align-items:center}.igx-filter-tree__inputs igx-select+igx-select,.igx-filter-tree__inputs igx-select+igx-input-group,.igx-filter-tree__inputs igx-select+igx-date-picker,.igx-filter-tree__inputs igx-select+igx-time-picker,.igx-filter-tree__inputs igx-input-group+igx-select{margin-inline-start:.5rem}.igx-filter-tree__inputs+.igx-filter-tree,.igx-filter-tree__inputs+.igx-filter-tree__expression-item{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__inputs-actions{display:flex;margin:0 .5rem;align-items:center}.igx-filter-tree__inputs-actions [igxButton]{transition:none}.igx-filter-tree__inputs-actions [igxButton]+[igxButton]{margin-inline-start:.5rem}.igx-builder-legend{display:flex;margin-inline-start:auto;pointer-events:none}.igx-builder-legend__item,.igx-builder-legend__item--and,.igx-builder-legend__item--or{position:relative;display:inline-flex;align-items:center;font-size:.75rem}.igx-builder-legend__item:before,.igx-builder-legend__item--and:before,.igx-builder-legend__item--or:before{content:"";width:1.5rem;height:1.5rem;background:#fff;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem);margin-inline-end:.5rem}.igx-builder-legend__item+.igx-builder-legend__item,.igx-builder-legend__item--and+.igx-builder-legend__item,.igx-builder-legend__item--or+.igx-builder-legend__item,.igx-builder-legend__item+.igx-builder-legend__item--and,.igx-builder-legend__item--and+.igx-builder-legend__item--and,.igx-builder-legend__item--or+.igx-builder-legend__item--and,.igx-builder-legend__item+.igx-builder-legend__item--or,.igx-builder-legend__item--and+.igx-builder-legend__item--or,.igx-builder-legend__item--or+.igx-builder-legend__item--or{margin-inline-start:1.5rem}.igx-builder-legend__item--and:before{background:var(--background-and)}.igx-builder-legend__item--or:before{background:var(--background-or)}.igx-filter-contextual-menu{position:relative;display:flex;flex-flow:column;width:12.25rem;background-color:var(--background);padding:1rem;margin-inline-start:1rem;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem);border:.0625rem solid hsla(var(--ig-gray-200),var(--ig-gray-a))}.igx-filter-contextual-menu>[igxButton]+[igxButton],.igx-filter-contextual-menu igx-buttongroup+[igxButton],.igx-filter-contextual-menu [igxButton]+igx-buttongroup{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-contextual-menu>[igxButton].igx-filter-contextual-menu__close-btn+[igxButton],.igx-filter-contextual-menu [igxButton].igx-filter-contextual-menu__close-btn+igx-buttongroup{margin-top:0}.igx-filter-contextual-menu [igxButton]>igx-icon+*{margin-inline-start:.5rem}.igx-filter-contextual-menu igx-buttongroup>*{box-shadow:none}.igx-filter-contextual-menu__delete-btn{color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-filter-contextual-menu__delete-btn:hover,.igx-filter-contextual-menu__delete-btn:focus{color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-filter-contextual-menu__close-btn{position:absolute;top:-1.125rem;inset-inline-end:-1.125rem;background-color:var(--background);border:.0625rem solid hsla(var(--ig-gray-200),var(--ig-gray-a))}.igx-filter-contextual-menu__close-btn:hover,.igx-filter-contextual-menu__close-btn:focus{background-color:var(--background)}.igx-filter-empty{display:flex;align-items:center;justify-content:center;height:max(var(--is-large, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(6.6875rem,-1 * 6.6875rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(5.75rem,-1 * 5.75rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-empty__title{color:hsla(var(--ig-gray-500),var(--ig-gray-a))}.igx-query-builder--inline{display:flex;flex-direction:column;width:100%;max-width:100%;height:inherit;max-height:inherit;min-width:30rem;box-shadow:none}.igx-query-builder--inline .igx-query-builder__main{min-height:initial;max-height:initial;flex-grow:1}.ig-scrollbar{--scrollbar-size: var(--ig-scrollbar-scrollbar-size, 16px);--thumb-background: var(--ig-scrollbar-thumb-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--track-background: var(--ig-scrollbar-track-background, hsla(var(--ig-gray-100), var(--ig-gray-a)))}.ig-scrollbar{scrollbar-width:var(--scrollbar-size);scrollbar-color:var(--thumb-background) var(--track-background)}.ig-scrollbar ::-webkit-scrollbar{width:var(--scrollbar-size);height:var(--scrollbar-size);background:var(--track-background)}.ig-scrollbar ::-webkit-scrollbar-thumb{background:var(--thumb-background)}@media (hover: none){.ig-scrollbar ::-webkit-scrollbar{width:auto;height:auto}}igx-slider{--track-color: var(--igx-slider-track-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--track-step-color: var(--igx-slider-track-step-color, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--track-step-size: var(--igx-slider-track-step-size, .1875rem);--track-hover-color: var(--igx-slider-track-hover-color, hsla(var(--ig-secondary-400), var(--ig-secondary-a)));--thumb-color: var(--igx-slider-thumb-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--thumb-focus-color: var(--igx-slider-thumb-focus-color, transparent);--thumb-border-color: var(--igx-slider-thumb-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--thumb-border-focus-color: var(--igx-slider-thumb-border-focus-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--thumb-disabled-border-color: var(--igx-slider-thumb-disabled-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-thumb-color: var(--igx-slider-disabled-thumb-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--label-background-color: var(--igx-slider-label-background-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--label-text-color: var(--igx-slider-label-text-color, var(--ig-gray-700-contrast));--base-track-color: var(--igx-slider-base-track-color, hsla(var(--ig-secondary-500), .24));--base-track-hover-color: var(--igx-slider-base-track-hover-color, hsla(var(--ig-secondary-500), .24));--disabled-base-track-color: var(--igx-slider-disabled-base-track-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--disabled-fill-track-color: var(--igx-slider-disabled-fill-track-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--tick-color: var(--igx-slider-tick-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--tick-label-color: var(--igx-slider-tick-label-color, hsla(var(--ig-gray-500), var(--ig-gray-a)))}.igx-slider{display:flex;position:relative;z-index:0;height:3rem;flex-grow:1;align-items:center;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.igx-slider:hover .igx-slider__track-fill{background:var(--track-hover-color)}.igx-slider:hover .igx-slider__track-inactive{background:var(--base-track-hover-color)}.igx-slider--disabled{pointer-events:none}.igx-slider--disabled .igx-slider__track-inactive{background:var(--disabled-base-track-color)}.igx-slider__thumbs{position:absolute;width:100%;height:0;cursor:default;z-index:1;inset-inline-start:0}.igx-slider__track{position:relative;width:100%;height:.375rem;overflow:hidden;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 2rem),2rem)}.igx-slider__track-inactive{position:absolute;width:100%;height:inherit;background:var(--base-track-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);border-radius:inherit;height:.25rem;top:50%;transform:translateY(-50%)}.igx-slider__track-fill{position:absolute;width:100%;background:var(--track-color);transform-origin:left center;transform:scaleX(0);border-radius:inherit;height:inherit}[dir=rtl] .igx-slider__track-fill{transform-origin:right center}.igx-slider--disabled .igx-slider__track-fill{background:var(--disabled-fill-track-color)}.igx-slider__ticks{width:100%;display:flex;position:absolute;bottom:0;justify-content:space-between}.igx-slider__ticks.igx-slider__ticks--top{bottom:auto;top:0;align-items:flex-end}.igx-slider__ticks-group{display:flex;flex-direction:column;align-items:center;position:relative}.igx-slider__ticks-group:first-of-type{margin-inline-start:-.0625rem}.igx-slider__ticks-group:last-of-type{margin-inline-start:-.0625rem}.igx-slider__ticks-label{color:var(--tick-label-color);position:absolute;top:1rem;transform:translate(-50%);line-height:.7;opacity:1;transition:opacity .2s cubic-bezier(.455,.03,.515,.955)}[dir=rtl] .igx-slider__ticks-label{left:100%}.igx-slider__ticks-tick{background:var(--tick-color);height:.5rem;width:.125rem}.igx-slider__ticks--tall .igx-slider__ticks-label{top:1.5rem}.igx-slider--disabled .igx-slider__ticks-tick{background:var(--disabled-base-track-color)!important}.igx-slider--disabled .igx-slider__ticks-label{color:var(--disabled-base-track-color)!important}.igx-slider__ticks-group--tall .igx-slider__ticks-tick{height:1rem}.igx-slider__ticks-group--tall .igx-slider__ticks-label{top:1.5rem}.igx-slider__ticks--top .igx-slider__ticks-label{bottom:1rem;top:auto}.igx-slider__ticks--top.igx-slider__ticks--tall .igx-slider__ticks-label{bottom:1.5rem;top:auto}.igx-slider__tick-label--hidden{opacity:0}.igx-slider__track-steps{position:absolute;display:flex;width:100%;height:.25rem;opacity:.85;transition:opacity .2s ease-out;top:50%;transform:translateY(-50%);color:var(--track-step-color)}.igx-slider__track-steps svg{clip-path:inset(0 .1875rem 0 .1875rem)}.igx-slider__track-steps line{stroke:currentColor;stroke-width:var(--track-step-size);stroke-linecap:round}.igx-slider__tick-labels--top-bottom .igx-slider__ticks-group{display:block}.igx-slider__tick-labels--top-bottom .igx-slider__ticks-label{writing-mode:vertical-rl;transform:translate(-50%) rotate(0)}.igx-slider__tick-labels--top-bottom .igx-slider__ticks--tall .igx-slider__ticks-label{top:1.125rem}.igx-slider__tick-labels--top-bottom.igx-slider__ticks--top .igx-slider__ticks-label{writing-mode:vertical-rl;transform:translate(-50%) rotate(0)}.igx-slider__tick-labels--top-bottom.igx-slider__ticks--top .igx-slider__ticks--tall .igx-slider__ticks-label{bottom:1.125rem}.igx-slider__tick-labels--bottom-top .igx-slider__ticks-group{display:block}.igx-slider__tick-labels--bottom-top .igx-slider__ticks-label,.igx-slider__tick-labels--bottom-top.igx-slider__ticks--top .igx-slider__ticks-label{writing-mode:vertical-rl;transform:translate(-50%) rotate(180deg)}.igx-slider__tick-labels--bottom-top.igx-slider__ticks--top .igx-slider__ticks--tall .igx-slider__ticks-label{bottom:1.125rem}.igx-slider-thumb-from,.igx-slider-thumb-to{position:absolute;display:flex;justify-content:center;align-items:center;flex-direction:column;width:1.25rem;height:1.25rem;outline-style:none;top:-.625rem;margin-inline-start:-.625rem}.igx-slider-thumb-from:hover div:after,.igx-slider-thumb-to:hover div:after{opacity:.12;transform:scale(1)}.igx-slider-thumb-from:focus div:after,.igx-slider-thumb-to:focus div:after{opacity:.18;transform:scale(1)}.igx-slider-thumb-from:focus div:before,.igx-slider-thumb-to:focus div:before{box-shadow:0 0 0 0 var(--thumb-focus-color)}.igx-slider-thumb-from--disabled:focus div:before,.igx-slider-thumb-to--disabled:focus div:before{box-shadow:none}.igx-slider-thumb-from--disabled:focus div:after,.igx-slider-thumb-to--disabled:focus div:after{transform:scale(0)}.igx-slider-thumb-label-from,.igx-slider-thumb-label-to{position:absolute;pointer-events:none;display:flex;top:-3.125rem;height:1.875rem}.igx-slider-thumb-label-from__container,.igx-slider-thumb-label-to__container{border-radius:.125rem;display:flex;align-items:center;justify-content:center;white-space:nowrap;margin-inline-start:-50%;padding:0 .125rem;background:var(--label-background-color);color:var(--label-text-color);min-width:2.5rem;opacity:0}.igx-slider-thumb-label-from__container:after,.igx-slider-thumb-label-to__container:after{content:"";position:absolute;top:85%;border-inline-start:.625rem solid rgba(0,0,0,0);border-inline-end:.625rem solid rgba(0,0,0,0);border-top:.625rem solid var(--label-background-color)}.igx-slider-thumb-from__dot,.igx-slider-thumb-to__dot{position:relative;inset-inline-start:0;pointer-events:none}.igx-slider-thumb-from__dot:before,.igx-slider-thumb-to__dot:before{position:absolute;content:"";width:1.25rem;height:1.25rem;inset-inline-start:0rem;top:-10px;margin-inline-start:-10px;background:var(--thumb-color);border:0rem solid var(--thumb-border-color);transition:transform .1s cubic-bezier(.25,.46,.45,.94),border-radius .1s cubic-bezier(.25,.46,.45,.94);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .625rem),.625rem)}.igx-slider-thumb-from__dot:after,.igx-slider-thumb-to__dot:after{position:absolute;content:"";width:2.5rem;height:2.5rem;background:var(--thumb-color);top:calc(50% - 1.25rem);inset-inline-start:calc(50% - 1.25rem);opacity:0;transform:scale(0);transform-origin:center center;transition:transform .1s cubic-bezier(.25,.46,.45,.94),opacity .1s cubic-bezier(.25,.46,.45,.94);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);overflow:hidden}.igx-slider-thumb-from--disabled .igx-slider-thumb-from__dot,.igx-slider-thumb-to--disabled .igx-slider-thumb-to__dot{pointer-events:none}.igx-slider-thumb-from--disabled .igx-slider-thumb-from__dot:before,.igx-slider-thumb-to--disabled .igx-slider-thumb-to__dot:before{background:var(--disabled-thumb-color);border-color:var(--thumb-disabled-border-color);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .625rem),.625rem)}.igx-slider-thumb-from--pressed .igx-slider-thumb-from__dot:after,.igx-slider-thumb-to--pressed .igx-slider-thumb-to__dot:after{opacity:.24!important;transform:scale(1)!important}.igx-slider-thumb-label-from--active .igx-slider-thumb-label-from__container,.igx-slider-thumb-label-to--active .igx-slider-thumb-label-to__container{opacity:1}.igx-slider-thumb-label-from--pressed .igx-slider-thumb-label-from__container,.igx-slider-thumb-label-to--pressed .igx-slider-thumb-label-to__container{z-index:1}igx-snackbar{--elevation: var(--igx-snackbar-elevation, var(--ig-elevation-4));--background: var(--igx-snackbar-background, hsla(var(--ig-gray-900), .9));--text-color: var(--igx-snackbar-text-color, var(--ig-gray-900-contrast));--button-color: var(--igx-snackbar-button-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--border-radius: var(--igx-snackbar-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .1666666667) * 1.5rem), 1.5rem));--shadow: var(--igx-snackbar-shadow, var(--ig-elevation-4))}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.igx-snackbar{position:relative;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;min-height:3rem;padding:.4375rem 1.5rem;margin:.5rem;gap:1.5rem;color:var(--text-color);background:var(--background);backface-visibility:hidden;box-shadow:var(--shadow);border-radius:var(--border-radius);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.igx-snackbar [igxButton]{animation:fade-in .35s ease-out;--ig-size: 1;background:rgba(0,0,0,0);color:var(--button-color);-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:none}.igx-snackbar__button{display:contents}.igx-snackbar__message{animation:fade-in .35s ease-out}igx-switch{--resting-elevation: var(--igx-switch-resting-elevation, var(--ig-elevation-2));--hover-elevation: var(--igx-switch-hover-elevation, var(--ig-elevation-3));--disabled-elevation: var(--igx-switch-disabled-elevation, var(--ig-elevation-1));--border-color: var(--igx-switch-border-color, transparent);--border-hover-color: var(--igx-switch-border-hover-color, transparent);--border-disabled-color: var(--igx-switch-border-disabled-color, transparent);--border-on-color: var(--igx-switch-border-on-color, transparent);--border-on-hover-color: var(--igx-switch-border-on-hover-color, transparent);--thumb-on-color: var(--igx-switch-thumb-on-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--track-on-color: var(--igx-switch-track-on-color, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--thumb-off-color: var(--igx-switch-thumb-off-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--track-disabled-color: var(--igx-switch-track-disabled-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--track-on-disabled-color: var(--igx-switch-track-on-disabled-color, hsla(var(--ig-secondary-50), var(--ig-secondary-a)));--track-off-color: var(--igx-switch-track-off-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--thumb-disabled-color: var(--igx-switch-thumb-disabled-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--thumb-on-disabled-color: var(--igx-switch-thumb-on-disabled-color, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--label-color: var(--igx-switch-label-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--label-disabled-color: var(--igx-switch-label-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--label-invalid-color: var(--igx-switch-label-invalid-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--track-error-color: var(--igx-switch-track-error-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--thumb-on-error-color: var(--igx-switch-thumb-on-error-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--error-color: var(--igx-switch-error-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--error-color-hover: var(--igx-switch-error-color-hover, hsla(var(--ig-gray-500), var(--ig-gray-a)));--border-radius-track: var(--igx-switch-border-radius-track, clamp(0rem, calc(var(--ig-radius-factor, 1) * .4375rem), .4375rem));--border-radius-thumb: var(--igx-switch-border-radius-thumb, clamp(0rem, calc(var(--ig-radius-factor, 1) * .625rem), .625rem));--border-radius-ripple: var(--igx-switch-border-radius-ripple, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.5rem), 1.5rem));--resting-shadow: var(--igx-switch-resting-shadow, var(--ig-elevation-2));--hover-shadow: var(--igx-switch-hover-shadow, var(--ig-elevation-3));--disabled-shadow: var(--igx-switch-disabled-shadow, var(--ig-elevation-1))}.igx-switch{position:relative;display:inline-flex;flex-flow:row nowrap;align-items:center}.igx-switch__input{position:absolute;width:1px;height:1px;margin:-1px;border:none;clip:rect(0,0,0,0);outline:0;pointer-events:none;overflow:hidden;appearance:none}.igx-switch--disabled{-webkit-user-select:none;user-select:none;pointer-events:none;cursor:initial}.igx-switch__composite{display:flex;align-items:center;width:2.25rem;height:.875rem;border:.0625rem solid var(--border-color);border-radius:var(--border-radius-track);background:var(--track-off-color);cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s cubic-bezier(.455,.03,.515,.955)}.igx-switch:hover .igx-switch__composite{border-color:var(--border-hover-color)}.igx-switch--invalid .igx-switch__composite{border-color:var(--error-color);border-color:var(--track-error-color);background:var(--track-error-color)}.igx-switch--checked .igx-switch__composite{background:var(--track-on-color);border-color:var(--border-on-color)}.igx-switch--checked:hover .igx-switch__composite{border-color:var(--border-on-hover-color)}.igx-switch--disabled .igx-switch__composite{background:var(--track-disabled-color);border-color:var(--border-disabled-color)}.igx-switch__composite-thumb{position:relative;display:block;width:1.25rem;height:20px;min-width:1.25rem;border-radius:var(--border-radius-thumb);background:var(--thumb-off-color);box-shadow:var(--resting-shadow);transition:all .2s cubic-bezier(.455,.03,.515,.955);transform:translate(-.0625rem)}[dir=rtl] .igx-switch__composite-thumb{transform:translate(.0625rem)}.igx-switch__composite-thumb:hover{box-shadow:var(--hover-shadow)}.igx-switch--checked .igx-switch__composite-thumb{background:var(--thumb-on-color);transform:translate(.9375rem)}[dir=rtl] .igx-switch--checked .igx-switch__composite-thumb,.igx-switch--checked [dir=rtl] .igx-switch__composite-thumb{transform:translate(-.9375rem)}.igx-switch--invalid .igx-switch__composite-thumb{background:var(--error-color)}.igx-switch--invalid.igx-switch--checked .igx-switch__composite-thumb{background:var(--thumb-on-error-color)}.igx-switch--disabled .igx-switch__composite-thumb,.igx-switch--disabled.igx-switch--invalid .igx-switch__composite-thumb{background:var(--thumb-disabled-color);box-shadow:var(--disabled-shadow)}.igx-switch__ripple{display:block;position:absolute;top:calc(50% - 1.25rem);inset-inline-start:calc(50% - 1.25rem);width:2.5rem;height:2.5rem;overflow:hidden;pointer-events:none;filter:opacity(1);border-radius:var(--border-radius-ripple)}.igx-switch__ripple .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-switch__ripple .igx-ripple{overflow:hidden}.igx-switch__ripple,.igx-switch__ripple [igxRipple]{--color: var(--igx-ripple-color, var(--thumb-on-color))}.igx-switch--disabled.igx-switch--checked .igx-switch__composite{background:var(--track-on-disabled-color)}.igx-switch--disabled.igx-switch--checked .igx-switch__composite-thumb{background:var(--thumb-on-disabled-color)}.igx-switch--focused .igx-switch__ripple,.igx-switch--focused.igx-switch--checked .igx-switch__ripple,.igx-switch--focused.igx-switch--invalid .igx-switch__ripple{background:var(--track-off-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.12}.igx-switch--focused.igx-switch--checked .igx-switch__ripple{background:var(--thumb-on-color)}.igx-switch--focused.igx-switch--invalid .igx-switch__ripple{background:var(--error-color-hover)}.igx-switch__label,.igx-switch__label--before{display:inline-block;color:var(--label-color);cursor:pointer;-webkit-user-select:none;user-select:none;word-wrap:break-all}.igx-switch__label:empty,.igx-switch__label--before:empty{margin:0}.igx-switch__label--before:empty,.igx-switch__label:empty{margin:0}.igx-switch__label{margin-inline-start:.5rem}.igx-switch__label--before{order:-1;margin-inline-end:.5rem}.igx-switch--invalid .igx-switch__label{color:var(--label-invalid-color)}.igx-switch--disabled .igx-switch__label,.igx-switch--disabled .igx-switch__label--before{color:var(--label-disabled-color)}.igx-switch:hover .igx-switch__ripple:after,.igx-switch:active .igx-switch__ripple:after,.igx-switch--checked:hover .igx-switch__ripple:after,.igx-switch--checked:active .igx-switch__ripple:after,.igx-switch--invalid:hover .igx-switch__ripple:after,.igx-switch--invalid:active .igx-switch__ripple:after,.igx-switch--invalid.igx-switch--checked:hover .igx-switch__ripple:after{position:absolute;content:"";opacity:.06;inset:0}.igx-switch:hover .igx-switch__ripple:after,.igx-switch:active .igx-switch__ripple:after{background:var(--track-off-color)}.igx-switch--checked:hover .igx-switch__ripple:after,.igx-switch--checked:active .igx-switch__ripple:after{background:var(--thumb-on-color)}.igx-switch--invalid:hover .igx-switch__ripple:after,.igx-switch--invalid:active .igx-switch__ripple:after{background:var(--error-color-hover)}.igx-switch--invalid.igx-switch--checked:hover .igx-switch__ripple:after{background:var(--thumb-on-color)}.igx-switch:active .igx-switch__ripple:after,.igx-switch--checked:active .igx-switch__ripple:after,.igx-switch--invalid:active .igx-switch__ripple:after{opacity:.12}igx-tabs{--item-text-color: var(--igx-tabs-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-background: var(--igx-tabs-item-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--item-hover-background: var(--igx-tabs-item-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--item-hover-color: var(--igx-tabs-item-hover-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-active-color: var(--igx-tabs-item-active-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--item-icon-color: var(--igx-tabs-item-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-active-icon-color: var(--igx-tabs-item-active-icon-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--item-hover-icon-color: var(--igx-tabs-item-hover-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-disabled-icon-color: var(--igx-tabs-item-disabled-icon-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--item-active-background: var(--igx-tabs-item-active-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--item-disabled-color: var(--igx-tabs-item-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--indicator-color: var(--igx-tabs-indicator-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--button-color: var(--igx-tabs-button-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--button-background: var(--igx-tabs-button-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--button-hover-background: var(--igx-tabs-button-hover-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--button-hover-color: var(--igx-tabs-button-hover-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--button-disabled-color: var(--igx-tabs-button-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--tab-ripple-color: var(--igx-tabs-tab-ripple-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));--button-ripple-color: var(--igx-tabs-button-ripple-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));--border-color: var(--igx-tabs-border-color, transparent);--border-color--hover: var(--igx-tabs-border-color--hover, transparent);--border-radius: var(--igx-tabs-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * .375rem), .375rem))}.igx-tabs__header,.igx-tabs__header-button,.igx-tabs__header-item-inner,.igx-tabs__header-content{display:flex}.igx-tabs{display:flex;flex-direction:column;overflow:hidden}.igx-tabs__header{overflow:hidden;flex:0 0 auto;background:var(--item-background);min-height:2.625rem;z-index:1}.igx-tabs__header-content{flex:1 1 auto;overflow:hidden;scroll-behavior:smooth}.igx-tabs__header-wrapper{position:relative;flex-grow:1}.igx-tabs__header-scroll{display:flex;height:100%}.igx-tabs__header-button{align-items:center;justify-content:center;z-index:1;border:none;padding:0;min-width:3rem;width:3rem;cursor:pointer;position:relative;background:var(--button-background);color:var(--button-color);outline:0}.igx-tabs__header-button:hover{background:var(--button-hover-background);color:var(--button-hover-color)}.igx-tabs__header-button:focus{outline:0;background:var(--button-hover-background)}.igx-tabs__header-button::-moz-focus-inner{border:0}.igx-tabs__header-button:disabled{color:var(--button-disabled-color)}.igx-tabs__header-button--none{display:none}.igx-tabs__header-button .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-tabs__header-button .igx-ripple{overflow:hidden}.igx-tabs__header-button,.igx-tabs__header-button [igxRipple]{--color: var(--igx-ripple-color, var(--button-ripple-color))}[dir=rtl] .igx-tabs__header-button{transform:scaleX(-1)}.igx-tabs__header-item{display:inline-flex;justify-content:center;align-items:center;min-width:5.625rem;max-width:22.5rem;word-wrap:break-word;flex-basis:auto;flex-shrink:0;padding:.6875rem 1rem;overflow:hidden;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none;background:var(--item-background);color:var(--item-text-color);outline:0;transition:all .3s cubic-bezier(.35,0,.25,1);border:.0625rem solid var(--border-color)}.igx-tabs__header-item>*{margin-inline-start:.75rem}.igx-tabs__header-item>*:first-child{margin-inline-start:0}.igx-tabs__header-item igx-icon{color:var(--item-icon-color)}.igx-tabs__header-item::-moz-focus-inner{border:0}.igx-tabs__header-item:focus{background:var(--item-active-background);color:var(--item-hover-color);border-bottom-color:#0000}.igx-tabs__header-item:hover{background:var(--item-hover-background);color:var(--item-hover-color)}.igx-tabs__header-item:hover igx-icon,.igx-tabs__header-item:focus igx-icon{color:var(--item-hover-icon-color)}.igx-tabs__header-item:hover,.igx-tabs__header-item:focus{border:.0625rem solid var(--border-color--hover)}.igx-tabs__header-item .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-tabs__header-item .igx-ripple{overflow:hidden}.igx-tabs__header-item,.igx-tabs__header-item [igxRipple]{--color: var(--igx-ripple-color, var(--tab-ripple-color))}.igx-tabs__header-item--selected{outline:0;color:var(--item-active-color)}.igx-tabs__header-item--selected:hover,.igx-tabs__header-item--selected:focus{background:var(--item-active-background);color:var(--item-active-color)}.igx-tabs__header-item--selected:hover igx-icon,.igx-tabs__header-item--selected:focus igx-icon{color:var(--item-active-icon-color)}.igx-tabs__header-item--selected igx-icon{color:var(--item-active-icon-color)}.igx-tabs__header-item--disabled{outline:0;color:var(--item-disabled-color);cursor:default;pointer-events:none}.igx-tabs__header-item--disabled igx-icon{color:var(--item-disabled-icon-color)}.igx-tabs__header-item-inner{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.igx-tabs__header-item-inner>[igxtabheaderlabel]{display:-webkit-inline-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.igx-tabs__header-item-inner>[igxtabheadericon]{margin-bottom:.5rem}.igx-tabs__header-item-inner>[igxtabheadericon]:last-child{margin-bottom:0}.igx-tabs__header-active-indicator{position:absolute;bottom:0;left:0;transform:translate(0);height:.125rem;min-width:5.625rem;background:var(--indicator-color);transition:transform .3s cubic-bezier(.35,0,.25,1),width .2s cubic-bezier(.35,0,.25,1)}.igx-tabs__panels{position:relative;overflow:hidden;display:flex;flex-direction:column;flex:1 1 auto}.igx-tabs__panel{position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;flex:1 1 auto}.igx-tabs__panel::-moz-focus-inner{border:0}.igx-tabs__panel:focus{outline-width:0}[tabindex="0"].igx-tabs__panel{position:relative}.igx-tabs__header-scroll--start{justify-content:flex-start}.igx-tabs__header-scroll--end{justify-content:flex-end;min-width:max-content}.igx-tabs__header-scroll--center{justify-content:center;min-width:max-content}.igx-tabs__header-scroll--justify .igx-tabs__header-item{flex-basis:0;flex-grow:1;max-width:100%}igx-stepper{--step-background: var(--igx-stepper-step-background, transparent);--step-hover-background: var(--igx-stepper-step-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--step-focus-background: var(--igx-stepper-step-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--indicator-background: var(--igx-stepper-indicator-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--indicator-outline: var(--igx-stepper-indicator-outline, hsla(var(--ig-gray-300), var(--ig-gray-a)));--indicator-color: var(--igx-stepper-indicator-color, var(--ig-gray-400-contrast));--title-color: var(--igx-stepper-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--title-hover-color: var(--igx-stepper-title-hover-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--title-focus-color: var(--igx-stepper-title-focus-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-color: var(--igx-stepper-subtitle-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--subtitle-hover-color: var(--igx-stepper-subtitle-hover-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--subtitle-focus-color: var(--igx-stepper-subtitle-focus-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--complete-step-background: var(--igx-stepper-complete-step-background, transparent);--complete-step-hover-background: var(--igx-stepper-complete-step-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--complete-step-focus-background: var(--igx-stepper-complete-step-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--complete-indicator-background: var(--igx-stepper-complete-indicator-background, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-indicator-outline: var(--igx-stepper-complete-indicator-outline, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-indicator-color: var(--igx-stepper-complete-indicator-color, var(--ig-gray-900-contrast));--complete-title-color: var(--igx-stepper-complete-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-title-hover-color: var(--igx-stepper-complete-title-hover-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-title-focus-color: var(--igx-stepper-complete-title-focus-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-subtitle-color: var(--igx-stepper-complete-subtitle-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--complete-subtitle-hover-color: var(--igx-stepper-complete-subtitle-hover-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--complete-subtitle-focus-color: var(--igx-stepper-complete-subtitle-focus-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--current-step-background: var(--igx-stepper-current-step-background, transparent);--current-step-hover-background: var(--igx-stepper-current-step-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--current-step-focus-background: var(--igx-stepper-current-step-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--current-indicator-background: var(--igx-stepper-current-indicator-background, hsla(var(--ig-primary-500), var(--ig-primary-a)));--current-indicator-outline: var(--igx-stepper-current-indicator-outline, hsla(var(--ig-primary-500), var(--ig-primary-a)));--current-indicator-color: var(--igx-stepper-current-indicator-color, var(--ig-gray-900-contrast));--current-title-color: var(--igx-stepper-current-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--current-title-hover-color: var(--igx-stepper-current-title-hover-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--current-title-focus-color: var(--igx-stepper-current-title-focus-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--current-subtitle-color: var(--igx-stepper-current-subtitle-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--current-subtitle-hover-color: var(--igx-stepper-current-subtitle-hover-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--current-subtitle-focus-color: var(--igx-stepper-current-subtitle-focus-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--invalid-step-background: var(--igx-stepper-invalid-step-background, transparent);--invalid-step-hover-background: var(--igx-stepper-invalid-step-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--invalid-step-focus-background: var(--igx-stepper-invalid-step-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--invalid-indicator-background: var(--igx-stepper-invalid-indicator-background, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-indicator-outline: var(--igx-stepper-invalid-indicator-outline, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-indicator-color: var(--igx-stepper-invalid-indicator-color, var(--ig-gray-900-contrast));--invalid-title-color: var(--igx-stepper-invalid-title-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-title-hover-color: var(--igx-stepper-invalid-title-hover-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-title-focus-color: var(--igx-stepper-invalid-title-focus-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-subtitle-color: var(--igx-stepper-invalid-subtitle-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-subtitle-hover-color: var(--igx-stepper-invalid-subtitle-hover-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-subtitle-focus-color: var(--igx-stepper-invalid-subtitle-focus-color, hsla(var(--ig-error-500), var(--ig-error-a)));--disabled-indicator-color: var(--igx-stepper-disabled-indicator-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-indicator-background: var(--igx-stepper-disabled-indicator-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--disabled-indicator-outline: var(--igx-stepper-disabled-indicator-outline, hsla(var(--ig-gray-200), var(--ig-gray-a)));--disabled-title-color: var(--igx-stepper-disabled-title-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-subtitle-color: var(--igx-stepper-disabled-subtitle-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--step-separator-color: var(--igx-stepper-step-separator-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--complete-step-separator-color: var(--igx-stepper-complete-step-separator-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--step-separator-style: var(--igx-stepper-step-separator-style, dashed);--complete-step-separator-style: var(--igx-stepper-complete-step-separator-style, solid);--border-radius-indicator: var(--igx-stepper-border-radius-indicator, clamp(0rem, calc(var(--ig-radius-factor, 1) * 6.25rem), 6.25rem));--border-radius-step-header: var(--igx-stepper-border-radius-step-header, clamp(0rem, calc(var(--ig-radius-factor, 0) * 6.25rem), 6.25rem))}.igx-stepper,.igx-stepper__header,.igx-stepper__body,.igx-stepper__step{display:flex}.igx-stepper{flex-direction:column;width:100%}.igx-stepper__header{white-space:nowrap;flex-direction:column;width:100%;flex:none}.igx-stepper__body{position:relative;flex-direction:column;flex:1 1 auto}.igx-stepper,.igx-stepper__body,.igx-stepper__step-header,.igx-stepper__step-title-wrapper{overflow:hidden}.igx-stepper__step-title{color:var(--title-color)}.igx-stepper__step-subtitle{color:var(--subtitle-color)}.igx-stepper__step{position:relative;flex-direction:column;align-content:center;justify-content:center;min-width:6.25rem}.igx-stepper__step:focus{outline:none}.igx-stepper__step:focus .igx-stepper__step-title{color:var(--title-focus-color)}.igx-stepper__step:focus .igx-stepper__step-subtitle{color:var(--subtitle-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header{background:var(--step-focus-background);color:var(--title-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header--current{background:var(--current-step-focus-background)!important}.igx-stepper__step:focus .igx-stepper__step-header--current .igx-stepper__step-title{color:var(--current-title-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header--current .igx-stepper__step-subtitle{color:var(--current-subtitle-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header--invalid{background:var(--invalid-step-focus-background)}.igx-stepper__step:focus .igx-stepper__step-header--invalid .igx-stepper__step-title{color:var(--invalid-title-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header--invalid .igx-stepper__step-subtitle{color:var(--invalid-subtitle-focus-color)}.igx-stepper__step:first-of-type .igx-stepper__step-header:before{visibility:hidden}.igx-stepper__step:last-of-type .igx-stepper__step-content-wrapper:before{display:none}.igx-stepper__step:last-of-type .igx-stepper__step-header:after{visibility:hidden}.igx-stepper__step-header{display:flex;padding:1.5rem;position:relative;line-height:normal;flex-direction:column;align-items:flex-start;gap:.5rem;cursor:pointer;background:var(--step-background);border-radius:var(--border-radius-step-header)}.igx-stepper__step-header:hover{background:var(--step-hover-background);color:var(--title-hover-color)}.igx-stepper__step-indicator{display:flex;align-items:center;justify-content:center;position:relative;font-size:.75rem;height:1.5rem;width:1.5rem;white-space:nowrap;border-radius:var(--border-radius-indicator);color:var(--indicator-color);background:var(--indicator-background);box-shadow:0 0 0 .0625rem var(--indicator-outline)}.igx-stepper__step-indicator>igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem);color:inherit}.igx-stepper__step-indicator div>igx-icon,.igx-stepper__step-indicator div>igx-avatar,.igx-stepper__step-indicator div>igx-circular-bar{max-height:1.5rem;max-width:1.5rem}.igx-stepper__step-header--current{background:var(--current-step-background)!important;color:var(--current-title-color)}.igx-stepper__step-header--current .igx-stepper__step-indicator{color:var(--current-indicator-color)!important;background:var(--current-indicator-background)!important;box-shadow:0 0 0 .0625rem var(--current-indicator-outline)!important}.igx-stepper__step-header--current .igx-stepper__step-title{color:var(--current-title-color)}.igx-stepper__step-header--current .igx-stepper__step-subtitle{color:var(--current-subtitle-color)}.igx-stepper__step-header--current:hover{background:var(--current-step-hover-background)!important}.igx-stepper__step-header--current:hover .igx-stepper__step-title{color:var(--current-title-hover-color)}.igx-stepper__step-header--current:hover .igx-stepper__step-subtitle{color:var(--current-subtitle-hover-color)}.igx-stepper__step--disabled{color:var(--disabled-title-color);pointer-events:none;cursor:default}.igx-stepper__step--disabled .igx-stepper__step-indicator{color:var(--disabled-indicator-color);background:var(--disabled-indicator-background);box-shadow:0 0 0 .0625rem var(--disabled-indicator-outline)}.igx-stepper__step--disabled .igx-stepper__step-title{color:var(--disabled-title-color)}.igx-stepper__step--disabled .igx-stepper__step-subtitle{color:var(--disabled-subtitle-color)}.igx-stepper__step-header--invalid{background:var(--invalid-step-background);color:var(--invalid-title-color)}.igx-stepper__step-header--invalid .igx-stepper__step-indicator{color:var(--invalid-indicator-color);background:var(--invalid-indicator-background);box-shadow:0 0 0 .0625rem var(--invalid-indicator-outline)}.igx-stepper__step-header--invalid .igx-stepper__step-title{color:var(--invalid-title-color)}.igx-stepper__step-header--invalid .igx-stepper__step-subtitle{color:var(--invalid-subtitle-color)}.igx-stepper__step-header--invalid:hover{background:var(--invalid-step-hover-background)}.igx-stepper__step-header--invalid:hover .igx-stepper__step-title{color:var(--invalid-title-hover-color)}.igx-stepper__step-header--invalid:hover .igx-stepper__step-subtitle{color:var(--invalid-subtitle-hover-color)}.igx-stepper--horizontal .igx-stepper__body-content{display:block;position:absolute;inset:0;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;z-index:-1}.igx-stepper__step-content-wrapper,.igx-stepper--horizontal .igx-stepper__body-content{padding:1rem}.igx-stepper--horizontal .igx-stepper__body-content--active{z-index:1;position:relative}.igx-stepper__step-content-wrapper{margin-inline-start:2.25rem;position:relative;min-height:2rem}.igx-stepper__step-content-wrapper:before{content:"";position:absolute;inset-inline-start:-.03125rem;top:-1rem;bottom:-1rem;width:.0625rem;border-inline-start:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-stepper__step-title-wrapper{white-space:nowrap;text-overflow:ellipsis;min-width:2rem}.igx-stepper__step-title-wrapper:empty{display:none}.igx-stepper__step-title-wrapper>*{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.igx-stepper__step--start .igx-stepper__step-header,.igx-stepper__step--end .igx-stepper__step-header{flex-direction:row;align-items:center}.igx-stepper__step--start .igx-stepper__step-title-wrapper,.igx-stepper__step--top .igx-stepper__step-title-wrapper{order:-1}.igx-stepper__step--completed .igx-stepper__step-header{background:var(--complete-step-background)}.igx-stepper__step--completed .igx-stepper__step-header:hover{background:var(--complete-step-hover-background)}.igx-stepper__step--completed .igx-stepper__step-header:hover .igx-stepper__step-title{color:var(--complete-title-hover-color)}.igx-stepper__step--completed .igx-stepper__step-header:hover .igx-stepper__step-subtitle{color:var(--complete-subtitle-hover-color)}.igx-stepper__step--completed .igx-stepper__step-header:after{border-top-color:var(--complete-step-separator-color)!important;border-top-style:var(--complete-step-separator-style)!important}.igx-stepper__step--completed .igx-stepper__step-indicator{color:var(--complete-indicator-color);background:var(--complete-indicator-background);box-shadow:0 0 0 .0625rem var(--complete-indicator-outline)}.igx-stepper__step--completed .igx-stepper__step-title{color:var(--complete-title-color)}.igx-stepper__step--completed .igx-stepper__step-subtitle{color:var(--complete-subtitle-color)}.igx-stepper__step--completed:focus .igx-stepper__step-header{background:var(--complete-step-focus-background)}.igx-stepper__step--completed:focus .igx-stepper__step-header .igx-stepper__step-title{color:var(--complete-title-focus-color)}.igx-stepper__step--completed:focus .igx-stepper__step-header .igx-stepper__step-subtitle{color:var(--complete-subtitle-focus-color)}.igx-stepper__step--completed .igx-stepper__step-content-wrapper:before{border-inline-start-style:var(--complete-step-separator-style);border-inline-start-color:var(--complete-step-separator-color)}.igx-stepper__step--completed+.igx-stepper__step:before{border-top-color:var(--complete-step-separator-color)!important;border-top-style:var(--complete-step-separator-style)!important}.igx-stepper__step--completed+.igx-stepper__step .igx-stepper__step-header:before{border-top-color:var(--complete-step-separator-color)!important;border-top-style:var(--complete-step-separator-style)!important}.igx-stepper__step--simple .igx-stepper__step-indicator{min-width:1.5rem;min-height:1.5rem;width:initial;height:initial}.igx-stepper__step--simple .igx-stepper__step-indicator div>igx-icon,.igx-stepper__step--simple .igx-stepper__step-indicator div>igx-avatar,.igx-stepper__step--simple .igx-stepper__step-indicator div>igx-circular-bar{max-width:initial;max-height:initial}.igx-stepper--horizontal .igx-stepper__header{flex-direction:row}.igx-stepper--horizontal .igx-stepper__step{overflow:hidden;flex-direction:row;flex-grow:1}.igx-stepper--horizontal .igx-stepper__step:before{content:"";width:auto;min-width:.625rem;height:.0625rem;flex:1;position:relative;z-index:-1;top:2.21875rem;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-stepper--horizontal .igx-stepper__step:first-of-type{flex-grow:0;min-width:0}.igx-stepper--horizontal .igx-stepper__step:first-of-type:before{display:none}.igx-stepper--horizontal .igx-stepper__step-header{display:flex;flex-direction:row;align-items:center;justify-content:center}.igx-stepper--horizontal .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step-header:after{content:"";position:absolute;z-index:-1;height:.0625rem;width:calc(50% - 1.25rem);top:2.21875rem;flex:1;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-stepper--horizontal .igx-stepper__step-header:before{inset-inline-start:0}.igx-stepper--horizontal .igx-stepper__step-header:after{inset-inline-end:0}.igx-stepper--horizontal .igx-stepper__step--simple{text-align:center}.igx-stepper--horizontal .igx-stepper__step--simple .igx-stepper__step-header{align-self:center;padding:.5rem;height:auto}.igx-stepper--horizontal .igx-stepper__step--simple .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step--simple .igx-stepper__step-header:after{display:none}.igx-stepper--horizontal .igx-stepper__step--simple.igx-stepper__step:before{top:calc(50% - .03125rem)}.igx-stepper--horizontal .igx-stepper__step-title-wrapper{width:100%}.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-header{justify-content:flex-end}.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-header:after{top:calc(100% - 2.28125rem)}.igx-stepper--horizontal .igx-stepper__step--top.igx-stepper__step:before{border-top:.0625rem var(--step-separator-style) var(--step-separator-color);top:calc(100% - 2.28125rem)}.igx-stepper--horizontal .igx-stepper__step--bottom .igx-stepper__step-header{justify-content:flex-start}.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-title-wrapper,.igx-stepper--horizontal .igx-stepper__step--bottom .igx-stepper__step-title-wrapper{text-align:center}.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-header,.igx-stepper--horizontal .igx-stepper__step--bottom .igx-stepper__step-header{flex-direction:column}.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-title-wrapper{text-align:end}.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-indicator,.igx-stepper--horizontal .igx-stepper__step--end .igx-stepper__step-indicator{flex:1 0 auto}.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-header,.igx-stepper--horizontal .igx-stepper__step--end .igx-stepper__step-header{padding:.75rem}.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-header:after,.igx-stepper--horizontal .igx-stepper__step--end .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step--end .igx-stepper__step-header:after{display:none}.igx-stepper--horizontal .igx-stepper__step--start.igx-stepper__step:before,.igx-stepper--horizontal .igx-stepper__step--end.igx-stepper__step:before{top:calc(50% - .03125rem)}.igx-stepper--horizontal .igx-stepper__step-content{flex-grow:1}.igx-stepper--horizontal .igx-stepper__step-content:focus{outline:none}.igx-stepper--horizontal .igx-stepper__step-content:before{display:none}.igx-stepper--horizontal .igx-stepper__step-content-wrapper{text-align:center}.igx-stepper--horizontal .igx-stepper__body-content{display:flex}igx-toast{--elevation: var(--igx-toast-elevation, var(--ig-elevation-0));--background: var(--igx-toast-background, hsla(var(--ig-gray-700), .9));--border-color: var(--igx-toast-border-color, hsla(var(--ig-gray-700), .9));--text-color: var(--igx-toast-text-color, var(--ig-gray-700-contrast));--border-radius: var(--igx-toast-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.625rem), 1.625rem));--shadow: var(--igx-toast-shadow, var(--ig-elevation-0))}.igx-toast{display:inline-flex;justify-content:center;align-items:center;margin:2.625rem auto;padding:1rem 1.5rem;min-width:3.25rem;color:var(--text-color);background:var(--background);border:.0625rem solid var(--border-color);border-radius:var(--border-radius);box-shadow:var(--ig-elevation-0);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.igx-tooltip--desktop,.igx-tooptip--mobile{--background: var(--igx-tooltip-background, hsla(var(--ig-gray-700), .9));--text-color: var(--igx-tooltip-text-color, var(--ig-gray-700-contrast));--border-radius: var(--igx-tooltip-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .25) * 1rem), 1rem))}.igx-tooltip,.igx-tooltip--desktop,.igx-tooltip--mobile{display:inline-flex;justify-content:center;flex-flow:column wrap;background:var(--background);color:var(--text-color);border-radius:var(--border-radius);margin:0 auto}.igx-tooltip--desktop{padding:0 .5rem;min-height:1.5rem}.igx-tooltip--mobile{padding:0 1rem;min-height:2rem}.igx-time-picker{--modal-elevation: var(--igx-time-picker-modal-elevation, var(--ig-elevation-24));--dropdown-elevation: var(--igx-time-picker-dropdown-elevation, var(--ig-elevation-8));--text-color: var(--igx-time-picker-text-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--hover-text-color: var(--igx-time-picker-hover-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--selected-text-color: var(--igx-time-picker-selected-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--active-item-background: var(--igx-time-picker-active-item-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--disabled-text-color: var(--igx-time-picker-disabled-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-item-background: var(--igx-time-picker-disabled-item-background, transparent);--header-background: var(--igx-time-picker-header-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--header-hour-text-color: var(--igx-time-picker-header-hour-text-color, var(--ig-secondary-500-contrast));--header-time-period-color: var(--igx-time-picker-header-time-period-color, var(--ig-secondary-500-contrast));--background-color: var(--igx-time-picker-background-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--border-radius: var(--igx-time-picker-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--active-item-border-radius: var(--igx-time-picker-active-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .75) * 1.25rem), 1.25rem));--modal-shadow: var(--igx-time-picker-modal-shadow, var(--ig-elevation-24));--dropdown-shadow: var(--igx-time-picker-dropdown-shadow, var(--ig-elevation-8))}.igx-time-picker{display:flex;flex-flow:column nowrap;max-width:21.25rem;min-width:20rem;border-radius:var(--border-radius);box-shadow:var(--modal-shadow);overflow:hidden}.igx-time-picker--vertical{flex-flow:row nowrap;min-width:33.75rem}.igx-time-picker__main{background:var(--background-color);flex:1 1 auto}.igx-time-picker--dropdown{min-width:12.5rem;box-shadow:var(--dropdown-shadow)}.igx-time-picker__body{display:flex;padding:.625rem 0;justify-content:center}.igx-time-picker__hourList{text-align:end}[dir=rtl] .igx-time-picker__hourList{order:2}.igx-time-picker__minuteList{text-align:center}[dir=rtl] .igx-time-picker__minuteList{order:1}.igx-time-picker__secondsList{text-align:center}.igx-time-picker__ampmList{display:flex;flex-direction:column;padding-top:3rem}[dir=rtl] .igx-time-picker__ampmList{order:3}.igx-time-picker__column{max-width:4rem;height:20.3125rem;padding:0;cursor:pointer;display:flex;flex-flow:column nowrap;justify-content:space-between;align-items:center;color:var(--text-color);overflow:hidden}.igx-time-picker__column:focus,.igx-time-picker__column:active{outline:none}.igx-time-picker__item{width:3.375rem;padding:.3125rem .625rem;border-radius:var(--active-item-border-radius);height:3rem;display:flex;justify-content:center;align-items:center}.igx-time-picker__item:focus,.igx-time-picker__item:active{outline:none}.igx-time-picker__item:hover{color:var(--hover-text-color)}.igx-time-picker__item--selected{font-size:1.5rem;color:var(--selected-text-color)}.igx-time-picker__item--active{background:var(--active-item-background)}.igx-time-picker__item--disabled{color:var(--disabled-text-color);background:var(--disabled-item-background);pointer-events:none}.igx-time-picker__header{background:var(--header-background);padding:1.5rem 1rem}.igx-time-picker__header-ampm{color:var(--header-time-period-color)}.igx-time-picker--vertical .igx-time-picker__header{width:10.5rem}.igx-time-picker__header-hour{display:flex;color:var(--header-hour-text-color)}[dir=rtl] .igx-time-picker__header-hour{flex-direction:row-reverse;justify-content:flex-end}.igx-time-picker__header-ampm,.igx-time-picker__header-hour{margin:0}.igx-time-picker__buttons{display:flex;justify-content:flex-end;height:3.25rem;padding:.5rem}.igx-time-picker__buttons [igxButton]+[igxButton]{margin-inline-start:.5rem}igx-tree-node{--background: var(--igx-tree-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground: var(--igx-tree-foreground, var(--ig-surface-500-contrast));--background-selected: var(--igx-tree-background-selected, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--foreground-selected: var(--igx-tree-foreground-selected, var(--ig-secondary-200-contrast));--background-active: var(--igx-tree-background-active, hsla(var(--ig-gray-200), var(--ig-gray-a)));--foreground-active: var(--igx-tree-foreground-active, var(--ig-gray-200-contrast));--background-active-selected: var(--igx-tree-background-active-selected, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--foreground-active-selected: var(--igx-tree-foreground-active-selected, var(--ig-secondary-300-contrast));--border-color: var(--igx-tree-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--background-disabled: var(--igx-tree-background-disabled, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-disabled: var(--igx-tree-foreground-disabled, hsla(var(--ig-gray-500), var(--ig-gray-a)));--drop-area-color: var(--igx-tree-drop-area-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-color: var(--igx-tree-hover-color, hsla(var(--ig-gray-900), .1));--hover-selected-color: var(--igx-tree-hover-selected-color, hsla(var(--ig-gray-900), .1));--size: var(--igx-tree-size, max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)));--default-size: var(--igx-tree-default-size, 2)}.igx-tree{display:block;z-index:0;overflow-y:auto}.igx-tree-node,.igx-tree-node__wrapper,.igx-tree-node__toggle-button,.igx-tree-node__content,.igx-tree-node__select{display:flex}.igx-tree-node{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--tree-size: var(--component-size);flex-direction:column}.igx-tree-node__wrapper,.igx-tree-node__toggle-button,.igx-tree-node__select{align-items:center}.igx-tree-node__toggle-button,.igx-tree-node__select{margin-inline-end:.5rem}.igx-tree-node__content,.igx-tree-node__toggle-button,.igx-tree-node__select{z-index:1}.igx-tree-node__toggle-button--hidden{visibility:hidden}.igx-tree-node__wrapper{min-height:var(--size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;position:relative;background:var(--background);color:var(--foreground)}.igx-tree-node__wrapper igx-icon{width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem)}[dir=rtl] .igx-tree-node__wrapper igx-icon{transform:scaleX(-1)}.igx-tree-node__wrapper:after{content:"";position:absolute;top:0;inset-inline-start:0;width:100%;height:100%;background:rgba(0,0,0,0);z-index:0}.igx-tree-node__wrapper:hover:after{background:var(--hover-color)}.igx-tree-node__wrapper:focus{outline-width:0}.igx-tree-node__wrapper igx-circular-bar{--circular-bar: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(calc(1.5rem - 4px), -1 * calc(1.5rem - 4px)), var(--is-small, 1) * max(calc(1.5rem - 6px), -1 * calc(1.5rem - 6px)));width:var(--circular-bar);height:var(--circular-bar)}.igx-tree-node__wrapper--selected{background:var(--background-selected);color:var(--foreground-selected)}.igx-tree-node__wrapper--selected:hover:after{background:var(--hover-selected-color)}.igx-tree-node__wrapper--active{background:var(--background-active);color:var(--foreground-active)}.igx-tree-node__wrapper--active.igx-tree-node__wrapper--selected{background:var(--background-active-selected);color:var(--foreground-active-selected)}.igx-tree-node__wrapper--focused{box-shadow:inset 0 0 0 .0625rem var(--border-color)}.igx-tree-node__wrapper--disabled{background:var(--background-disabled)!important;color:var(--foreground-disabled)!important;box-shadow:none!important;pointer-events:none}.igx-tree-node__wrapper--disabled:after{display:none}.igx-tree-node__wrapper--disabled .igx-tree-node__toggle-button{color:var(--foreground-disabled)!important}.igx-tree-node__spacer{--component-size: var(--tree-size);--spacer: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1rem, -1 * 1rem), var(--is-small, 1) * max(.75rem, -1 * .75rem));width:var(--spacer);display:inline-block}.igx-tree-node__content{display:block;align-items:center;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-tree-node__toggle-button{justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:1.5rem}.igx-tree-node__drop-indicator{display:flex;visibility:hidden;position:absolute;inset-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));bottom:0;width:max(var(--is-large, 1)*max(calc(100% - 5rem),-1 * calc(100% - 5rem))*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(calc(100% - 4rem),-1 * calc(100% - 4rem))*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(calc(100% - 3.5rem),-1 * calc(100% - 3.5rem))*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-tree-node__drop-indicator>div{flex:1;height:.0625rem;background:var(--drop-area-color)}.igx-tree-node__group{overflow:hidden}igc-trial-watermark{--base-color: var(--igx-watermark-base-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--color: var(--igx-watermark-color, var(--ig-primary-800-contrast));--border-radius: var(--igx-watermark-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 1rem), 1rem))}igc-trial-watermark::part(link){font-family:var(--ig-font-family)} diff --git a/docs/styles.3be4ef6e3b3c586e.css b/docs/styles.3be4ef6e3b3c586e.css deleted file mode 100644 index 1d438c7..0000000 --- a/docs/styles.3be4ef6e3b3c586e.css +++ /dev/null @@ -1 +0,0 @@ -/*! minireset.css v0.0.7 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-ripple-element{background-color:#0000001a}html{--mat-option-selected-state-label-text-color:#3f51b5;--mat-option-label-text-color:rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color:rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color:#ff4081}.mat-warn{--mat-option-selected-state-label-text-color:#f44336}html{--mat-optgroup-label-text-color:rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#3f51b5}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#ff4081}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mat-option-label-text-font:Roboto, sans-serif;--mat-option-label-text-line-height:24px;--mat-option-label-text-size:16px;--mat-option-label-text-tracking:.03125em;--mat-option-label-text-weight:400}html{--mat-optgroup-label-text-font:Roboto, sans-serif;--mat-optgroup-label-text-line-height:24px;--mat-optgroup-label-text-size:16px;--mat-optgroup-label-text-tracking:.03125em;--mat-optgroup-label-text-weight:400}.mat-mdc-card{--mdc-elevated-card-container-color:white;--mdc-elevated-card-container-elevation:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color:white;--mdc-outlined-card-outline-color:rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color:rgba(0, 0, 0, .54)}.mat-mdc-card{--mat-card-title-text-font:Roboto, sans-serif;--mat-card-title-text-line-height:32px;--mat-card-title-text-size:20px;--mat-card-title-text-tracking:.0125em;--mat-card-title-text-weight:500;--mat-card-subtitle-text-font:Roboto, sans-serif;--mat-card-subtitle-text-line-height:22px;--mat-card-subtitle-text-size:14px;--mat-card-subtitle-text-tracking:.0071428571em;--mat-card-subtitle-text-weight:500}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color:#3f51b5;--mdc-linear-progress-track-color:rgba(63, 81, 181, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(63, 81, 181, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#3f51b540;background-color:var(--mdc-linear-progress-track-color, rgba(63, 81, 181, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color:#ff4081;--mdc-linear-progress-track-color:rgba(255, 64, 129, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255, 64, 129, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#ff408140;background-color:var(--mdc-linear-progress-track-color, rgba(255, 64, 129, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color:#f44336;--mdc-linear-progress-track-color:rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#0000;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip{--mdc-plain-tooltip-container-color:#616161;--mdc-plain-tooltip-supporting-text-color:#fff}.mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font:Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size:12px;--mdc-plain-tooltip-supporting-text-weight:400;--mdc-plain-tooltip-supporting-text-tracking:.0333333333em}html{--mdc-filled-text-field-caret-color:#3f51b5;--mdc-filled-text-field-focus-active-indicator-color:#3f51b5;--mdc-filled-text-field-focus-label-text-color:rgba(63, 81, 181, .87);--mdc-filled-text-field-container-color:whitesmoke;--mdc-filled-text-field-disabled-container-color:#fafafa;--mdc-filled-text-field-label-text-color:rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color:rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color:rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color:rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color:#f44336;--mdc-filled-text-field-error-label-text-color:#f44336;--mdc-filled-text-field-error-caret-color:#f44336;--mdc-filled-text-field-active-indicator-color:rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color:rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color:rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color:#f44336;--mdc-filled-text-field-error-focus-active-indicator-color:#f44336;--mdc-filled-text-field-error-hover-active-indicator-color:#f44336;--mdc-outlined-text-field-caret-color:#3f51b5;--mdc-outlined-text-field-focus-outline-color:#3f51b5;--mdc-outlined-text-field-focus-label-text-color:rgba(63, 81, 181, .87);--mdc-outlined-text-field-label-text-color:rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color:rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color:rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color:rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color:#f44336;--mdc-outlined-text-field-error-focus-label-text-color:#f44336;--mdc-outlined-text-field-error-label-text-color:#f44336;--mdc-outlined-text-field-outline-color:rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color:rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color:rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color:#f44336;--mdc-outlined-text-field-error-hover-outline-color:#f44336;--mdc-outlined-text-field-error-outline-color:#f44336;--mat-form-field-disabled-input-text-placeholder-color:rgba(0, 0, 0, .38)}.mat-mdc-form-field-error{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{background-color:#000000de}.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay{opacity:.04}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:.12}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary .mat-mdc-form-field-infix:after{color:#3f51b5de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent .mat-mdc-form-field-infix:after{color:#ff4081de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn .mat-mdc-form-field-infix:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix:after{color:#00000061}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color:#ff4081;--mdc-filled-text-field-focus-active-indicator-color:#ff4081;--mdc-filled-text-field-focus-label-text-color:rgba(255, 64, 129, .87);--mdc-outlined-text-field-caret-color:#ff4081;--mdc-outlined-text-field-focus-outline-color:#ff4081;--mdc-outlined-text-field-focus-label-text-color:rgba(255, 64, 129, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color:#f44336;--mdc-filled-text-field-focus-active-indicator-color:#f44336;--mdc-filled-text-field-focus-label-text-color:rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color:#f44336;--mdc-outlined-text-field-focus-outline-color:#f44336;--mdc-outlined-text-field-focus-label-text-color:rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}html{--mdc-filled-text-field-label-text-font:Roboto, sans-serif;--mdc-filled-text-field-label-text-size:16px;--mdc-filled-text-field-label-text-tracking:.03125em;--mdc-filled-text-field-label-text-weight:400;--mdc-outlined-text-field-label-text-font:Roboto, sans-serif;--mdc-outlined-text-field-label-text-size:16px;--mdc-outlined-text-field-label-text-tracking:.03125em;--mdc-outlined-text-field-label-text-weight:400;--mat-form-field-container-text-font:Roboto, sans-serif;--mat-form-field-container-text-line-height:24px;--mat-form-field-container-text-size:16px;--mat-form-field-container-text-tracking:.03125em;--mat-form-field-container-text-weight:400;--mat-form-field-outlined-label-text-populated-size:16px;--mat-form-field-subscript-text-font:Roboto, sans-serif;--mat-form-field-subscript-text-line-height:20px;--mat-form-field-subscript-text-size:12px;--mat-form-field-subscript-text-tracking:.0333333333em;--mat-form-field-subscript-text-weight:400}html{--mat-select-panel-background-color:white;--mat-select-enabled-trigger-text-color:rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color:rgba(0, 0, 0, .38);--mat-select-placeholder-text-color:rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color:rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color:rgba(0, 0, 0, .38);--mat-select-focused-arrow-color:rgba(63, 81, 181, .87);--mat-select-invalid-arrow-color:rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color:white;--mat-select-enabled-trigger-text-color:rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color:rgba(0, 0, 0, .38);--mat-select-placeholder-text-color:rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color:rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color:rgba(0, 0, 0, .38);--mat-select-focused-arrow-color:rgba(255, 64, 129, .87);--mat-select-invalid-arrow-color:rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color:white;--mat-select-enabled-trigger-text-color:rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color:rgba(0, 0, 0, .38);--mat-select-placeholder-text-color:rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color:rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color:rgba(0, 0, 0, .38);--mat-select-focused-arrow-color:rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color:rgba(244, 67, 54, .87)}html{--mat-select-trigger-text-font:Roboto, sans-serif;--mat-select-trigger-text-line-height:24px;--mat-select-trigger-text-size:16px;--mat-select-trigger-text-tracking:.03125em;--mat-select-trigger-text-weight:400}html{--mat-autocomplete-background-color:white}.mat-mdc-dialog-container{--mdc-dialog-container-color:white;--mdc-dialog-subhead-color:rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color:rgba(0, 0, 0, .6)}.mat-mdc-dialog-container{--mdc-dialog-subhead-font:Roboto, sans-serif;--mdc-dialog-subhead-line-height:32px;--mdc-dialog-subhead-size:20px;--mdc-dialog-subhead-weight:500;--mdc-dialog-subhead-tracking:.0125em;--mdc-dialog-supporting-text-font:Roboto, sans-serif;--mdc-dialog-supporting-text-line-height:24px;--mdc-dialog-supporting-text-size:16px;--mdc-dialog-supporting-text-weight:400;--mdc-dialog-supporting-text-tracking:.03125em}.mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:#212121;--mdc-chip-with-icon-icon-color:#212121;--mdc-chip-with-icon-disabled-icon-color:#212121;--mdc-chip-with-icon-selected-icon-color:#212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#212121;--mdc-chip-with-trailing-icon-trailing-icon-color:#212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color:white;--mdc-chip-elevated-container-color:#3f51b5;--mdc-chip-elevated-disabled-container-color:#3f51b5;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:white;--mdc-chip-with-icon-icon-color:white;--mdc-chip-with-icon-disabled-icon-color:white;--mdc-chip-with-icon-selected-icon-color:white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:white;--mdc-chip-with-trailing-icon-trailing-icon-color:white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color:white;--mdc-chip-elevated-container-color:#ff4081;--mdc-chip-elevated-disabled-container-color:#ff4081;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:white;--mdc-chip-with-icon-icon-color:white;--mdc-chip-with-icon-disabled-icon-color:white;--mdc-chip-with-icon-selected-icon-color:white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:white;--mdc-chip-with-trailing-icon-trailing-icon-color:white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color:white;--mdc-chip-elevated-container-color:#f44336;--mdc-chip-elevated-disabled-container-color:#f44336;--mdc-chip-focus-state-layer-color:black;--mdc-chip-focus-state-layer-opacity:.12;--mdc-chip-label-text-color:white;--mdc-chip-with-icon-icon-color:white;--mdc-chip-with-icon-disabled-icon-color:white;--mdc-chip-with-icon-selected-icon-color:white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:white;--mdc-chip-with-trailing-icon-trailing-icon-color:white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height:32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font:Roboto, sans-serif;--mdc-chip-label-text-line-height:20px;--mdc-chip-label-text-size:14px;--mdc-chip-label-text-tracking:.0178571429em;--mdc-chip-label-text-weight:400}.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color:#3949ab;--mdc-switch-selected-handle-color:#3949ab;--mdc-switch-selected-hover-state-layer-color:#3949ab;--mdc-switch-selected-pressed-state-layer-color:#3949ab;--mdc-switch-selected-focus-handle-color:#1a237e;--mdc-switch-selected-hover-handle-color:#1a237e;--mdc-switch-selected-pressed-handle-color:#1a237e;--mdc-switch-selected-focus-track-color:#7986cb;--mdc-switch-selected-hover-track-color:#7986cb;--mdc-switch-selected-pressed-track-color:#7986cb;--mdc-switch-selected-track-color:#7986cb;--mdc-switch-disabled-selected-handle-color:#424242;--mdc-switch-disabled-selected-icon-color:#fff;--mdc-switch-disabled-selected-track-color:#424242;--mdc-switch-disabled-unselected-handle-color:#424242;--mdc-switch-disabled-unselected-icon-color:#fff;--mdc-switch-disabled-unselected-track-color:#424242;--mdc-switch-handle-surface-color:var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color:black;--mdc-switch-disabled-handle-elevation-shadow:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color:#fff;--mdc-switch-unselected-focus-handle-color:#212121;--mdc-switch-unselected-focus-state-layer-color:#424242;--mdc-switch-unselected-focus-track-color:#e0e0e0;--mdc-switch-unselected-handle-color:#616161;--mdc-switch-unselected-hover-handle-color:#212121;--mdc-switch-unselected-hover-state-layer-color:#424242;--mdc-switch-unselected-hover-track-color:#e0e0e0;--mdc-switch-unselected-icon-color:#fff;--mdc-switch-unselected-pressed-handle-color:#212121;--mdc-switch-unselected-pressed-state-layer-color:#424242;--mdc-switch-unselected-pressed-track-color:#e0e0e0;--mdc-switch-unselected-track-color:#e0e0e0}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color:#d81b60;--mdc-switch-selected-handle-color:#d81b60;--mdc-switch-selected-hover-state-layer-color:#d81b60;--mdc-switch-selected-pressed-state-layer-color:#d81b60;--mdc-switch-selected-focus-handle-color:#880e4f;--mdc-switch-selected-hover-handle-color:#880e4f;--mdc-switch-selected-pressed-handle-color:#880e4f;--mdc-switch-selected-focus-track-color:#f06292;--mdc-switch-selected-hover-track-color:#f06292;--mdc-switch-selected-pressed-track-color:#f06292;--mdc-switch-selected-track-color:#f06292}.mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color:#e53935;--mdc-switch-selected-handle-color:#e53935;--mdc-switch-selected-hover-state-layer-color:#e53935;--mdc-switch-selected-pressed-state-layer-color:#e53935;--mdc-switch-selected-focus-handle-color:#b71c1c;--mdc-switch-selected-hover-handle-color:#b71c1c;--mdc-switch-selected-pressed-handle-color:#b71c1c;--mdc-switch-selected-focus-track-color:#e57373;--mdc-switch-selected-hover-track-color:#e57373;--mdc-switch-selected-pressed-track-color:#e57373;--mdc-switch-selected-track-color:#e57373}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size:48px}.mat-mdc-slide-toggle{--mat-slide-toggle-label-text-font:Roboto, sans-serif;--mat-slide-toggle-label-text-size:14px;--mat-slide-toggle-label-text-tracking:.0178571429em;--mat-slide-toggle-label-text-line-height:20px;--mat-slide-toggle-label-text-weight:400}.mat-mdc-slide-toggle .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#3f51b5;--mdc-radio-selected-hover-icon-color:#3f51b5;--mdc-radio-selected-icon-color:#3f51b5;--mdc-radio-selected-pressed-icon-color:#3f51b5;--mat-radio-ripple-color:#000;--mat-radio-checked-ripple-color:#3f51b5;--mat-radio-disabled-label-color:rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#ff4081;--mdc-radio-selected-hover-icon-color:#ff4081;--mdc-radio-selected-icon-color:#ff4081;--mdc-radio-selected-pressed-icon-color:#ff4081;--mat-radio-ripple-color:#000;--mat-radio-checked-ripple-color:#ff4081;--mat-radio-disabled-label-color:rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#f44336;--mdc-radio-selected-hover-icon-color:#f44336;--mdc-radio-selected-icon-color:#f44336;--mdc-radio-selected-pressed-icon-color:#f44336;--mat-radio-ripple-color:#000;--mat-radio-checked-ripple-color:#f44336;--mat-radio-disabled-label-color:rgba(0, 0, 0, .38)}.mat-mdc-radio-button .mdc-radio{--mdc-radio-state-layer-size:40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider{--mdc-slider-label-container-color:black;--mdc-slider-label-label-text-color:white;--mdc-slider-disabled-handle-color:#000;--mdc-slider-disabled-active-track-color:#000;--mdc-slider-disabled-inactive-track-color:#000;--mdc-slider-with-tick-marks-disabled-container-color:#000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary{--mdc-slider-handle-color:#3f51b5;--mdc-slider-focus-handle-color:#3f51b5;--mdc-slider-hover-handle-color:#3f51b5;--mdc-slider-active-track-color:#3f51b5;--mdc-slider-inactive-track-color:#3f51b5;--mdc-slider-with-tick-marks-active-container-color:#fff;--mdc-slider-with-tick-marks-inactive-container-color:#3f51b5;--mat-mdc-slider-ripple-color: #3f51b5;--mat-mdc-slider-hover-ripple-color: rgba(63, 81, 181, .05);--mat-mdc-slider-focus-ripple-color: rgba(63, 81, 181, .2)}.mat-mdc-slider.mat-accent{--mdc-slider-handle-color:#ff4081;--mdc-slider-focus-handle-color:#ff4081;--mdc-slider-hover-handle-color:#ff4081;--mdc-slider-active-track-color:#ff4081;--mdc-slider-inactive-track-color:#ff4081;--mdc-slider-with-tick-marks-active-container-color:#fff;--mdc-slider-with-tick-marks-inactive-container-color:#ff4081;--mat-mdc-slider-ripple-color: #ff4081;--mat-mdc-slider-hover-ripple-color: rgba(255, 64, 129, .05);--mat-mdc-slider-focus-ripple-color: rgba(255, 64, 129, .2)}.mat-mdc-slider.mat-warn{--mdc-slider-handle-color:#f44336;--mdc-slider-focus-handle-color:#f44336;--mdc-slider-hover-handle-color:#f44336;--mdc-slider-active-track-color:#f44336;--mdc-slider-inactive-track-color:#f44336;--mdc-slider-with-tick-marks-active-container-color:#fff;--mdc-slider-with-tick-marks-inactive-container-color:#f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider{--mdc-slider-label-label-text-font:Roboto, sans-serif;--mdc-slider-label-label-text-size:14px;--mdc-slider-label-label-text-line-height:22px;--mdc-slider-label-label-text-tracking:.0071428571em;--mdc-slider-label-label-text-weight:500}html{--mat-menu-item-label-text-color:rgba(0, 0, 0, .87);--mat-menu-item-icon-color:rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-menu-container-color:white}html{--mat-menu-item-label-text-font:Roboto, sans-serif;--mat-menu-item-label-text-size:16px;--mat-menu-item-label-text-tracking:.03125em;--mat-menu-item-label-text-line-height:24px;--mat-menu-item-label-text-weight:400}.mat-mdc-list-base{--mdc-list-list-item-label-text-color:rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color:rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color:rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color:black;--mdc-list-list-item-disabled-leading-icon-color:black;--mdc-list-list-item-disabled-trailing-icon-color:black;--mdc-list-list-item-hover-label-text-color:rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color:rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color:rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color:black;--mdc-list-list-item-hover-state-layer-opacity:.04;--mdc-list-list-item-focus-state-layer-color:black;--mdc-list-list-item-focus-state-layer-opacity:.12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#3f51b5;--mdc-radio-selected-hover-icon-color:#3f51b5;--mdc-radio-selected-icon-color:#3f51b5;--mdc-radio-selected-pressed-icon-color:#3f51b5}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#ff4081;--mdc-radio-selected-hover-icon-color:#ff4081;--mdc-radio-selected-icon-color:#ff4081;--mdc-radio-selected-pressed-icon-color:#ff4081}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color:#000;--mdc-radio-disabled-unselected-icon-color:#000;--mdc-radio-unselected-hover-icon-color:#212121;--mdc-radio-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color:#f44336;--mdc-radio-selected-hover-icon-color:#f44336;--mdc-radio-selected-icon-color:#f44336;--mdc-radio-selected-pressed-icon-color:#f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#3f51b5;--mdc-checkbox-selected-hover-icon-color:#3f51b5;--mdc-checkbox-selected-icon-color:#3f51b5;--mdc-checkbox-selected-pressed-icon-color:#3f51b5;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#3f51b5;--mdc-checkbox-selected-hover-state-layer-color:#3f51b5;--mdc-checkbox-selected-pressed-state-layer-color:#3f51b5;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#ff4081;--mdc-checkbox-selected-hover-icon-color:#ff4081;--mdc-checkbox-selected-icon-color:#ff4081;--mdc-checkbox-selected-pressed-icon-color:#ff4081;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#ff4081;--mdc-checkbox-selected-hover-state-layer-color:#ff4081;--mdc-checkbox-selected-pressed-state-layer-color:#ff4081;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#f44336;--mdc-checkbox-selected-hover-icon-color:#f44336;--mdc-checkbox-selected-icon-color:#f44336;--mdc-checkbox-selected-pressed-icon-color:#f44336;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#f44336;--mdc-checkbox-selected-hover-state-layer-color:#f44336;--mdc-checkbox-selected-pressed-state-layer-color:#f44336;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#3f51b5}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mat-mdc-list-base{--mdc-list-list-item-one-line-container-height:48px;--mdc-list-list-item-two-line-container-height:64px;--mdc-list-list-item-three-line-container-height:88px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mat-mdc-list-base{--mdc-list-list-item-label-text-font:Roboto, sans-serif;--mdc-list-list-item-label-text-line-height:24px;--mdc-list-list-item-label-text-size:16px;--mdc-list-list-item-label-text-tracking:.03125em;--mdc-list-list-item-label-text-weight:400;--mdc-list-list-item-supporting-text-font:Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height:20px;--mdc-list-list-item-supporting-text-size:14px;--mdc-list-list-item-supporting-text-tracking:.0178571429em;--mdc-list-list-item-supporting-text-weight:400;--mdc-list-list-item-trailing-supporting-text-font:Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height:20px;--mdc-list-list-item-trailing-supporting-text-size:12px;--mdc-list-list-item-trailing-supporting-text-tracking:.0333333333em;--mdc-list-list-item-trailing-supporting-text-weight:400}.mdc-list-group__subheader{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color:rgba(0, 0, 0, .87);--mat-paginator-container-background-color:white;--mat-paginator-enabled-icon-color:rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color:rgba(0, 0, 0, .12)}html{--mat-paginator-container-size:56px}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}html{--mat-paginator-container-text-font:Roboto, sans-serif;--mat-paginator-container-text-line-height:20px;--mat-paginator-container-text-size:12px;--mat-paginator-container-text-tracking:.0333333333em;--mat-paginator-container-text-weight:400;--mat-paginator-select-trigger-text-size:12px}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color:#3f51b5;--mat-tab-header-disabled-ripple-color:rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color:#000;--mat-tab-header-inactive-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color:#3f51b5;--mat-tab-header-active-ripple-color:#3f51b5;--mat-tab-header-inactive-ripple-color:#3f51b5;--mat-tab-header-inactive-focus-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color:#3f51b5;--mat-tab-header-active-hover-label-text-color:#3f51b5;--mat-tab-header-active-focus-indicator-color:#3f51b5;--mat-tab-header-active-hover-indicator-color:#3f51b5}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color:#ff4081;--mat-tab-header-disabled-ripple-color:rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color:#000;--mat-tab-header-inactive-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color:#ff4081;--mat-tab-header-active-ripple-color:#ff4081;--mat-tab-header-inactive-ripple-color:#ff4081;--mat-tab-header-inactive-focus-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color:#ff4081;--mat-tab-header-active-hover-label-text-color:#ff4081;--mat-tab-header-active-focus-indicator-color:#ff4081;--mat-tab-header-active-hover-indicator-color:#ff4081}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color:#f44336;--mat-tab-header-disabled-ripple-color:rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color:#000;--mat-tab-header-inactive-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color:#f44336;--mat-tab-header-active-ripple-color:#f44336;--mat-tab-header-inactive-ripple-color:#f44336;--mat-tab-header-inactive-focus-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color:rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color:#f44336;--mat-tab-header-active-hover-label-text-color:#f44336;--mat-tab-header-active-focus-indicator-color:#f44336;--mat-tab-header-active-hover-indicator-color:#f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color:#3f51b5;--mat-tab-header-with-background-foreground-color:white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color:#ff4081;--mat-tab-header-with-background-foreground-color:white}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color:#f44336;--mat-tab-header-with-background-foreground-color:white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header{--mat-tab-header-label-text-font:Roboto, sans-serif;--mat-tab-header-label-text-size:14px;--mat-tab-header-label-text-tracking:.0892857143em;--mat-tab-header-label-text-line-height:36px;--mat-tab-header-label-text-weight:500}html{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#ff4081;--mdc-checkbox-selected-hover-icon-color:#ff4081;--mdc-checkbox-selected-icon-color:#ff4081;--mdc-checkbox-selected-pressed-icon-color:#ff4081;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#ff4081;--mdc-checkbox-selected-hover-state-layer-color:#ff4081;--mdc-checkbox-selected-pressed-state-layer-color:#ff4081;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#3f51b5;--mdc-checkbox-selected-hover-icon-color:#3f51b5;--mdc-checkbox-selected-icon-color:#3f51b5;--mdc-checkbox-selected-pressed-icon-color:#3f51b5;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#3f51b5;--mdc-checkbox-selected-hover-state-layer-color:#3f51b5;--mdc-checkbox-selected-pressed-state-layer-color:#3f51b5;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-icon-color:#f44336;--mdc-checkbox-selected-hover-icon-color:#f44336;--mdc-checkbox-selected-icon-color:#f44336;--mdc-checkbox-selected-pressed-icon-color:#f44336;--mdc-checkbox-unselected-focus-icon-color:#212121;--mdc-checkbox-unselected-hover-icon-color:#212121;--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color:#f44336;--mdc-checkbox-selected-hover-state-layer-color:#f44336;--mdc-checkbox-selected-pressed-state-layer-color:#f44336;--mdc-checkbox-unselected-focus-state-layer-color:black;--mdc-checkbox-unselected-hover-state-layer-color:black;--mdc-checkbox-unselected-pressed-state-layer-color:black}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size:40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color:#000}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color:#3f51b5}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color:#ff4081}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color:#f44336}.mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-text-button-label-text-color:rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color:#3f51b5;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color:#ff4081;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color:rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-filled-button-container-color:rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color:rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color:#3f51b5;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color:#ff4081;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button[disabled][disabled]{--mdc-protected-button-disabled-container-color:rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-protected-button-container-color:rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color:rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation:0}.mat-mdc-outlined-button{--mdc-outlined-button-outline-color:rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color:#000}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color:#3f51b5}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color:#ff4081}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color:#f44336}.mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color:rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color:rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color:rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color:rgba(0, 0, 0, .12)}.mat-mdc-button,.mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-button.mat-primary,.mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-button.mat-accent,.mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-button.mat-warn,.mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button,.mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-raised-button.mat-primary,.mat-mdc-unelevated-button.mat-primary,.mat-mdc-raised-button.mat-accent,.mat-mdc-unelevated-button.mat-accent,.mat-mdc-raised-button.mat-warn,.mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base,.mat-mdc-raised-button.mat-mdc-button-base,.mat-mdc-unelevated-button.mat-mdc-button-base,.mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button{--mdc-icon-button-icon-color:inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color:#3f51b5;--mat-mdc-button-persistent-ripple-color: #3f51b5;--mat-mdc-button-ripple-color: rgba(63, 81, 181, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color:#ff4081;--mat-mdc-button-persistent-ripple-color: #ff4081;--mat-mdc-button-ripple-color: rgba(255, 64, 129, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color:#f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color:rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color:rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size:48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}.mat-mdc-fab,.mat-mdc-mini-fab{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple:before,.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary,.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent,.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled],.mat-mdc-mini-fab[disabled][disabled]{--mdc-fab-container-color:rgba(0, 0, 0, .12);--mdc-fab-icon-color:rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed,.mat-mdc-mini-fab.mat-unthemed{--mdc-fab-container-color:white;--mdc-fab-icon-color:black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary,.mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color:#3f51b5;--mdc-fab-icon-color:white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent,.mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color:#ff4081;--mdc-fab-icon-color:white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn,.mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:white;--mat-mdc-fab-color: #fff}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab{--mdc-extended-fab-label-text-font:Roboto, sans-serif;--mdc-extended-fab-label-text-size:14px;--mdc-extended-fab-label-text-tracking:.0892857143em;--mdc-extended-fab-label-text-weight:500}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color:#333333;--mdc-snackbar-supporting-text-color:rgba(255, 255, 255, .87);--mat-snack-bar-button-color:#ff4081}.mat-mdc-snack-bar-container{--mdc-snackbar-supporting-text-font:Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height:20px;--mdc-snackbar-supporting-text-size:14px;--mdc-snackbar-supporting-text-weight:400}html{--mat-table-background-color:white;--mat-table-header-headline-color:rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color:rgba(0, 0, 0, .87);--mat-table-row-item-outline-color:rgba(0, 0, 0, .12)}html{--mat-table-header-container-height:56px;--mat-table-footer-container-height:52px;--mat-table-row-item-container-height:52px}html{--mat-table-header-headline-font:Roboto, sans-serif;--mat-table-header-headline-line-height:22px;--mat-table-header-headline-size:14px;--mat-table-header-headline-weight:500;--mat-table-header-headline-tracking:.0071428571em;--mat-table-row-item-label-text-font:Roboto, sans-serif;--mat-table-row-item-label-text-line-height:20px;--mat-table-row-item-label-text-size:14px;--mat-table-row-item-label-text-weight:400;--mat-table-row-item-label-text-tracking:.0178571429em;--mat-table-footer-supporting-text-font:Roboto, sans-serif;--mat-table-footer-supporting-text-line-height:20px;--mat-table-footer-supporting-text-size:14px;--mat-table-footer-supporting-text-weight:400;--mat-table-footer-supporting-text-tracking:.0178571429em}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-color:#3f51b5}.mat-mdc-progress-spinner.mat-accent{--mdc-circular-progress-active-indicator-color:#ff4081}.mat-mdc-progress-spinner.mat-warn{--mdc-circular-progress-active-indicator-color:#f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}html{--mat-badge-background-color:#3f51b5;--mat-badge-text-color:white;--mat-badge-disabled-state-background-color:#b9b9b9;--mat-badge-disabled-state-text-color:rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color:#ff4081;--mat-badge-text-color:white}.mat-badge-warn{--mat-badge-background-color:#f44336;--mat-badge-text-color:white}html{--mat-badge-text-font:Roboto, sans-serif;--mat-badge-text-size:12px;--mat-badge-text-weight:600;--mat-badge-small-size-text-size:9px;--mat-badge-large-size-text-size:24px}html{--mat-bottom-sheet-container-text-color:rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color:white}html{--mat-bottom-sheet-container-text-font:Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height:20px;--mat-bottom-sheet-container-text-size:14px;--mat-bottom-sheet-container-text-tracking:.0178571429em;--mat-bottom-sheet-container-text-weight:400}html{--mat-legacy-button-toggle-text-color:rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color:rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color:rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color:#e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color:rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color:#eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color:#bdbdbd;--mat-standard-button-toggle-text-color:rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color:white;--mat-standard-button-toggle-state-layer-color:black;--mat-standard-button-toggle-selected-state-background-color:#e0e0e0;--mat-standard-button-toggle-selected-state-text-color:rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color:rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color:white;--mat-standard-button-toggle-disabled-selected-state-text-color:rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color:#bdbdbd;--mat-standard-button-toggle-divider-color:#e0e0e0}html{--mat-standard-button-toggle-height:48px}html{--mat-legacy-button-toggle-text-font:Roboto, sans-serif;--mat-standard-button-toggle-text-font:Roboto, sans-serif}html{--mat-datepicker-calendar-date-selected-state-text-color:white;--mat-datepicker-calendar-date-selected-state-background-color:#3f51b5;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(63, 81, 181, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color:white;--mat-datepicker-calendar-date-focus-state-background-color:rgba(63, 81, 181, .3);--mat-datepicker-calendar-date-hover-state-background-color:rgba(63, 81, 181, .3);--mat-datepicker-toggle-active-state-icon-color:#3f51b5;--mat-datepicker-calendar-date-in-range-state-background-color:rgba(63, 81, 181, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color:rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#46a35e;--mat-datepicker-toggle-icon-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color:rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color:rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color:rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color:rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color:rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color:transparent;--mat-datepicker-calendar-date-disabled-state-text-color:rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color:rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color:rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color:rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color:rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color:white;--mat-datepicker-calendar-container-text-color:rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color:white;--mat-datepicker-calendar-date-selected-state-background-color:#ff4081;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(255, 64, 129, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color:white;--mat-datepicker-calendar-date-focus-state-background-color:rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-hover-state-background-color:rgba(255, 64, 129, .3);--mat-datepicker-calendar-date-in-range-state-background-color:rgba(255, 64, 129, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color:rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color:white;--mat-datepicker-calendar-date-selected-state-background-color:#f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color:rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color:white;--mat-datepicker-calendar-date-focus-state-background-color:rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color:rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color:rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color:rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color:#a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color:#46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color:#ff4081}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color:#f44336}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size:40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}html{--mat-datepicker-calendar-text-font:Roboto, sans-serif;--mat-datepicker-calendar-text-size:13px;--mat-datepicker-calendar-body-label-text-size:14px;--mat-datepicker-calendar-body-label-text-weight:500;--mat-datepicker-calendar-period-button-text-size:14px;--mat-datepicker-calendar-period-button-text-weight:500;--mat-datepicker-calendar-header-text-size:11px;--mat-datepicker-calendar-header-text-weight:400}html{--mat-divider-color:rgba(0, 0, 0, .12)}html{--mat-expansion-container-background-color:white;--mat-expansion-container-text-color:rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color:rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color:rgba(0, 0, 0, .26);--mat-expansion-header-text-color:rgba(0, 0, 0, .87);--mat-expansion-header-description-color:rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color:rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height:48px;--mat-expansion-header-expanded-state-height:64px}html{--mat-expansion-header-text-font:Roboto, sans-serif;--mat-expansion-header-text-size:14px;--mat-expansion-header-text-weight:500;--mat-expansion-header-text-line-height:inherit;--mat-expansion-header-text-tracking:inherit;--mat-expansion-container-text-font:Roboto, sans-serif;--mat-expansion-container-text-line-height:20px;--mat-expansion-container-text-size:14px;--mat-expansion-container-text-tracking:.0178571429em;--mat-expansion-container-text-weight:400}html{--mat-grid-list-tile-header-primary-text-size:14px;--mat-grid-list-tile-header-secondary-text-size:12px;--mat-grid-list-tile-footer-primary-text-size:14px;--mat-grid-list-tile-footer-secondary-text-size:12px}html{--mat-icon-color:inherit}.mat-icon.mat-primary{--mat-icon-color:#3f51b5}.mat-icon.mat-accent{--mat-icon-color:#ff4081}.mat-icon.mat-warn{--mat-icon-color:#f44336}html{--mat-sidenav-container-divider-color:rgba(0, 0, 0, .12);--mat-sidenav-container-background-color:white;--mat-sidenav-container-text-color:rgba(0, 0, 0, .87);--mat-sidenav-content-background-color:#fafafa;--mat-sidenav-content-text-color:rgba(0, 0, 0, .87);--mat-sidenav-scrim-color:rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color:white;--mat-stepper-header-selected-state-icon-background-color:#3f51b5;--mat-stepper-header-selected-state-icon-foreground-color:white;--mat-stepper-header-done-state-icon-background-color:#3f51b5;--mat-stepper-header-done-state-icon-foreground-color:white;--mat-stepper-header-edit-state-icon-background-color:#3f51b5;--mat-stepper-header-edit-state-icon-foreground-color:white;--mat-stepper-container-color:white;--mat-stepper-line-color:rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color:rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color:rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color:rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color:#f44336;--mat-stepper-header-icon-background-color:rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color:#f44336;--mat-stepper-header-error-state-icon-background-color:transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color:white;--mat-stepper-header-selected-state-icon-background-color:#ff4081;--mat-stepper-header-selected-state-icon-foreground-color:white;--mat-stepper-header-done-state-icon-background-color:#ff4081;--mat-stepper-header-done-state-icon-foreground-color:white;--mat-stepper-header-edit-state-icon-background-color:#ff4081;--mat-stepper-header-edit-state-icon-foreground-color:white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color:white;--mat-stepper-header-selected-state-icon-background-color:#f44336;--mat-stepper-header-selected-state-icon-foreground-color:white;--mat-stepper-header-done-state-icon-background-color:#f44336;--mat-stepper-header-done-state-icon-foreground-color:white;--mat-stepper-header-edit-state-icon-background-color:#f44336;--mat-stepper-header-edit-state-icon-foreground-color:white}html{--mat-stepper-header-height:72px}html{--mat-stepper-container-text-font:Roboto, sans-serif;--mat-stepper-header-label-text-font:Roboto, sans-serif;--mat-stepper-header-label-text-size:14px;--mat-stepper-header-label-text-weight:400;--mat-stepper-header-error-state-label-text-size:16px;--mat-stepper-header-selected-state-label-text-size:16px;--mat-stepper-header-selected-state-label-text-weight:400}.mat-sort-header-arrow{color:#757575}html{--mat-toolbar-container-background-color:whitesmoke;--mat-toolbar-container-text-color:rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color:#3f51b5;--mat-toolbar-container-text-color:white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color:#ff4081;--mat-toolbar-container-text-color:white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color:#f44336;--mat-toolbar-container-text-color:white}html{--mat-toolbar-standard-height:64px;--mat-toolbar-mobile-height:56px}html{--mat-toolbar-title-text-font:Roboto, sans-serif;--mat-toolbar-title-text-line-height:32px;--mat-toolbar-title-text-size:20px;--mat-toolbar-title-text-tracking:.0125em;--mat-toolbar-title-text-weight:500}.mat-tree{background:#fff}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-tree{font-family:Roboto,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-h1,.mat-headline-5,.mat-typography .mat-h1,.mat-typography .mat-headline-5,.mat-typography h1{font-size:24px;font-weight:400;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,.mat-typography .mat-h2,.mat-typography .mat-headline-6,.mat-typography h2{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,.mat-typography .mat-h3,.mat-typography .mat-subtitle-1,.mat-typography h3{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,.mat-typography .mat-h4,.mat-typography .mat-body-1,.mat-typography h4{font-size:16px;font-weight:400;line-height:24px;font-family:Roboto,sans-serif;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,.mat-typography .mat-body-strong,.mat-typography .mat-subtitle-2{font-size:14px;font-weight:500;line-height:22px;font-family:Roboto,sans-serif;letter-spacing:.0071428571em}.mat-body,.mat-body-2,.mat-typography .mat-body,.mat-typography .mat-body-2,.mat-typography{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,.mat-typography .mat-body p,.mat-typography .mat-body-2 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font-size:12px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:.0333333333em}.mat-headline-1,.mat-typography .mat-headline-1{font-size:96px;font-weight:300;line-height:96px;font-family:Roboto,sans-serif;letter-spacing:-.015625em;margin:0 0 56px}.mat-headline-2,.mat-typography .mat-headline-2{font-size:60px;font-weight:300;line-height:60px;font-family:Roboto,sans-serif;letter-spacing:-.0083333333em;margin:0 0 64px}.mat-headline-3,.mat-typography .mat-headline-3{font-size:48px;font-weight:400;line-height:50px;font-family:Roboto,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-headline-4,.mat-typography .mat-headline-4{font-size:34px;font-weight:400;line-height:40px;font-family:Roboto,sans-serif;letter-spacing:.0073529412em;margin:0 0 64px}:root{--primary: #3F51B5;--primary1: #e5461e}h1,h2,h3,h4,h5,h6,p,div,strong,a,button{font-family:Be Vietnam Pro,sans-serif!important}p{margin:0!important}.custom-toast{top:60px;right:12px}body{margin:0;font-family:Be Vietnam,Montserrat,sans-serif!important}.bb{border-bottom:1px solid rgb(192,192,192)}.boder-50{border-radius:50%}.btn-icon-small{position:absolute!important}.btn-interact{display:flex!important}.btn-interact:hover .likeNumber{z-index:2;font-size:10px;display:block;font-weight:600;background-color:#fff;padding:4px;color:#3e50ca}.btn-search{cursor:pointer;display:contents;border:none;background-color:transparent}.btn-search-icon{border-radius:50%;width:26px;height:26px;text-align:center}.btn-search-icon:hover{box-shadow:#63636333 0 2px 8px!important}.card_more{max-width:280px;max-height:615px;box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;border-radius:4px;margin:8px}.card-post{display:inline-block;width:254px!important;height:320px;cursor:pointer}.card-post:hover{border-radius:4px;box-shadow:0 26px 58px #00000038,0 5px 14px #0000002e}.card-post>.post-img{width:100%;height:200px;object-fit:cover}.card-postt{bottom:0;padding:0 8px;color:#fff!important;width:100%}.card-post-search{display:inline-flex}.card-post-search>.post-img{width:254px;height:350px;object-fit:cover}.card-post-search .post-img:hover{box-shadow:0 1px 1px #0000001f,0 2px 2px #0000001f,0 4px 4px #0000001f,0 8px 8px #0000001f,0 16px 16px #0000001f;cursor:pointer}.create-question{height:480px}.create-document{height:380px}.cursor-d{cursor:default}.cursor-p{cursor:pointer}.fixed-menu{transition:top .3s;color:#fff;z-index:1000}.fixed-menu.active{position:fixed;top:0;width:100%}.font{font-family:Be Vietnam,Montserrat,sans-serif!important}.fs-20{font-size:20px!important}.fw-5{font-weight:500}.fw-6{font-weight:600}.dis-block{display:block}.dis-inline{display:inline}.dis-flex{display:flex!important}.dis-grid{display:grid!important}.exam-card{width:23.5%;max-width:264px;box-shadow:#00000029 0 1px 4px}.exam-card:hover{box-shadow:#0000003d 0 3px 8px}.flex-center{display:flex;justify-content:center;align-items:center}.flex-center-h{display:flex!important;align-items:center}.flex-center-v{display:flex;justify-content:center}.flex-center-sb{display:flex;justify-content:space-between;align-items:center}.icon-24{width:24px;height:24px;border-radius:50%;object-fit:cover}.input-search{flex:1;padding-left:12px;border:none;border-radius:16px}.input-search:focus-visible{outline:none}.interact{display:grid;margin-left:100px;margin-top:40px}.interact-save{position:absolute;display:grid;margin-left:100px;margin-top:40px}.img-24{width:24px;height:24px}.img-20{width:20px;height:20px}.likeNumber{display:none}.mat-tab-label{font-family:Be Vietnam,Montserrat!important;color:#fff!important;padding:0 8px;font-size:1rem}.mh-page{min-height:700px}.mlr{margin:0 8px}.ml{margin-left:8px}.mlr-1{margin:0 16px}.mlr-12{margin:0 12px}.ml-1{margin-left:16px}.ml-2{margin-left:32px}.mb{margin-bottom:8px}.mb-1{margin-bottom:16px}.mt{margin-top:8px}.mt-1{margin-top:16px}.mt-2{margin-top:32px}.mt-50{margin-top:50px!important}.mt-60{margin-top:60px!important}.mr{margin-right:8px}.mr-1{margin-right:16px}.of-h{display:-webkit-box;-webkit-line-clamp:1;overflow:hidden!important;-webkit-box-orient:vertical;height:26px}.pb{padding-bottom:8px!important}.pl{padding-left:8px}.pl-1{padding-left:16px}.pl-2{padding-left:32px}.pl-3{padding-left:48px}.plr-200{padding:0 200px}.plr-300{padding:0 300px}.plr{padding:0 8px}.plr-1{padding:0 16px}.plr-24{padding:0 24px}.plr-12{padding:0 12px}.pt{padding-top:8px}.pt-1{padding-top:16px}.pt-2{padding-top:32px}.po-re{position:relative}.po-ab{position:absolute!important}.pb-1,.pb-2{padding-bottom:16px}.pr{padding-right:8px}.pr-1{padding-right:16px}.fs{font-size:14px}.fs16,.fs18{font-size:1.2em}.right-aligned-dialog{margin-left:auto!important}.custom-backdrop{background-color:#0000000d}.tag-category{margin-left:auto;background-color:#3c4dc2;border-radius:4px;margin-bottom:auto;margin-top:4px}.tag-free{box-shadow:0 1px 3px #0000001f,0 1px 2px #0000003d;border-radius:12px;font-size:10px;padding:0 6px 1px;display:flex;background-color:#7286e4;color:#fff}.text-2-line{height:41.6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.text-3-line{height:62.6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;position:relative}.text-5-line{height:100px;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;position:relative}.text-white{color:#fff!important}.text-red{color:#e93434!important}.text-black{color:#000!important}.underline-none{text-decoration:none!important}.use-space{white-space:pre-line}.selected{background-color:#7989f4!important}.selected>.selected-icon{color:#fff}.small-post-card{width:276px!important;height:65px;cursor:pointer;display:inline-flex}.small-post-card>.post-img{width:100px;min-width:100px;height:65px;object-fit:cover}.search-container{display:flex;align-items:center;box-shadow:#63636333 0 2px 8px;border-radius:16px;width:30em;height:30px}.w-100{width:100%}.w-90{width:90%}.w-80{width:80%}.w-75{width:75%}.w-50{width:50%}.w-40{width:40%}.w-25{width:25%}.w-10{width:10%}.co-primary{color:#4069e5}.flex-container{display:flex;overflow-x:hidden;align-items:center;padding-top:8px}.inner-container{overflow:hidden;display:flex;transition:transform .3s ease}.inner-container:hover{overflow:auto;overflow-x:auto}.inner-container::-webkit-scrollbar{margin-top:4px!important;height:4px!important}.inner-container::-webkit-scrollbar-thumb{background-color:#ccc}.inner-container::-webkit-scrollbar-track{background-color:transparent}.inner-container::-webkit-scrollbar-start,.inner-container::-webkit-scrollbar-end{display:none}.bubbly-button{background-image:url(Vote.b896084a77b1609d.png)!important;background-size:contain;z-index:2;display:inline-block;font-size:1em;font-weight:600;height:30px;width:30px;padding:8px;margin:2px 0;border-radius:50%!important;appearance:none;background-color:#fff;color:transparent;border:none;cursor:pointer;position:relative;transition:transform ease-in .1s,box-shadow ease-in .25s}.bubbly-button:hover{box-shadow:#3c40434d 0 1px 2px,#3c404326 0 1px 3px 1px}.bubbly-button:focus{outline:0}.bubbly-button:before,.bubbly-button:after{position:absolute;content:"";width:140%;height:100%;left:-20%;z-index:-1000;transition:all ease-in-out .5s;background-repeat:no-repeat}.bubbly-button:before{display:none;top:-75%;background-image:radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 20%,var(--primary) 20%,transparent 30%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 10%,var(--primary) 15%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%);background-size:10% 10%,20% 20%,25% 25%,20% 20%,18% 18%,10% 10%,15% 15%,10% 10%,18% 18%}.bubbly-button:after{display:none;bottom:-75%;background-image:radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 10%,var(--primary) 15%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%);background-size:15% 15%,20% 20%,25% 25%,20% 20%,15% 15%,10% 10%,20% 20%}.bubbly-button:active{transform:scale(.9)}.bubbly-button.animate:before{display:block!important;animation:topBubbles ease-in-out 1s forwards!important}.bubbly-button.animate:after{display:block!important;animation:bottomBubbles ease-in-out 1s forwards!important}@keyframes topBubbles{0%{background-position:5% 90%,10% 90%,10% 90%,15% 90%,25% 90%,25% 90%,40% 90%,55% 90%,70% 90%}50%{background-position:0% 80%,0% 20%,10% 40%,20% 0%,30% 30%,22% 50%,50% 50%,65% 20%,90% 30%}to{background-position:0% 70%,0% 10%,10% 30%,20% -10%,30% 20%,22% 40%,50% 40%,65% 10%,90% 20%;background-size:0% 0%,0% 0%,0% 0%,0% 0%,0% 0%,0% 0%}}@keyframes bottomBubbles{0%{background-position:10% -10%,30% 10%,55% -10%,70% -10%,85% -10%,70% -10%,70% 0%}50%{background-position:0% 80%,20% 80%,45% 60%,60% 100%,75% 70%,95% 60%,105% 0%}to{background-position:0% 90%,20% 90%,45% 70%,60% 110%,75% 80%,95% 70%,110% 10%;background-size:0% 0%,0% 0%,0% 0%,0% 0%,0% 0%,0% 0%}}.bubbly-button-1{font-family:Helvetica,Arial,sans-serif;display:inline-block;appearance:none;cursor:pointer;position:relative;transition:transform ease-in .1s,box-shadow ease-in .25s}.bubbly-button-1:focus{outline:0}.bubbly-button-1:before,.bubbly-button-1:after{position:absolute;content:"";display:block;width:140%;height:100%;left:-20%;z-index:-1000;transition:all ease-in-out .5s;background-repeat:no-repeat}.bubbly-button-1:before{display:none;top:-75%;background-image:radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 20%,var(--primary) 20%,transparent 30%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 10%,var(--primary) 15%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%);background-size:10% 10%,20% 20%,15% 15%,20% 20%,18% 18%,10% 10%,15% 15%,10% 10%,18% 18%}.bubbly-button-1:after{display:none;bottom:-75%;background-image:radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,transparent 10%,var(--primary) 15%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%),radial-gradient(circle,var(--primary) 20%,transparent 20%);background-size:15% 15%,20% 20%,18% 18%,20% 20%,15% 15%,10% 10%,20% 20%}.bubbly-button-1:active{transform:scale(.9)}.bubbly-button-1.animate1:before{display:block;animation:topBubbles1 ease-in-out .75s forwards!important}.bubbly-button-1.animate1:after{display:block;animation:bottomBubbles1 ease-in-out .75s forwards!important}@keyframes topBubbles1{0%{background-position:5% 90%,10% 90%,10% 90%,15% 90%,25% 90%,25% 90%,40% 90%,55% 90%,70% 90%}50%{background-position:0% 80%,0% 20%,10% 40%,20% 0%,30% 30%,22% 50%,50% 50%,65% 20%,90% 30%}to{background-position:0% 70%,0% 10%,10% 30%,20% -10%,30% 20%,22% 40%,50% 40%,65% 10%,90% 20%;background-size:0% 0%,0% 0%,0% 0%,0% 0%,0% 0%,0% 0%}}@keyframes bottomBubbles1{0%{background-position:10% -10%,30% 10%,55% -10%,70% -10%,85% -10%,70% -10%,70% 0%}50%{background-position:0% 80%,20% 80%,45% 60%,60% 100%,75% 70%,95% 60%,105% 0%}to{background-position:0% 90%,20% 90%,45% 70%,60% 110%,75% 80%,95% 70%,110% 10%;background-size:0% 0%,0% 0%,0% 0%,0% 0%,0% 0%,0% 0%}}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif}.toast-center-center{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button:hover,.toast-close-button:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:transparent;border:0}.toast-container{pointer-events:none;position:fixed;z-index:999999}.toast-container *{box-sizing:border-box}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container .ngx-toastr:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width .ngx-toastr,.toast-container.toast-bottom-full-width .ngx-toastr{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr{background-color:#030303;pointer-events:auto}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:11em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:18em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container .ngx-toastr.div{padding:15px 15px 15px 50px;width:25em}}.igx-display-container{display:inherit;flex-flow:inherit;position:relative;width:100%;overflow:hidden;flex-shrink:0}.igx-display-container--inactive{width:100%}.igx-drag{touch-action:none}.igx-drag--select-disabled,.igx-drag__handle{-webkit-user-select:none;user-select:none}.igx-vhelper--vertical,.igx-vhelper--horizontal{display:block;overflow:auto;z-index:10001}.igx-vhelper--vertical{position:absolute;top:0;inset-inline-end:0}.igx-vhelper--horizontal{width:100%}.igx-vhelper--vertical .igx-vhelper__placeholder-content{width:1px}.igx-vhelper--horizontal .igx-vhelper__placeholder-content{height:1px}[hidden]{display:none!important}[class^=igx-],[class^=igx-] *,[class^=igx-] *:before,[class^=igx-] *:after,[class^=ig-],[class^=ig-] *,[class^=ig-] *:before,[class^=ig-] *:after{box-sizing:border-box}.igx-combo,.igx-excel-filter__menu{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1)}.igx-svg-container{visibility:hidden;width:0;height:0;font-size:0;overflow:hidden}@media print{html,body,app-root{min-height:100vh;min-width:100vw;margin:0}app-root{display:block}*{filter:opacity(1);-webkit-print-color-adjust:exact;print-color-adjust:exact;text-shadow:none!important}a[href^=http]:after{content:"[" attr(href) "]";color:#00f}.igx-no-print{display:none!important}.igx-bw-print{filter:grayscale(100%)}igx-circular-bar,igx-linear-bar,.igx-carousel__indicators,.igx-carousel__arrow--prev,.igx-carousel__arrow--next,.igx-ripple,.igx-grid__tbody-scrollbar,igx-switch__ripple,igx-virtual-helper{display:none!important}igx-grid .igx-grid-th__title,igx-grid .igx-grid__td-text{white-space:unset!important;text-overflow:initial!important;overflow:visible!important}}.ig-typography{font-family:var(--ig-font-family)}.ig-typography igx-category-chart{--title-text-style: var(--category-chart-title-text-style, 600 1.25rem var(--ig-font-family));--subtitle-text-style: var(--category-chart-subtitle-text-style, 400 1rem var(--ig-font-family));--x-axis-label-text-style: var(--category-chart-x-axis-label-text-style, 400 .875rem var(--ig-font-family));--x-axis-title-text-style: var(--category-chart-x-axis-title-text-style, 400 .875rem var(--ig-font-family));--y-axis-label-text-style: var(--category-chart-y-axis-label-text-style, 400 .875rem var(--ig-font-family));--y-axis-title-text-style: var(--category-chart-y-axis-title-text-style, 400 .875rem var(--ig-font-family))}.ig-typography igx-data-chart{--title-text-style: var(--data-chart-title-text-style, 600 1.25rem var(--ig-font-family));--subtitle-text-style: var(--data-chart-subtitle-text-style, 400 1rem var(--ig-font-family))}.ig-typography igx-financial-chart{--title-text-style: var(--financial-chart-title-text-style, 600 1.25rem var(--ig-font-family));--subtitle-text-style: var(--financial-chart-subtitle-text-style, 400 1rem var(--ig-font-family));--x-axis-label-text-style: var(--financial-chart-x-axis-label-text-style, 400 .875rem var(--ig-font-family));--x-axis-title-text-style: var(--financial-chart-x-axis-title-text-style, 400 .875rem var(--ig-font-family));--y-axis-label-text-style: var(--financial-chart-y-axis-label-text-style, 400 .875rem var(--ig-font-family));--y-axis-title-text-style: var(--financial-chart-y-axis-title-text-style, 400 .875rem var(--ig-font-family))}.ig-typography igx-funnel-chart{--outer-label-text-style: var(--funnel-chart-outer-label-text-style, 300 6rem var(--ig-font-family));--text-style: var(--funnel-chart-text-style, 400 1rem var(--ig-font-family))}.ig-typography igx-linear-gauge{--linear-gauge-font: var(--ig-font-family, inherit)}.ig-typography igx-radial-gauge{--radial-gauge-font: var(--ig-font-family, inherit)}.ig-typography igx-bullet-graph{--bullet-graph-font: var(--ig-font-family, inherit)}.ig-typography igx-pie-chart{--text-style: var(--pie-chart-text-style, 400 .875rem var(--ig-font-family))}.ig-typography igx-shape-chart{--title-text-style: var(--shape-chart-title-text-style, 600 1.25rem var(--ig-font-family));--subtitle-text-style: var(--shape-chart-subtitle-text-style, 400 1rem var(--ig-font-family));--x-axis-title-text-style: var(--shape-chart-x-axis-title-text-style, 400 3rem var(--ig-font-family));--x-axis-label-text-style: var(--shape-chart-x-axis-label-text-style, 400 2.125rem var(--ig-font-family));--y-axis-title-text-style: var(--shape-chart-y-axis-title-text-style, 400 3rem var(--ig-font-family));--y-axis-label-text-style: var(--shape-chart-y-axis-label-text-style, 400 2.125rem var(--ig-font-family))}.ig-typography .igx-banner__text{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin-block-start:0;margin-block-end:0}.ig-typography .igx-bottom-nav__menu-item [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item .ig-typography [igxBottomNavHeaderLabel],.ig-typography .igx-bottom-nav__menu-item--selected [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item--selected .ig-typography [igxBottomNavHeaderLabel],.ig-typography .igx-bottom-nav__menu-item--disabled [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item--disabled .ig-typography [igxBottomNavHeaderLabel]{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);margin:0}.ig-typography .igx-button{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom);text-align:center}.ig-typography .igx-button--fab{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom);text-align:center;margin:0}.ig-typography .igx-calendar__header-year{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom);margin:0}.ig-typography .igx-calendar__header-date{font-family:var(--ig-h4-font-family, var(--ig-font-family));font-size:var(--ig-h4-font-size);font-weight:var(--ig-h4-font-weight);font-style:var(--ig-h4-font-style);line-height:var(--ig-h4-line-height);letter-spacing:var(--ig-h4-letter-spacing);text-transform:var(--ig-h4-text-transform);margin-top:var(--ig-h4-margin-top);margin-bottom:var(--ig-h4-margin-bottom);margin:0}.ig-typography .igx-calendar-picker__date{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-calendar__date-content,.ig-typography .igx-calendar__label{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom);margin:0}.ig-typography .igx-calendar__year--current{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom);font-size:1.5rem;line-height:3.25rem;margin:0}.ig-typography .igx-card-header__title,.ig-typography .igx-card-header__title--small{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom);margin:0}.ig-typography .igx-card-header__title--small,.ig-typography .igx-card-header__subtitle{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom);margin:0}.ig-typography .igx-card-content>*{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin:0}.ig-typography .igx-checkbox__label,.ig-typography .igx-checkbox__label--before{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-chip__item{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .igx-column-actions__header-title{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-dialog__window-title{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom);margin:0}.ig-typography .igx-dialog__window-content{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom);margin:0}.ig-typography .igx-dialog__window-content>*{letter-spacing:normal}.ig-typography igx-dock-manager{--igc-font-family: var(--ig-font-family, inherit)}.ig-typography .igx-drop-down__group label,.igx-drop-down__group .ig-typography label,.ig-typography .igx-drop-down__header{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom);margin:0}.ig-typography .igx-drop-down__item{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin:0}.ig-typography .igx-expansion-panel__header-title{font-family:var(--ig-h5-font-family, var(--ig-font-family));font-size:var(--ig-h5-font-size);font-weight:var(--ig-h5-font-weight);font-style:var(--ig-h5-font-style);line-height:var(--ig-h5-line-height);letter-spacing:var(--ig-h5-letter-spacing);text-transform:var(--ig-h5-text-transform);margin-top:var(--ig-h5-margin-top);margin-bottom:var(--ig-h5-margin-bottom);margin:0}.ig-typography .igx-expansion-panel__header-description{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom);margin:0}.ig-typography .igx-expansion-panel__body{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin:0}.ig-typography .igx-excel-filter__menu .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__menu .igx-excel-filter__secondary-header>h4{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .igx-excel-filter__secondary .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__secondary .igx-excel-filter__secondary-header>h4{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .igx-excel-filter__sort header,.ig-typography .igx-excel-filter__move header{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom)}.ig-typography .igx-excel-filter__menu--cosy .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__menu--cosy .igx-excel-filter__secondary-header>h4{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__secondary-header>h4{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom)}.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__sort header,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__move header{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);text-transform:capitalize}.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-pin span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-pin--disabled span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-unpin span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-hide span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-select span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-selected span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-filter span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-clear span,.ig-typography .igx-excel-filter__menu--compact .igx-excel-filter__actions-clear--disabled span,.ig-typography .igx-excel-filter__menu--compact .igx-checkbox__label,.ig-typography .igx-excel-filter__menu--compact .igx-checkbox__label--before{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .igx-excel-filter__secondary--cosy .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__secondary--cosy .igx-excel-filter__secondary-header>h4{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .igx-excel-filter__secondary--compact .igx-excel-filter__menu-header>h4,.ig-typography .igx-excel-filter__secondary--compact .igx-excel-filter__secondary-header>h4{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom)}.ig-typography .igx-input-group__input,.ig-typography .igx-input-group__textarea{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-input-group__hint{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);margin:0}.ig-typography .igx-input-group igx-prefix:not(igx-icon),.igx-input-group .ig-typography igx-prefix:not(igx-icon),.ig-typography .igx-input-group--focused igx-prefix:not(igx-icon),.igx-input-group--focused .ig-typography igx-prefix:not(igx-icon),.ig-typography .igx-input-group [igxPrefix]:not(igx-icon),.igx-input-group .ig-typography [igxPrefix]:not(igx-icon),.ig-typography .igx-input-group--focused [igxPrefix]:not(igx-icon),.igx-input-group--focused .ig-typography [igxPrefix]:not(igx-icon),.ig-typography .igx-input-group igx-suffix:not(igx-icon),.igx-input-group .ig-typography igx-suffix:not(igx-icon),.ig-typography .igx-input-group--focused igx-suffix:not(igx-icon),.igx-input-group--focused .ig-typography igx-suffix:not(igx-icon),.ig-typography .igx-input-group [igxSuffix]:not(igx-icon),.igx-input-group .ig-typography [igxSuffix]:not(igx-icon),.ig-typography .igx-input-group--focused [igxSuffix]:not(igx-icon),.igx-input-group--focused .ig-typography [igxSuffix]:not(igx-icon){font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-list__header{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom);margin:0}.ig-typography .igx-list__item-lines,.ig-typography .igx-list__item-line-title{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-list__item-line-subtitle{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);margin:0}.ig-typography igx-navbar-title,.ig-typography [igxNavbarTitle],.ig-typography .igx-navbar__title{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom);margin-bottom:0}.ig-typography .igx-nav-drawer__item,.ig-typography .igx-nav-drawer__item--active{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom)}.ig-typography .igx-nav-drawer__item--header{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin:0}.ig-typography .igx-radio__label,.ig-typography .igx-radio__label--before{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-slider-thumb-label-from__container,.ig-typography .igx-slider-thumb-label-to__container,.ig-typography .igx-slider__ticks-label{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom)}.ig-typography .igx-snackbar__message{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .igx-switch__label,.ig-typography .igx-switch__label--before{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-tabs__header-item-inner>[igxtabheaderlabel]{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-time-picker__header-ampm{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom)}.ig-typography .igx-time-picker__header-hour{font-family:var(--ig-h4-font-family, var(--ig-font-family));font-size:var(--ig-h4-font-size);font-weight:var(--ig-h4-font-weight);font-style:var(--ig-h4-font-style);line-height:var(--ig-h4-line-height);letter-spacing:var(--ig-h4-letter-spacing);text-transform:var(--ig-h4-text-transform);margin-top:var(--ig-h4-margin-top);margin-bottom:var(--ig-h4-margin-bottom);margin-top:0}.ig-typography .igx-time-picker__column{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-stepper__step-title{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-stepper__step-subtitle{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom);margin-top:0;margin-bottom:0}.ig-typography .igx-stepper__step-header--current .igx-stepper__step-title{font-weight:600}.ig-typography .igx-toast,.ig-typography .igx-toast>*{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom);margin:0}.ig-typography .igx-tooltip--mobile{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .igx-tooltip--desktop{font-size:.625rem;font-weight:600}.ig-typography .igx-tree-node__content{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}:root{--ig-font-family: "Titillium Web", sans-serif;--ig-base-font-size: 16px;--ig-h1-font-size: 6rem;--ig-h1-font-weight: 300;--ig-h1-font-style: normal;--ig-h1-line-height: 7rem;--ig-h1-letter-spacing: -.09375rem;--ig-h1-text-transform: none;--ig-h1-margin-top: 1.75rem;--ig-h1-margin-bottom: 3.5rem;--ig-h2-font-size: 3.75rem;--ig-h2-font-weight: 300;--ig-h2-font-style: normal;--ig-h2-line-height: 4.4375rem;--ig-h2-letter-spacing: -.03125rem;--ig-h2-text-transform: none;--ig-h2-margin-top: 1.75rem;--ig-h2-margin-bottom: 1.75rem;--ig-h3-font-size: 3rem;--ig-h3-font-weight: 400;--ig-h3-font-style: normal;--ig-h3-line-height: 3.5625rem;--ig-h3-letter-spacing: 0;--ig-h3-text-transform: none;--ig-h3-margin-top: 1.75rem;--ig-h3-margin-bottom: 0;--ig-h4-font-size: 2.125rem;--ig-h4-font-weight: 400;--ig-h4-font-style: normal;--ig-h4-line-height: 2.5rem;--ig-h4-letter-spacing: .015625rem;--ig-h4-text-transform: none;--ig-h4-margin-top: 1.75rem;--ig-h4-margin-bottom: 0;--ig-h5-font-size: 1.5rem;--ig-h5-font-weight: 400;--ig-h5-font-style: normal;--ig-h5-line-height: 1.75rem;--ig-h5-letter-spacing: 0;--ig-h5-text-transform: none;--ig-h5-margin-top: 1.75rem;--ig-h5-margin-bottom: 0;--ig-h6-font-size: 1.25rem;--ig-h6-font-weight: 600;--ig-h6-font-style: normal;--ig-h6-line-height: 1.5rem;--ig-h6-letter-spacing: .009375rem;--ig-h6-text-transform: none;--ig-h6-margin-top: 0;--ig-h6-margin-bottom: 0;--ig-subtitle-1-font-size: 1rem;--ig-subtitle-1-font-weight: 400;--ig-subtitle-1-font-style: normal;--ig-subtitle-1-line-height: 1.5rem;--ig-subtitle-1-letter-spacing: .009375rem;--ig-subtitle-1-text-transform: none;--ig-subtitle-1-margin-top: 0;--ig-subtitle-1-margin-bottom: 0;--ig-subtitle-2-font-size: .875rem;--ig-subtitle-2-font-weight: 600;--ig-subtitle-2-font-style: normal;--ig-subtitle-2-line-height: 1.5rem;--ig-subtitle-2-letter-spacing: .00625rem;--ig-subtitle-2-text-transform: none;--ig-subtitle-2-margin-top: 0;--ig-subtitle-2-margin-bottom: 0;--ig-body-1-font-size: 1rem;--ig-body-1-font-weight: 400;--ig-body-1-font-style: normal;--ig-body-1-line-height: 1.75rem;--ig-body-1-letter-spacing: .03125rem;--ig-body-1-text-transform: none;--ig-body-1-margin-top: 1.75rem;--ig-body-1-margin-bottom: 1rem;--ig-body-2-font-size: .875rem;--ig-body-2-font-weight: 400;--ig-body-2-font-style: normal;--ig-body-2-line-height: 1.25rem;--ig-body-2-letter-spacing: .015625rem;--ig-body-2-text-transform: none;--ig-body-2-margin-top: 0;--ig-body-2-margin-bottom: 0;--ig-button-font-size: .875rem;--ig-button-font-weight: 600;--ig-button-font-style: normal;--ig-button-line-height: 1rem;--ig-button-letter-spacing: .046875rem;--ig-button-text-transform: uppercase;--ig-button-margin-top: 0;--ig-button-margin-bottom: 0;--ig-caption-font-size: .75rem;--ig-caption-font-weight: 400;--ig-caption-font-style: normal;--ig-caption-line-height: 1rem;--ig-caption-letter-spacing: .025rem;--ig-caption-text-transform: none;--ig-caption-margin-top: 0;--ig-caption-margin-bottom: 0;--ig-overline-font-size: .625rem;--ig-overline-font-weight: 400;--ig-overline-font-style: normal;--ig-overline-line-height: 1rem;--ig-overline-letter-spacing: .09375rem;--ig-overline-text-transform: uppercase;--ig-overline-margin-top: 0;--ig-overline-margin-bottom: 0}.ig-typography h1{font-family:var(--ig-h1-font-family, var(--ig-font-family));font-size:var(--ig-h1-font-size);font-weight:var(--ig-h1-font-weight);font-style:var(--ig-h1-font-style);line-height:var(--ig-h1-line-height);letter-spacing:var(--ig-h1-letter-spacing);text-transform:var(--ig-h1-text-transform);margin-top:var(--ig-h1-margin-top);margin-bottom:var(--ig-h1-margin-bottom)}.ig-typography h2{font-family:var(--ig-h2-font-family, var(--ig-font-family));font-size:var(--ig-h2-font-size);font-weight:var(--ig-h2-font-weight);font-style:var(--ig-h2-font-style);line-height:var(--ig-h2-line-height);letter-spacing:var(--ig-h2-letter-spacing);text-transform:var(--ig-h2-text-transform);margin-top:var(--ig-h2-margin-top);margin-bottom:var(--ig-h2-margin-bottom)}.ig-typography h3{font-family:var(--ig-h3-font-family, var(--ig-font-family));font-size:var(--ig-h3-font-size);font-weight:var(--ig-h3-font-weight);font-style:var(--ig-h3-font-style);line-height:var(--ig-h3-line-height);letter-spacing:var(--ig-h3-letter-spacing);text-transform:var(--ig-h3-text-transform);margin-top:var(--ig-h3-margin-top);margin-bottom:var(--ig-h3-margin-bottom)}.ig-typography h4{font-family:var(--ig-h4-font-family, var(--ig-font-family));font-size:var(--ig-h4-font-size);font-weight:var(--ig-h4-font-weight);font-style:var(--ig-h4-font-style);line-height:var(--ig-h4-line-height);letter-spacing:var(--ig-h4-letter-spacing);text-transform:var(--ig-h4-text-transform);margin-top:var(--ig-h4-margin-top);margin-bottom:var(--ig-h4-margin-bottom)}.ig-typography h5{font-family:var(--ig-h5-font-family, var(--ig-font-family));font-size:var(--ig-h5-font-size);font-weight:var(--ig-h5-font-weight);font-style:var(--ig-h5-font-style);line-height:var(--ig-h5-line-height);letter-spacing:var(--ig-h5-letter-spacing);text-transform:var(--ig-h5-text-transform);margin-top:var(--ig-h5-margin-top);margin-bottom:var(--ig-h5-margin-bottom)}.ig-typography h6{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography p{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom)}.ig-typography .ig-typography__h1{font-family:var(--ig-h1-font-family, var(--ig-font-family));font-size:var(--ig-h1-font-size);font-weight:var(--ig-h1-font-weight);font-style:var(--ig-h1-font-style);line-height:var(--ig-h1-line-height);letter-spacing:var(--ig-h1-letter-spacing);text-transform:var(--ig-h1-text-transform);margin-top:var(--ig-h1-margin-top);margin-bottom:var(--ig-h1-margin-bottom)}.ig-typography .ig-typography__h2{font-family:var(--ig-h2-font-family, var(--ig-font-family));font-size:var(--ig-h2-font-size);font-weight:var(--ig-h2-font-weight);font-style:var(--ig-h2-font-style);line-height:var(--ig-h2-line-height);letter-spacing:var(--ig-h2-letter-spacing);text-transform:var(--ig-h2-text-transform);margin-top:var(--ig-h2-margin-top);margin-bottom:var(--ig-h2-margin-bottom)}.ig-typography .ig-typography__h3{font-family:var(--ig-h3-font-family, var(--ig-font-family));font-size:var(--ig-h3-font-size);font-weight:var(--ig-h3-font-weight);font-style:var(--ig-h3-font-style);line-height:var(--ig-h3-line-height);letter-spacing:var(--ig-h3-letter-spacing);text-transform:var(--ig-h3-text-transform);margin-top:var(--ig-h3-margin-top);margin-bottom:var(--ig-h3-margin-bottom)}.ig-typography .ig-typography__h4{font-family:var(--ig-h4-font-family, var(--ig-font-family));font-size:var(--ig-h4-font-size);font-weight:var(--ig-h4-font-weight);font-style:var(--ig-h4-font-style);line-height:var(--ig-h4-line-height);letter-spacing:var(--ig-h4-letter-spacing);text-transform:var(--ig-h4-text-transform);margin-top:var(--ig-h4-margin-top);margin-bottom:var(--ig-h4-margin-bottom)}.ig-typography .ig-typography__h5{font-family:var(--ig-h5-font-family, var(--ig-font-family));font-size:var(--ig-h5-font-size);font-weight:var(--ig-h5-font-weight);font-style:var(--ig-h5-font-style);line-height:var(--ig-h5-line-height);letter-spacing:var(--ig-h5-letter-spacing);text-transform:var(--ig-h5-text-transform);margin-top:var(--ig-h5-margin-top);margin-bottom:var(--ig-h5-margin-bottom)}.ig-typography .ig-typography__h6{font-family:var(--ig-h6-font-family, var(--ig-font-family));font-size:var(--ig-h6-font-size);font-weight:var(--ig-h6-font-weight);font-style:var(--ig-h6-font-style);line-height:var(--ig-h6-line-height);letter-spacing:var(--ig-h6-letter-spacing);text-transform:var(--ig-h6-text-transform);margin-top:var(--ig-h6-margin-top);margin-bottom:var(--ig-h6-margin-bottom)}.ig-typography .ig-typography__subtitle-1{font-family:var(--ig-subtitle-1-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-1-font-size);font-weight:var(--ig-subtitle-1-font-weight);font-style:var(--ig-subtitle-1-font-style);line-height:var(--ig-subtitle-1-line-height);letter-spacing:var(--ig-subtitle-1-letter-spacing);text-transform:var(--ig-subtitle-1-text-transform);margin-top:var(--ig-subtitle-1-margin-top);margin-bottom:var(--ig-subtitle-1-margin-bottom)}.ig-typography .ig-typography__subtitle-2{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom)}.ig-typography .ig-typography__body-1{font-family:var(--ig-body-1-font-family, var(--ig-font-family));font-size:var(--ig-body-1-font-size);font-weight:var(--ig-body-1-font-weight);font-style:var(--ig-body-1-font-style);line-height:var(--ig-body-1-line-height);letter-spacing:var(--ig-body-1-letter-spacing);text-transform:var(--ig-body-1-text-transform);margin-top:var(--ig-body-1-margin-top);margin-bottom:var(--ig-body-1-margin-bottom)}.ig-typography .ig-typography__body-2{font-family:var(--ig-body-2-font-family, var(--ig-font-family));font-size:var(--ig-body-2-font-size);font-weight:var(--ig-body-2-font-weight);font-style:var(--ig-body-2-font-style);line-height:var(--ig-body-2-line-height);letter-spacing:var(--ig-body-2-letter-spacing);text-transform:var(--ig-body-2-text-transform);margin-top:var(--ig-body-2-margin-top);margin-bottom:var(--ig-body-2-margin-bottom)}.ig-typography .ig-typography__button{font-family:var(--ig-button-font-family, var(--ig-font-family));font-size:var(--ig-button-font-size);font-weight:var(--ig-button-font-weight);font-style:var(--ig-button-font-style);line-height:var(--ig-button-line-height);letter-spacing:var(--ig-button-letter-spacing);text-transform:var(--ig-button-text-transform);margin-top:var(--ig-button-margin-top);margin-bottom:var(--ig-button-margin-bottom)}.ig-typography .ig-typography__caption{font-family:var(--ig-caption-font-family, var(--ig-font-family));font-size:var(--ig-caption-font-size);font-weight:var(--ig-caption-font-weight);font-style:var(--ig-caption-font-style);line-height:var(--ig-caption-line-height);letter-spacing:var(--ig-caption-letter-spacing);text-transform:var(--ig-caption-text-transform);margin-top:var(--ig-caption-margin-top);margin-bottom:var(--ig-caption-margin-bottom)}.ig-typography .ig-typography__overline{font-family:var(--ig-overline-font-family, var(--ig-font-family));font-size:var(--ig-overline-font-size);font-weight:var(--ig-overline-font-weight);font-style:var(--ig-overline-font-style);line-height:var(--ig-overline-line-height);letter-spacing:var(--ig-overline-letter-spacing);text-transform:var(--ig-overline-text-transform);margin-top:var(--ig-overline-margin-top);margin-bottom:var(--ig-overline-margin-bottom)}:root{--ig-size-small: 1;--ig-size-medium: 2;--ig-size-large: 3;--ig-spacing-small: 1;--ig-spacing-medium: 1;--ig-spacing-large: 1;--ig-spacing-inline-small: 1;--ig-spacing-inline-medium: 1;--ig-spacing-inline-large: 1;--ig-spacing-block-small: 1;--ig-spacing-block-medium: 1;--ig-spacing-block-large: 1}:root{--ig-primary-50: hsl(204, 100%, 89%);--ig-primary-50-contrast: black;--ig-primary-50: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.23), calc(var(--ig-primary-l) * 1.78);--ig-primary-100: hsl(204, 80%, 83%);--ig-primary-100-contrast: black;--ig-primary-100: var(--ig-primary-h), calc(var(--ig-primary-s) * .8), calc(var(--ig-primary-l) * 1.66);--ig-primary-200: hsl(204, 64%, 71.5%);--ig-primary-200-contrast: black;--ig-primary-200: var(--ig-primary-h), calc(var(--ig-primary-s) * .64), calc(var(--ig-primary-l) * 1.43);--ig-primary-300: hsl(204, 73%, 59.5%);--ig-primary-300-contrast: black;--ig-primary-300: var(--ig-primary-h), calc(var(--ig-primary-s) * .73), calc(var(--ig-primary-l) * 1.19);--ig-primary-400: hsl(204, 87.5%, 54%);--ig-primary-400-contrast: black;--ig-primary-400: var(--ig-primary-h), calc(var(--ig-primary-s) * .875), calc(var(--ig-primary-l) * 1.08);--ig-primary-h: 204deg;--ig-primary-s: 100%;--ig-primary-l: 50%;--ig-primary-a: 1;--ig-primary-500: hsl(204, 100%, 50%);--ig-primary-500-contrast: black;--ig-primary-500: var(--ig-primary-h), calc(var(--ig-primary-s) * 1), calc(var(--ig-primary-l) * 1);--ig-primary-600: hsl(204, 100%, 44.5%);--ig-primary-600-contrast: black;--ig-primary-600: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.26), calc(var(--ig-primary-l) * .89);--ig-primary-700: hsl(204, 100%, 40.5%);--ig-primary-700-contrast: black;--ig-primary-700: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.52), calc(var(--ig-primary-l) * .81);--ig-primary-800: hsl(204, 100%, 36.5%);--ig-primary-800-contrast: white;--ig-primary-800: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.5), calc(var(--ig-primary-l) * .73);--ig-primary-900: hsl(204, 100%, 32%);--ig-primary-900-contrast: white;--ig-primary-900: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.34), calc(var(--ig-primary-l) * .64);--ig-primary-A100: hsl(204, 100%, 67%);--ig-primary-A100-contrast: black;--ig-primary-A100: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.23), calc(var(--ig-primary-l) * 1.34);--ig-primary-A200: hsl(204, 100%, 58%);--ig-primary-A200-contrast: black;--ig-primary-A200: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.22), calc(var(--ig-primary-l) * 1.16);--ig-primary-A400: hsl(204, 100%, 45.5%);--ig-primary-A400-contrast: black;--ig-primary-A400: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.23), calc(var(--ig-primary-l) * .91);--ig-primary-A700: hsl(204, 100%, 32.5%);--ig-primary-A700-contrast: white;--ig-primary-A700: var(--ig-primary-h), calc(var(--ig-primary-s) * 1.23), calc(var(--ig-primary-l) * .65);--ig-secondary-50: hsl(332.7, 96.85%, 89.35%);--ig-secondary-50-contrast: black;--ig-secondary-50: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.23), calc(var(--ig-secondary-l) * 1.78);--ig-secondary-100: hsl(332.7, 62.99%, 83.33%);--ig-secondary-100-contrast: black;--ig-secondary-100: var(--ig-secondary-h), calc(var(--ig-secondary-s) * .8), calc(var(--ig-secondary-l) * 1.66);--ig-secondary-200: hsl(332.7, 50.39%, 71.78%);--ig-secondary-200-contrast: black;--ig-secondary-200: var(--ig-secondary-h), calc(var(--ig-secondary-s) * .64), calc(var(--ig-secondary-l) * 1.43);--ig-secondary-300: hsl(332.7, 57.48%, 59.73%);--ig-secondary-300-contrast: black;--ig-secondary-300: var(--ig-secondary-h), calc(var(--ig-secondary-s) * .73), calc(var(--ig-secondary-l) * 1.19);--ig-secondary-400: hsl(332.7, 68.9%, 54.21%);--ig-secondary-400-contrast: black;--ig-secondary-400: var(--ig-secondary-h), calc(var(--ig-secondary-s) * .875), calc(var(--ig-secondary-l) * 1.08);--ig-secondary-h: 333deg;--ig-secondary-s: 79%;--ig-secondary-l: 50%;--ig-secondary-a: 1;--ig-secondary-500: hsl(332.7, 78.74%, 50.2%);--ig-secondary-500-contrast: black;--ig-secondary-500: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1), calc(var(--ig-secondary-l) * 1);--ig-secondary-600: hsl(332.7, 99.21%, 44.67%);--ig-secondary-600-contrast: white;--ig-secondary-600: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.26), calc(var(--ig-secondary-l) * .89);--ig-secondary-700: hsl(332.7, 100%, 40.66%);--ig-secondary-700-contrast: white;--ig-secondary-700: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.52), calc(var(--ig-secondary-l) * .81);--ig-secondary-800: hsl(332.7, 100%, 36.64%);--ig-secondary-800-contrast: white;--ig-secondary-800: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.5), calc(var(--ig-secondary-l) * .73);--ig-secondary-900: hsl(332.7, 100%, 32.13%);--ig-secondary-900-contrast: white;--ig-secondary-900: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.34), calc(var(--ig-secondary-l) * .64);--ig-secondary-A100: hsl(332.7, 96.85%, 67.26%);--ig-secondary-A100-contrast: black;--ig-secondary-A100: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.23), calc(var(--ig-secondary-l) * 1.34);--ig-secondary-A200: hsl(332.7, 96.06%, 58.23%);--ig-secondary-A200-contrast: black;--ig-secondary-A200: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.22), calc(var(--ig-secondary-l) * 1.16);--ig-secondary-A400: hsl(332.7, 96.85%, 45.68%);--ig-secondary-A400-contrast: white;--ig-secondary-A400: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.23), calc(var(--ig-secondary-l) * .91);--ig-secondary-A700: hsl(332.7, 96.85%, 32.63%);--ig-secondary-A700-contrast: white;--ig-secondary-A700: var(--ig-secondary-h), calc(var(--ig-secondary-s) * 1.23), calc(var(--ig-secondary-l) * .65);--ig-gray-50: hsl(0, 0%, 98%);--ig-gray-50-contrast: black;--ig-gray-50: var(--ig-gray-h), var(--ig-gray-s), 98%;--ig-gray-100: hsl(0, 0%, 96%);--ig-gray-100-contrast: black;--ig-gray-100: var(--ig-gray-h), var(--ig-gray-s), 96%;--ig-gray-200: hsl(0, 0%, 93%);--ig-gray-200-contrast: black;--ig-gray-200: var(--ig-gray-h), var(--ig-gray-s), 93%;--ig-gray-300: hsl(0, 0%, 88%);--ig-gray-300-contrast: black;--ig-gray-300: var(--ig-gray-h), var(--ig-gray-s), 88%;--ig-gray-400: hsl(0, 0%, 74%);--ig-gray-400-contrast: black;--ig-gray-400: var(--ig-gray-h), var(--ig-gray-s), 74%;--ig-gray-h: 0deg;--ig-gray-s: 0%;--ig-gray-l: 62%;--ig-gray-a: 1;--ig-gray-500: hsl(0, 0%, 62%);--ig-gray-500-contrast: black;--ig-gray-500: var(--ig-gray-h), var(--ig-gray-s), 62%;--ig-gray-600: hsl(0, 0%, 54%);--ig-gray-600-contrast: black;--ig-gray-600: var(--ig-gray-h), var(--ig-gray-s), 54%;--ig-gray-700: hsl(0, 0%, 38%);--ig-gray-700-contrast: white;--ig-gray-700: var(--ig-gray-h), var(--ig-gray-s), 38%;--ig-gray-800: hsl(0, 0%, 26%);--ig-gray-800-contrast: white;--ig-gray-800: var(--ig-gray-h), var(--ig-gray-s), 26%;--ig-gray-900: hsl(0, 0%, 13%);--ig-gray-900-contrast: white;--ig-gray-900: var(--ig-gray-h), var(--ig-gray-s), 13%;--ig-surface-50: hsl(0, 0%, 100%);--ig-surface-50-contrast: black;--ig-surface-50: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.23), calc(var(--ig-surface-l) * 1.78);--ig-surface-100: hsl(0, 0%, 100%);--ig-surface-100-contrast: black;--ig-surface-100: var(--ig-surface-h), calc(var(--ig-surface-s) * .8), calc(var(--ig-surface-l) * 1.66);--ig-surface-200: hsl(0, 0%, 100%);--ig-surface-200-contrast: black;--ig-surface-200: var(--ig-surface-h), calc(var(--ig-surface-s) * .64), calc(var(--ig-surface-l) * 1.43);--ig-surface-300: hsl(0, 0%, 100%);--ig-surface-300-contrast: black;--ig-surface-300: var(--ig-surface-h), calc(var(--ig-surface-s) * .73), calc(var(--ig-surface-l) * 1.19);--ig-surface-400: hsl(0, 0%, 100%);--ig-surface-400-contrast: black;--ig-surface-400: var(--ig-surface-h), calc(var(--ig-surface-s) * .875), calc(var(--ig-surface-l) * 1.08);--ig-surface-h: 0deg;--ig-surface-s: 0%;--ig-surface-l: 100%;--ig-surface-a: 1;--ig-surface-500: hsl(0, 0%, 100%);--ig-surface-500-contrast: black;--ig-surface-500: var(--ig-surface-h), calc(var(--ig-surface-s) * 1), calc(var(--ig-surface-l) * 1);--ig-surface-600: hsl(0, 0%, 89%);--ig-surface-600-contrast: black;--ig-surface-600: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.26), calc(var(--ig-surface-l) * .89);--ig-surface-700: hsl(0, 0%, 81%);--ig-surface-700-contrast: black;--ig-surface-700: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.52), calc(var(--ig-surface-l) * .81);--ig-surface-800: hsl(0, 0%, 73%);--ig-surface-800-contrast: black;--ig-surface-800: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.5), calc(var(--ig-surface-l) * .73);--ig-surface-900: hsl(0, 0%, 64%);--ig-surface-900-contrast: black;--ig-surface-900: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.34), calc(var(--ig-surface-l) * .64);--ig-surface-A100: hsl(0, 0%, 100%);--ig-surface-A100-contrast: black;--ig-surface-A100: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.23), calc(var(--ig-surface-l) * 1.34);--ig-surface-A200: hsl(0, 0%, 100%);--ig-surface-A200-contrast: black;--ig-surface-A200: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.22), calc(var(--ig-surface-l) * 1.16);--ig-surface-A400: hsl(0, 0%, 91%);--ig-surface-A400-contrast: black;--ig-surface-A400: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.23), calc(var(--ig-surface-l) * .91);--ig-surface-A700: hsl(0, 0%, 65%);--ig-surface-A700-contrast: black;--ig-surface-A700: var(--ig-surface-h), calc(var(--ig-surface-s) * 1.23), calc(var(--ig-surface-l) * .65);--ig-info-50: hsl(209.07, 100%, 80.97%);--ig-info-50-contrast: black;--ig-info-50: var(--ig-info-h), calc(var(--ig-info-s) * 1.23), calc(var(--ig-info-l) * 1.78);--ig-info-100: hsl(209.07, 66.9%, 75.51%);--ig-info-100-contrast: black;--ig-info-100: var(--ig-info-h), calc(var(--ig-info-s) * .8), calc(var(--ig-info-l) * 1.66);--ig-info-200: hsl(209.07, 53.52%, 65.05%);--ig-info-200-contrast: black;--ig-info-200: var(--ig-info-h), calc(var(--ig-info-s) * .64), calc(var(--ig-info-l) * 1.43);--ig-info-300: hsl(209.07, 61.04%, 54.13%);--ig-info-300-contrast: black;--ig-info-300: var(--ig-info-h), calc(var(--ig-info-s) * .73), calc(var(--ig-info-l) * 1.19);--ig-info-400: hsl(209.07, 73.17%, 49.13%);--ig-info-400-contrast: black;--ig-info-400: var(--ig-info-h), calc(var(--ig-info-s) * .875), calc(var(--ig-info-l) * 1.08);--ig-info-h: 209deg;--ig-info-s: 84%;--ig-info-l: 45%;--ig-info-a: 1;--ig-info-500: hsl(209.07, 83.62%, 45.49%);--ig-info-500-contrast: black;--ig-info-500: var(--ig-info-h), calc(var(--ig-info-s) * 1), calc(var(--ig-info-l) * 1);--ig-info-600: hsl(209.07, 100%, 40.49%);--ig-info-600-contrast: white;--ig-info-600: var(--ig-info-h), calc(var(--ig-info-s) * 1.26), calc(var(--ig-info-l) * .89);--ig-info-700: hsl(209.07, 100%, 36.85%);--ig-info-700-contrast: white;--ig-info-700: var(--ig-info-h), calc(var(--ig-info-s) * 1.52), calc(var(--ig-info-l) * .81);--ig-info-800: hsl(209.07, 100%, 33.21%);--ig-info-800-contrast: white;--ig-info-800: var(--ig-info-h), calc(var(--ig-info-s) * 1.5), calc(var(--ig-info-l) * .73);--ig-info-900: hsl(209.07, 100%, 29.11%);--ig-info-900-contrast: white;--ig-info-900: var(--ig-info-h), calc(var(--ig-info-s) * 1.34), calc(var(--ig-info-l) * .64);--ig-info-A100: hsl(209.07, 100%, 60.96%);--ig-info-A100-contrast: black;--ig-info-A100: var(--ig-info-h), calc(var(--ig-info-s) * 1.23), calc(var(--ig-info-l) * 1.34);--ig-info-A200: hsl(209.07, 100%, 52.77%);--ig-info-A200-contrast: black;--ig-info-A200: var(--ig-info-h), calc(var(--ig-info-s) * 1.22), calc(var(--ig-info-l) * 1.16);--ig-info-A400: hsl(209.07, 100%, 41.4%);--ig-info-A400-contrast: white;--ig-info-A400: var(--ig-info-h), calc(var(--ig-info-s) * 1.23), calc(var(--ig-info-l) * .91);--ig-info-A700: hsl(209.07, 100%, 29.57%);--ig-info-A700-contrast: white;--ig-info-A700: var(--ig-info-h), calc(var(--ig-info-s) * 1.23), calc(var(--ig-info-l) * .65);--ig-success-50: hsl(131.32, 52.57%, 91.44%);--ig-success-50-contrast: black;--ig-success-50: var(--ig-success-h), calc(var(--ig-success-s) * 1.23), calc(var(--ig-success-l) * 1.78);--ig-success-100: hsl(131.32, 34.19%, 85.28%);--ig-success-100-contrast: black;--ig-success-100: var(--ig-success-h), calc(var(--ig-success-s) * .8), calc(var(--ig-success-l) * 1.66);--ig-success-200: hsl(131.32, 27.35%, 73.46%);--ig-success-200-contrast: black;--ig-success-200: var(--ig-success-h), calc(var(--ig-success-s) * .64), calc(var(--ig-success-l) * 1.43);--ig-success-300: hsl(131.32, 31.2%, 61.13%);--ig-success-300-contrast: black;--ig-success-300: var(--ig-success-h), calc(var(--ig-success-s) * .73), calc(var(--ig-success-l) * 1.19);--ig-success-400: hsl(131.32, 37.4%, 55.48%);--ig-success-400-contrast: black;--ig-success-400: var(--ig-success-h), calc(var(--ig-success-s) * .875), calc(var(--ig-success-l) * 1.08);--ig-success-h: 131deg;--ig-success-s: 43%;--ig-success-l: 51%;--ig-success-a: 1;--ig-success-500: hsl(131.32, 42.74%, 51.37%);--ig-success-500-contrast: black;--ig-success-500: var(--ig-success-h), calc(var(--ig-success-s) * 1), calc(var(--ig-success-l) * 1);--ig-success-600: hsl(131.32, 53.85%, 45.72%);--ig-success-600-contrast: black;--ig-success-600: var(--ig-success-h), calc(var(--ig-success-s) * 1.26), calc(var(--ig-success-l) * .89);--ig-success-700: hsl(131.32, 64.97%, 41.61%);--ig-success-700-contrast: black;--ig-success-700: var(--ig-success-h), calc(var(--ig-success-s) * 1.52), calc(var(--ig-success-l) * .81);--ig-success-800: hsl(131.32, 64.11%, 37.5%);--ig-success-800-contrast: black;--ig-success-800: var(--ig-success-h), calc(var(--ig-success-s) * 1.5), calc(var(--ig-success-l) * .73);--ig-success-900: hsl(131.32, 57.27%, 32.88%);--ig-success-900-contrast: white;--ig-success-900: var(--ig-success-h), calc(var(--ig-success-s) * 1.34), calc(var(--ig-success-l) * .64);--ig-success-A100: hsl(131.32, 52.57%, 68.84%);--ig-success-A100-contrast: black;--ig-success-A100: var(--ig-success-h), calc(var(--ig-success-s) * 1.23), calc(var(--ig-success-l) * 1.34);--ig-success-A200: hsl(131.32, 52.15%, 59.59%);--ig-success-A200-contrast: black;--ig-success-A200: var(--ig-success-h), calc(var(--ig-success-s) * 1.22), calc(var(--ig-success-l) * 1.16);--ig-success-A400: hsl(131.32, 52.57%, 46.75%);--ig-success-A400-contrast: black;--ig-success-A400: var(--ig-success-h), calc(var(--ig-success-s) * 1.23), calc(var(--ig-success-l) * .91);--ig-success-A700: hsl(131.32, 52.57%, 33.39%);--ig-success-A700-contrast: white;--ig-success-A700: var(--ig-success-h), calc(var(--ig-success-s) * 1.23), calc(var(--ig-success-l) * .65);--ig-warn-50: hsl(37.07, 100%, 95.98%);--ig-warn-50-contrast: black;--ig-warn-50: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.23), calc(var(--ig-warn-l) * 1.78);--ig-warn-100: hsl(37.07, 76.6%, 89.51%);--ig-warn-100-contrast: black;--ig-warn-100: var(--ig-warn-h), calc(var(--ig-warn-s) * .8), calc(var(--ig-warn-l) * 1.66);--ig-warn-200: hsl(37.07, 61.28%, 77.11%);--ig-warn-200-contrast: black;--ig-warn-200: var(--ig-warn-h), calc(var(--ig-warn-s) * .64), calc(var(--ig-warn-l) * 1.43);--ig-warn-300: hsl(37.07, 69.89%, 64.17%);--ig-warn-300-contrast: black;--ig-warn-300: var(--ig-warn-h), calc(var(--ig-warn-s) * .73), calc(var(--ig-warn-l) * 1.19);--ig-warn-400: hsl(37.07, 83.78%, 58.24%);--ig-warn-400-contrast: black;--ig-warn-400: var(--ig-warn-h), calc(var(--ig-warn-s) * .875), calc(var(--ig-warn-l) * 1.08);--ig-warn-h: 37deg;--ig-warn-s: 96%;--ig-warn-l: 54%;--ig-warn-a: 1;--ig-warn-500: hsl(37.07, 95.74%, 53.92%);--ig-warn-500-contrast: black;--ig-warn-500: var(--ig-warn-h), calc(var(--ig-warn-s) * 1), calc(var(--ig-warn-l) * 1);--ig-warn-600: hsl(37.07, 100%, 47.99%);--ig-warn-600-contrast: black;--ig-warn-600: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.26), calc(var(--ig-warn-l) * .89);--ig-warn-700: hsl(37.07, 100%, 43.68%);--ig-warn-700-contrast: black;--ig-warn-700: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.52), calc(var(--ig-warn-l) * .81);--ig-warn-800: hsl(37.07, 100%, 39.36%);--ig-warn-800-contrast: black;--ig-warn-800: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.5), calc(var(--ig-warn-l) * .73);--ig-warn-900: hsl(37.07, 100%, 34.51%);--ig-warn-900-contrast: black;--ig-warn-900: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.34), calc(var(--ig-warn-l) * .64);--ig-warn-A100: hsl(37.07, 100%, 72.25%);--ig-warn-A100-contrast: black;--ig-warn-A100: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.23), calc(var(--ig-warn-l) * 1.34);--ig-warn-A200: hsl(37.07, 100%, 62.55%);--ig-warn-A200-contrast: black;--ig-warn-A200: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.22), calc(var(--ig-warn-l) * 1.16);--ig-warn-A400: hsl(37.07, 100%, 49.07%);--ig-warn-A400-contrast: black;--ig-warn-A400: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.23), calc(var(--ig-warn-l) * .91);--ig-warn-A700: hsl(37.07, 100%, 35.05%);--ig-warn-A700-contrast: black;--ig-warn-A700: var(--ig-warn-h), calc(var(--ig-warn-s) * 1.23), calc(var(--ig-warn-l) * .65);--ig-error-50: hsl(346.02, 100%, 95.63%);--ig-error-50-contrast: black;--ig-error-50: var(--ig-error-h), calc(var(--ig-error-s) * 1.23), calc(var(--ig-error-l) * 1.78);--ig-error-100: hsl(346.02, 80%, 89.18%);--ig-error-100-contrast: black;--ig-error-100: var(--ig-error-h), calc(var(--ig-error-s) * .8), calc(var(--ig-error-l) * 1.66);--ig-error-200: hsl(346.02, 64%, 76.83%);--ig-error-200-contrast: black;--ig-error-200: var(--ig-error-h), calc(var(--ig-error-s) * .64), calc(var(--ig-error-l) * 1.43);--ig-error-300: hsl(346.02, 73%, 63.93%);--ig-error-300-contrast: black;--ig-error-300: var(--ig-error-h), calc(var(--ig-error-s) * .73), calc(var(--ig-error-l) * 1.19);--ig-error-400: hsl(346.02, 87.5%, 58.02%);--ig-error-400-contrast: black;--ig-error-400: var(--ig-error-h), calc(var(--ig-error-s) * .875), calc(var(--ig-error-l) * 1.08);--ig-error-h: 346deg;--ig-error-s: 100%;--ig-error-l: 54%;--ig-error-a: 1;--ig-error-500: hsl(346.02, 100%, 53.73%);--ig-error-500-contrast: black;--ig-error-500: var(--ig-error-h), calc(var(--ig-error-s) * 1), calc(var(--ig-error-l) * 1);--ig-error-600: hsl(346.02, 100%, 47.82%);--ig-error-600-contrast: black;--ig-error-600: var(--ig-error-h), calc(var(--ig-error-s) * 1.26), calc(var(--ig-error-l) * .89);--ig-error-700: hsl(346.02, 100%, 43.52%);--ig-error-700-contrast: white;--ig-error-700: var(--ig-error-h), calc(var(--ig-error-s) * 1.52), calc(var(--ig-error-l) * .81);--ig-error-800: hsl(346.02, 100%, 39.22%);--ig-error-800-contrast: white;--ig-error-800: var(--ig-error-h), calc(var(--ig-error-s) * 1.5), calc(var(--ig-error-l) * .73);--ig-error-900: hsl(346.02, 100%, 34.38%);--ig-error-900-contrast: white;--ig-error-900: var(--ig-error-h), calc(var(--ig-error-s) * 1.34), calc(var(--ig-error-l) * .64);--ig-error-A100: hsl(346.02, 100%, 71.99%);--ig-error-A100-contrast: black;--ig-error-A100: var(--ig-error-h), calc(var(--ig-error-s) * 1.23), calc(var(--ig-error-l) * 1.34);--ig-error-A200: hsl(346.02, 100%, 62.32%);--ig-error-A200-contrast: black;--ig-error-A200: var(--ig-error-h), calc(var(--ig-error-s) * 1.22), calc(var(--ig-error-l) * 1.16);--ig-error-A400: hsl(346.02, 100%, 48.89%);--ig-error-A400-contrast: black;--ig-error-A400: var(--ig-error-h), calc(var(--ig-error-s) * 1.23), calc(var(--ig-error-l) * .91);--ig-error-A700: hsl(346.02, 100%, 34.92%);--ig-error-A700-contrast: white;--ig-error-A700: var(--ig-error-h), calc(var(--ig-error-s) * 1.23), calc(var(--ig-error-l) * .65)}:root{--ig-elevation-0: none;--ig-elevation-1: 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 3px) 0 rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 1px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 2px) calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * -1px) rgba(0, 0, 0, .08);--ig-elevation-2: 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 5px) 0 rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 2px) calc(var(--ig-elevation-factor, 1) * 2px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * -2px) rgba(0, 0, 0, .08);--ig-elevation-3: 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 8px) 0 rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 4px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * -2px) rgba(0, 0, 0, .08);--ig-elevation-4: 0 calc(var(--ig-elevation-factor, 1) * 2px) calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * -1px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * 5px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 10px) 0 rgba(0, 0, 0, .08);--ig-elevation-5: 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * -1px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 8px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 14px) 0 rgba(0, 0, 0, .08);--ig-elevation-6: 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * -1px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 10px) 0 rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 1px) calc(var(--ig-elevation-factor, 1) * 18px) 0 rgba(0, 0, 0, .08);--ig-elevation-7: 0 calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * -2px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 2px) calc(var(--ig-elevation-factor, 1) * 16px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .08);--ig-elevation-8: 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * -3px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .08);--ig-elevation-9: 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * -3px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 12px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 3px) calc(var(--ig-elevation-factor, 1) * 16px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .08);--ig-elevation-10: 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * -3px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * 18px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .08);--ig-elevation-11: 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * -4px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * 15px) calc(var(--ig-elevation-factor, 1) * 1px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 4px) calc(var(--ig-elevation-factor, 1) * 20px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .08);--ig-elevation-12: 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * -4px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 12px) calc(var(--ig-elevation-factor, 1) * 17px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 22px) calc(var(--ig-elevation-factor, 1) * 4px) rgba(0, 0, 0, .08);--ig-elevation-13: 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * -4px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 13px) calc(var(--ig-elevation-factor, 1) * 19px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 24px) calc(var(--ig-elevation-factor, 1) * 4px) rgba(0, 0, 0, .08);--ig-elevation-14: 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * -4px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * 21px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 5px) calc(var(--ig-elevation-factor, 1) * 26px) calc(var(--ig-elevation-factor, 1) * 4px) rgba(0, 0, 0, .08);--ig-elevation-15: 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * -5px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 15px) calc(var(--ig-elevation-factor, 1) * 22px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 28px) calc(var(--ig-elevation-factor, 1) * 5px) rgba(0, 0, 0, .08);--ig-elevation-16: 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * -5px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 16px) calc(var(--ig-elevation-factor, 1) * 24px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 30px) calc(var(--ig-elevation-factor, 1) * 5px) rgba(0, 0, 0, .08);--ig-elevation-17: 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * -5px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 17px) calc(var(--ig-elevation-factor, 1) * 26px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 6px) calc(var(--ig-elevation-factor, 1) * 32px) calc(var(--ig-elevation-factor, 1) * 5px) rgba(0, 0, 0, .08);--ig-elevation-18: 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * -5px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 18px) calc(var(--ig-elevation-factor, 1) * 28px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 34px) calc(var(--ig-elevation-factor, 1) * 6px) rgba(0, 0, 0, .08);--ig-elevation-19: 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 12px) calc(var(--ig-elevation-factor, 1) * -6px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 19px) calc(var(--ig-elevation-factor, 1) * 29px) calc(var(--ig-elevation-factor, 1) * 2px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 7px) calc(var(--ig-elevation-factor, 1) * 36px) calc(var(--ig-elevation-factor, 1) * 6px) rgba(0, 0, 0, .08);--ig-elevation-20: 0 calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 13px) calc(var(--ig-elevation-factor, 1) * -6px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 20px) calc(var(--ig-elevation-factor, 1) * 31px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 38px) calc(var(--ig-elevation-factor, 1) * 7px) rgba(0, 0, 0, .08);--ig-elevation-21: 0 calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 13px) calc(var(--ig-elevation-factor, 1) * -6px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 21px) calc(var(--ig-elevation-factor, 1) * 33px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 40px) calc(var(--ig-elevation-factor, 1) * 7px) rgba(0, 0, 0, .08);--ig-elevation-22: 0 calc(var(--ig-elevation-factor, 1) * 10px) calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * -6px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 22px) calc(var(--ig-elevation-factor, 1) * 35px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 8px) calc(var(--ig-elevation-factor, 1) * 42px) calc(var(--ig-elevation-factor, 1) * 7px) rgba(0, 0, 0, .08);--ig-elevation-23: 0 calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * 14px) calc(var(--ig-elevation-factor, 1) * -7px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 23px) calc(var(--ig-elevation-factor, 1) * 36px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 44px) calc(var(--ig-elevation-factor, 1) * 8px) rgba(0, 0, 0, .08);--ig-elevation-24: 0 calc(var(--ig-elevation-factor, 1) * 11px) calc(var(--ig-elevation-factor, 1) * 15px) calc(var(--ig-elevation-factor, 1) * -7px) rgba(0, 0, 0, .26), 0 calc(var(--ig-elevation-factor, 1) * 24px) calc(var(--ig-elevation-factor, 1) * 38px) calc(var(--ig-elevation-factor, 1) * 3px) rgba(0, 0, 0, .12), 0 calc(var(--ig-elevation-factor, 1) * 9px) calc(var(--ig-elevation-factor, 1) * 46px) calc(var(--ig-elevation-factor, 1) * 8px) rgba(0, 0, 0, .08)}[igxRipple]{--color: var(--igx-ripple-color, hsla(var(--ig-gray-800), .7))}.igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-ripple{overflow:hidden}igx-avatar{--background: var(--igx-avatar-background, hsla(var(--ig-gray-400), .54));--color: var(--igx-avatar-color, hsla(var(--ig-gray-800), .96));--border-radius: var(--igx-avatar-border-radius, .5rem);--size: var(--igx-avatar-size, max(var(--is-large, 1) * max(5.5rem, -1 * 5.5rem), var(--is-medium, 1) * max(4rem, -1 * 4rem), var(--is-small, 1) * max(2.5rem, -1 * 2.5rem)));--default-size: var(--igx-avatar-default-size, 1)}.igx-avatar{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-small));position:relative;display:inline-flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;color:var(--color);background:var(--background);vertical-align:middle;outline-style:none;flex-shrink:0;width:var(--size);height:var(--size)}.igx-avatar igx-icon{--component-size: 3}.igx-avatar:after{box-shadow:none;transition:box-shadow .15s cubic-bezier(.455,.03,.515,.955)}.igx-avatar__image{width:100%;height:100%;border-radius:inherit;background-size:cover;background-repeat:no-repeat;background-position:center}.igx-avatar--circle{border-radius:calc(var(--size)/2)}.igx-avatar--rounded{border-radius:var(--border-radius)}.igx-avatar--initials{text-transform:uppercase;font-size:calc(var(--size)/2);line-height:calc(var(--size)/2)}igx-action-strip{--actions-background: var(--igx-action-strip-actions-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--background: var(--igx-action-strip-background, hsla(var(--ig-gray-100), .38));--icon-color: var(--igx-action-strip-icon-color, "currentColor");--delete-action: var(--igx-action-strip-delete-action, hsla(var(--ig-error-500), var(--ig-error-a)));--actions-border-radius: var(--igx-action-strip-actions-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.5rem), 1.5rem))}.igx-action-strip{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--action-strip-size: var(--component-size);display:flex;align-items:center;justify-content:flex-end;position:absolute;width:100%;height:100%;pointer-events:none;top:0;inset-inline-start:0;background:var(--background);color:inherit;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;z-index:9999}.igx-action-strip [igxButton=icon]{--component-size: var(--action-strip-size) !important;width:max(var(--is-large, 1)*max(2.25rem,-1 * 2.25rem),var(--is-medium, 1)*max(1.75rem,-1 * 1.75rem),var(--is-small, 1)*max(1.75rem,-1 * 1.75rem));height:max(var(--is-large, 1)*max(2.25rem,-1 * 2.25rem),var(--is-medium, 1)*max(1.75rem,-1 * 1.75rem),var(--is-small, 1)*max(1.75rem,-1 * 1.75rem))}.igx-action-strip [igxButton=icon] igx-icon{--component-size: var(--action-strip-size);width:var(--ig-icon-size, max(var(--is-large, 1) * max(1.125rem, -1 * 1.125rem), var(--is-medium, 1) * max(.875rem, -1 * .875rem), var(--is-small, 1) * max(.875rem, -1 * .875rem)));height:var(--ig-icon-size, max(var(--is-large, 1) * max(1.125rem, -1 * 1.125rem), var(--is-medium, 1) * max(.875rem, -1 * .875rem), var(--is-small, 1) * max(.875rem, -1 * .875rem)));font-size:var(--ig-icon-size, max(var(--is-large, 1) * max(1.125rem, -1 * 1.125rem), var(--is-medium, 1) * max(.875rem, -1 * .875rem), var(--is-small, 1) * max(.875rem, -1 * .875rem)))}.igx-action-strip__editing-actions,.igx-action-strip__pinning-actions{display:flex;align-items:center;justify-content:center}.igx-action-strip__menu-item [igxLabel],.igx-action-strip__menu-item--danger [igxLabel]{cursor:pointer}.igx-action-strip__menu-item igx-icon,.igx-action-strip__menu-item--danger igx-icon{--component-size: var(--action-strip-size);width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-action-strip__menu-item.igx-drop-down__item igx-icon+[igxLabel],.igx-action-strip__menu-item--danger.igx-drop-down__item igx-icon+[igxLabel]{margin-inline-start:max(var(--is-large, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.625rem,-1 * .625rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-action-strip__menu-item--danger,.igx-action-strip__menu-item--danger:hover{color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-action-strip__menu-button{display:flex;align-items:center}.igx-action-strip__actions{display:inline-flex;align-items:center;justify-content:center;pointer-events:all;position:relative;color:var(--icon-color);border-radius:var(--actions-border-radius);background:var(--actions-background);max-height:2.25rem}.igx-action-strip__actions:last-child{margin-inline-end:0}.igx-action-strip__actions igx-icon{color:var(--icon-color)}.igx-action-strip__actions [igxButton=icon] igx-icon{color:var(--icon-color)}.igx-action-strip__editing-actions>[igxButton]{margin-inline-start:.25rem}.igx-action-strip__editing-actions>[igxButton]:first-of-type{margin-inline-start:0}.igx-action-strip__delete igx-icon{color:var(--delete-action)}igx-badge{--elevation: var(--igx-badge-elevation, var(--ig-elevation-1));--icon-color: var(--igx-badge-icon-color, var(--ig-primary-500-contrast));--text-color: var(--igx-badge-text-color, var(--ig-primary-500-contrast));--border-color: var(--igx-badge-border-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--background-color: var(--igx-badge-background-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--border-width: var(--igx-badge-border-width, 0);--border-radius: var(--igx-badge-border-radius, 0);--shadow: var(--igx-badge-shadow, var(--ig-elevation-1))}.igx-badge{--size: 1.375rem;--_badge-size: var(--size);display:flex;justify-content:center;align-items:center;min-width:var(--_badge-size);min-height:var(--_badge-size);font-size:calc(var(--_badge-size)/2);font-weight:400;color:var(--text-color);line-height:1;background:var(--background-color);border-radius:calc(var(--size)/2);box-shadow:var(--shadow);border-width:var(--border-width);border-color:var(--border-color);border-style:solid;overflow:hidden}.igx-badge igx-icon{--size: var(--igx-icon-size, calc(var(--_badge-size) / 2));display:inline-flex;justify-content:center;align-items:center;font-weight:400;color:var(--icon-color)}.igx-badge--square{border-radius:var(--border-radius)}.igx-badge__value{white-space:nowrap;padding:.25rem}.igx-badge--success{background:hsla(var(--ig-success-500),var(--ig-success-a))}.igx-badge--info{background:hsla(var(--ig-info-500),var(--ig-info-a))}.igx-badge--warning{background:hsla(var(--ig-warn-500),var(--ig-warn-a))}.igx-badge--error{background:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-badge--hidden{visibility:hidden}igx-bottom-nav{--elevation: var(--igx-bottom-nav-elevation, var(--ig-elevation-8));--background: var(--igx-bottom-nav-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--idle-item-color: var(--igx-bottom-nav-idle-item-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--active-item-color: var(--igx-bottom-nav-active-item-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--shadow: var(--igx-bottom-nav-shadow, var(--ig-elevation-8))}.igx-bottom-nav__panel{display:block}.igx-bottom-nav__panel:focus{outline-style:none}.igx-bottom-nav__panel:empty{display:none}.igx-bottom-nav__menu{display:flex;position:fixed;justify-content:center;align-items:center;inset-inline-start:0;inset-inline-end:0;height:3.5rem;background:var(--background);overflow:hidden;z-index:8}.igx-bottom-nav__menu--top{inset-block-start:0;inset-block-end:inherit;box-shadow:var(--shadow)}.igx-bottom-nav__menu--bottom{inset-block-start:inherit;inset-block-end:0;box-shadow:var(--shadow)}.igx-bottom-nav__menu-item,.igx-bottom-nav__menu-item--selected,.igx-bottom-nav__menu-item--disabled{display:flex;position:relative;flex-flow:column nowrap;flex:1;align-items:center;justify-content:center;min-width:5rem;max-width:10.5rem;height:100%;color:var(--idle-item-color);cursor:pointer;-webkit-user-select:none;user-select:none;overflow:hidden;padding:0 .75rem;-webkit-tap-highlight-color:rgba(0,0,0,0);outline-style:none}.igx-bottom-nav__menu-item igx-icon,.igx-bottom-nav__menu-item--selected igx-icon,.igx-bottom-nav__menu-item--disabled igx-icon{--component-size: 3}.igx-bottom-nav__menu-item--disabled{opacity:.5;cursor:default;pointer-events:none}.igx-bottom-nav__menu-item--selected{color:var(--active-item-color);transition:color .15s cubic-bezier(.455,.03,.515,.955),opacity .25s cubic-bezier(.455,.03,.515,.955)}.igx-bottom-nav__menu-item [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item--selected [igxBottomNavHeaderLabel],.igx-bottom-nav__menu-item--disabled [igxBottomNavHeaderLabel]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-block-start:.25rem;max-width:100%;text-align:center;transform:translateZ(0);transition:transform .15s cubic-bezier(.455,.03,.515,.955);z-index:1}.igx-bottom-nav__menu-item [igxBottomNavHeaderIcon],.igx-bottom-nav__menu-item--selected [igxBottomNavHeaderIcon],.igx-bottom-nav__menu-item--disabled [igxBottomNavHeaderIcon]{display:flex;position:relative;justify-content:center;height:1.5rem;padding:0 .5rem;transform:translateZ(0);transition:transform .15s cubic-bezier(.455,.03,.515,.955);z-index:1}.igx-bottom-nav__menu-item--selected [igxBottomNavHeaderIcon]{transform:translateY(-2px)}.igx-bottom-nav__menu-item--selected [igxBottomNavHeaderLabel]{transform:translateY(-2px) scale(1.166667)}[igxButton=flat],.igx-button--flat{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, transparent);--hover-border-color: var(--igx-button-hover-border-color, transparent);--focus-border-color: var(--igx-button-focus-border-color, transparent);--focus-visible-border-color: var(--igx-button-focus-visible-border-color, transparent);--active-border-color: var(--igx-button-active-border-color, transparent);--disabled-border-color: var(--igx-button-disabled-border-color, transparent);--disabled-background: var(--igx-button-disabled-background, transparent);--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(2.25rem, -1 * 2.25rem), var(--is-medium, 1) * max(1.875rem, -1 * 1.875rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--default-size: var(--igx-button-default-size, 1);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-0));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-0));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-0));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-0));--background: var(--igx-button-background, transparent);--foreground: var(--igx-button-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-background: var(--igx-button-hover-background, hsla(var(--ig-secondary-500), .05));--hover-foreground: var(--igx-button-hover-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-secondary-400), .12));--focus-foreground: var(--igx-button-focus-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-secondary-400), .12));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--active-background: var(--igx-button-active-background, hsla(var(--ig-secondary-400), .12));--active-foreground: var(--igx-button-active-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--border-radius: var(--igx-button-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-0));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-0));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-0));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-0))}[igxButton=outlined],.igx-button--outlined{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-border-color: var(--igx-button-hover-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-border-color: var(--igx-button-focus-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-visible-border-color: var(--igx-button-focus-visible-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--active-border-color: var(--igx-button-active-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--disabled-border-color: var(--igx-button-disabled-border-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--disabled-background: var(--igx-button-disabled-background, transparent);--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(2.25rem, -1 * 2.25rem), var(--is-medium, 1) * max(1.875rem, -1 * 1.875rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--default-size: var(--igx-button-default-size, 1);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-0));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-0));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-0));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-0));--background: var(--igx-button-background, transparent);--foreground: var(--igx-button-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-background: var(--igx-button-hover-background, hsla(var(--ig-secondary-500), .05));--hover-foreground: var(--igx-button-hover-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-secondary-400), .12));--focus-foreground: var(--igx-button-focus-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-secondary-400), .12));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--active-background: var(--igx-button-active-background, hsla(var(--ig-secondary-400), .12));--active-foreground: var(--igx-button-active-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--border-radius: var(--igx-button-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-0));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-0));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-0));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-0))}[igxButton=raised],.igx-button--raised{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, transparent);--hover-border-color: var(--igx-button-hover-border-color, transparent);--focus-border-color: var(--igx-button-focus-border-color, transparent);--focus-visible-border-color: var(--igx-button-focus-visible-border-color, transparent);--active-border-color: var(--igx-button-active-border-color, transparent);--disabled-border-color: var(--igx-button-disabled-border-color, transparent);--disabled-background: var(--igx-button-disabled-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(2.25rem, -1 * 2.25rem), var(--is-medium, 1) * max(1.875rem, -1 * 1.875rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--default-size: var(--igx-button-default-size, 1);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-2));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-4));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-8));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-8));--background: var(--igx-button-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--foreground: var(--igx-button-foreground, var(--ig-secondary-500-contrast));--hover-background: var(--igx-button-hover-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--hover-foreground: var(--igx-button-hover-foreground, var(--ig-secondary-300-contrast));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--focus-foreground: var(--igx-button-focus-foreground, var(--ig-secondary-300-contrast));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, var(--ig-secondary-300-contrast));--active-background: var(--igx-button-active-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--active-foreground: var(--igx-button-active-foreground, var(--ig-secondary-300-contrast));--border-radius: var(--igx-button-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-2));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-4));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-8));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-8))}[igxButton=fab],.igx-button--fab{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, transparent);--hover-border-color: var(--igx-button-hover-border-color, transparent);--focus-border-color: var(--igx-button-focus-border-color, transparent);--focus-visible-border-color: var(--igx-button-focus-visible-border-color, transparent);--active-border-color: var(--igx-button-active-border-color, transparent);--disabled-border-color: var(--igx-button-disabled-border-color, transparent);--disabled-background: var(--igx-button-disabled-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(3rem, -1 * 3rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)));--default-size: var(--igx-button-default-size, 1);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-6));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-12));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-12));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-12));--background: var(--igx-button-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--foreground: var(--igx-button-foreground, var(--ig-secondary-500-contrast));--hover-background: var(--igx-button-hover-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--hover-foreground: var(--igx-button-hover-foreground, var(--ig-secondary-300-contrast));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--focus-foreground: var(--igx-button-focus-foreground, var(--ig-secondary-300-contrast));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, var(--ig-secondary-300-contrast));--active-background: var(--igx-button-active-background, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--active-foreground: var(--igx-button-active-foreground, var(--ig-secondary-300-contrast));--border-radius: var(--igx-button-border-radius, clamp(.75rem, calc(var(--ig-radius-factor, 1) * 1.75rem), 1.75rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-6));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-12));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-12));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-12))}[igxButton=icon],.igx-button--icon{--shadow-color: var(--igx-button-shadow-color, transparent);--border-color: var(--igx-button-border-color, transparent);--hover-border-color: var(--igx-button-hover-border-color, transparent);--focus-border-color: var(--igx-button-focus-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--focus-visible-border-color: var(--igx-button-focus-visible-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--active-border-color: var(--igx-button-active-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-border-color: var(--igx-button-disabled-border-color, transparent);--disabled-background: var(--igx-button-disabled-background, transparent);--disabled-foreground: var(--igx-button-disabled-foreground, hsla(var(--ig-gray-500), var(--ig-gray-a)));--size: var(--igx-button-size, max(var(--is-large, 1) * max(2.25rem, -1 * 2.25rem), var(--is-medium, 1) * max(1.875rem, -1 * 1.875rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--default-size: var(--igx-button-default-size, 2);--resting-elevation: var(--igx-button-resting-elevation, var(--ig-elevation-0));--hover-elevation: var(--igx-button-hover-elevation, var(--ig-elevation-0));--focus-elevation: var(--igx-button-focus-elevation, var(--ig-elevation-0));--active-elevation: var(--igx-button-active-elevation, var(--ig-elevation-0));--background: var(--igx-button-background, transparent);--foreground: var(--igx-button-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--hover-background: var(--igx-button-hover-background, transparent);--hover-foreground: var(--igx-button-hover-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--focus-background: var(--igx-button-focus-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--focus-foreground: var(--igx-button-focus-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--focus-visible-background: var(--igx-button-focus-visible-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--focus-visible-foreground: var(--igx-button-focus-visible-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--active-background: var(--igx-button-active-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--active-foreground: var(--igx-button-active-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--border-radius: var(--igx-button-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.25rem), 1.25rem));--resting-shadow: var(--igx-button-resting-shadow, var(--ig-elevation-0));--hover-shadow: var(--igx-button-hover-shadow, var(--ig-elevation-0));--focus-shadow: var(--igx-button-focus-shadow, var(--ig-elevation-0));--active-shadow: var(--igx-button-active-shadow, var(--ig-elevation-0))}.igx-button{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:5.5rem;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.4375rem,-1 * .4375rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.0625rem,-1 * .0625rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));min-height:var(--size);border:.0625rem solid var(--border-color);cursor:pointer;-webkit-user-select:none;user-select:none;outline-style:none;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden;white-space:nowrap;transition:color .1s ease-in-out,background-color .1s ease-in-out,border-color .1s ease-in-out,box-shadow .1s ease-in-out;gap:max(var(--is-large, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-button igx-icon{--component-size: var(--ig-size, var(--ig-size-large));display:flex;justify-content:center;width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-button--flat{background:var(--background);color:var(--foreground);border-radius:var(--border-radius)}.igx-button--flat:hover{background:var(--hover-background);color:var(--hover-foreground);border-color:var(--hover-border-color)}.igx-button--flat:focus{background:var(--focus-background);color:var(--focus-foreground);box-shadow:0 0 0 .1875rem var(--shadow-color);border-color:var(--focus-border-color)}.igx-button--flat:active{background:var(--active-background);color:var(--active-foreground);box-shadow:0 0 0 .1875rem var(--shadow-color);border-color:var(--active-border-color)}.igx-button--flat:focus-visible{background:var(--focus-visible-background);color:var(--focus-visible-foreground);border-color:var(--focus-visible-border-color)}.igx-button--outlined{background:var(--background);color:var(--foreground);border-color:var(--border-color);border-radius:var(--border-radius);padding-block:max(var(--is-large, 1)*max(.4375rem,-1 * .4375rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.0625rem,-1 * .0625rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-button--outlined:hover{background:var(--hover-background);color:var(--hover-foreground);border-color:var(--hover-border-color)}.igx-button--outlined:focus{background:var(--focus-background);color:var(--focus-foreground);border-color:var(--focus-border-color)}.igx-button--outlined:active{background:var(--active-background);color:var(--active-foreground);border-color:var(--active-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color)}.igx-button--outlined:focus-visible{background:var(--focus-visible-background);color:var(--focus-visible-foreground);border-color:var(--focus-visible-border-color)}.igx-button--outlined:focus-visible:hover{background:var(--hover-background);color:var(--hover-foreground);border-color:var(--hover-border-color)}.igx-button--outlined:focus-visible:active{background:var(--active-background);color:var(--active-foreground);border-color:var(--active-border-color)}.igx-button--raised{color:var(--foreground);background:var(--background);box-shadow:var(--resting-shadow);border-radius:var(--border-radius)}.igx-button--raised:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color);box-shadow:var(--hover-shadow)}.igx-button--raised:focus{color:var(--focus-foreground);background:var(--focus-background);border-color:var(--focus-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color),var(--focus-shadow)}.igx-button--raised:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color),var(--active-shadow)}.igx-button--raised:focus-visible{background:var(--focus-visible-background);color:var(--focus-visible-foreground);border-color:var(--focus-visible-border-color)}.igx-button--raised:focus-visible:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color)}.igx-button--raised:focus-visible:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color)}.igx-button--fab,.igx-button--icon{display:inline-flex;position:relative;flex-direction:row;justify-content:center;align-items:center;outline:none;cursor:pointer;transition:color .1s ease-in-out,background-color .1s ease-in-out,border-color .1s ease-in-out,box-shadow .1s ease-in-out;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden;filter:blur(0)}.igx-button--fab{padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(0,-1 * 0)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.625rem,-1 * .625rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));min-width:var(--size);min-height:var(--size);line-height:unset;white-space:nowrap;color:var(--foreground);background:var(--background);border-color:var(--border-color);box-shadow:var(--resting-shadow);border-radius:var(--border-radius)}.igx-button--fab:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color);box-shadow:var(--resting-shadow)}.igx-button--fab:focus{color:var(--focus-foreground);background:var(--focus-background);border-color:var(--focus-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color),var(--focus-shadow)}.igx-button--fab:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color);box-shadow:0 0 0 .1875rem var(--shadow-color),var(--active-shadow)}.igx-button--fab:focus-visible{background:var(--focus-visible-background);color:var(--focus-visible-foreground);border-color:var(--focus-visible-border-color)}.igx-button--fab:focus-visible:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color)}.igx-button--fab:focus-visible:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color)}.igx-button--icon{width:var(--size);height:var(--size);min-width:unset;min-height:unset;font-size:1rem;padding:0;color:var(--foreground);background:var(--background);border-radius:var(--border-radius);border-color:var(--border-color)}.igx-button--icon:hover{transition:color .1s ease-in-out,background-color .1s ease-in-out,border-color .1s ease-in-out,box-shadow .1s ease-in-out;color:var(--hover-foreground);background:var(--hover-background);border-color:var(--hover-border-color)}.igx-button--icon:focus{color:var(--focus-foreground);background:var(--focus-background);border-color:var(--focus-border-color)}.igx-button--icon:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--active-border-color)}.igx-button--icon:focus-visible{color:var(--focus-visible-foreground);background:var(--focus-visible-background);border-color:var(--focus-visible-border-color)}.igx-button--icon:focus-visible:hover{color:var(--hover-foreground);background:var(--hover-background);border-color:var(--focus-visible-border-color)}.igx-button--icon:focus-visible:active{color:var(--active-foreground);background:var(--active-background);border-color:var(--focus-visible-border-color)}.igx-button--icon:focus,.igx-button--icon:active{box-shadow:0 0 0 .1875rem var(--shadow-color),var(--focus-shadow)}.igx-button--disabled{background:var(--disabled-background);color:var(--disabled-foreground);border-color:var(--disabled-border-color);pointer-events:none;box-shadow:none}.igx-button--disabled:focus{box-shadow:none}igx-buttongroup{--elevation: var(--igx-button-group-elevation, var(--ig-elevation-2));--idle-shadow-color: var(--igx-button-group-idle-shadow-color, transparent);--item-background: var(--igx-button-group-item-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--item-border-color: var(--igx-button-group-item-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--item-text-color: var(--igx-button-group-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-hover-text-color: var(--igx-button-group-item-hover-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--item-hover-background: var(--igx-button-group-item-hover-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--item-selected-text-color: var(--igx-button-group-item-selected-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--item-selected-background: var(--igx-button-group-item-selected-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--item-selected-hover-background: var(--igx-button-group-item-selected-hover-background, hsla(var(--ig-gray-500), .8));--item-selected-border-color: var(--igx-button-group-item-selected-border-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-text-color: var(--igx-button-group-disabled-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-background-color: var(--igx-button-group-disabled-background-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--item-disabled-border: var(--igx-button-group-item-disabled-border, hsla(var(--ig-gray-400), var(--ig-gray-a)));--border-radius: var(--igx-button-group-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--default-size: var(--igx-button-group-default-size, 2);--border: var(--igx-button-group-border, none);--shadow: var(--igx-button-group-shadow, var(--ig-elevation-2))}.igx-button-group{display:flex;box-shadow:var(--shadow);border-radius:var(--border-radius)}.igx-button-group button{margin-top:0;margin-inline-end:0;margin-bottom:0}.igx-button-group__item{border:.0625rem solid var(--item-border-color);color:var(--item-text-color);background:var(--item-background);min-width:1.5rem;display:flex;flex:1 0 0%;justify-content:center;align-items:center;text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;z-index:0}[igxButton].igx-button-group__item{border-radius:0;border-color:var(--item-border-color)}.igx-button-group__item:not(:nth-child(1)){margin-inline-start:-.0625rem}.igx-button-group__item:first-of-type{border-start-start-radius:inherit;border-end-start-radius:inherit}.igx-button-group__item:last-of-type{border-start-end-radius:inherit;border-end-end-radius:inherit}[igxButton][disabled=true].igx-button-group__item{color:var(--disabled-text-color);background:var(--disabled-background-color);border-color:var(--item-disabled-border)}.igx-button-group__item:hover,.igx-button-group__item:focus{color:var(--item-hover-text-color);background:var(--item-hover-background)}.igx-button-group--vertical .igx-button-group__item:not(:nth-child(1)){margin-top:-.0625rem;margin-inline-start:0}.igx-button-group--vertical .igx-button-group__item:first-of-type{border-start-start-radius:inherit;border-start-end-radius:inherit;border-end-start-radius:0;border-end-end-radius:0}.igx-button-group--vertical .igx-button-group__item:last-of-type{border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:inherit;border-end-end-radius:inherit}.igx-button-group__item--selected{color:var(--item-selected-text-color);background:var(--item-selected-background);border-color:var(--item-selected-border-color);position:relative;z-index:1}.igx-button-group__item--selected:hover,.igx-button-group__item--selected:focus{color:var(--item-selected-text-color);background:var(--item-selected-hover-background)}.igx-button-group__item--selected:focus{z-index:3}[igxButton].igx-button-group__item--selected{border-color:var(--item-selected-border-color)}[igxButton][disabled=true].igx-button-group__item--selected{position:relative}[igxButton][disabled=true].igx-button-group__item--selected:before{position:absolute;content:"";top:0;bottom:0;inset-inline-end:0;inset-inline-start:0;background:hsla(var(--ig-gray-500),.12)}.igx-button-group--vertical{flex-flow:column}.igx-button-group__item-content{display:flex;align-items:center;flex-flow:row nowrap;min-width:0}.igx-button-group__item-content *~*{margin-inline-start:.625rem}.igx-button-group__button-text{width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}igx-banner,.igx-banner{--banner-background: var(--igx-banner-banner-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--banner-message-color: var(--igx-banner-banner-message-color, var(--ig-surface-500-contrast));--banner-border-color: var(--igx-banner-banner-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--banner-illustration-color: var(--igx-banner-banner-illustration-color, var(--ig-surface-500-contrast))}.igx-banner-host igx-expansion-panel-body{padding:0}.igx-banner__actions,.igx-banner__actions>igx-banner-actions,.igx-banner__illustration,.igx-banner__message{display:flex}.igx-banner__illustration,.igx-banner__message{align-items:center}.igx-banner{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.5rem;padding-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline-end:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));background:var(--banner-background)}.igx-banner__illustration{justify-content:center;width:2.5rem;min-width:2.5rem;height:2.5rem;color:var(--banner-illustration-color)}.igx-banner__border-top{border-block-start:.0625rem solid var(--banner-border-color);inset-block-start:-.0625rem}.igx-banner__border-bottom{border-block-end:.0625rem solid var(--banner-border-color);inset-block-start:0}.igx-banner__text{color:var(--banner-message-color);flex:1 0 0%}.igx-banner__text>*{margin-block-start:0!important}.igx-banner__message{min-width:9.375rem;flex:1 0 0%;gap:1rem}.igx-banner__actions,.igx-banner__actions>igx-banner-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;align-self:flex-end;gap:.5rem;min-height:2.5rem}.igx-calendar,.igx-calendar--vertical{display:flex;flex-flow:column nowrap;width:100%;min-width:18.125rem;background:var(--content-background);outline:none;border-radius:var(--border-radius);overflow:hidden;border:0 solid var(--border-color)}.igx-calendar+.igx-calendar,.igx-calendar--vertical+.igx-calendar,.igx-calendar+.igx-calendar--vertical,.igx-calendar--vertical+.igx-calendar--vertical{margin-inline-start:1rem}.igx-calendar--vertical{flex-flow:row nowrap}.igx-calendar--vertical .igx-calendar__header{min-width:10.5rem}.igx-calendar__header{background:var(--header-background);color:var(--header-text-color);padding:1rem}.igx-calendar__header-year{margin:0;color:currentColor;opacity:.8}.igx-calendar__header-date,.igx-calendar--vertical .igx-calendar__header-date{display:flex;margin:0}.igx-calendar__header-date>span,.igx-calendar--vertical .igx-calendar__header-date>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-calendar--vertical .igx-calendar__header-date{flex-flow:column nowrap}.igx-calendar-picker{display:flex;height:3.5rem;align-items:center;padding-bottom:1rem;background:var(--picker-background-color);position:relative}.igx-calendar-picker div{text-align:center}.igx-calendar-picker:focus{outline:none}.igx-calendar-picker__dates{display:flex;justify-content:center}.igx-calendar-picker__prev,.igx-calendar-picker__next{position:absolute;display:inline-flex;justify-content:center;color:var(--picker-arrow-color);-webkit-user-select:none;user-select:none;outline:none;cursor:pointer;height:calc(100% - 1rem);align-items:center;top:0}.igx-calendar-picker__prev:focus,.igx-calendar-picker__next:focus,.igx-calendar-picker__prev:hover,.igx-calendar-picker__next:hover{color:var(--picker-arrow-hover-color)}[dir=rtl] .igx-calendar-picker__prev,[dir=rtl] .igx-calendar-picker__next{transform:scaleX(-1)}.igx-calendar-picker__prev igx-icon,.igx-calendar-picker__next igx-icon{--component-size: 3}.igx-calendar-picker__prev{inset-inline-start:0}.igx-calendar-picker__next{inset-inline-end:0}.igx-calendar-picker__date{color:var(--picker-text-color);text-align:center;outline:none;padding:0 .125rem}.igx-calendar-picker__date:hover,.igx-calendar-picker__date:focus{color:var(--picker-text-hover-color);cursor:pointer}.igx-calendar__body{flex:1 1 auto;padding-top:1rem;padding-bottom:1rem;overflow:hidden}igx-years-view,igx-month-picker,igx-months-view{color:var(--content-text-color)}.igx-calendar__label,.igx-calendar__date,.igx-calendar__year{position:relative;display:flex;justify-content:center;align-items:center;color:var(--content-text-color);outline:none;min-width:14.28%}.igx-calendar__label:first-of-type,.igx-calendar__date:first-of-type,.igx-calendar__year:first-of-type{padding-inline-start:.5rem}.igx-calendar__label:last-of-type,.igx-calendar__date:last-of-type,.igx-calendar__year:last-of-type{padding-inline-end:.5rem}.igx-calendar__label:nth-last-child(8):first-child,.igx-calendar__date:nth-last-child(8):first-child,.igx-calendar__year:nth-last-child(8):first-child,.igx-calendar__label:nth-last-child(8):first-child~*,.igx-calendar__date:nth-last-child(8):first-child~*,.igx-calendar__year:nth-last-child(8):first-child~*{min-width:12.5%!important}.igx-calendar__body-row{display:flex;justify-content:space-between;margin:.125rem 0;padding:0}.igx-calendar__body-row:first-of-type{margin-bottom:0}.igx-calendar__body-row:nth-child(2){margin-top:0}.igx-calendar__body-row:last-of-type .igx-calendar__date-content--week-number{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.igx-calendar__body-row:last-of-type .igx-calendar__date-content--week-number:before{display:none}.igx-calendar__body-row--wrap{flex-wrap:wrap}.igx-calendar__body-column{padding:0;margin:0}.igx-calendar__body-column .igx-calendar__year,.igx-calendar__body-column .igx-calendar__year--current{flex:1 0 0}.igx-calendar__date:hover .igx-calendar__date-content:after,.igx-calendar__date--weekend:hover .igx-calendar__date-content:after{background:var(--date-hover-background)}.igx-calendar__date:focus .igx-calendar__date-content:after,.igx-calendar__date--weekend:focus .igx-calendar__date-content:after{background:var(--date-focus-background)}.igx-calendar__date--selected:hover .igx-calendar__date-content{color:var(--date-selected-hover-foreground)}.igx-calendar__date--selected:hover .igx-calendar__date-content:after{background:var(--date-selected-hover-background)}.igx-calendar__date--current .igx-calendar__date-content{color:var(--date-current-text-color);font-weight:600;background:var(--date-current-bg-color)}.igx-calendar__date--current:hover .igx-calendar__date-content{color:var(--date-current-hover-foreground);background:var(--date-current-hover-background)}.igx-calendar__date--current:hover .igx-calendar__date-content:after{background:var(--date-current-hover-background)}.igx-calendar__date--current:focus .igx-calendar__date-content{color:var(--date-current-focus-foreground);background:var(--date-current-focus-background)}.igx-calendar__date--current:focus .igx-calendar__date-content:after{background:var(--date-current-focus-background)}.igx-calendar__date--selected.igx-calendar__date--current .igx-calendar__date-content{color:var(--date-selected-current-foreground);background:var(--date-selected-current-background)}.igx-calendar__date--selected.igx-calendar__date--current:hover .igx-calendar__date-content{color:var(--date-selected-current-hover-foreground)}.igx-calendar__date--selected.igx-calendar__date--current:hover .igx-calendar__date-content:after{background:var(--date-selected-current-hover-background)}.igx-calendar__date--selected.igx-calendar__date--current:focus .igx-calendar__date-content{color:var(--date-selected-current-focus-foreground)}.igx-calendar__date--selected.igx-calendar__date--current:focus .igx-calendar__date-content:after{background:var(--date-selected-current-focus-background)}.igx-calendar__date--selected:focus .igx-calendar__date-content{color:var(--date-selected-focus-foreground)}.igx-calendar__date--selected:focus .igx-calendar__date-content:after{background:var(--date-selected-focus-background)}.igx-calendar__date-content{position:relative;display:inline-flex;justify-content:center;align-items:center;width:2.5rem;min-width:2.5rem;height:2.5rem;border-radius:var(--date-border-radius);z-index:0}.igx-calendar__date-content:after{position:absolute;content:"";width:calc(100% - 4px);height:calc(100% - 4px);top:.125rem;inset-inline-start:.125rem;border-radius:inherit;z-index:-1}.igx-calendar__label{height:2.5rem;color:var(--label-color);border-radius:0}.igx-calendar__label:hover,.igx-calendar__label:focus{color:var(--label-color)}.igx-calendar__date--weekend{color:var(--weekend-text-color)}.igx-calendar__date--week-number+.igx-calendar__label,.igx-calendar__date--week-number+.igx-calendar__date,.igx-calendar__date--week-number+.igx-calendar__year{padding-inline-start:0!important}.igx-calendar__label--week-number,.igx-calendar__date-content--week-number{position:relative;color:var(--week-number-color)!important;border-radius:0;pointer-events:none}.igx-calendar__date--week-number{padding-inline-end:0!important;cursor:default}.igx-calendar__date--week-number:hover .igx-calendar__date-content--week-number,.igx-calendar__date--week-number:focus .igx-calendar__date-content--week-number{color:var(--week-number-color)!important}.igx-calendar__date-content--week-number{position:relative;background:var(--week-number-background)!important;min-width:auto}.igx-calendar__date-content--week-number:after{display:none}.igx-calendar__date-content--week-number:before{content:"";position:absolute;width:100%;height:.25rem;inset-inline-start:0;top:100%;background:var(--week-number-background)!important}.igx-calendar__label--week-number{padding-inline-end:0!important;text-align:center}.igx-calendar__label--week-number span{width:2.5rem;position:relative;background:var(--week-number-background)}.igx-calendar__label--week-number span:before,.igx-calendar__label--week-number span:after{content:"";position:absolute;width:100%;background:var(--week-number-background);inset-inline-start:0}.igx-calendar__label--week-number span:after{top:100%;height:.375rem}.igx-calendar__label--week-number span:before{bottom:100%;height:.5rem;border-top-left-radius:4px;border-top-right-radius:4px}.igx-calendar__label--week-number+.igx-calendar__label{padding-inline-start:0!important}.igx-calendar__year,.igx-calendar__year--current{margin:0;min-width:8ch;line-height:3.25rem}.igx-calendar__year:first-of-type,.igx-calendar__year--current:first-of-type{padding-inline-start:0}.igx-calendar__year:last-of-type,.igx-calendar__year--current:last-of-type{padding-inline-end:0}.igx-calendar__year--current{color:var(--year-current-text-color)}.igx-calendar__year:hover,.igx-calendar__year:focus{color:var(--year-hover-text-color)}.igx-calendar__month:hover,.igx-calendar__month:focus,.igx-calendar__month--current:hover,.igx-calendar__month--current:focus{color:var(--month-hover-text-color);outline-width:0}.igx-calendar__month:hover:after,.igx-calendar__month:focus:after,.igx-calendar__month--current:hover:after,.igx-calendar__month--current:focus:after{background:var(--month-hover-background)}.igx-calendar__month{position:relative;display:flex;margin:0 .75rem;flex:1 0 25%;justify-content:center;align-items:center;height:5.6875rem;z-index:1}.igx-calendar__month:after{position:absolute;content:"";top:50%;inset-inline-start:0;inset-inline-end:0;transform:translateY(-50%);height:3rem;background:rgba(0,0,0,0);border-radius:var(--month-border-radius);transition:background-color .15s ease-out;z-index:-1}.igx-calendar__month--current{color:var(--month-current-text-color)}.igx-calendar__month--current:hover,.igx-calendar__month--current:focus{color:var(--month-hover-current-text-color)}.igx-calendar__date--inactive{cursor:pointer;color:var(--inactive-text-color)}.igx-calendar__date--inactive.igx-calendar__date--single:hover{color:var(--inactive-text-color)}.igx-calendar__date--special .igx-calendar__date-content{background:var(--date-special-background);color:var(--date-special-text-color);font-weight:900}.igx-calendar__date--selected{position:relative;background:var(--date-selected-background)}.igx-calendar__date--selected .igx-calendar__date-content{color:var(--date-selected-text-color);background:var(--date-selected-background)}.igx-calendar__date--disabled,.igx-calendar__date--disabled.igx-calendar__date--inactive{pointer-events:none;cursor:not-allowed;color:var(--date-disabled-text-color)}.igx-calendar__date--single,.igx-calendar__date--selected.igx-calendar__date--first.igx-calendar__date--last{background:rgba(0,0,0,0)}.igx-calendar__date--single:before,.igx-calendar__date--selected.igx-calendar__date--first.igx-calendar__date--last:before,.igx-calendar__date--single:after,.igx-calendar__date--selected.igx-calendar__date--first.igx-calendar__date--last:after{background:rgba(0,0,0,0)}.igx-calendar__date--disabled.igx-calendar__date--range,.igx-calendar__date--selected.igx-calendar__date--disabled.igx-calendar__date--range{background:var(--date-disabled-background)!important}.igx-calendar__date--disabled.igx-calendar__date--range .igx-calendar__date-content{color:var(--date-disabled-text-color);background:rgba(0,0,0,0)!important}.igx-calendar__date--hidden.igx-calendar__date--disabled.igx-calendar__date--range{background:rgba(0,0,0,0)!important}.igx-calendar__date--hidden.igx-calendar__date--disabled.igx-calendar__date--range:after,.igx-calendar__date--hidden.igx-calendar__date--disabled.igx-calendar__date--range:before{background:rgba(0,0,0,0)!important}.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected .igx-calendar__date-content{color:var(--date-selected-text-color)}.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected:focus .igx-calendar__date-content,.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected:hover .igx-calendar__date-content{color:var(--date-selected-text-color)}.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected.igx-calendar__date--single .igx-calendar__date-content,.igx-calendar__date--range.igx-calendar__date--inactive.igx-calendar__date--selected.igx-calendar__date--first.igx-calendar__date--last .igx-calendar__date-content{color:var(--date-selected-text-color);background:var(--date-selected-background)!important}.igx-calendar__date--selected.igx-calendar__date--first{position:relative;background:rgba(0,0,0,0);z-index:0}.igx-calendar__date--selected.igx-calendar__date--first:after{position:absolute;content:"";width:50%;top:0;inset-inline-start:50%;bottom:0;background:var(--date-selected-background);z-index:-1}.igx-calendar__date--selected.igx-calendar__date--last{position:relative;background:rgba(0,0,0,0);z-index:0}.igx-calendar__date--selected.igx-calendar__date--last:before{position:absolute;content:"";width:50%;top:0;inset-inline-end:50%;bottom:0;background:var(--date-selected-background);z-index:-1}.igx-calendar__date--hidden .igx-calendar__date-content{visibility:hidden}.igx-calendar__aria-off-screen{position:absolute!important;border:none!important;height:1px!important;width:1px!important;inset-inline-start:0!important;top:0!important;overflow:hidden!important;padding:0!important;margin:0!important;-webkit-user-select:none;user-select:none;pointer-events:none}.igx-calendar__aria-off-screen:focus{outline:none}igx-card{--resting-elevation: var(--igx-card-resting-elevation, var(--ig-elevation-4));--hover-elevation: var(--igx-card-hover-elevation, var(--ig-elevation-6));--background: var(--igx-card-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-text-color: var(--igx-card-header-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-text-color: var(--igx-card-subtitle-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--content-text-color: var(--igx-card-content-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--actions-text-color: var(--igx-card-actions-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--outline-color: var(--igx-card-outline-color, hsla(var(--ig-gray-400), .54));--border-radius: var(--igx-card-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .1666666667) * 1.5rem), 1.5rem));--default-size: var(--igx-card-default-size, 2);--resting-shadow: var(--igx-card-resting-shadow, var(--ig-elevation-4));--hover-shadow: var(--igx-card-hover-shadow, var(--ig-elevation-6))}.igx-card{display:flex;flex-direction:column;box-shadow:var(--resting-shadow);overflow:hidden;border-radius:var(--border-radius);background:var(--background);transition:box-shadow .3s cubic-bezier(.25,.8,.25,1);backface-visibility:hidden}.igx-card:hover{box-shadow:var(--hover-shadow)}.igx-card--outlined{box-shadow:none;border:.0625rem solid var(--outline-color)}.igx-card--outlined:hover{box-shadow:none}.igx-card--horizontal{flex-direction:row}.igx-card-header{display:flex;flex-flow:row wrap;align-content:flex-start;width:100%;padding:1rem;color:var(--header-text-color)}.igx-card-header:empty{display:block;padding:0}.igx-card-header--vertical{flex-flow:column nowrap}.igx-card-header--vertical .igx-card-header__titles{text-align:center}.igx-card-header--vertical .igx-card-header__thumbnail{display:flex;justify-content:center;align-self:unset;margin-inline-end:0;margin-bottom:1rem}.igx-card-header__thumbnail{align-self:flex-start;margin-inline-end:1rem}.igx-card-header__thumbnail:empty{display:none}.igx-card-header__titles{display:flex;flex-flow:column nowrap;overflow:hidden;flex:1 1 auto;justify-content:center}.igx-card-header__titles:empty{display:none}.igx-card-header__subtitle{color:var(--subtitle-text-color)}.igx-card__tgroup{margin:0 1em}.igx-card-content{display:block;width:100%;padding:.875rem;color:var(--content-text-color);overflow:auto}.igx-card__media{display:block;overflow:hidden;line-height:0}.igx-card__media>*{width:100%;height:100%;object-fit:cover}.igx-card__media--right{width:auto;margin-inline-start:auto;order:9999}.igx-card-actions{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;padding:.5rem}.igx-card-actions:first-child{margin-block-end:auto}.igx-card-actions:last-child{margin-block-start:auto}.igx-card-actions [igxButton]~[igxButton]{margin-inline-start:.5rem}.igx-card-actions--vertical{flex-direction:column}.igx-card-actions--vertical:is(:first-child,:last-child){margin-block:initial}[dir=rtl] .igx-card-actions--vertical{order:-1}.igx-card-actions__end{display:flex;align-items:center;order:1;color:var(--actions-text-color);margin-inline-start:auto}.igx-card-actions__end:empty{display:none}.igx-card-actions__start{display:flex;align-items:center;order:0}.igx-card-actions__start:empty{display:none}.igx-card-actions--justify .igx-card-actions__start,.igx-card-actions--justify .igx-card-actions__end{justify-content:space-around;flex-grow:1}.igx-card-actions--justify .igx-card-actions__start:empty,.igx-card-actions--justify .igx-card-actions__end:empty{display:none}.igx-card-actions--vertical .igx-card-actions__end,.igx-card-actions--vertical .igx-card-actions__start{flex-direction:column}.igx-card-actions--vertical .igx-card-actions__end [igxButton]~[igxButton],.igx-card-actions--vertical .igx-card-actions__start [igxButton]~[igxButton]{margin-inline-start:0;margin-top:.5rem}.igx-card-actions--vertical .igx-card-actions__end{margin-top:auto;margin-inline-start:0}.igx-card-actions--reverse .igx-card-actions__end{order:0;margin-inline-start:0}.igx-card-actions--reverse .igx-card-actions__start{order:1;margin-inline-start:auto}.igx-card-actions--vertical.igx-card-actions--reverse .igx-card-actions__end{margin:0 0 auto}.igx-card-actions--vertical.igx-card-actions--reverse .igx-card-actions__start{margin:auto 0 0}.igx-card-actions__bgroup{display:flex;flex-flow:row nowrap}.igx-card-actions__bgroup [igxButton]~[igxButton]{margin-inline-start:.5rem}.igx-card-actions__igroup,.igx-card-actions__igroup--start,.igx-card-actions__igroup--end{display:flex;flex-flow:row nowrap}.igx-card-actions__igroup .igx-button--icon,.igx-card-actions__igroup--start .igx-button--icon,.igx-card-actions__igroup--end .igx-button--icon{color:var(--actions-text-color)}.igx-card-actions__igroup--start{margin-inline-end:auto}.igx-card-actions__igroup--end{margin-inline-start:auto}igx-carousel{--button-elevation: var(--igx-carousel-button-elevation, var(--ig-elevation-1));--slide-background: var(--igx-carousel-slide-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--button-background: var(--igx-carousel-button-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--button-hover-background: var(--igx-carousel-button-hover-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--button-arrow-color: var(--igx-carousel-button-arrow-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--button-hover-arrow-color: var(--igx-carousel-button-hover-arrow-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--button-disabled-background: var(--igx-carousel-button-disabled-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--button-disabled-arrow-color: var(--igx-carousel-button-disabled-arrow-color, hsla(var(--ig-gray 400-500), var(--ig-gray 400-a)));--indicator-dot-color: var(--igx-carousel-indicator-dot-color, transparent);--indicator-border-color: var(--igx-carousel-indicator-border-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--indicator-active-dot-color: var(--igx-carousel-indicator-active-dot-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--indicator-active-border-color: var(--igx-carousel-indicator-active-border-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--border-radius: var(--igx-carousel-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));--button-shadow: var(--igx-carousel-button-shadow, var(--ig-elevation-1))}@keyframes scale-in-center{0%{transform:scale(0);opacity:1}to{transform:scale(1);opacity:1}}@keyframes scale-out-center{0%{transform:scale(1);opacity:1}to{transform:scale(0);opacity:1}}.igx-carousel{display:flex;position:relative;justify-content:center;width:100%;height:100%;align-items:center;flex-flow:column nowrap}.igx-nav-arrow{display:flex;justify-content:center;align-items:center;width:2.875rem;height:2.875rem;cursor:pointer;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);outline-style:none;transition:all .15s ease-in-out;color:var(--button-arrow-color);background:var(--button-background);box-shadow:var(--button-shadow)}.igx-nav-arrow igx-icon{--component-size: 3}.igx-nav-arrow--disabled{background:var(--button-disabled-background);color:var(--button-disabled-arrow-color);pointer-events:none;box-shadow:none}.igx-nav-arrow--disabled igx-icon{color:currentColor}.igx-nav-arrow:hover{color:var(--button-hover-arrow-color);background:var(--button-hover-background)}.igx-carousel__arrow,.igx-carousel__arrow--prev,.igx-carousel__arrow--next{margin:0 1rem;position:absolute;top:50%;transform:translateY(-50%);z-index:3;outline:none;-webkit-user-select:none;user-select:none}.igx-carousel__arrow--next{inset-inline-end:0}.igx-carousel__arrow--prev{inset-inline-start:0}[dir=rtl] .igx-carousel__arrow--next,[dir=rtl] .igx-carousel__arrow--prev{transform:scaleX(-1)}.igx-carousel-indicators,.igx-carousel-indicators--top,.igx-carousel-indicators--bottom{position:absolute;display:flex;justify-content:center;align-items:center;margin:1rem 0;padding:0;list-style:none;z-index:10;inset-inline-start:50%;transform:translate(-50%)}[dir=rtl] .igx-carousel-indicators,[dir=rtl] .igx-carousel-indicators--top,[dir=rtl] .igx-carousel-indicators--bottom{transform:translate(50%)}.igx-carousel-indicators--bottom{bottom:0}.igx-carousel-indicators--top{top:0}.igx-carousel__label{align-items:center;font-size:1rem}.igx-carousel-indicators__indicator{display:flex;align-items:center;justify-content:center;margin:0 .3125rem;cursor:pointer}.igx-nav-dot{position:relative;width:.75rem;height:.75rem;text-indent:-624.9375rem;border:.125rem solid;border-color:var(--indicator-border-color);box-shadow:var(--ig-elevation-1);opacity:.7;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);transition:all .15s cubic-bezier(.25,.46,.45,.94)}.igx-nav-dot:after{animation:"scale-out-center" .15s cubic-bezier(.25,.46,.45,.94) forwards;content:"";position:absolute;inset:.0625rem;border-radius:inherit;background:var(--indicator-dot-color)}.igx-nav-dot:hover{opacity:1}.igx-nav-dot--active{border:.125rem solid;border-color:var(--indicator-active-border-color);opacity:1}.igx-nav-dot--active:after{background:var(--indicator-active-dot-color);animation:"scale-in-center" .15s cubic-bezier(.25,.46,.45,.94) forwards}.igx-carousel__inner{position:relative;width:100%;height:inherit;overflow:hidden;outline-style:none;border-radius:var(--border-radius);min-height:18.75rem;min-width:18.75rem}.igx-slide{position:absolute;width:100%;height:100%;inset:0;z-index:-1;background:var(--slide-background);visibility:hidden}.igx-slide--previous{z-index:1;visibility:visible}.igx-slide--current{z-index:2;visibility:visible}.igx-slide img{width:inherit;height:inherit;object-fit:cover;touch-action:none;pointer-events:none}igx-splitter{--bar-color: var(--igx-splitter-bar-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--focus-color: var(--igx-splitter-focus-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--handle-color: var(--igx-splitter-handle-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--expander-color: var(--igx-splitter-expander-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--size: var(--igx-splitter-size, 4px);--border-radius: var(--igx-splitter-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * .125rem), .125rem))}[dir=rtl] [aria-orientation=horizontal].igx-splitter{flex-direction:row-reverse!important}.igx-splitter-bar:after,.igx-splitter-bar:before{position:absolute;content:"";width:100%;height:.25rem;background:rgba(0,0,0,0)}.igx-splitter-bar--vertical:after,.igx-splitter-bar--vertical:before{width:.25rem;height:100%}.igx-splitter-bar{position:relative;display:flex;flex-grow:1;justify-content:center;align-items:center;background:var(--bar-color);border:.0625rem solid var(--bar-color);z-index:99;opacity:.68;transition:opacity .15s cubic-bezier(.25,.46,.45,.94)!important}.igx-splitter-bar:before{top:100%}.igx-splitter-bar:after{bottom:100%}.igx-splitter-bar:hover{transition:all .25s ease-out;opacity:1}.igx-splitter-bar-host:focus{outline:rgba(0,0,0,0) solid .0625rem;box-shadow:inset 0 0 0 .0625rem var(--focus-color)}.igx-splitter-bar--vertical{flex-direction:column;height:100%}.igx-splitter-bar--vertical:before{top:0;right:100%}.igx-splitter-bar--vertical:after{top:0;left:100%}.igx-splitter-bar__handle,.igx-splitter-bar--vertical .igx-splitter-bar__handle{background:var(--handle-color);border-radius:var(--border-radius)}.igx-splitter-bar__handle{width:25%;height:var(--size);margin:0 3rem}.igx-splitter-bar--vertical .igx-splitter-bar__handle{width:var(--size);height:25%;margin:3rem 0}.igx-splitter-bar--vertical .igx-splitter-bar__expander--end:before,.igx-splitter-bar--vertical .igx-splitter-bar__expander--start:before,.igx-splitter-bar__expander--end:before,.igx-splitter-bar__expander--start:before{position:absolute;content:"";background:rgba(0,0,0,0)}.igx-splitter-bar__expander--start,.igx-splitter-bar__expander--end,.igx-splitter-bar--vertical .igx-splitter-bar__expander--start,.igx-splitter-bar--vertical .igx-splitter-bar__expander--end{position:relative;width:0;height:0;border-inline-end:var(--size) solid rgba(0,0,0,0);border-inline-start:var(--size) solid rgba(0,0,0,0);cursor:pointer;z-index:1}.igx-splitter-bar__expander--start{border-bottom:var(--size) solid var(--expander-color)}.igx-splitter-bar__expander--start:before{top:calc(100% - 4px);left:calc(100% - 8px);width:16px;height:12px}.igx-splitter-bar__expander--end{border-bottom:unset;border-top:var(--size) solid var(--expander-color)}.igx-splitter-bar__expander--end:before{top:calc(100% - 8px);left:calc(100% - 8px);width:16px;height:12px}.igx-splitter-bar--vertical .igx-splitter-bar__expander--start{border-top:var(--size) solid rgba(0,0,0,0);border-inline-end:var(--size) solid var(--expander-color);border-bottom:var(--size) solid rgba(0,0,0,0);border-inline-start:unset}.igx-splitter-bar--vertical .igx-splitter-bar__expander--start:before{top:calc(100% - 8px);left:calc(100% - 8px);width:12px;height:16px}.igx-splitter-bar--vertical .igx-splitter-bar__expander--end{border-top:var(--size) solid rgba(0,0,0,0);border-inline-end:unset;border-bottom:var(--size) solid rgba(0,0,0,0);border-inline-start:var(--size) solid var(--expander-color)}.igx-splitter-bar--vertical .igx-splitter-bar__expander--end:before{left:calc(100% - 8px);top:calc(100% - 8px);height:16px;width:12px}igx-data-chart{--title-text-color: var(--data-chart-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-text-color: var(--data-chart-subtitle-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--brushes: var(--data-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-brushes: var(--data-chart-marker-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--data-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-outlines: var(--data-chart-marker-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--plot-area-background: var(--data-chart-plot-area-background, hsla(var(--ig-surface-500), var(--ig-surface-a)))}igx-doughnut-chart{--brushes: var(--ring-series-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--ring-series-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95))}igx-linear-gauge{--backing-brush: var(--linear-gauge-backing-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--backing-outline: var(--linear-gauge-backing-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--font-brush: var(--linear-gauge-font-brush, var(--ig-surface-500-contrast));--minor-tick-brush: var(--linear-gauge-minor-tick-brush, var(--ig-surface-500-contrast));--needle-brush: var(--linear-gauge-needle-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)));--needle-outline: var(--linear-gauge-needle-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--range-brushes: var(--linear-gauge-range-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--range-outlines: var(--linear-gauge-range-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--scale-brush: var(--linear-gauge-scale-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--tick-brush: var(--linear-gauge-tick-brush, var(--ig-surface-500-contrast));--scale-outline: var(--linear-gauge-scale-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)))}igx-radial-gauge{--backing-brush: var(--radial-gauge-backing-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--backing-outline: var(--radial-gauge-backing-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--font-brush: var(--radial-gauge-font-brush, var(--ig-surface-500-contrast));--minor-tick-brush: var(--radial-gauge-minor-tick-brush, var(--ig-surface-500-contrast));--needle-brush: var(--radial-gauge-needle-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)));--needle-outline: var(--radial-gauge-needle-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--range-brushes: var(--radial-gauge-range-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--range-outlines: var(--radial-gauge-range-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--scale-brush: var(--radial-gauge-scale-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--tick-brush: var(--radial-gauge-tick-brush, var(--ig-surface-500-contrast));--needle-pivot-brush: var(--radial-gauge-needle-pivot-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)));--needle-pivot-outline: var(--radial-gauge-needle-pivot-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)))}igx-financial-chart{--brushes: var(--financial-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--financial-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-brushes: var(--financial-chart-marker-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-outlines: var(--financial-chart-marker-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--indicator-brushes: var(--financial-chart-indicator-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--indicator-negative-brushes: var(--financial-chart-indicator-negative-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--negative-brushes: var(--financial-chart-negative-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--negative-outlines: var(--financial-chart-negative-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--overlay-brushes: var(--financial-chart-overlay-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--overlay-outlines: var(--financial-chart-overlay-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--overlay-thickness: var(--financial-chart-overlay-thickness, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--trend-line-brushes: var(--financial-chart-trend-line-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--volume-brushes: var(--financial-chart-volume-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--volume-outlines: var(--financial-chart-volume-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95))}igx-bullet-graph{--backing-brush: var(--bullet-graph-backing-brush, hsla(var(--ig-surface-500), var(--ig-surface-a)));--backing-outline: var(--bullet-graph-backing-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--font-brush: var(--bullet-graph-font-brush, var(--ig-surface-500-contrast));--minor-tick-brush: var(--bullet-graph-minor-tick-brush, var(--ig-surface-500-contrast));--range-brushes: var(--bullet-graph-range-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--range-outlines: var(--bullet-graph-range-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--scale-background-brush: var(--bullet-graph-scale-background-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)));--scale-background-outline: var(--bullet-graph-scale-background-outline, hsla(var(--ig-surface-500), var(--ig-surface-a)));--target-value-brush: var(--bullet-graph-target-value-brush, hsla(var(--ig-gray-800), var(--ig-gray-a)));--tick-brush: var(--bullet-graph-tick-brush, var(--ig-surface-500-contrast));--value-brush: var(--bullet-graph-value-brush, hsla(var(--ig-gray-800), var(--ig-gray-a)))}igx-category-chart{--brushes: var(--category-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-brushes: var(--category-chart-marker-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--negative-brushes: var(--category-chart-negative-brushes, hsl(347, 82%, 64%));--outlines: var(--category-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-outlines: var(--category-chart-marker-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--negative-outlines: var(--category-chart-negative-outlines, hsl(347, 82%, 64%));--title-text-color: var(--category-chart-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-text-color: var(--category-chart-subtitle-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--trend-line-brushes: var(--category-chart-trend-line-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--x-axis-label-text-color: var(--category-chart-x-axis-label-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--x-axis-stroke: var(--category-chart-x-axis-stroke, hsla(var(--ig-gray-500), var(--ig-gray-a)));--x-axis-tick-stroke: var(--category-chart-x-axis-tick-stroke, hsla(var(--ig-gray-500), var(--ig-gray-a)));--x-axis-title-text-color: var(--category-chart-x-axis-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--y-axis-label-text-color: var(--category-chart-y-axis-label-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--y-axis-major-stroke: var(--category-chart-y-axis-major-stroke, hsla(var(--ig-gray-300), var(--ig-gray-a)));--y-axis-title-text-color: var(--category-chart-y-axis-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--y-axis-tick-stroke: var(--category-chart-y-axis-tick-stroke, hsla(var(--ig-gray-500), var(--ig-gray-a)))}igx-geographic-map{--plot-area-background: var(--geo-map-plot-area-background, hsla(var(--ig-surface-500), var(--ig-surface-a)))}igx-pie-chart{--brushes: var(--pie-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--pie-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--label-extent: var(--pie-chart-label-extent, 30);--label-outer-color: var(--pie-chart-label-outer-color, hsla(var(--ig-gray-700), var(--ig-gray-a)))}igx-sparkline{--brush: var(--sparkline-brush, hsla(var(--ig-primary-500), var(--ig-primary-a)))}igx-funnel-chart{--brushes: var(--funnel-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--funnel-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95))}igx-shape-chart{--title-text-color: var(--shape-chart-title-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-text-color: var(--shape-chart-subtitle-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--brushes: var(--shape-chart-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-brushes: var(--shape-chart-marker-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--outlines: var(--shape-chart-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--marker-outlines: var(--shape-chart-marker-outlines, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95));--trend-line-brushes: var(--shape-chart-trend-line-brushes, rgb(157, 231, 114), rgb(139, 91, 177), rgb(109, 177, 255), rgb(154, 242, 228), rgb(238, 88, 121), rgb(115, 86, 86), rgb(247, 210, 98), rgb(168, 168, 183), rgb(224, 81, 169), rgb(248, 161, 95))}igx-checkbox{--tick-color: var(--igx-checkbox-tick-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--tick-color-hover: var(--igx-checkbox-tick-color-hover, hsla(var(--ig-gray-50), var(--ig-gray-a)));--label-color: var(--igx-checkbox-label-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--empty-color: var(--igx-checkbox-empty-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--fill-color: var(--igx-checkbox-fill-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--fill-color-hover: var(--igx-checkbox-fill-color-hover, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--disabled-color: var(--igx-checkbox-disabled-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-indeterminate-color: var(--igx-checkbox-disabled-indeterminate-color, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--disabled-color-label: var(--igx-checkbox-disabled-color-label, hsla(var(--ig-gray-500), var(--ig-gray-a)));--error-color: var(--igx-checkbox-error-color, hsla(var(--ig-error-500), var(--ig-error-a)));--error-color-hover: var(--igx-checkbox-error-color-hover, hsla(var(--ig-error-500), var(--ig-error-a)));--border-radius: var(--igx-checkbox-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * .625rem), .625rem));--border-radius-ripple: var(--igx-checkbox-border-radius-ripple, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.5rem), 1.5rem))}@keyframes scale-in-out{50%{transform:scale(.9);transform-origin:50% 50%}to{transform:scale(1);transform-origin:50% 50%}}.igx-checkbox{position:relative;display:inline-flex;flex-flow:row nowrap;align-items:center;outline-style:none}.igx-checkbox--disabled{-webkit-user-select:none;user-select:none;pointer-events:none;cursor:initial}.igx-checkbox__input{position:absolute;width:1px;height:1px;margin:-1px;border:none;clip:rect(0,0,0,0);outline:0;pointer-events:none;overflow:hidden;appearance:none}.igx-checkbox__composite-wrapper{align-items:center;justify-content:center;display:flex;position:relative;width:1.25rem;height:1.25rem}.igx-checkbox__composite{position:relative;display:inline-block;cursor:pointer;width:1.25rem;height:1.25rem;min-width:1.25rem;border-width:.125rem;border-style:solid;border-color:var(--empty-color);border-radius:var(--border-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);transition:border-color .2s cubic-bezier(.25,.46,.45,.94),background .2s cubic-bezier(.25,.46,.45,.94);overflow:hidden}.igx-checkbox--indeterminate .igx-checkbox__composite,.igx-checkbox--checked .igx-checkbox__composite{border-color:var(--fill-color);background:var(--fill-color)}.igx-checkbox--invalid .igx-checkbox__composite{border-color:var(--error-color)}.igx-checkbox--invalid:hover .igx-checkbox__composite{border-color:var(--error-color-hover)}.igx-checkbox--invalid.igx-checkbox--checked .igx-checkbox__composite{border-color:var(--error-color);background:var(--error-color)}.igx-checkbox--checked:hover .igx-checkbox__composite{border-color:var(--fill-color-hover);background:var(--fill-color-hover)}.igx-checkbox--invalid.igx-checkbox--checked:hover .igx-checkbox__composite{border-color:var(--error-color-hover);background:var(--error-color-hover)}.igx-checkbox--disabled .igx-checkbox__composite{border-color:var(--disabled-color);background:rgba(0,0,0,0)}.igx-checkbox--indeterminate.igx-checkbox--disabled .igx-checkbox__composite,.igx-checkbox--checked.igx-checkbox--disabled .igx-checkbox__composite{background:var(--disabled-color)}.igx-checkbox__composite-mark{position:absolute;inset:0;stroke:var(--tick-color);stroke-linecap:square;stroke-width:3;stroke-dasharray:24;stroke-dashoffset:24;fill:none;opacity:0;z-index:1;transition:opacity .1s cubic-bezier(.25,.46,.45,.94)}.igx-checkbox--indeterminate .igx-checkbox__composite-mark{top:0;inset-inline-start:0}.igx-checkbox--indeterminate:hover .igx-checkbox__composite{border-color:var(--fill-color-hover);background:var(--fill-color-hover)}.igx-checkbox--indeterminate:hover .igx-checkbox__composite:before{background:var(--fill-color-hover)}.igx-checkbox--indeterminate.igx-checkbox--disabled .igx-checkbox__composite,.igx-checkbox--indeterminate .igx-checkbox--checked.igx-checkbox--disabled .igx-checkbox__composite,.igx-checkbox--checked.igx-checkbox--disabled .igx-checkbox--indeterminate .igx-checkbox__composite{border-color:var(--disabled-indeterminate-color);background:var(--disabled-indeterminate-color)}.igx-checkbox--invalid.igx-checkbox--indeterminate .igx-checkbox__composite{background:var(--error-color)}.igx-checkbox--checked .igx-checkbox__composite-mark{stroke-dashoffset:0;opacity:1;transition:all .2s cubic-bezier(.25,.46,.45,.94),opacity .2s cubic-bezier(.25,.46,.45,.94)}.igx-checkbox--indeterminate .igx-checkbox__composite-mark{stroke-dashoffset:41;opacity:1;transform:rotate(45deg) translate(-.125em)}.igx-checkbox__label,.igx-checkbox__label--before{display:inline-block;color:var(--label-color);cursor:pointer;-webkit-user-select:none;user-select:none;word-wrap:break-all}.igx-checkbox__label:empty,.igx-checkbox__label--before:empty{margin:0}.igx-checkbox__label--before:empty,.igx-checkbox__label:empty{margin:0}.igx-checkbox__label{margin-inline-start:.5rem}.igx-checkbox__label--before{margin-inline-end:.5rem;order:-1}.igx-checkbox--invalid .igx-checkbox__label{color:var(--error-color)}.igx-checkbox--disabled .igx-checkbox__label,.igx-checkbox--disabled .igx-checkbox__label--before{color:var(--disabled-color-label)}.igx-checkbox__ripple{display:block;position:absolute;top:calc(50% - 1.25rem);width:2.5rem;height:2.5rem;border-radius:var(--border-radius-ripple);overflow:hidden;pointer-events:none;filter:opacity(1)}.igx-checkbox__ripple .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-checkbox__ripple .igx-ripple{overflow:hidden}.igx-checkbox__ripple,.igx-checkbox__ripple [igxRipple]{--color: var(--igx-ripple-color, var(--fill-color))}.igx-checkbox:hover .igx-checkbox__ripple,.igx-checkbox:active .igx-checkbox__ripple,.igx-checkbox--invalid:hover .igx-checkbox__ripple,.igx-checkbox--indeterminate:hover .igx-checkbox__ripple,.igx-checkbox--indeterminate:active .igx-checkbox__ripple,.igx-checkbox--checked:hover .igx-checkbox__ripple,.igx-checkbox--checked:active .igx-checkbox__ripple{background:var(--empty-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.06}.igx-checkbox--indeterminate:hover .igx-checkbox__ripple,.igx-checkbox--indeterminate:active .igx-checkbox__ripple,.igx-checkbox--checked:hover .igx-checkbox__ripple,.igx-checkbox--checked:active .igx-checkbox__ripple{background:var(--fill-color)}.igx-checkbox--invalid:hover .igx-checkbox__ripple,.igx-checkbox--invalid:active .igx-checkbox__ripple{background:var(--error-color)}.igx-checkbox--focused .igx-checkbox__ripple,.igx-checkbox--focused:hover .igx-checkbox__ripple,.igx-checkbox--focused.igx-checkbox--checked .igx-checkbox__ripple,.igx-checkbox--focused.igx-checkbox--indeterminate .igx-checkbox__ripple{background:var(--empty-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.12}.igx-checkbox--focused.igx-checkbox--checked .igx-checkbox__ripple,.igx-checkbox--focused.igx-checkbox--indeterminate .igx-checkbox__ripple{background:var(--fill-color)}.igx-checkbox--focused.igx-checkbox--invalid .igx-checkbox__ripple{background:var(--error-color)}.igx-checkbox:active .igx-checkbox__ripple,.igx-checkbox--indeterminate:active .igx-checkbox__ripple,.igx-checkbox--checked:active .igx-checkbox__ripple{opacity:.12}.igx-checkbox--plain .igx-checkbox__composite,.igx-checkbox--plain .igx-checkbox__composite:after,.igx-checkbox--plain .igx-checkbox__composite-mark{transition:none}igx-chip,.igx-chip__ghost{--ghost-elevation: var(--igx-chip-ghost-elevation, var(--ig-elevation-8));--remove-icon-color: var(--igx-chip-remove-icon-color, "currentColor");--focus-outline-color: var(--igx-chip-focus-outline-color, transparent);--focus-selected-outline-color: var(--igx-chip-focus-selected-outline-color, transparent);--remove-icon-color-focus: var(--igx-chip-remove-icon-color-focus, "currentColor");--text-color: var(--igx-chip-text-color, var(--ig-gray-300-contrast));--background: var(--igx-chip-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--border-color: var(--igx-chip-border-color, transparent);--ghost-background: var(--igx-chip-ghost-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--hover-text-color: var(--igx-chip-hover-text-color, var(--ig-gray-400-contrast));--hover-background: var(--igx-chip-hover-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--hover-border-color: var(--igx-chip-hover-border-color, transparent);--focus-text-color: var(--igx-chip-focus-text-color, var(--ig-gray-500-contrast));--focus-background: var(--igx-chip-focus-background, hsla(var(--ig-gray-500), var(--ig-gray-a)));--focus-border-color: var(--igx-chip-focus-border-color, transparent);--selected-text-color: var(--igx-chip-selected-text-color, var(--ig-gray-300-contrast));--selected-background: var(--igx-chip-selected-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--selected-border-color: var(--igx-chip-selected-border-color, transparent);--hover-selected-text-color: var(--igx-chip-hover-selected-text-color, var(--ig-gray-400-contrast));--hover-selected-background: var(--igx-chip-hover-selected-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--hover-selected-border-color: var(--igx-chip-hover-selected-border-color, transparent);--focus-selected-text-color: var(--igx-chip-focus-selected-text-color, var(--ig-gray-500-contrast));--focus-selected-background: var(--igx-chip-focus-selected-background, hsla(var(--ig-gray-500), var(--ig-gray-a)));--focus-selected-border-color: var(--igx-chip-focus-selected-border-color, transparent);--border-radius: var(--igx-chip-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1rem), 1rem));--disabled-text-color: var(--igx-chip-disabled-text-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-background: var(--igx-chip-disabled-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--disabled-border-color: var(--igx-chip-disabled-border-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--size: var(--igx-chip-size, max(var(--is-large, 1) * max(2rem, -1 * 2rem), var(--is-medium, 1) * max(1.5rem, -1 * 1.5rem), var(--is-small, 1) * max(1.25rem, -1 * 1.25rem)));--default-size: var(--igx-chip-default-size, 2);--ghost-shadow: var(--igx-chip-ghost-shadow, var(--ig-elevation-8))}.igx-chip-area{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;width:100%}.igx-chip-area:empty{display:none}.igx-chip__ghost,.igx-chip{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--chip-size: var(--component-size);position:relative;display:inline-flex;flex-shrink:0;transition:all .12s cubic-bezier(.455,.03,.515,.955);transition-property:top,left;min-width:max-content;touch-action:none;outline:none}[dir=rtl] .igx-chip__ghost,[dir=rtl] .igx-chip{transition-property:top right}.igx-chip__ghost:hover .igx-chip__item,.igx-chip:hover .igx-chip__item{color:var(--hover-text-color);background:var(--hover-background);border-color:var(--hover-border-color)}.igx-chip__ghost:hover .igx-chip__item--selected,.igx-chip:hover .igx-chip__item--selected{color:var(--hover-selected-text-color);background:var(--hover-selected-background);border-color:var(--hover-selected-border-color)}.igx-chip__ghost:focus .igx-chip__item,.igx-chip:focus .igx-chip__item{outline-style:none;color:var(--focus-text-color);background:var(--focus-background);border-color:var(--focus-border-color)}.igx-chip__ghost:focus .igx-chip__item--selected,.igx-chip:focus .igx-chip__item--selected{color:var(--focus-selected-text-color);background:var(--focus-selected-background);border-color:var(--focus-selected-border-color);transition:all .12s cubic-bezier(.455,.03,.515,.955)}.igx-chip__item{display:grid;grid-template-columns:minmax(0,auto) 1fr minmax(0,auto);align-items:center;justify-content:center;text-align:center;height:var(--size);padding-inline:max(var(--is-large, 1)*max(.75rem,-1 * .75rem),var(--is-medium, 1)*max(.375rem,-1 * .375rem),var(--is-small, 1)*max(.125rem,-1 * .125rem));gap:max(var(--is-large, 1)*max(.5rem,-1 * .5rem),var(--is-medium, 1)*max(.375rem,-1 * .375rem),var(--is-small, 1)*max(.1875rem,-1 * .1875rem));color:var(--text-color);background:var(--background);border:.0625rem solid var(--border-color);border-radius:var(--border-radius);-webkit-user-select:none;user-select:none;overflow:hidden;cursor:pointer;filter:opacity(1)}.igx-chip__item igx-avatar{display:flex!important;align-items:center;justify-content:center;font-size:50%}.igx-chip__item igx-avatar,.igx-chip__item igx-circular-bar,.igx-chip__item igx-icon{--component-size: var(--chip-size)}.igx-chip__item igx-avatar,.igx-chip__item igx-circular-bar{max-height:100%;width:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1.125rem,-1 * 1.125rem),var(--is-small, 1)*max(.875rem,-1 * .875rem));max-width:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1.125rem,-1 * 1.125rem),var(--is-small, 1)*max(.875rem,-1 * .875rem));height:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1.125rem,-1 * 1.125rem),var(--is-small, 1)*max(.875rem,-1 * .875rem))}.igx-chip__item--selected{color:var(--selected-text-color);background:var(--selected-background);border-color:var(--selected-border-color);transition:all .12s cubic-bezier(.455,.03,.515,.955)}.igx-chip--primary .igx-chip__item{color:var(--ig-primary-500-contrast);background:hsla(var(--ig-primary-500),var(--ig-primary-a));border-color:hsla(var(--ig-primary-500),var(--ig-primary-a))}.igx-chip--primary.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--primary:hover .igx-chip__item{color:var(--ig-primary-600-contrast);background:hsla(var(--ig-primary-600),var(--ig-primary-a));border-color:hsla(var(--ig-primary-600),var(--ig-primary-a))}.igx-chip--primary.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--primary:focus .igx-chip__item{color:var(--ig-primary-800-contrast);background:hsla(var(--ig-primary-800),var(--ig-primary-a));border-color:hsla(var(--ig-primary-800),var(--ig-primary-a))}.igx-chip--info .igx-chip__item{color:var(--ig-info-500-contrast);background:hsla(var(--ig-info-500),var(--ig-info-a));border-color:hsla(var(--ig-info-500),var(--ig-info-a))}.igx-chip--info.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--info:hover .igx-chip__item{color:var(--ig-info-600-contrast);background:hsla(var(--ig-info-600),var(--ig-info-a));border-color:hsla(var(--ig-info-600),var(--ig-info-a))}.igx-chip--info.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--info:focus .igx-chip__item{color:var(--ig-info-800-contrast);background:hsla(var(--ig-info-800),var(--ig-info-a));border-color:hsla(var(--ig-info-800),var(--ig-info-a))}.igx-chip--success .igx-chip__item{color:var(--ig-success-500-contrast);background:hsla(var(--ig-success-500),var(--ig-success-a));border-color:hsla(var(--ig-success-500),var(--ig-success-a))}.igx-chip--success.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--success:hover .igx-chip__item{color:var(--ig-success-600-contrast);background:hsla(var(--ig-success-600),var(--ig-success-a));border-color:hsla(var(--ig-success-600),var(--ig-success-a))}.igx-chip--success.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--success:focus .igx-chip__item{color:var(--ig-success-800-contrast);background:hsla(var(--ig-success-800),var(--ig-success-a));border-color:hsla(var(--ig-success-800),var(--ig-success-a))}.igx-chip--warning .igx-chip__item{color:var(--ig-warn-500-contrast);background:hsla(var(--ig-warn-500),var(--ig-warn-a));border-color:hsla(var(--ig-warn-500),var(--ig-warn-a))}.igx-chip--warning.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--warning:hover .igx-chip__item{color:var(--ig-warn-600-contrast);background:hsla(var(--ig-warn-600),var(--ig-warn-a));border-color:hsla(var(--ig-warn-600),var(--ig-warn-a))}.igx-chip--warning.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--warning:focus .igx-chip__item{color:var(--ig-warn-800-contrast);background:hsla(var(--ig-warn-800),var(--ig-warn-a));border-color:hsla(var(--ig-warn-800),var(--ig-warn-a))}.igx-chip--danger .igx-chip__item{color:var(--ig-error-500-contrast);background:hsla(var(--ig-error-500),var(--ig-error-a));border-color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-chip--danger.igx-chip__ghost:hover .igx-chip__item,.igx-chip.igx-chip--danger:hover .igx-chip__item{color:var(--ig-error-600-contrast);background:hsla(var(--ig-error-600),var(--ig-error-a));border-color:hsla(var(--ig-error-600),var(--ig-error-a))}.igx-chip--danger.igx-chip__ghost:focus .igx-chip__item,.igx-chip.igx-chip--danger:focus .igx-chip__item{color:var(--ig-error-800-contrast);background:hsla(var(--ig-error-800),var(--ig-error-a));border-color:hsla(var(--ig-error-800),var(--ig-error-a))}.igx-chip__start>igx-avatar:first-child,.igx-chip__start>igx-circular-bar:first-child{margin-inline-start:calc(max(var(--is-large, 1) * max(.5rem,-1 * .5rem),var(--is-medium, 1) * max(.25rem,-1 * .25rem),var(--is-small, 1) * max(0rem,-1 * 0rem))*-1)}.igx-chip__start [igxPrefix]:first-of-type igx-avatar,.igx-chip__start [igxPrefix]:first-of-type igx-circular-bar,.igx-chip__start igx-prefix:first-of-type igx-avatar,.igx-chip__start igx-prefix:first-of-type igx-circular-bar{margin-inline-start:calc(max(var(--is-large, 1) * max(.5rem,-1 * .5rem),var(--is-medium, 1) * max(.25rem,-1 * .25rem),var(--is-small, 1) * max(0rem,-1 * 0rem))*-1)}.igx-chip__end>igx-avatar:last-child,.igx-chip__end>igx-circular-bar:last-child{margin-inline-end:calc(max(var(--is-large, 1) * max(.5rem,-1 * .5rem),var(--is-medium, 1) * max(.25rem,-1 * .25rem),var(--is-small, 1) * max(0rem,-1 * 0rem))*-1)}.igx-chip__end [igxPrefix]:first-of-type igx-avatar,.igx-chip__end [igxPrefix]:first-of-type igx-circular-bar,.igx-chip__end igx-prefix:first-of-type igx-avatar,.igx-chip__end igx-prefix:first-of-type igx-circular-bar{margin-inline-end:calc(max(var(--is-large, 1) * max(.5rem,-1 * .5rem),var(--is-medium, 1) * max(.25rem,-1 * .25rem),var(--is-small, 1) * max(0rem,-1 * 0rem))*-1)}.igx-chip__start,.igx-chip__end{display:flex;align-items:center;position:relative}.igx-chip__start:empty,.igx-chip__end:empty{display:none}.igx-chip__item igx-icon{width:max(var(--is-large, 1)*max(1.25rem,-1 * 1.25rem),var(--is-medium, 1)*max(1.25rem,-1 * 1.25rem),var(--is-small, 1)*max(1rem,-1 * 1rem));height:max(var(--is-large, 1)*max(1.25rem,-1 * 1.25rem),var(--is-medium, 1)*max(1.25rem,-1 * 1.25rem),var(--is-small, 1)*max(1rem,-1 * 1rem));font-size:max(var(--is-large, 1)*max(1.25rem,-1 * 1.25rem),var(--is-medium, 1)*max(1.25rem,-1 * 1.25rem),var(--is-small, 1)*max(1rem,-1 * 1rem));outline-style:none}.igx-chip__item igx-prefix,.igx-chip__item [igxPrefix],.igx-chip__item igx-suffix,.igx-chip__item [igxSuffix]{display:inline-flex;vertical-align:middle;max-width:32ch}.igx-chip__item igx-prefix>igx-icon,.igx-chip__item [igxPrefix]>igx-icon,.igx-chip__item igx-suffix>igx-icon,.igx-chip__item [igxSuffix]>igx-icon{display:block}.igx-chip__content{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;grid-column:2/3;max-width:32ch}.igx-chip__content:empty{display:none}.igx-chip__remove{display:inline-flex;color:var(--remove-icon-color, currentColor)}.igx-chip__remove:empty{display:none}.igx-chip__remove:focus igx-icon{color:var(--remove-icon-color-focus)}.igx-chip__remove igx-icon:focus{outline-style:none}.igx-chip__select{display:inline-flex;align-items:center;opacity:1;z-index:1;transition:opacity .12s cubic-bezier(.25,.46,.45,.94),width .12s cubic-bezier(.25,.46,.45,.94)}.igx-chip__select>*{width:inherit!important}.igx-chip__ghost{position:absolute;box-shadow:var(--ghost-shadow);overflow:hidden;color:var(--focus-text-color);background:var(--ghost-background);z-index:10}.igx-chip__ghost igx-avatar,.igx-chip__ghost igx-circular-bar,.igx-chip__ghost igx-icon{--component-size: var(--chip-size)}.igx-chip__ghost:hover,.igx-chip__ghost:focus{background:var(--ghost-background)}.igx-chip--disabled{cursor:default;pointer-events:none}.igx-chip--disabled .igx-chip__item{color:var(--disabled-text-color);background:var(--disabled-background);border-color:var(--disabled-border-color)}igx-column-actions{--background-color: var(--igx-column-actions-background-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--title-color: var(--igx-column-actions-title-color, hsla(var(--ig-primary-500), var(--ig-primary-a)))}.igx-column-actions{display:flex;flex-flow:column nowrap;background:var(--background-color);box-shadow:var(--ig-elevation-8);width:100%;flex:1 1 auto;min-width:11.25rem}.igx-column-actions__header-title{color:var(--title-color);margin:0;padding:1rem 1rem .5rem}.igx-column-actions__header-input{font-size:1rem!important;margin:-1rem 0 0!important;padding:.5rem 1rem}.igx-column-actions__columns{display:flex;flex-flow:column nowrap;overflow-y:auto;outline-style:none}.igx-column-actions__columns-item{padding:.25rem 1rem;min-height:2rem}.igx-column-actions__buttons{display:flex;justify-content:flex-end;padding:.5rem 1rem}igx-combo,igx-simple-combo{--toggle-button-background-focus--border: var(--igx-combo-toggle-button-background-focus--border, hsla(var(--ig-gray-300), var(--ig-gray-a)));--case-icon-color: var(--igx-combo-case-icon-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--case-icon-color--active: var(--igx-combo-case-icon-color--active, hsla(var(--ig-primary-500), var(--ig-primary-a)));--empty-list-background: var(--igx-combo-empty-list-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--search-separator-border-color: var(--igx-combo-search-separator-border-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--empty-list-placeholder-color: var(--igx-combo-empty-list-placeholder-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-background: var(--igx-combo-toggle-button-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--toggle-button-background-focus: var(--igx-combo-toggle-button-background-focus, hsla(var(--ig-gray-400), .3));--toggle-button-foreground: var(--igx-combo-toggle-button-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-foreground-focus: var(--igx-combo-toggle-button-foreground-focus, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-foreground-filled: var(--igx-combo-toggle-button-foreground-filled, hsla(var(--ig-gray-900), var(--ig-gray-a)));--clear-button-background: var(--igx-combo-clear-button-background, transparent);--clear-button-background-focus: var(--igx-combo-clear-button-background-focus, transparent);--clear-button-foreground: var(--igx-combo-clear-button-foreground, var(--ig-gray-100-contrast));--clear-button-foreground-focus: var(--igx-combo-clear-button-foreground-focus, var(--ig-gray-100-contrast));--toggle-button-background-disabled: var(--igx-combo-toggle-button-background-disabled, hsla(var(--ig-gray-100), var(--ig-gray-a)));--toggle-button-foreground-disabled: var(--igx-combo-toggle-button-foreground-disabled, hsla(var(--ig-gray-500), var(--ig-gray-a)));--default-size: var(--igx-combo-default-size, 2)}.igx-combo{position:relative;display:block}.igx-combo__checkbox{margin-inline-end:.5rem}.igx-combo__drop-down{position:absolute;width:100%}.igx-combo__drop-down .igx-drop-down{width:100%}.igx-combo__search{padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));margin:0!important;z-index:26;border-bottom:.0625rem dashed var(--search-separator-border-color)}.igx-combo__search .igx-input-group__bundle{padding-block-start:0;height:auto}.igx-combo__search igx-input-group{--ig-size: var(--ig-size-small)}.igx-combo__case-icon .igx-icon,.igx-combo__case-icon--active .igx-icon{width:1rem;height:1rem;font-size:1rem}.igx-combo__case-icon .igx-icon{color:hsla(var(--ig-gray-600),var(--ig-gray-a))!important}.igx-combo__case-icon--active .igx-icon{color:hsla(var(--ig-primary-500),var(--ig-primary-a))}.igx-combo__content{position:relative;overflow:hidden}.igx-combo__content:focus{outline:rgba(0,0,0,0)}.igx-combo__add{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;padding:1rem;gap:1rem;background:var(--empty-list-background)}.igx-combo__add-item{height:auto!important;background:var(--empty-list-background)!important;justify-content:center!important}.igx-combo__empty{display:flex;justify-content:center;align-items:center;width:100%;color:var(--empty-list-placeholder-color);padding:0 1.5rem;font-size:.8125rem}.igx-input-group .igx-combo__toggle-button{background:var(--toggle-button-background);color:var(--toggle-button-foreground)}.igx-input-group:not(.igx-input-group--disabled) .igx-combo__clear-button{background:var(--clear-button-background);color:var(--clear-button-foreground)}.igx-input-group--filled .igx-combo__toggle-button{color:var(--toggle-button-foreground-filled)}.igx-input-group--focused .igx-combo__toggle-button{color:var(--toggle-button-foreground-focus);background:var(--toggle-button-background-focus)}.igx-input-group--focused .igx-combo__clear-button{color:var(--clear-button-foreground-focus);background:var(--clear-button-background-focus)}.igx-input-group.igx-input-group--focused:not(.igx-input-group--box) .igx-combo__toggle-button{background:var(--toggle-button-background-focus--border)}.igx-input-group--disabled .igx-combo__toggle-button{background:var(--toggle-button-background-disabled)!important;color:var(--toggle-button-foreground-disabled)!important}igx-select{--toggle-button-background-focus--border: var(--igx-select-toggle-button-background-focus--border, hsla(var(--ig-gray-300), var(--ig-gray-a)));--toggle-button-background: var(--igx-select-toggle-button-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--toggle-button-background-focus: var(--igx-select-toggle-button-background-focus, hsla(var(--ig-gray-400), .3));--toggle-button-foreground: var(--igx-select-toggle-button-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-foreground-focus: var(--igx-select-toggle-button-foreground-focus, hsla(var(--ig-gray-700), var(--ig-gray-a)));--toggle-button-foreground-filled: var(--igx-select-toggle-button-foreground-filled, hsla(var(--ig-gray-900), var(--ig-gray-a)));--toggle-button-background-disabled: var(--igx-select-toggle-button-background-disabled, hsla(var(--ig-gray-100), var(--ig-gray-a)));--toggle-button-foreground-disabled: var(--igx-select-toggle-button-foreground-disabled, hsla(var(--ig-gray-500), var(--ig-gray-a)));--default-size: var(--igx-select-default-size, 2)}.igx-select{position:relative;display:block}.igx-input-group .igx-select__toggle-button{background:var(--toggle-button-background);color:var(--toggle-button-foreground)}.igx-input-group--filled .igx-select__toggle-button{color:var(--toggle-button-foreground-filled)}.igx-input-group--focused .igx-select__toggle-button{background:var(--toggle-button-background-focus);color:var(--toggle-button-foreground-focus)}.igx-input-group.igx-input-group--focused:not(.igx-input-group--box) .igx-select__toggle-button{background:var(--toggle-button-background-focus--border)}.igx-input-group.igx-input-group--disabled .igx-select__toggle-button{background:var(--toggle-button-background-disabled);color:var(--toggle-button-foreground-disabled)}igx-calendar,igx-days-view,igx-months-view,igx-years-view,.igx-date-picker{--content-background: var(--igx-calendar-content-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--content-text-color: var(--igx-calendar-content-text-color, var(--ig-surface-500-contrast));--border-color: var(--igx-calendar-border-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--header-background: var(--igx-calendar-header-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--header-text-color: var(--igx-calendar-header-text-color, var(--ig-secondary-500-contrast));--picker-background-color: var(--igx-calendar-picker-background-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--picker-arrow-color: var(--igx-calendar-picker-arrow-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--picker-arrow-hover-color: var(--igx-calendar-picker-arrow-hover-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--picker-text-color: var(--igx-calendar-picker-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--picker-text-hover-color: var(--igx-calendar-picker-text-hover-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--inactive-text-color: var(--igx-calendar-inactive-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--label-color: var(--igx-calendar-label-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--weekend-text-color: var(--igx-calendar-weekend-text-color, var(--ig-surface-500-contrast));--year-current-text-color: var(--igx-calendar-year-current-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--month-current-text-color: var(--igx-calendar-month-current-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--month-hover-current-text-color: var(--igx-calendar-month-hover-current-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--year-hover-text-color: var(--igx-calendar-year-hover-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--month-hover-background: var(--igx-calendar-month-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--month-hover-text-color: var(--igx-calendar-month-hover-text-color, var(--ig-gray-200-contrast));--date-selected-background: var(--igx-calendar-date-selected-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-selected-hover-background: var(--igx-calendar-date-selected-hover-background, hsla(var(--ig-gray-100), .18));--date-selected-focus-background: var(--igx-calendar-date-selected-focus-background, hsla(var(--ig-gray-100), .18));--date-selected-current-background: var(--igx-calendar-date-selected-current-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-selected-current-hover-background: var(--igx-calendar-date-selected-current-hover-background, hsla(var(--ig-gray-100), .18));--date-selected-current-focus-background: var(--igx-calendar-date-selected-current-focus-background, hsla(var(--ig-gray-100), .18));--date-selected-text-color: var(--igx-calendar-date-selected-text-color, var(--ig-secondary-500-contrast));--date-selected-hover-foreground: var(--igx-calendar-date-selected-hover-foreground, var(--ig-gray-100-contrast));--date-selected-focus-foreground: var(--igx-calendar-date-selected-focus-foreground, var(--ig-gray-100-contrast));--date-current-text-color: var(--igx-calendar-date-current-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-current-hover-foreground: var(--igx-calendar-date-current-hover-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-current-focus-foreground: var(--igx-calendar-date-current-focus-foreground, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--date-selected-current-foreground: var(--igx-calendar-date-selected-current-foreground, var(--ig-secondary-500-contrast));--date-selected-current-hover-foreground: var(--igx-calendar-date-selected-current-hover-foreground, var(--ig-secondary-500-contrast));--date-selected-current-focus-foreground: var(--igx-calendar-date-selected-current-focus-foreground, var(--ig-gray-100-contrast));--date-current-bg-color: var(--igx-calendar-date-current-bg-color, transparent);--date-current-hover-background: var(--igx-calendar-date-current-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--date-current-focus-background: var(--igx-calendar-date-current-focus-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--date-hover-background: var(--igx-calendar-date-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--date-focus-background: var(--igx-calendar-date-focus-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--date-special-background: var(--igx-calendar-date-special-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--date-special-text-color: var(--igx-calendar-date-special-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--date-disabled-text-color: var(--igx-calendar-date-disabled-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--date-disabled-background: var(--igx-calendar-date-disabled-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--week-number-color: var(--igx-calendar-week-number-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--week-number-background: var(--igx-calendar-week-number-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--border-radius: var(--igx-calendar-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--date-border-radius: var(--igx-calendar-date-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.25rem), 1.25rem));--month-border-radius: var(--igx-calendar-month-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.25rem), 1.25rem));--default-size: var(--igx-calendar-default-size, 2)}.igx-date-picker{box-shadow:var(--ig-elevation-24);border-radius:var(--border-radius);background:var(--content-background);overflow:hidden}.igx-date-picker .igx-calendar,.igx-date-picker .igx-calendar--vertical{background:var(--content-background)}.igx-date-picker .igx-calendar__header{background:var(--header-background);color:var(--header-text-color)}.igx-date-picker .igx-calendar-picker__prev,.igx-date-picker .igx-calendar-picker__next{color:var(--picker-arrow-color)}.igx-date-picker .igx-calendar-picker__prev:hover,.igx-date-picker .igx-calendar-picker__next:hover{color:var(--picker-arrow-hover-color)}.igx-date-picker .igx-calendar-picker__date{color:var(--picker-text-color)}.igx-date-picker .igx-calendar-picker__date:hover,.igx-date-picker .igx-calendar-picker__date:focus{color:var(--picker-text-hover-color)}.igx-date-picker .igx-calendar__label,.igx-date-picker .igx-calendar__date,.igx-date-picker .igx-calendar__year{color:var(--content-text-color);min-width:14.28%}.igx-date-picker .igx-calendar__label{color:var(--label-color)}.igx-date-picker .igx-calendar__label:hover,.igx-date-picker .igx-calendar__label:focus{color:var(--label-color)}.igx-date-picker .igx-calendar__date--weekend{color:var(--weekend-text-color)}.igx-date-picker .igx-calendar__date--disabled{color:var(--date-disabled-text-color)}.igx-date-picker .igx-calendar__year--current{color:var(--year-current-text-color)}.igx-date-picker .igx-calendar__year:hover,.igx-date-picker .igx-calendar__year:focus{color:var(--year-hover-text-color)}.igx-date-picker .igx-calendar__month:hover,.igx-date-picker .igx-calendar__month:focus,.igx-date-picker .igx-calendar__month--current:hover,.igx-date-picker .igx-calendar__month--current:focus{color:var(--month-hover-text-color)}.igx-date-picker .igx-calendar__month--current{color:var(--month-current-text-color)}.igx-date-picker .igx-calendar__date--inactive,.igx-date-picker .igx-calendar__date--inactive:hover{color:var(--inactive-text-color)}.igx-date-picker .igx-calendar__date--selected{color:var(--date-selected-text-color)}.igx-date-picker .igx-calendar__date--current{color:var(--date-current-text-color)}.igx-date-picker--vertical{min-width:23rem}.igx-date-picker--dropdown{display:flex;flex:1 0 0;flex-direction:column;box-shadow:var(--ig-elevation-3)}.igx-date-picker__buttons{display:flex;justify-content:flex-end;padding:.5rem}igx-date-range{--label-color: var(--igx-date-range-label-color, hsla(var(--ig-gray-500), var(--ig-gray-a)))}.igx-date-range-picker,.igx-date-range-picker--cosy,.igx-date-range-picker--compact{display:flex}.igx-date-range-picker>igx-icon,.igx-date-range-picker--cosy>igx-icon,.igx-date-range-picker--compact>igx-icon{cursor:pointer}.igx-date-range-picker igx-input-group,.igx-date-range-picker--cosy igx-input-group,.igx-date-range-picker--compact igx-input-group{flex:1}igx-date-range-start,igx-date-range-end,.igx-date-range-picker__start,.igx-date-range-picker__end{flex:1 0 0%}.igx-date-range-picker__label{display:flex;align-items:center;color:var(--label-color);margin:0 .5rem}.igx-date-range-picker-buttons{display:flex;justify-content:flex-end;padding:0 1rem 1rem}.igx-date-range-picker-buttons>*{margin-inline-end:.5rem}.igx-date-range-picker-buttons>*:last-of-type{margin-inline-end:0}.igx-date-range-picker-buttons:empty{display:none}.igx-dialog{--elevation: var(--igx-dialog-elevation, var(--ig-elevation-24));--background: var(--igx-dialog-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--title-color: var(--igx-dialog-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--message-color: var(--igx-dialog-message-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--border-color: var(--igx-dialog-border-color, transparent);--backdrop: var(--igx-dialog-backdrop, hsla(var(--ig-gray-500), .54));--border-radius: var(--igx-dialog-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .1111111111) * 2.25rem), 2.25rem));--default-size: var(--igx-dialog-default-size, 2);--shadow: var(--igx-dialog-shadow, var(--ig-elevation-24))}.igx-dialog{outline-style:none}.igx-dialog--hidden{display:none}.igx-dialog__window{position:relative;min-width:17.5rem;border:.0625rem solid var(--border-color);border-radius:var(--border-radius);background:var(--background);box-shadow:var(--shadow);overflow:hidden}.igx-dialog__window .igx-calendar{min-width:20rem}.igx-dialog__window .igx-calendar--vertical{min-width:31rem}.igx-dialog__window-title{display:flex;color:var(--title-color);padding:1.5rem 1.5rem .75rem}.igx-dialog__window-content{color:var(--message-color);padding:.75rem 1.5rem;position:relative;z-index:0}.igx-dialog__window-message{display:inline-block;max-width:40ch}@media all and (-ms-high-contrast: none){.igx-dialog__window-message{max-width:62ch}}.igx-dialog__window-actions{display:flex;flex-flow:row nowrap;justify-content:flex-end;padding:.5rem}.igx-dialog__window-actions button+button{margin-inline-start:.5rem}igx-divider{--color: var(--igx-divider-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--inset: var(--igx-divider-inset, 0)}.igx-divider{position:relative;justify-content:center;overflow:hidden}.igx-divider:after{content:"";position:absolute;height:100%;width:100%;background:var(--color)}.igx-divider:not(.igx-divider--vertical){display:flex;min-height:.0625rem;width:100%;position:relative}.igx-divider:not(.igx-divider--vertical):after{inset-inline-start:var(--inset)}.igx-divider:not(.igx-divider--vertical):not(.igx-divider--inset):after{width:100%}.igx-divider--inset:not(.igx-divider--vertical):after{min-width:.25rem;width:calc(100% - var(--inset)*2)}.igx-divider--dashed:not(.igx-divider--vertical):after{background:repeating-linear-gradient(to right,var(--color),var(--color) .625rem,transparent .625rem,transparent 1.25rem)}.igx-divider--dashed:after{background:repeating-linear-gradient(to bottom,var(--color),var(--color) .625rem,transparent .625rem,transparent 1.25rem)}.igx-divider--vertical{display:inline-flex;min-width:.0625rem;width:.0625rem}.igx-divider--vertical:after{inset-block-start:var(--inset);width:100%;height:100%}.igx-divider--vertical.igx-divider--inset:after{min-height:.25rem;height:calc(100% - var(--inset)*2)}igc-dockmanager{--igc-active-color: var(--igc-dockmanager-active-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--igc-background-color: var(--igc-dockmanager-background-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--igc-border-color: var(--igc-dockmanager-border-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--igc-button-text: var(--igc-dockmanager-button-text, hsla(var(--ig-gray-800), var(--ig-gray-a)));--igc-context-menu-color-active: var(--igc-dockmanager-context-menu-color-active, var(--ig-surface-500-contrast));--igc-dock-background: var(--igc-dockmanager-dock-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--igc-drop-shadow-background: var(--igc-dockmanager-drop-shadow-background, hsla(var(--ig-primary-900), .1));--igc-floating-pane-border-color: var(--igc-dockmanager-floating-pane-border-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--igc-flyout-shadow-color: var(--igc-dockmanager-flyout-shadow-color, hsla(var(--ig-gray-900), .1));--igc-joystick-border-color: var(--igc-dockmanager-joystick-border-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--igc-joystick-icon-color: var(--igc-dockmanager-joystick-icon-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--igc-joystick-icon-color-active: var(--igc-dockmanager-joystick-icon-color-active, var(--ig-surface-500-contrast));--igc-pane-content-background: var(--igc-dockmanager-pane-content-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--igc-pane-header-background: var(--igc-dockmanager-pane-header-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--igc-pinned-header-background: var(--igc-dockmanager-pinned-header-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--igc-splitter-background: var(--igc-dockmanager-splitter-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--igc-tab-background-active: var(--igc-dockmanager-tab-background-active, hsla(var(--ig-surface-500), var(--ig-surface-a)));--igc-text-color: var(--igc-dockmanager-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)))}igc-rating{--label-color: var(--igc-rating-label-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--value-label: var(--igc-rating-value-label, hsla(var(--ig-gray-700), var(--ig-gray-a)));--symbol-empty-color: var(--igc-rating-symbol-empty-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--symbol-full-color: var(--igc-rating-symbol-full-color, hsla(var(--ig-warn-500), var(--ig-warn-a)));--symbol-empty-filter: var(--igc-rating-symbol-empty-filter, grayscale(100%) opacity(50%));--symbol-full-filter: var(--igc-rating-symbol-full-filter, grayscale(50%));--disabled-label-color: var(--igc-rating-disabled-label-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-value-label: var(--igc-rating-disabled-value-label, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-empty-symbol-color: var(--igc-rating-disabled-empty-symbol-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-full-symbol-color: var(--igc-rating-disabled-full-symbol-color, hsla(var(--ig-warn-200), var(--ig-warn-a)));--default-size: var(--igc-rating-default-size, 2)}igc-rating::part(label){color:var(--label-color)}igc-rating::part(value-label){color:var(--value-label)}igc-rating[disabled]::part(label),igc-rating[disabled]::part(value-label){color:var(--disabled-label-color)}igc-rating[disabled]{--symbol-empty-color: var(--disabled-empty-symbol-color);--symbol-full-color: var(--disabled-full-symbol-color);--disabled-symbol-empty-filter: var(--symbol-empty-filter);--disabled-symbol-full-filter: var(--symbol-full-filter)}.igx-drop-down__list,.igx-grid-toolbar__dd-list{--elevation: var(--igx-drop-down-elevation, var(--ig-elevation-8));--background-color: var(--igx-drop-down-background-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-text-color: var(--igx-drop-down-header-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--item-text-color: var(--igx-drop-down-item-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--hover-item-text-color: var(--igx-drop-down-hover-item-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--hover-item-background: var(--igx-drop-down-hover-item-background, hsla(var(--ig-gray-100), .8));--focused-item-background: var(--igx-drop-down-focused-item-background, hsla(var(--ig-gray-100), .8));--focused-item-text-color: var(--igx-drop-down-focused-item-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--selected-item-background: var(--igx-drop-down-selected-item-background, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--selected-item-text-color: var(--igx-drop-down-selected-item-text-color, var(--ig-secondary-100-contrast));--selected-hover-item-background: var(--igx-drop-down-selected-hover-item-background, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--selected-hover-item-text-color: var(--igx-drop-down-selected-hover-item-text-color, var(--ig-secondary-200-contrast));--selected-focus-item-background: var(--igx-drop-down-selected-focus-item-background, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--selected-focus-item-text-color: var(--igx-drop-down-selected-focus-item-text-color, var(--ig-secondary-200-contrast));--disabled-item-background: var(--igx-drop-down-disabled-item-background, hsla(var(--ig-gray-50), 0));--disabled-item-text-color: var(--igx-drop-down-disabled-item-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--border-color: var(--igx-drop-down-border-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--border-width: var(--igx-drop-down-border-width, 0);--border-radius: var(--igx-drop-down-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--item-border-radius: var(--igx-drop-down-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 1.25rem), 1.25rem));--size: var(--igx-drop-down-size, max(var(--is-large, 1) * max(2.5rem, -1 * 2.5rem), var(--is-medium, 1) * max(2rem, -1 * 2rem), var(--is-small, 1) * max(1.75rem, -1 * 1.75rem)));--default-size: var(--igx-drop-down-default-size, 2);--shadow: var(--igx-drop-down-shadow, var(--ig-elevation-8))}.igx-drop-down{position:absolute}.igx-drop-down__list{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--dropdown-size: var(--component-size);overflow:hidden;border-radius:var(--border-radius);background:var(--background-color);box-shadow:var(--shadow);min-width:8rem;border:var(--border-width) solid var(--border-color)}.igx-drop-down__list-scroll{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative}.igx-drop-down__content{display:flex;width:100%;align-items:center;gap:.5rem}.igx-drop-down__inner{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-inline-end:auto}.igx-drop-down__inner+[igxSuffix],.igx-drop-down__inner+igx-suffix{margin-inline-end:0}.igx-drop-down__group label,.igx-drop-down__header,.igx-drop-down__item{display:flex;justify-content:flex-start;align-items:center;width:100%;white-space:nowrap;position:relative;height:var(--size)}.igx-drop-down__group label igx-divider,.igx-drop-down__header igx-divider,.igx-drop-down__item igx-divider{position:absolute;width:100%;inset-inline-start:0;bottom:0}.igx-drop-down__group label igx-icon,.igx-drop-down__header igx-icon,.igx-drop-down__item igx-icon{justify-content:center;--component-size: var(--dropdown-size)}.igx-drop-down__item{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: (--dropdown-size);color:var(--item-text-color);cursor:pointer;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1.25rem,-1 * 1.25rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));border-radius:var(--item-border-radius)}.igx-drop-down__item:focus{outline:0;outline-color:#0000;background:var(--focused-item-background);color:var(--focused-item-text-color)}.igx-drop-down__item:hover{background:var(--hover-item-background);color:var(--hover-item-text-color)}.igx-drop-down__group label,.igx-drop-down__header{color:var(--header-text-color);pointer-events:none;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-drop-down__group{pointer-events:auto}.igx-drop-down__item--focused{background:var(--focused-item-background);color:var(--focused-item-text-color)}.igx-drop-down__item--focused:hover{color:var(--focused-item-text-color);background:var(--focused-item-background)}.igx-drop-down__item--selected{background:var(--selected-item-background);color:var(--selected-item-text-color)}.igx-drop-down__item--selected:hover{background:var(--selected-hover-item-background);color:var(--selected-hover-item-text-color)}.igx-drop-down__item--selected.igx-drop-down__item--focused{background:var(--selected-focus-item-background);color:var(--selected-focus-item-text-color)}.igx-drop-down__item--disabled,.igx-drop-down__group--disabled{background:var(--disabled-item-background);color:var(--disabled-item-text-color);cursor:default;pointer-events:none}.igx-drop-down__item--disabled:hover,.igx-drop-down__group--disabled:hover{background:var(--disabled-item-background)}igx-expansion-panel{--header-background: var(--igx-expansion-panel-header-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--body-background: var(--igx-expansion-panel-body-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-focus-background: var(--igx-expansion-panel-header-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--header-title-color: var(--igx-expansion-panel-header-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--header-description-color: var(--igx-expansion-panel-header-description-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--header-icon-color: var(--igx-expansion-panel-header-icon-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--body-color: var(--igx-expansion-panel-body-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--disabled-color: var(--igx-expansion-panel-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--expanded-margin: var(--igx-expansion-panel-expanded-margin, .5rem);--border-radius: var(--igx-expansion-panel-border-radius, 0rem, 0rem, 1rem)}.igx-expansion-panel{display:flex;flex-direction:column;border-radius:var(--border-radius);overflow:hidden;transition:margin .35s cubic-bezier(.25,.46,.45,.94)}.igx-expansion-panel__header-title{color:var(--header-title-color);margin-inline-end:1rem}.igx-expansion-panel__header-description{color:var(--header-description-color)}.igx-expansion-panel__header-title,.igx-expansion-panel__header-description{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.igx-accordion{overflow-y:auto}.igx-accordion .igx-expansion-panel__header-title{display:-webkit-inline-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:initial;word-wrap:break-word}.igx-accordion .igx-expansion-panel--expanded{margin:var(--expanded-margin) 0}.igx-accordion .igx-expansion-panel--expanded:first-of-type{margin-top:0}.igx-accordion .igx-expansion-panel--expanded:last-of-type{margin-bottom:0}.igx-expansion-panel__header-inner{display:flex;align-items:center;padding:1rem 1.5rem;cursor:pointer;background:var(--header-background)}.igx-expansion-panel__header-inner:focus,.igx-expansion-panel__header-inner:active{background:var(--header-focus-background);outline:rgba(0,0,0,0)}.igx-expansion-panel__title-wrapper{display:flex;flex-direction:column;justify-content:center;flex:1 0 0%;overflow:hidden}.igx-expansion-panel__header-icon--end{order:1;margin-inline-start:1rem}.igx-expansion-panel__header-icon--start{order:-1;margin-inline-end:1rem}.igx-expansion-panel__header-icon--none{display:none}.igx-expansion-panel__header-icon--end,.igx-expansion-panel__header-icon--start{display:flex;align-content:center;justify-content:center;-webkit-user-select:none;user-select:none;color:var(--header-icon-color)}.igx-expansion-panel__header-icon--end igx-icon,.igx-expansion-panel__header-icon--start igx-icon{--component-size: 3;color:var(--header-icon-color)}.igx-expansion-panel__body{color:var(--body-color);background:var(--body-background);overflow:hidden;padding:1rem 1.5rem}.igx-expansion-panel--disabled{pointer-events:none}.igx-expansion-panel--disabled .igx-expansion-panel__header-title,.igx-expansion-panel--disabled .igx-expansion-panel__header-description{color:var(--disabled-color)}.igx-expansion-panel--disabled .igx-expansion-panel__header-icon--start igx-icon,.igx-expansion-panel--disabled .igx-expansion-panel__header-icon--end igx-icon{color:var(--disabled-color)}igx-grid,igx-hierarchical-grid,igx-pivot-grid,igx-tree-grid,igx-advanced-filtering-dialog,igx-grid-excel-style-filtering,.igx-excel-filter__secondary{--grid-elevation: var(--igx-grid-grid-elevation, var(--ig-elevation-2));--drag-elevation: var(--igx-grid-drag-elevation, var(--ig-elevation-5));--grouparea-color: var(--igx-grid-grouparea-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--grouparea-background: var(--igx-grid-grouparea-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--drop-area-text-color: var(--igx-grid-drop-area-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--drop-area-icon-color: var(--igx-grid-drop-area-icon-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--drop-area-background: var(--igx-grid-drop-area-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--drop-area-on-drop-background: var(--igx-grid-drop-area-on-drop-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--header-background: var(--igx-grid-header-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--header-text-color: var(--igx-grid-header-text-color, hsla(var(--ig-gray-800), .7));--header-selected-background: var(--igx-grid-header-selected-background, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--header-selected-text-color: var(--igx-grid-header-selected-text-color, var(--ig-secondary-100-contrast));--sortable-header-icon-hover-color: var(--igx-grid-sortable-header-icon-hover-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--sorted-header-icon-color: var(--igx-grid-sorted-header-icon-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--header-border-width: var(--igx-grid-header-border-width, 1px);--header-border-style: var(--igx-grid-header-border-style, solid);--header-border-color: var(--igx-grid-header-border-color, hsla(var(--ig-gray-400), .38));--ghost-header-background: var(--igx-grid-ghost-header-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--ghost-header-text-color: var(--igx-grid-ghost-header-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--ghost-header-icon-color: var(--igx-grid-ghost-header-icon-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--filtering-background-and: var(--igx-grid-filtering-background-and, hsla(var(--ig-primary-300), var(--ig-primary-a)));--filtering-background-or: var(--igx-grid-filtering-background-or, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--filtering-background-and--focus: var(--igx-grid-filtering-background-and--focus, hsla(var(--ig-primary-700), var(--ig-primary-a)));--filtering-background-or--focus: var(--igx-grid-filtering-background-or--focus, hsla(var(--ig-secondary-700), var(--ig-secondary-a)));--excel-filtering-header-foreground: var(--igx-grid-excel-filtering-header-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--excel-filtering-subheader-foreground: var(--igx-grid-excel-filtering-subheader-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--excel-filtering-actions-foreground: var(--igx-grid-excel-filtering-actions-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--excel-filtering-actions-hover-foreground: var(--igx-grid-excel-filtering-actions-hover-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--excel-filtering-actions-disabled-foreground: var(--igx-grid-excel-filtering-actions-disabled-foreground, hsla(var(--ig-gray-400), var(--ig-gray-a)));--grid-border-color: var(--igx-grid-grid-border-color, transparent);--content-background: var(--igx-grid-content-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--content-text-color: var(--igx-grid-content-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--row-odd-background: var(--igx-grid-row-odd-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--row-even-background: var(--igx-grid-row-even-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--row-odd-text-color: var(--igx-grid-row-odd-text-color, inherit);--row-even-text-color: var(--igx-grid-row-even-text-color, inherit);--row-selected-background: var(--igx-grid-row-selected-background, hsla(var(--ig-secondary-50), var(--ig-secondary-a)));--tree-selected-filtered-row-text-color: var(--igx-grid-tree-selected-filtered-row-text-color, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--row-selected-text-color: var(--igx-grid-row-selected-text-color, var(--ig-secondary-50-contrast));--cell-selected-within-background: var(--igx-grid-cell-selected-within-background, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--cell-selected-within-text-color: var(--igx-grid-cell-selected-within-text-color, var(--ig-secondary-200-contrast));--row-selected-hover-background: var(--igx-grid-row-selected-hover-background, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--row-selected-hover-text-color: var(--igx-grid-row-selected-hover-text-color, var(--ig-secondary-100-contrast));--row-hover-background: var(--igx-grid-row-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--row-hover-text-color: var(--igx-grid-row-hover-text-color, var(--ig-gray-200-contrast));--row-border-color: var(--igx-grid-row-border-color, hsla(var(--ig-gray-300), .38));--pinned-border-width: var(--igx-grid-pinned-border-width, 2px);--pinned-border-style: var(--igx-grid-pinned-border-style, solid);--pinned-border-color: var(--igx-grid-pinned-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--cell-active-border-color: var(--igx-grid-cell-active-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--cell-selected-background: var(--igx-grid-cell-selected-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--tree-selected-filtered-cell-text-color: var(--igx-grid-tree-selected-filtered-cell-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--cell-selected-text-color: var(--igx-grid-cell-selected-text-color, var(--ig-gray-200-contrast));--cell-editing-background: var(--igx-grid-cell-editing-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--cell-editing-foreground: var(--igx-grid-cell-editing-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--cell-editing-focus-foreground: var(--igx-grid-cell-editing-focus-foreground, hsla(var(--ig-gray-900), var(--ig-gray-a)));--edit-mode-color: var(--igx-grid-edit-mode-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--edited-row-indicator: var(--igx-grid-edited-row-indicator, hsla(var(--ig-gray-400), var(--ig-gray-a)));--cell-new-color: var(--igx-grid-cell-new-color, inherit);--cell-edited-value-color: var(--igx-grid-cell-edited-value-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--cell-disabled-color: var(--igx-grid-cell-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--resize-line-color: var(--igx-grid-resize-line-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--drop-indicator-color: var(--igx-grid-drop-indicator-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--group-label-column-name-text: var(--igx-grid-group-label-column-name-text, hsla(var(--ig-primary-500), var(--ig-primary-a)));--group-label-icon: var(--igx-grid-group-label-icon, hsla(var(--ig-primary-500), var(--ig-primary-a)));--group-label-text: var(--igx-grid-group-label-text, hsla(var(--ig-gray-800), var(--ig-gray-a)));--expand-all-icon-color: var(--igx-grid-expand-all-icon-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--expand-all-icon-hover-color: var(--igx-grid-expand-all-icon-hover-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--expand-icon-color: var(--igx-grid-expand-icon-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--expand-icon-hover-color: var(--igx-grid-expand-icon-hover-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--active-expand-icon-color: var(--igx-grid-active-expand-icon-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--active-expand-icon-hover-color: var(--igx-grid-active-expand-icon-hover-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--group-count-background: var(--igx-grid-group-count-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--group-count-text-color: var(--igx-grid-group-count-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--group-row-background: var(--igx-grid-group-row-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--group-row-selected-background: var(--igx-grid-group-row-selected-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--filtering-header-background: var(--igx-grid-filtering-header-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--filtering-header-text-color: var(--igx-grid-filtering-header-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--filtering-row-background: var(--igx-grid-filtering-row-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--filtering-row-text-color: var(--igx-grid-filtering-row-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--tree-filtered-text-color: var(--igx-grid-tree-filtered-text-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--body-summaries-background: var(--igx-grid-body-summaries-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--body-summaries-text-color: var(--igx-grid-body-summaries-text-color, var(--ig-gray-100-contrast));--root-summaries-background: var(--igx-grid-root-summaries-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--root-summaries-text-color: var(--igx-grid-root-summaries-text-color, var(--ig-gray-300-contrast));--row-highlight: var(--igx-grid-row-highlight, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--row-ghost-background: var(--igx-grid-row-ghost-background, hsla(var(--ig-primary-50), var(--ig-primary-a)));--row-drag-color: var(--igx-grid-row-drag-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--drop-area-border-radius: var(--igx-grid-drop-area-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1rem), 1rem));--header-size: var(--igx-grid-header-size, max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)));--drop-area-size: var(--igx-grid-drop-area-size, max(var(--is-large, 1) * max(2rem, -1 * 2rem), var(--is-medium, 1) * max(1.5rem, -1 * 1.5rem), var(--is-small, 1) * max(1.5rem, -1 * 1.5rem)));--group-area-size: var(--igx-grid-group-area-size, max(var(--is-large, 1) * max(3.5625rem, -1 * 3.5625rem), var(--is-medium, 1) * max(3.0625rem, -1 * 3.0625rem), var(--is-small, 1) * max(2.5625rem, -1 * 2.5625rem)));--grid-shadow: var(--igx-grid-grid-shadow, var(--ig-elevation-2));--drag-shadow: var(--igx-grid-drag-shadow, var(--ig-elevation-5))}@keyframes scale-in-ver-center{0%{transform:scaleY(0);opacity:1}to{transform:scaleY(1);opacity:1}}igx-grid,igx-hierarchical-grid,igx-pivot-grid,igx-tree-grid{--igx-chip-disabled-text-color: hsla(var(--ig-gray-500), var(--ig-gray-a));--igx-chip-disabled-background: hsla(var(--ig-gray-300), var(--ig-gray-a));--igx-chip-disabled-border-color: hsla(var(--ig-gray-300), var(--ig-gray-a))}.igx-grid__tbody-content:focus,.igx-grid__tfoot:focus,.igx-grid-thead__wrapper:focus{outline:0}.igx-grid{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--grid-size: var(--component-size)}.igx-grid{--header-size: max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem));--grouparea-size: max(var(--is-large, 1) * max(3.5625rem, -1 * 3.5625rem), var(--is-medium, 1) * max(3.0625rem, -1 * 3.0625rem), var(--is-small, 1) * max(2.5625rem, -1 * 2.5625rem));--igx-tree-indent-size: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1rem, -1 * 1rem), var(--is-small, 1) * max(.75rem, -1 * .75rem));position:relative;display:grid;grid-template-rows:auto auto auto 1fr auto auto;grid-template-columns:100%;overflow:hidden;box-shadow:var(--grid-shadow);outline-style:none;z-index:1}.igx-grid .igx-checkbox{min-width:1.25rem}.igx-grid__caption{display:flex;align-items:center;font-size:1.25rem;line-height:2rem;padding:1rem 1.5rem;grid-row:1}.igx-grid-thead__wrapper,.igx-grid__tfoot{position:relative;display:flex;background:var(--header-background);color:var(--header-text-color);overflow:hidden;outline-style:none}.igx-grid-thead__wrapper .igx-grid__tr,.igx-grid__tfoot .igx-grid__tr{position:relative;background:inherit;color:inherit;z-index:2}.igx-grid-thead__wrapper .igx-grid__tr:hover,.igx-grid__tfoot .igx-grid__tr:hover{background:inherit;color:inherit}.igx-grid-thead__wrapper>[aria-activedescendant],.igx-grid__tfoot>[aria-activedescendant]{outline-style:none}.igx-grid-thead__wrapper{border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color);z-index:2}.igx-grid-thead__wrapper .igx-grid__cbx-selection--push{align-items:flex-start;padding-block-start:max(var(--is-large, 1)*max(.9375rem,-1 * .9375rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.625rem,-1 * .625rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)))}.igx-grid-thead__wrapper .igx-grid__tr{border-bottom:none}.igx-grid-thead{grid-row:3;display:flex;overflow:hidden}.igx-grid-thead .igx-grid__header-indentation igx-icon{--component-size: var(--ig-size, var(--ig-size-large));font-size:1.5rem;width:1.5rem;height:1.5rem}.igx-grid-thead .igx-grid__drag-indicator{cursor:default}.igx-grid-thead .igx-grid__tr--mrl .igx-grid__hierarchical-expander--header,.igx-grid-thead .igx-grid__tr--mrl .igx-grid__header-indentation,.igx-grid-thead .igx-grid__tr--mrl .igx-grid__row-indentation,.igx-grid-thead .igx-grid__tr--mrl .igx-grid__cbx-selection{border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid-thead__title{flex-basis:auto!important;align-items:center!important;border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color);height:var(--header-size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0}.igx-grid-thead__title--pinned-last{border-inline-end:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important}.igx-grid-thead__group{display:flex;flex-flow:row nowrap}.igx-grid-thead__item{display:flex;flex-flow:column nowrap}.igx-grid-thead__item .igx-grid-thead__group,.igx-grid-thead__item .igx-grid-thead__title,.igx-grid-thead__item .igx-grid-th{flex:1 1 auto}.igx-grid-thead__item .igx-grid-thead__title{flex:0 0 auto}.igx-grid-thead__item,.igx-grid-thead__subgroup{position:relative}.igx-grid__tfoot{grid-row:5;border-top:var(--header-border-width) var(--header-border-style) var(--header-border-color);z-index:10001}.igx-grid__footer{grid-row:7}.igx-grid-thead__wrapper igx-display-container{width:100%;overflow:visible}.igx-grid__tr igx-display-container,.igx-grid__summaries igx-display-container,.igx-grid__summaries--body igx-display-container{width:100%;overflow:visible}.igx-grid__mrl-block{display:grid;background:inherit;position:relative}.igx-grid__mrl-block .igx-grid-thead__item{display:flex}.igx-grid__mrl-block .igx-grid-thead__title,.igx-grid__mrl-block .igx-grid-th{align-items:center;flex-grow:1;border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid__mrl-block .igx-grid__td,.igx-grid__mrl-block .igx-grid-thead__title,.igx-grid__mrl-block .igx-grid-th{border-inline-end:.0625rem solid var(--row-border-color);border-bottom:.0625rem solid var(--row-border-color)}.igx-grid__tr--mrl.igx-grid__tr{border-bottom-color:#0000}.igx-grid__tr--mrl .igx-grid__cbx-selection,.igx-grid__tr--mrl .igx-grid__row-indentation,.igx-grid__tr--mrl .igx-grid__drag-indicator{border-bottom:.0625rem solid var(--row-border-color)}.igx-grid__tbody-content{position:relative;background:var(--content-background);color:var(--content-text-color);overflow:hidden;z-index:1;outline-style:none}.igx-grid__tbody{position:relative;display:flex;grid-row:4;overflow:hidden}.igx-grid__tbody-message{display:flex;justify-content:center;align-items:center;height:100%;color:var(--content-text-color);flex-direction:column;padding:1.5rem}.igx-grid__loading{display:flex;align-items:center;justify-content:center;height:100%;min-height:6.25rem}.igx-grid__loading>.igx-circular-bar{width:3.125rem;height:3.125rem}.igx-grid__scroll{grid-row:6;display:flex;flex-flow:row nowrap;width:100%;background:var(--header-background);z-index:10001}.igx-grid-thead__thumb{background:var(--header-background);border-inline-start:.0625rem solid var(--header-border-color)}.igx-grid__tfoot-thumb{position:absolute;top:0;inset-inline-end:0;background:var(--header-background);border-inline-start:.0625rem solid var(--header-border-color)}.igx-grid__tbody-scrollbar{background:var(--content-background);border-inline-start:.0625rem solid var(--row-border-color);position:relative}.igx-grid__tbody-scrollbar-start{background:var(--header-background)}.igx-grid__tbody-scrollbar-main{position:relative}.igx-grid__tbody-scrollbar-end,.igx-grid__scroll-start{background:var(--header-background)}.igx-grid__scroll-main igx-display-container{height:0}.igx-grid__scroll-main igx-horizontal-virtual-helper{height:100%}.igx-grid__tr{display:flex;background:var(--content-background);border-bottom:.0625rem solid var(--row-border-color);outline-style:none;position:relative;background-clip:content-box!important}.igx-grid__tr:hover{background:var(--row-hover-background);color:var(--row-hover-text-color)}.igx-grid__tr:hover .igx-grid__td--column-selected{color:var(--row-selected-hover-text-color);background:var(--row-selected-hover-background)}.igx-grid__tr:hover .igx-grid__td--selected.igx-grid__td--column-selected{color:var(--cell-selected-within-text-color);background:var(--cell-selected-within-background)}.igx-grid__tr.igx-grid__tr--ghost{background:var(--row-ghost-background);color:var(--row-drag-color);z-index:10002}.igx-grid__tr.igx-grid__tr--ghost,.igx-grid__tr.igx-grid__tr--ghost igx-grid-row{--row-ghost-background: var(--igx-grid-row-row-ghost-background, hsla(var(--ig-primary-50), var(--ig-primary-a)));--row-drag-color: var(--igx-grid-row-row-drag-color, )}.igx-grid__drag-indicator{display:flex;align-items:center;justify-content:center;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;flex:1 0 auto;min-width:3rem;background:inherit;z-index:4;cursor:move;border-inline-end:.0625rem solid rgba(0,0,0,0);background-clip:border-box}.igx-grid__drag-indicator igx-icon{width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem)}.igx-grid__drag-indicator--header{border-inline-end:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid__drag-indicator--off{color:var(--row-drag-color)}.igx-grid__tr--drag{opacity:.5}.igx-grid__tr--odd{background:var(--row-odd-background);color:var(--row-odd-text-color)}.igx-grid__tr--even{background:var(--row-even-background);color:var(--row-even-text-color)}.igx-grid__tr--expanded{border-bottom:none}.igx-grid__tr--pinned{position:relative;background:inherit;z-index:10000}.igx-grid__tr--pinned .igx-grid__hierarchical-expander--empty{border-inline-end:.0625rem solid var(--header-border-color)}.igx-grid__tr--pinned-top{border-bottom:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important}.igx-grid__tr--pinned-bottom{border-top:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important;position:absolute;bottom:0}.igx-grid__td--bool,.igx-grid__td--image{justify-content:center}.igx-grid__td--bool igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-grid__td--bool .igx-icon--error{color:hsla(var(--ig-gray-500),var(--ig-gray-a))}.igx-grid__td--bool-true .igx-icon--success{color:hsla(var(--ig-gray-700),var(--ig-gray-a))}.igx-grid__tr--edit{border-bottom:.0625rem solid var(--edit-mode-color);position:relative}.igx-grid__tr--edit:after{content:"";position:absolute;height:.0625rem;width:100%;top:-.0625rem;inset-inline-start:0;background:var(--edit-mode-color)}.igx-grid__tr--edit.igx-grid__tr{border-bottom:.0625rem solid var(--edit-mode-color)}.igx-grid__tr--edit .igx-grid__td--editing{border:none}.igx-grid__tr--edit .igx-grid__td--editing .igx-input-group--focused .igx-input-group__bundle,.igx-input-group--focused .igx-grid__tr--edit .igx-grid__td--editing .igx-input-group__bundle{caret-color:var(--edit-mode-color)!important}.igx-grid__tr--edit .igx-grid__td--editing .igx-input-group--fluent .igx-input-group__bundle:focus-within:after,.igx-input-group--fluent .igx-grid__tr--edit .igx-grid__td--editing .igx-input-group__bundle:focus-within:after,.igx-grid__tr--edit .igx-grid__td--editing .igx-input-group--fluent .igx-input-group__bundle:focus:after,.igx-input-group--fluent .igx-grid__tr--edit .igx-grid__td--editing .igx-input-group__bundle:focus:after{border:none!important}.igx-grid__tr--edit [aria-readonly=true]{color:var(--cell-disabled-color)}.igx-grid__tr--edit [aria-readonly=true] igx-icon{color:var(--cell-disabled-color)}.igx-grid__tr--inner{display:flex;background:inherit}.igx-grid__tr--header{display:flex;align-items:center}.igx-grid__tr--add-animate{animation:scale-in-ver-center .2s cubic-bezier(.455,.03,.515,.955)}.igx-grid__tr--mrl.igx-grid__tr--edit:first-of-type:after{top:0;z-index:5}.igx-grid__tr--edited:before{content:"";position:absolute;width:.125rem;height:100%;z-index:10000;background:var(--edited-row-indicator)}.igx-grid__tr--group{position:relative;background:var(--header-background)!important}.igx-grid__tr--filtered .igx-grid__td-text,.igx-grid__tr--filtered .igx-grid__tree-grouping-indicator,.igx-grid__tr--filtered .igx-grid__tree-grouping-indicator:hover{color:var(--tree-filtered-text-color)}.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__td-text,.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__tree-grouping-indicator,.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__tree-grouping-indicator:hover{color:var(--tree-selected-filtered-cell-text-color)}.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__td-text,.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__tree-grouping-indicator,.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__tree-grouping-indicator:hover{color:var(--tree-selected-filtered-row-text-color)}.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__td-text,.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__tree-grouping-indicator,.igx-grid__tr--selected.igx-grid__tr--filtered .igx-grid__td--selected .igx-grid__tree-grouping-indicator:hover{color:var(--tree-selected-filtered-cell-text-color)}.igx-grid__tree-grouping-indicator{display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;outline-style:none;margin-inline-end:.5rem;cursor:pointer;color:var(--expand-icon-color)}.igx-grid__tree-grouping-indicator:hover{color:var(--expand-icon-hover-color)}[dir=rtl] .igx-grid__tree-grouping-indicator{transform:scaleX(-1)}.igx-grid__tree-grouping-indicator igx-icon{--component-size: 3}.igx-grid__tree-loading-indicator{width:1.5rem;height:1.5rem;margin-inline-end:.5rem}.igx-grid__tree-loading-indicator .igx-circular-bar__outer{stroke:var(--expand-icon-color)}.igx-grid__tree-loading-indicator>.igx-circular-bar{width:1.5rem;height:1.5rem}.igx-grid__td,.igx-grid-thead__title,.igx-grid-th{position:relative;display:flex;flex:1 1 0%;align-items:center;outline-style:none;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;font-size:.8125rem;line-height:1rem;color:inherit;text-align:start;background-clip:border-box!important}.igx-grid__td-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;pointer-events:none}.igx-grid__td--fw,.igx-grid-th--fw{flex-grow:0;outline-style:none}.igx-grid__tr-container--active,.igx-grid__group-row--active,.igx-grid-summary--active,.igx-grid-th--active .igx-grid-th--selected,.igx-grid-th--active .igx-grid-th--selectable,.igx-grid-th--active,.igx-grid__td--active{box-shadow:inset 0 0 0 .0625rem var(--cell-active-border-color)}.igx-grid__tr-container--active .igx-grid__filtering-cell,.igx-grid__group-row--active .igx-grid__filtering-cell,.igx-grid-summary--active .igx-grid__filtering-cell,.igx-grid-th--active .igx-grid__filtering-cell,.igx-grid__td--active .igx-grid__filtering-cell,.igx-grid__tr-container--active .igx-grid__filtering-cell--selected,.igx-grid__group-row--active .igx-grid__filtering-cell--selected,.igx-grid-summary--active .igx-grid__filtering-cell--selected,.igx-grid-th--active .igx-grid__filtering-cell--selected,.igx-grid__td--active .igx-grid__filtering-cell--selected,.igx-grid__tr-container--active .igx-grid-thead__title,.igx-grid__group-row--active .igx-grid-thead__title,.igx-grid-summary--active .igx-grid-thead__title,.igx-grid-th--active .igx-grid-thead__title,.igx-grid__td--active .igx-grid-thead__title,.igx-grid__tr-container--active .igx-grid-th,.igx-grid__group-row--active .igx-grid-th,.igx-grid-summary--active .igx-grid-th,.igx-grid-th--active .igx-grid-th,.igx-grid__td--active .igx-grid-th{border-inline-end-color:var(--cell-active-border-color);border-bottom-color:var(--cell-active-border-color)}.igx-grid__td--invalid{padding-inline-end:.25rem!important}.igx-grid__td--invalid>igx-icon{margin-inline-start:auto;color:hsla(var(--ig-error-500),var(--ig-error-a));width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-grid__td--invalid .igx-grid__td-text{width:100%}.igx-grid__td--invalid .igx-input-group__bundle:focus-within:after{border:none!important}.igx-grid__td--valid{box-shadow:inset 0 0 0 .125rem hsla(var(--ig-success-500),var(--ig-success-a))!important}.igx-grid__td--pinned.igx-grid__td--selected,.igx-grid__td--selected{color:var(--cell-selected-text-color);background:var(--cell-selected-background)}.igx-grid__td--selected .igx-grid__tree-grouping-indicator:hover{color:var(--cell-selected-text-color)}.igx-grid__tr--selected{color:var(--row-selected-text-color);background:var(--row-selected-background)}.igx-grid__tr--selected .igx-grid__td--selected{color:var(--cell-selected-within-text-color);background:var(--cell-selected-within-background)}.igx-grid__tr--selected:hover{background:var(--row-selected-hover-background);color:var(--row-selected-hover-text-color)}.igx-grid__tr--selected:hover .igx-grid__td--column-selected{color:var(--row-selected-hover-text-color);background:var(--row-selected-hover-background)}.igx-grid__tr--selected .igx-grid__tree-grouping-indicator,.igx-grid__tr--selected .igx-grid__tree-grouping-indicator:hover{color:var(--row-selected-text-color)}.igx-grid__td--column-selected{color:var(--row-selected-text-color);background:var(--row-selected-background)}.igx-grid__td--selected.igx-grid__td--column-selected{color:var(--cell-selected-within-text-color);background:var(--cell-selected-within-background)}.igx-grid__td--new{color:var(--cell-new-color)}.igx-grid__td--edited .igx-grid__td-text{font-style:italic;color:var(--cell-edited-value-color);padding:0 .0625rem}.igx-grid__tr--deleted .igx-grid__td-text{font-style:italic;color:hsla(var(--ig-error-500),var(--ig-error-a));text-decoration:line-through}.igx-grid__tr--disabled .igx-grid__td-text{color:var(--cell-disabled-color)}.igx-grid__td--editing{background:var(--cell-editing-background)!important;box-shadow:inset 0 0 0 .125rem var(--edit-mode-color);padding:0!important}.igx-grid__td--editing>igx-input-group,.igx-grid__td--editing igx-combo,.igx-grid__td--editing igx-select,.igx-grid__td--editing igx-date-picker,.igx-grid__td--editing igx-time-picker{position:relative;height:calc(100% - .25rem);width:calc(100% - .25rem);inset-inline-start:.125rem;overflow:hidden}.igx-grid__td--editing igx-input-group{height:100%;--theme: fluent}.igx-grid__td--editing igx-input-group input{height:100%;color:var(--cell-editing-foreground)}.igx-grid__td--editing igx-input-group input:focus{color:var(--cell-editing-focus-foreground)}.igx-grid__td--editing .igx-input-group__bundle{height:100%!important;min-height:100%!important;border:none!important}.igx-grid__td--editing .igx-input-group__bundle:before{content:none!important}.igx-grid__td--editing .igx-input-group__bundle:after{display:none}.igx-grid__td--editing .igx-input-group__bundle-main,.igx-grid__td--editing .igx-input-group__bundle-start,.igx-grid__td--editing .igx-input-group__bundle-end{height:calc(100% - .25rem)}.igx-grid__td--invalid.igx-grid__td--editing{box-shadow:inset 0 0 0 .125rem hsla(var(--ig-error-500),var(--ig-error-a))!important;padding-inline-end:.25rem!important}.igx-grid__td--editing igx-prefix,.igx-grid__td--editing igx-suffix{border-radius:0!important;padding-top:0!important;padding-bottom:0!important}.igx-grid__td--editing igx-date-range-picker{height:100%}.igx-grid__td--editing igx-time-picker [igxLabel]{display:none}.igx-grid__td--editing input{margin:0 auto;max-width:100%}.igx-grid__td--editing .igx-input-group__input,.igx-grid__td--editing .igx-input-group__textarea{font-size:.8125rem!important;line-height:1rem!important}.igx-grid__td--editing.igx-grid__td--number,.igx-grid__td--editing.igx-grid-th--number{justify-content:flex-start!important}.igx-grid__td--pinned,.igx-grid__td--pinned-last,.igx-grid__td--pinned-first,.igx-grid-th--pinned{position:relative;background:inherit;z-index:9999}.igx-grid__td--pinned.igx-grid__td--column-selected{color:var(--row-selected-text-color);background:var(--row-selected-background)}.igx-grid__td--pinned.igx-grid__td--column-selected:hover{background:var(--row-selected-hover-background);color:var(--row-selected-text-color)}.igx-grid__td--pinned-last,.igx-grid-th--pinned-last{border-inline-end:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important}.igx-grid__td--pinned-last .igx-grid__filtering-cell,.igx-grid-th--pinned-last .igx-grid__filtering-cell,.igx-grid__td--pinned-last .igx-grid__filtering-cell--selected,.igx-grid-th--pinned-last .igx-grid__filtering-cell--selected,.igx-grid__td--pinned-last .igx-grid-thead__title,.igx-grid-th--pinned-last .igx-grid-thead__title,.igx-grid__td--pinned-last .igx-grid-th,.igx-grid-th--pinned-last .igx-grid-th{border-inline-end:none}.igx-grid__td--pinned-first,.igx-grid-th--pinned-first{border-inline-start:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)!important}.igx-grid__td--row-pinned-first{overflow:hidden}.igx-grid__td--pinned-chip{margin-inline-end:max(var(--is-large, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid-thead__title,.igx-grid-th{flex-flow:row nowrap;justify-content:space-between;align-items:flex-end;font-size:.75rem;font-weight:600;min-width:0;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;border-inline-end:var(--header-border-width) var(--header-border-style) var(--header-border-color);min-height:var(--header-size);outline-style:none;overflow:hidden;transition:color .25s ease-in-out}.igx-grid-th--filtering{background:var(--filtering-header-background);color:var(--filtering-header-text-color);z-index:3}.igx-grid-th__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600;min-width:3ch;-webkit-user-select:none;user-select:none;cursor:initial;flex-grow:1;line-height:var(--header-size);transition:color .25s ease-in-out}.igx-grid-th__icons{display:inline-flex;align-items:center;justify-content:flex-end;-webkit-user-select:none;user-select:none;min-width:1.875rem;height:var(--header-size);align-self:flex-end}.igx-grid-th__icons:empty{min-width:0}.igx-grid-th__icons .sort-icon{position:relative;display:flex}.igx-grid-th__icons .sort-icon igx-icon{width:var(--igx-icon-size, .9375rem);height:var(--igx-icon-size, .9375rem);font-size:var(--igx-icon-size, .9375rem)}.igx-grid-th__icons .sort-icon:after{content:attr(data-sortIndex);position:absolute;top:-.3125rem;inset-inline-end:-.0625rem;font-size:.625rem;text-align:end;font-family:sans-serif;line-height:.625rem}.igx-grid-th__expander{display:flex;align-items:center;justify-content:center;margin-inline-end:.5rem;cursor:pointer}.igx-grid-th__expander igx-icon{color:var(--expand-icon-color)}.igx-grid-th__expander:hover igx-icon{color:var(--expand-icon-hover-color)}.igx-grid-th__group-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-grid-th--collapsible{justify-content:normal}.igx-grid-th--selectable{color:var(--header-selected-text-color);background:var(--header-selected-background);opacity:.7}.igx-grid-th--selectable.igx-grid__drag-ghost-image{opacity:1}.igx-grid-th--selectable .sort-icon{color:var(--header-selected-text-color)}.igx-grid-th--selectable .sort-icon :after{background:var(--header-selected-background)}.igx-grid-th--selectable.igx-grid-th--sorted .sort-icon{color:var(--header-selected-text-color)}.igx-grid-th--selectable.igx-grid-th--sorted .sort-icon:focus,.igx-grid-th--selectable.igx-grid-th--sorted .sort-icon:hover{color:var(--header-selected-text-color)}.igx-grid-th--selected{color:var(--header-selected-text-color);background:var(--header-selected-background)}.igx-grid-th--selected .sort-icon:after{background:var(--header-selected-background)}.igx-grid-th--selected.igx-grid-th--sorted .sort-icon{color:var(--header-selected-text-color)}.igx-grid-th--selected.igx-grid-th--sorted .sort-icon:focus,.igx-grid-th--selected.igx-grid-th--sorted .sort-icon:hover{color:var(--header-selected-text-color)}.igx-grid-th--sortable .sort-icon{cursor:pointer;opacity:.7}.igx-grid-th--sortable .sort-icon:hover{opacity:1}.igx-grid-th--sorted .sort-icon{opacity:1;color:var(--sorted-header-icon-color)}.igx-grid-th--sorted .sort-icon:hover{color:var(--sortable-header-icon-hover-color)}.igx-grid-th--filtrable .igx-grid-th__title{opacity:.7}.igx-grid-th--filtrable.igx-grid-th--sortable .sort-icon{cursor:pointer;opacity:.7}.igx-grid-th--filtrable.igx-grid-th--sortable .sort-icon:hover{opacity:1}.sort-icon{transition:all .25s ease-in-out}.igx-grid__td--number,.igx-grid-th--number{text-align:end;justify-content:flex-end}.igx-grid__td--number .igx-grid-th__icons,.igx-grid-th--number .igx-grid-th__icons{justify-content:flex-start;order:-1}.igx-grid__td--number .igx-grid-th__icons .sort-icon,.igx-grid-th--number .igx-grid-th__icons .sort-icon{order:1}.igx-grid__cbx-selection{display:flex;justify-content:center;align-items:center;background:inherit;z-index:4;background-clip:border-box}.igx-grid__cbx-padding{display:flex;align-items:center;justify-content:center;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid-th__resize-handle{position:absolute;width:.25rem;top:0;inset-inline-end:-.125rem;height:100%;z-index:2}.igx-grid-th__resize-line{position:absolute;cursor:col-resize;width:.25rem;background:var(--resize-line-color);z-index:2}.igx-grid-th__resize-line:before,.igx-grid-th__resize-line:after{position:absolute;content:"";height:100%;width:6rem}.igx-grid-th__resize-line:before{inset-inline-end:100%}.igx-grid-th__resize-line:after{inset-inline-start:100%}.igx-grid__summaries,.igx-grid__summaries--body{display:flex;overflow:hidden;background:var(--root-summaries-background);outline-style:none}.igx-grid__summaries .igx-grid-summary__result,.igx-grid__summaries--body .igx-grid-summary__result{color:var(--root-summaries-text-color)}.igx-grid__summaries--body{background:var(--body-summaries-background);border-bottom:.0625rem dashed var(--row-border-color)}.igx-grid__summaries--body:last-of-type{border-bottom:none}.igx-grid__summaries--body .igx-grid-summary__result{color:var(--body-summaries-text-color)}.igx-grid__summaries-patch{background:inherit;position:relative;z-index:1;border-inline-end:.0625rem solid var(--header-border-color)}.igx-grid-th__drop-indicator-left,.igx-grid-th__drop-indicator-right{position:absolute;width:.0625rem;height:100%;top:0;z-index:1}.igx-grid-th__drop-indicator-left{inset-inline-start:-.0625rem}.igx-grid-th__drop-indicator-right{inset-inline-end:-.0625rem}.igx-grid-th__drop-indicator--active.igx-grid-th__drop-indicator-left,.igx-grid-th__drop-indicator--active.igx-grid-th__drop-indicator-right{border-inline-end:.0625rem solid var(--drop-indicator-color)}.igx-grid-th__drop-indicator--active:after,.igx-grid-th__drop-indicator--active:before{position:absolute;content:"";width:0;height:0;border-style:solid;inset-inline-start:-.1875rem}.igx-grid-th__drop-indicator--active:before{bottom:0;border-width:0 .25rem .25rem;border-color:rgba(0,0,0,0) rgba(0,0,0,0) var(--drop-indicator-color)}.igx-grid-th__drop-indicator--active:after{top:0;border-width:.25rem .25rem 0;border-color:var(--drop-indicator-color) rgba(0,0,0,0) rgba(0,0,0,0)}.igx-grid__scroll-on-drag-left,.igx-grid__scroll-on-drag-right{position:absolute;width:.9375rem;top:0;height:100%;z-index:25}.igx-grid__scroll-on-drag-left{inset-inline-start:0}.igx-grid__scroll-on-drag-right{inset-inline-end:0}.igx-grid__scroll-on-drag-pinned{position:absolute;width:.9375rem;height:100%;top:0;z-index:25}.igx-grid__drag-ghost-image{position:absolute;display:flex;align-items:center;background:var(--ghost-header-background);color:var(--ghost-header-text-color);min-width:10.5rem;max-width:20rem;height:var(--header-size);min-height:var(--header-size);top:-6249.9375rem;inset-inline-start:-6249.9375rem;border:none;box-shadow:var(--drag-shadow);overflow:hidden;z-index:20}.igx-grid__drag-ghost-image .igx-grid-th__title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1 0 0;text-align:end}.igx-grid__drag-ghost-image .igx-grid-th__icons{display:none}.igx-grid__drag-ghost-image .igx-grid-thead__title{border:none}.igx-grid__drag-ghost-image-icon{color:var(--ghost-header-icon-color);margin-inline-end:.75rem}.igx-grid__drag-ghost-image-icon-group{color:var(--ghost-header-icon-color);padding:1.5rem;padding-inline-end:0;margin-inline-end:.5rem}.igx-grid__drag-col-header{background:var(--header-background)}.igx-grid__drag-col-header .igx-grid-thead__title>*,.igx-grid__drag-col-header .igx-grid-th>*{opacity:.4}.igx-grid__group-row{background:var(--group-row-background);display:flex;outline-style:none;border-bottom:.0625rem solid var(--row-border-color);min-height:var(--header-size)}.igx-grid__group-row .igx-grid__drag-indicator{cursor:default;flex-grow:0}.igx-grid__group-row .igx-grid__cbx-selection{background:initial}.igx-grid__group-row--active{background:var(--group-row-selected-background)}.igx-grid__group-row--active .igx-grid__grouping-indicator{color:var(--expand-icon-color)}.igx-grid__group-row--active .igx-grid__drag-indicator{border:.0625rem solid var(--cell-active-border-color);border-inline-start-width:0;border-inline-end-width:0;box-shadow:inset .0625rem 0 0 0 var(--cell-active-border-color)}.igx-grid__group-row--active:hover{background:var(--group-row-selected-background)}.igx-group-label{display:flex;align-items:center;justify-content:flex-start;line-height:1rem}.igx-group-label>*{margin-inline-end:.25rem}.igx-group-label>*:last-child{margin-inline-end:0}.igx-group-label__icon{-webkit-user-select:none;user-select:none}.igx-group-label__icon igx-icon{color:var(--group-label-icon);width:var(--igx-icon-size, 1rem);height:var(--igx-icon-size, 1rem);font-size:var(--igx-icon-size, 1rem)}.igx-group-label__column-name{color:var(--group-label-column-name-text);font-weight:600;font-size:.75rem}.igx-group-label__count-badge{--background-color: var(--group-count-background);--text-color: var(--group-count-text-color)}.igx-group-label__count-badge>span{font-size:.75rem}.igx-group-label__text{font-size:.8125rem;color:var(--group-label-text)}[dir=rtl] .igx-grid__group-content{padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}[dir=rtl] .igx-group-label>*{margin-inline-start:.25rem}[dir=rtl] .igx-group-label>*:last-child{margin-inline-start:0}.igx-grid__group-content{display:flex;align-items:center;justify-content:flex-start;flex:1 1 auto;padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));min-height:max(var(--is-large, 1)*max(3.125rem,-1 * 3.125rem),var(--is-medium, 1)*max(2.5rem,-1 * 2.5rem),var(--is-small, 1)*max(2rem,-1 * 2rem))}.igx-grid__group-content:focus{outline:rgba(0,0,0,0)}.igx-grid__row-indentation{position:relative;display:flex;justify-content:center;align-items:center;padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));border-inline-end:.0625rem solid var(--header-border-color);background:inherit;z-index:1;background-clip:border-box}.igx-grid__row-indentation:after{content:"";position:absolute;width:100%;height:.0625rem;bottom:-.0625rem;inset-inline-start:0;background:rgba(0,0,0,0)}.igx-grid__row-indentation .igx-button--icon{width:1.75rem;height:1.75rem;color:var(--expand-all-icon-color)}.igx-grid__row-indentation:focus .igx-button--icon,.igx-grid__row-indentation:hover .igx-button--icon{color:var(--expand-all-icon-hover-color)}.igx-grid-grouparea{grid-row:2;display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color);background:var(--grouparea-background);color:var(--grouparea-color);min-height:var(--grouparea-size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;z-index:2;height:100%;overflow:hidden}.igx-grid-grouparea:focus{outline-style:none}.igx-grid-grouparea .igx-chip,.igx-grid-grouparea .igx-chip__ghost{margin-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)))}.igx-grid-grouparea__connector{display:inline-flex;justify-content:center;align-items:center;margin:0 .25rem}.igx-grid-grouparea__connector igx-icon{width:var(--igx-icon-size, 1rem);height:var(--igx-icon-size, 1rem);font-size:var(--igx-icon-size, 1rem)}[dir=rtl] .igx-grid-grouparea__connector{transform:scaleX(-1)}.igx-drop-area{display:flex;align-items:center;justify-content:flex-start;min-width:5rem;height:max(var(--is-large, 1)*max(2rem,-1 * 2rem),var(--is-medium, 1)*max(1.5rem,-1 * 1.5rem),var(--is-small, 1)*max(1.5rem,-1 * 1.5rem));padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;flex:1 0 0%;background:var(--drop-area-background);border-radius:var(--drop-area-border-radius)}.igx-drop-area .igx-drop-area__icon{color:var(--drop-area-icon-color);width:1rem;height:1rem;font-size:1rem;margin-inline-end:.5rem}.igx-drop-area--hover{background:var(--drop-area-on-drop-background)}.igx-drop-area__text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--drop-area-text-color);font-size:.8125rem}.igx-grid__grouping-indicator{position:relative;display:flex;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;z-index:1;cursor:pointer;padding-inline-end:.75rem;margin-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1rem,-1 * 1rem),var(--is-small, 1)*max(.75rem,-1 * .75rem));min-height:var(--header-size)}.igx-grid__grouping-indicator igx-icon{color:var(--expand-icon-color);width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem)}.igx-grid__grouping-indicator:hover,.igx-grid__grouping-indicator:focus{outline-style:none}.igx-grid__grouping-indicator:hover igx-icon,.igx-grid__grouping-indicator:focus igx-icon{color:var(--expand-icon-hover-color)}[dir=rtl] .igx-grid__grouping-indicator{transform:scaleX(-1)}.igx-grid__header-indentation{position:relative;padding-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1rem,-1 * 1rem),var(--is-small, 1)*max(.75rem,-1 * .75rem));border-inline-end:.0625rem solid var(--header-border-color);background:var(--header-background);z-index:4}.igx-grid__header-indentation igx-icon{--component-size: var(--grid-size)}.igx-grid__group-expand-btn{position:absolute;cursor:pointer;-webkit-user-select:none;user-select:none;inset-block-start:calc(50% - 12px);inset-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem),var(--is-medium, 1)*max(1rem,-1 * 1rem),var(--is-small, 1)*max(.75rem,-1 * .75rem))}.igx-grid__group-expand-btn:hover{color:var(--expand-icon-hover-color)}.igx-grid__group-expand-btn.igx-grid__group-expand-btn--push{inset-block-start:max(var(--is-large, 1)*max(.8125rem,-1 * .8125rem),var(--is-medium, 1)*max(.5rem,-1 * .5rem),var(--is-small, 1)*max(.25rem,-1 * .25rem))}.igx-grid__row-indentation--level-1{padding-inline-start:max(var(--is-large, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(2.5rem,-1 * 2.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(2.25rem,-1 * 2.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-1 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-2{padding-inline-start:max(var(--is-large, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(3.5rem,-1 * 3.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-2 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(2rem,-1 * 2rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-3{padding-inline-start:max(var(--is-large, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3.75rem,-1 * 3.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-3 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(2.25rem,-1 * 2.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-4{padding-inline-start:max(var(--is-large, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(5.5rem,-1 * 5.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-4 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(4rem,-1 * 4rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-5{padding-inline-start:max(var(--is-large, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(6.5rem,-1 * 6.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(5.25rem,-1 * 5.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-5 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(5rem,-1 * 5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3.75rem,-1 * 3.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-6{padding-inline-start:max(var(--is-large, 1)*max(10.5rem,-1 * 10.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-6 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-7{padding-inline-start:max(var(--is-large, 1)*max(12rem,-1 * 12rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(8.5rem,-1 * 8.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(6.75rem,-1 * 6.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-7 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(10.5rem,-1 * 10.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(7rem,-1 * 7rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(5.25rem,-1 * 5.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-8{padding-inline-start:max(var(--is-large, 1)*max(13.5rem,-1 * 13.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(9.5rem,-1 * 9.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-8 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(12rem,-1 * 12rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(8rem,-1 * 8rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(6rem,-1 * 6rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-9{padding-inline-start:max(var(--is-large, 1)*max(15rem,-1 * 15rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(10.5rem,-1 * 10.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(8.25rem,-1 * 8.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-9 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(13.5rem,-1 * 13.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(6.75rem,-1 * 6.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__row-indentation--level-10{padding-inline-start:max(var(--is-large, 1)*max(16.5rem,-1 * 16.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(11.5rem,-1 * 11.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__group-row--padding-level-10 .igx-grid__grouping-indicator{padding-inline-start:max(var(--is-large, 1)*max(15rem,-1 * 15rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(10rem,-1 * 10rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(7.5rem,-1 * 7.5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid__outlet{--ig-size: var(--grid-size);z-index:10002;position:fixed}.igx-grid__loading-outlet{z-index:10003}.igx-grid__loading-outlet>.igx-overlay__wrapper--modal{background:none}.igx-grid__loading-outlet .igx-circular-bar{width:3.125rem;height:3.125rem}.igx-grid__row-editing-outlet{z-index:10000;position:absolute}.igx-grid__row-editing-outlet .igx-overlay__wrapper,.igx-grid__row-editing-outlet .igx-overlay__wrapper--modal,.igx-grid__row-editing-outlet .igx-overlay__wrapper--flex,.igx-grid__row-editing-outlet .igx-overlay__wrapper--flex-container{position:absolute}.igx-grid__addrow-snackbar{position:absolute;z-index:5;bottom:1.5rem;inset-inline-start:50%;transform:translate(-50%)}.igx-grid__filtering-cell,.igx-grid__filtering-cell--selected{display:flex;align-items:center;border-inline-end:var(--header-border-width) var(--header-border-style) var(--header-border-color);border-top:var(--header-border-width) var(--header-border-style) var(--header-border-color);height:var(--header-size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;overflow:hidden}.igx-grid__filtering-cell igx-chips-area,.igx-grid__filtering-cell--selected igx-chips-area{transition:transform .25s cubic-bezier(.175,.885,.32,1.275);flex-wrap:nowrap}.igx-grid__filtering-cell igx-chips-area .igx-filtering-chips__connector,.igx-grid__filtering-cell--selected igx-chips-area .igx-filtering-chips__connector{font-size:.75rem;text-transform:uppercase;font-weight:600;margin:0 .5rem}.igx-grid__filtering-cell--selected{color:var(--header-selected-text-color);background:var(--header-selected-background)}.igx-grid__filtering-cell-indicator,.igx-grid__filtering-cell-indicator--hidden{position:relative;display:flex;align-items:center;justify-content:center;padding-inline-end:.5rem;margin-inline-start:.5rem;cursor:pointer;visibility:visible}.igx-grid__filtering-cell-indicator igx-icon,.igx-grid__filtering-cell-indicator--hidden igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-grid__filtering-cell-indicator .igx-badge,.igx-grid__filtering-cell-indicator--hidden .igx-badge{--size: .875rem;--font-size: .75rem;line-height:0;position:absolute;inset-inline-end:0}.igx-grid__filtering-cell-indicator--hidden{visibility:hidden}.igx-grid__filtering-row{position:absolute;display:flex;width:100%;height:max(var(--is-large, 1) * max(3.125rem,-1 * 3.125rem),var(--is-medium, 1) * max(2.5rem,-1 * 2.5rem),var(--is-small, 1) * max(2rem,-1 * 2rem));padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));align-items:center;justify-content:space-between;background:var(--filtering-row-background);color:var(--filtering-row-text-color);inset-inline-start:0;bottom:0;z-index:3}.igx-grid__filtering-row:after{display:block;position:absolute;content:"";background:inherit;inset-inline-start:0;inset-inline-end:0;top:0;bottom:0;box-shadow:0 .0625rem 0 var(--filtering-row-background),0 .25rem .625rem #0000001f;z-index:-1}.igx-grid__filtering-row igx-input-group{--theme: fluent;width:100%;max-width:12.5rem;min-width:8.75rem;--size:calc(max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)) - .5rem)}.igx-grid__filtering-row igx-prefix:focus{color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-grid__filtering-row igx-suffix igx-icon{outline-style:none}.igx-grid__filtering-row igx-suffix igx-icon:focus{color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-grid__filtering-row igx-suffix igx-icon+igx-icon{margin-inline-start:.25rem}.igx-grid__filtering-dropdown-items{display:flex;align-items:center}.igx-grid__filtering-dropdown-text{margin-inline-start:1rem}.igx-grid__filtering-row-main{display:flex;flex:1;overflow:hidden;max-width:calc(100% - 176px);min-width:3.5rem}.igx-grid__filtering-row-main igx-chips-area{transition:transform .25s cubic-bezier(.175,.885,.32,1.275);flex-wrap:nowrap;margin:0 .5rem}.igx-grid__filtering-row-main igx-chip{margin:0 .25rem}.igx-grid__filtering-row-main [igxButton] igx-icon{position:absolute;inset-inline-start:.75rem;top:50%;transform:translateY(-50%)}.igx-grid__filtering-row-main [igxButton] span{margin-inline-start:1rem}.igx-grid__filtering-row-scroll-start{width:1.5rem;height:1.5rem;position:relative;overflow:visible;margin:0 .5rem;z-index:1}.igx-grid__filtering-row-scroll-start:after{display:block;position:absolute;width:.625rem;content:"";inset-block:-.125rem;background:linear-gradient(to right,var(--filtering-row-background),transparent);inset-inline-start:calc(100% + 6px)}[dir=rtl] .igx-grid__filtering-row-scroll-start{transform:scaleX(-1)}[dir=rtl] .igx-grid__filtering-row-scroll-start:after{content:initial}[dir=rtl] .igx-grid__filtering-row-scroll-start:before{display:block;position:absolute;width:.625rem;content:"";inset-block:-.125rem;background:linear-gradient(to right,var(--filtering-row-background),transparent);inset-inline-end:calc(100% + 6px)}.igx-grid__filtering-row-scroll-end{width:1.5rem;height:1.5rem;position:relative;overflow:visible;margin:0 .5rem;z-index:1}.igx-grid__filtering-row-scroll-end:before{display:block;position:absolute;width:.625rem;content:"";inset-block:-.125rem;background:linear-gradient(to left,var(--filtering-row-background),transparent);inset-inline-end:calc(100% + 6px)}[dir=rtl] .igx-grid__filtering-row-scroll-end{transform:scaleX(-1)}[dir=rtl] .igx-grid__filtering-row-scroll-end:before{content:initial}[dir=rtl] .igx-grid__filtering-row-scroll-end:after{display:block;position:absolute;width:.625rem;content:"";inset-block:-.125rem;background:linear-gradient(to left,var(--filtering-row-background),transparent);inset-inline-start:calc(100% + 6px)}.igx-grid__tr--highlighted{position:relative}.igx-grid__tr--highlighted:after{content:"";position:absolute;top:0;inset-inline-start:0;width:.25rem;height:100%;background:var(--row-highlight);z-index:3}.igx-grid__tr--highlighted .igx-grid__tr--edited:before{inset-inline-start:.25rem}.igx-grid__tr--highlighted:before{inset-inline-start:.25rem}.igx-grid__tr-container{overflow:auto;width:100%;border-bottom:.0625rem solid var(--row-border-color)}.igx-grid__hierarchical-expander,.igx-grid__hierarchical-expander--empty{-webkit-user-select:none;user-select:none;background:inherit;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;color:var(--expand-icon-color);background-clip:border-box}.igx-grid__hierarchical-expander:focus,.igx-grid__hierarchical-expander--empty:focus{outline:none}.igx-grid__hierarchical-expander:focus igx-icon,.igx-grid__hierarchical-expander--empty:focus igx-icon{color:var(--expand-icon-hover-color)}.igx-grid__hierarchical-expander:hover igx-icon,.igx-grid__hierarchical-expander--empty:hover igx-icon{color:var(--expand-icon-hover-color)}.igx-grid__hierarchical-expander igx-icon,.igx-grid__hierarchical-expander--empty igx-icon{--component-size: 3;color:var(--expand-icon-color);max-width:1.5rem;min-width:1.5rem}[dir=rtl] .igx-grid__hierarchical-expander,[dir=rtl] .igx-grid__hierarchical-expander--empty{transform:scaleX(-1)}.igx-grid__hierarchical-expander--empty{cursor:default;pointer-events:none}.igx-grid__hierarchical-expander--header{background:inherit;border-inline-end:.0625rem solid var(--header-border-color);z-index:3;background-clip:border-box}.igx-grid__hierarchical-expander--header igx-icon{display:flex;align-items:center}.igx-grid__hierarchical-expander--push{align-items:flex-start}.igx-grid__hierarchical-expander--push igx-icon{min-height:var(--header-size);max-height:var(--header-size)}.igx-grid__header-indentation--no-border{border-inline-end:.0625rem solid rgba(0,0,0,0)}.igx-grid__hierarchical-indent{display:flex;margin-inline-start:max(var(--is-large, 1)*max(4.5rem,-1 * 4.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(3.5rem,-1 * 3.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(3rem,-1 * 3rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-block:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)))}.igx-grid__hierarchical-indent--scroll{margin-inline-end:max(var(--is-large, 1)*max(calc(1.5rem + 18px),-1 * calc(1.5rem + 18px))*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(calc(1rem + 18px),-1 * calc(1rem + 18px))*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(calc(.75rem + 18px),-1 * calc(.75rem + 18px))*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter{display:block;width:20rem;height:100%;flex-grow:1;box-shadow:var(--ig-elevation-12);overflow:auto;min-width:20rem}.igx-excel-filter--inline{box-shadow:none;width:100%}.igx-excel-filter__loading{display:flex;justify-content:center;align-items:center}.igx-excel-filter__icon,.igx-excel-filter__icon--filtered{display:flex;cursor:pointer}.igx-excel-filter__icon igx-icon,.igx-excel-filter__icon--filtered igx-icon{width:var(--igx-icon-size, .9375rem);height:var(--igx-icon-size, .9375rem);font-size:var(--igx-icon-size, .9375rem)}.igx-excel-filter__icon--filtered igx-icon{color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-excel-filter__menu{--component-size: var(--ig-size, var(--ig-size-large));display:flex;flex-direction:column;height:100%;background:var(--filtering-row-background);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem)}.igx-excel-filter__menu igx-buttongroup{--shadow: none;--item-background: var(--filtering-row-background);--item-hover-background: hsla(var(--ig-gray-100), var(--ig-gray-a));--item-selected-background: hsla(var(--ig-gray-100), var(--ig-gray-a));--item-text-color: hsla(var(--ig-gray-700), var(--ig-gray-a));--item-hover-text-color: hsla(var(--ig-gray-800), var(--ig-gray-a));--item-selected-text-color: hsla(var(--ig-secondary-500), var(--ig-secondary-a));--item-border-color: transparent;--item-selected-border-color: transparent;--item-disabled-border: transparent}.igx-excel-filter__menu,.igx-excel-filter__menu igx-tree-node{--background: var(--igx-tree-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground: var(--igx-tree-foreground, var(--ig-surface-500-contrast));--background-selected: var(--igx-tree-background-selected, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-selected: var(--igx-tree-foreground-selected, var(--ig-surface-500-contrast));--background-active: var(--igx-tree-background-active, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-active: var(--igx-tree-foreground-active, var(--ig-surface-500-contrast));--background-active-selected: var(--igx-tree-background-active-selected, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-active-selected: var(--igx-tree-foreground-active-selected, var(--ig-surface-500-contrast));--border-color: var(--igx-tree-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--background-disabled: var(--igx-tree-background-disabled, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-disabled: var(--igx-tree-foreground-disabled, hsla(var(--ig-gray-500), var(--ig-gray-a)));--drop-area-color: var(--igx-tree-drop-area-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-color: var(--igx-tree-hover-color, hsla(var(--ig-gray-900), .1));--hover-selected-color: var(--igx-tree-hover-selected-color, hsla(var(--ig-gray-900), .1));--size: var(--igx-tree-size, max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)));--default-size: var(--igx-tree-default-size, 2)}.igx-excel-filter__menu .igx-tree{display:block;z-index:0;overflow-y:auto}.igx-excel-filter__menu .igx-tree-node,.igx-excel-filter__menu .igx-tree-node__wrapper,.igx-excel-filter__menu .igx-tree-node__toggle-button,.igx-excel-filter__menu .igx-tree-node__content,.igx-excel-filter__menu .igx-tree-node__select{display:flex}.igx-excel-filter__menu .igx-tree-node{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--tree-size: var(--component-size);flex-direction:column}.igx-excel-filter__menu .igx-tree-node__wrapper,.igx-excel-filter__menu .igx-tree-node__toggle-button,.igx-excel-filter__menu .igx-tree-node__select{align-items:center}.igx-excel-filter__menu .igx-tree-node__toggle-button,.igx-excel-filter__menu .igx-tree-node__select{margin-inline-end:.5rem}.igx-excel-filter__menu .igx-tree-node__content,.igx-excel-filter__menu .igx-tree-node__toggle-button,.igx-excel-filter__menu .igx-tree-node__select{z-index:1}.igx-excel-filter__menu .igx-tree-node__toggle-button--hidden{visibility:hidden}.igx-excel-filter__menu .igx-tree-node__wrapper{min-height:var(--size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;position:relative;background:var(--background);color:var(--foreground)}.igx-excel-filter__menu .igx-tree-node__wrapper igx-icon{width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem)}[dir=rtl] .igx-excel-filter__menu .igx-tree-node__wrapper igx-icon{transform:scaleX(-1)}.igx-excel-filter__menu .igx-tree-node__wrapper:after{content:"";position:absolute;top:0;inset-inline-start:0;width:100%;height:100%;background:rgba(0,0,0,0);z-index:0}.igx-excel-filter__menu .igx-tree-node__wrapper:hover:after{background:var(--hover-color)}.igx-excel-filter__menu .igx-tree-node__wrapper:focus{outline-width:0}.igx-excel-filter__menu .igx-tree-node__wrapper igx-circular-bar{--circular-bar: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(calc(1.5rem - 4px), -1 * calc(1.5rem - 4px)), var(--is-small, 1) * max(calc(1.5rem - 6px), -1 * calc(1.5rem - 6px)));width:var(--circular-bar);height:var(--circular-bar)}.igx-excel-filter__menu .igx-tree-node__wrapper--selected{background:var(--background-selected);color:var(--foreground-selected)}.igx-excel-filter__menu .igx-tree-node__wrapper--selected:hover:after{background:var(--hover-selected-color)}.igx-excel-filter__menu .igx-tree-node__wrapper--active{background:var(--background-active);color:var(--foreground-active)}.igx-excel-filter__menu .igx-tree-node__wrapper--active.igx-tree-node__wrapper--selected{background:var(--background-active-selected);color:var(--foreground-active-selected)}.igx-excel-filter__menu .igx-tree-node__wrapper--focused{box-shadow:inset 0 0 0 .0625rem var(--border-color)}.igx-excel-filter__menu .igx-tree-node__wrapper--disabled{background:var(--background-disabled)!important;color:var(--foreground-disabled)!important;box-shadow:none!important;pointer-events:none}.igx-excel-filter__menu .igx-tree-node__wrapper--disabled:after{display:none}.igx-excel-filter__menu .igx-tree-node__wrapper--disabled .igx-tree-node__toggle-button{color:var(--foreground-disabled)!important}.igx-excel-filter__menu .igx-tree-node__spacer{--component-size: var(--tree-size);--spacer: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1rem, -1 * 1rem), var(--is-small, 1) * max(.75rem, -1 * .75rem));width:var(--spacer);display:inline-block}.igx-excel-filter__menu .igx-tree-node__content{display:block;align-items:center;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-excel-filter__menu .igx-tree-node__toggle-button{justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:1.5rem}.igx-excel-filter__menu .igx-tree-node__drop-indicator{display:flex;visibility:hidden;position:absolute;inset-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));bottom:0;width:max(var(--is-large, 1)*max(calc(100% - 5rem),-1 * calc(100% - 5rem))*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(calc(100% - 4rem),-1 * calc(100% - 4rem))*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(calc(100% - 3.5rem),-1 * calc(100% - 3.5rem))*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-excel-filter__menu .igx-tree-node__drop-indicator>div{flex:1;height:.0625rem;background:var(--drop-area-color)}.igx-excel-filter__menu .igx-tree-node__group{overflow:hidden}.igx-excel-filter__menu .igx-tree-node__wrapper{padding:0}.igx-excel-filter__menu igx-chips-area{padding-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline-end:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-block-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-block-end:0;gap:max(var(--is-large, 1)*max(.5rem,-1 * .5rem),var(--is-medium, 1)*max(.25rem,-1 * .25rem),var(--is-small, 1)*max(.25rem,-1 * .25rem))}.igx-excel-filter__menu-header,.igx-excel-filter__secondary-header{display:flex;align-items:center;padding:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));color:var(--excel-filtering-header-foreground)}.igx-excel-filter__menu-header-actions{display:flex;margin-inline-start:auto}.igx-excel-filter__menu-header-actions [igxButton]+[igxButton]{margin-inline-start:.25rem}.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-pin,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-pin--disabled,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-unpin,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-hide,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-select,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-selected,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-filter,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-clear,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-clear--disabled{padding:0!important;margin:0!important}.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-pin,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-pin--disabled,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-unpin,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-hide,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-select,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-selected,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-filter,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-clear,.igx-excel-filter__menu-header-actions .igx-excel-filter__actions-clear--disabled{justify-content:center}.igx-excel-filter__menu-footer,.igx-excel-filter__secondary-footer{display:flex;justify-content:space-between}.igx-excel-filter__menu-footer .igx-excel-filter__apply,.igx-excel-filter__secondary-footer .igx-excel-filter__apply,.igx-excel-filter__menu-footer .igx-excel-filter__cancel,.igx-excel-filter__secondary-footer .igx-excel-filter__cancel{flex-grow:1}.igx-excel-filter__menu-footer .igx-excel-filter__apply [igxButton],.igx-excel-filter__secondary-footer .igx-excel-filter__apply [igxButton],.igx-excel-filter__menu-footer .igx-excel-filter__cancel [igxButton],.igx-excel-filter__secondary-footer .igx-excel-filter__cancel [igxButton]{width:100%}.igx-excel-filter__clear{flex-grow:1}.igx-excel-filter__cancel+.igx-excel-filter__apply{margin-inline-start:1rem}.igx-excel-filter__sort,.igx-excel-filter__move{display:block;padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter__sort header,.igx-excel-filter__move header{color:var(--excel-filtering-subheader-foreground);margin-bottom:.25rem}.igx-excel-filter__sort igx-icon,.igx-excel-filter__move igx-icon{display:initial;width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-excel-filter__menu--compact .igx-excel-filter__sort,.igx-excel-filter__menu--compact .igx-excel-filter__move{display:flex;align-items:center;justify-content:space-between}.igx-excel-filter__menu--compact .igx-excel-filter__sort header,.igx-excel-filter__menu--compact .igx-excel-filter__move header{margin-inline-end:auto}.igx-excel-filter__actions{padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter__actions-selected igx-icon{color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}[dir=rtl] .igx-excel-filter__move .igx-button-group{flex-direction:row-reverse}[dir=rtl] .igx-excel-filter__move .igx-button-group igx-icon,[dir=rtl] .igx-excel-filter__move .igx-button-group [igxButton]{direction:ltr}[dir=rtl] .igx-excel-filter__sort .igx-button-group{flex-direction:row-reverse}[dir=rtl] .igx-excel-filter__sort .igx-button-group igx-icon,[dir=rtl] .igx-excel-filter__sort .igx-button-group [igxButton]{direction:ltr}.igx-excel-filter__actions-pin,.igx-excel-filter__actions-pin--disabled,.igx-excel-filter__actions-unpin,.igx-excel-filter__actions-hide,.igx-excel-filter__actions-select,.igx-excel-filter__actions-selected,.igx-excel-filter__actions-filter,.igx-excel-filter__actions-clear,.igx-excel-filter__actions-clear--disabled{display:flex;align-items:center;justify-content:space-between;padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));cursor:pointer;color:var(--excel-filtering-actions-foreground);outline-style:none}.igx-excel-filter__actions-pin:hover,.igx-excel-filter__actions-pin--disabled:hover,.igx-excel-filter__actions-unpin:hover,.igx-excel-filter__actions-hide:hover,.igx-excel-filter__actions-select:hover,.igx-excel-filter__actions-selected:hover,.igx-excel-filter__actions-filter:hover,.igx-excel-filter__actions-clear:hover,.igx-excel-filter__actions-clear--disabled:hover,.igx-excel-filter__actions-pin:focus,.igx-excel-filter__actions-pin--disabled:focus,.igx-excel-filter__actions-unpin:focus,.igx-excel-filter__actions-hide:focus,.igx-excel-filter__actions-select:focus,.igx-excel-filter__actions-selected:focus,.igx-excel-filter__actions-filter:focus,.igx-excel-filter__actions-clear:focus,.igx-excel-filter__actions-clear--disabled:focus{background:hsla(var(--ig-gray-100),var(--ig-gray-a));color:var(--excel-filtering-actions-hover-foreground)}.igx-excel-filter__actions-pin igx-icon,.igx-excel-filter__actions-pin--disabled igx-icon,.igx-excel-filter__actions-unpin igx-icon,.igx-excel-filter__actions-hide igx-icon,.igx-excel-filter__actions-select igx-icon,.igx-excel-filter__actions-selected igx-icon,.igx-excel-filter__actions-filter igx-icon,.igx-excel-filter__actions-clear igx-icon,.igx-excel-filter__actions-clear--disabled igx-icon{--component-size: 3}[dir=rtl] .igx-excel-filter__actions-pin igx-icon,[dir=rtl] .igx-excel-filter__actions-pin--disabled igx-icon,[dir=rtl] .igx-excel-filter__actions-unpin igx-icon,[dir=rtl] .igx-excel-filter__actions-hide igx-icon,[dir=rtl] .igx-excel-filter__actions-select igx-icon,[dir=rtl] .igx-excel-filter__actions-selected igx-icon,[dir=rtl] .igx-excel-filter__actions-filter igx-icon,[dir=rtl] .igx-excel-filter__actions-clear igx-icon,[dir=rtl] .igx-excel-filter__actions-clear--disabled igx-icon{transform:scaleX(-1)}.igx-excel-filter__actions-pin--disabled,.igx-excel-filter__actions-clear--disabled{color:var(--excel-filtering-actions-disabled-foreground);pointer-events:none}.igx-excel-filter__empty{display:grid;place-items:center;height:100%}.igx-excel-filter__menu-main{display:flex;flex-direction:column;flex-grow:1;overflow:hidden;padding:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));gap:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-excel-filter__menu-main igx-list{flex-grow:1;overflow:hidden;margin-inline:calc(max(var(--is-large, 1)*max(-1rem,-1 * -1rem),var(--is-medium, 1)*max(-.5rem,-1 * -.5rem),var(--is-small, 1)*max(-.25rem,-1 * -.25rem))*-1);border:0;border-top:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a));border-bottom:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a))}.igx-excel-filter__menu-main .igx-excel-filter__tree{background:hsla(var(--ig-surface-500),var(--ig-surface-a));overflow-y:auto;margin-inline:calc(max(var(--is-large, 1)*max(-1rem,-1 * -1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(-.5rem,-1 * -.5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(-.25rem,-1 * -.25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))*-1);margin-block:0;flex:1;border-top:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a));border-bottom:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a))}.igx-excel-filter__menu-main .igx-excel-filter__tree igx-icon{width:var(--igx-icon-size, 1.25rem);height:var(--igx-icon-size, 1.25rem);font-size:var(--igx-icon-size, 1.25rem)}.igx-excel-filter__menu-main .igx-excel-filter__tree>igx-checkbox,.igx-excel-filter__menu-main .igx-excel-filter__tree .igx-tree-node__wrapper{height:max(var(--is-large, 1) * max(2.5rem,-1 * 2.5rem),var(--is-medium, 1) * max(2rem,-1 * 2rem),var(--is-small, 1) * max(1.5rem,-1 * 1.5rem));min-height:max(var(--is-large, 1) * max(2.5rem,-1 * 2.5rem),var(--is-medium, 1) * max(2rem,-1 * 2rem),var(--is-small, 1) * max(1.5rem,-1 * 1.5rem))}.igx-excel-filter__menu-main .igx-excel-filter__tree .igx-tree-node__toggle-button{min-width:1.25rem;margin-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-inline-end:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter__menu-main .igx-excel-filter__tree .igx-tree{overflow-y:hidden}.igx-excel-filter__menu-main .igx-excel-filter__tree-alike{background:hsla(var(--ig-surface-500),var(--ig-surface-a));display:flex;flex-direction:column;z-index:1}.igx-excel-filter__menu-main .igx-excel-filter__tree-alike-item{display:flex;align-items:center;height:max(var(--is-large, 1)*max(2.5rem,-1 * 2.5rem),var(--is-medium, 1)*max(2rem,-1 * 2rem),var(--is-small, 1)*max(1.5rem,-1 * 1.5rem));background:hsla(var(--ig-surface-500),var(--ig-surface-a))}.igx-excel-filter__menu-main .igx-excel-filter__tree-alike-item:hover,.igx-excel-filter__menu-main .igx-excel-filter__tree-alike-item:focus{background:hsla(var(--ig-gray-200),var(--ig-gray-a))}.igx-excel-filter__menu-main .igx-excel-filter__tree-alike-item>igx-checkbox{margin-inline-start:max(var(--is-large, 1)*max(2.75rem,-1 * 2.75rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(2.25rem,-1 * 2.25rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(1.75rem,-1 * 1.75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-excel-filter__menu--cosy{--component-size: var(--ig-size, var(--ig-size-medium))}.igx-excel-filter__menu--cosy .igx-excel-filter__menu-header,.igx-excel-filter__menu--cosy .igx-excel-filter__secondary-header{justify-content:space-between}.igx-excel-filter__menu--compact{--component-size: var(--ig-size, var(--ig-size-small))}.igx-excel-filter__menu--compact .igx-excel-filter__menu-header,.igx-excel-filter__menu--compact .igx-excel-filter__secondary-header{justify-content:space-between}.igx-excel-filter__menu--compact .igx-excel-filter__sort igx-buttongroup,.igx-excel-filter__menu--compact .igx-excel-filter__move igx-buttongroup{width:13rem}.igx-excel-filter__menu--compact .igx-excel-filter__move{margin-bottom:0}.igx-excel-filter__secondary{width:32.5rem;min-width:32.5rem;background:var(--filtering-row-background);box-shadow:var(--ig-elevation-12);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem)}.igx-excel-filter__condition{display:flex;flex-wrap:wrap;align-items:center;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0}.igx-excel-filter__condition igx-select{flex-grow:1;flex-basis:40%;margin:1rem 0}.igx-excel-filter__condition igx-select~igx-input-group,.igx-excel-filter__condition igx-select~igx-date-picker{margin-inline-start:1rem}.igx-excel-filter__condition igx-buttongroup{min-width:30%}.igx-excel-filter__condition [igxButton=icon]{margin-inline-start:1rem}.igx-excel-filter__add-filter{margin-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-block-start:0}.igx-excel-filter__add-filter igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-excel-filter__secondary-header{border-bottom:.0625rem solid hsla(var(--ig-gray-300),var(--ig-gray-a))}.igx-excel-filter__secondary-main{height:14.5rem;overflow:auto}.igx-excel-filter__secondary-footer{padding:.5rem 1rem;border-top:.0625rem dashed hsla(var(--ig-gray-300),var(--ig-gray-a))}.igx-excel-filter__secondary-footer .igx-excel-filter__apply,.igx-excel-filter__secondary-footer .igx-excel-filter__cancel{flex-grow:0}.igx-excel-filter__filter-results{position:absolute;width:1px;height:1px;overflow:hidden}igx-excel-style-filter-operations,[igxExcelStyleFilterOperations]{display:flex;flex-direction:column;flex-grow:1;overflow:hidden}.igx-advanced-filter{background:var(--filtering-row-background);box-shadow:var(--ig-elevation-12)}.igx-advanced-filter igx-query-builder{--igx-query-builder-background: var(--filtering-row-background);--igx-query-builder-background-and: var(--filtering-background-and);--igx-query-builder-background-and--focus: var(--filtering-background-and--focus);--igx-query-builder-background-or: var(--filtering-background-or);--igx-query-builder-background-or--focus: var(--filtering-background-or--focus);box-shadow:none}.igx-advanced-filter igx-query-builder-header{cursor:grab}.igx-grid__filtering-row-editing-buttons--small,.igx-grid__filtering-row-editing-buttons{display:flex;align-items:center}.igx-grid__filtering-row-editing-buttons--small button,.igx-grid__filtering-row-editing-buttons button{transition:none}.igx-grid__filtering-row-editing-buttons--small button:not([disabled]) igx-icon{color:var(--sorted-header-icon-color)}.igx-grid__tr-action:last-of-type{border-inline-end:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid__pivot--super-compact .igx-grid__td,.igx-grid__pivot--super-compact .igx-grid-thead__title,.igx-grid__pivot--super-compact .igx-grid-th{padding:0 .25rem!important;min-height:1.5rem!important;height:1.5rem}.igx-grid__pivot--super-compact .igx-grid-thead__title>*,.igx-grid__pivot--super-compact .igx-grid-th>*{line-height:normal;align-self:initial;max-height:100%}.igx-grid-thead--pivot{display:flex}.igx-grid-thead--pivot .igx-grid-thead--virtualizationWrapper{border-inline-start:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid-thead--virtualizationWrapper{height:100%}.igx-grid-thead--virtualizationContainer{overflow:visible;height:100%}.igx-grid__tr-pivot{display:flex;align-items:center;background:inherit;overflow:hidden;z-index:3;height:var(--header-size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;background-clip:border-box!important;border-inline-start:var(--header-border-width) var(--header-border-style) var(--header-border-color);border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid__tr-pivot igx-chips-area{flex-wrap:nowrap;width:auto}.igx-grid__tr-pivot igx-chips-area>*{margin-inline-end:.25rem}.igx-grid__tr-pivot igx-chips-area:last-child{margin-inline-end:0}.igx-grid__pivot-filter-toggle{display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.igx-grid__pivot-filter-toggle>igx-badge{position:absolute;top:-.25rem;inset-inline-start:60%;width:1.125rem;min-width:1.125rem;height:1.125rem;font-size:.625rem;pointer-events:none;-webkit-user-select:none;user-select:none}.igx-grid__pivot-empty-chip-area{line-height:normal;font-size:.875rem;margin-inline-end:0!important}.igx-grid__tr-pivot--row-area{height:auto!important;align-items:flex-end;padding-bottom:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));border-inline-start:0;border-bottom:0}.igx-grid__tr-pivot--filter-container{display:flex;flex-direction:column}.igx-grid__tr-pivot--chip_drop_indicator{width:.125rem;background:var(--resize-line-color);visibility:hidden}.igx-grid__tr-pivot--drop-row-area{flex-grow:1}.igx-grid__tr-pivot--filter{height:var(--header-size);border-inline-start:0;border-inline-end:0;border-bottom:var(--header-border-width) var(--header-border-style) var(--header-border-color)}.igx-grid-thead__wrapper--pivot{border-bottom:0}.igx-grid__tr-pivot-group{flex:1}.igx-grid__tr-pivot-toggle-icons{display:inline-flex!important}.igx-grid__tr-pivot--columnDimensionLeaf{box-shadow:none}.igx-grid__tr-pivot--columnDimensionLeaf igx-grid-header{border:none}.igx-grid__tr-pivot--columnMultiRowSpan igx-grid-header>*{visibility:hidden}.igx-grid__tr-header-row igx-pivot-row-dimension-header-group igx-pivot-row-dimension-header{align-items:center}.igx-grid-summary{--background-color: var(--igx-grid-summary-background-color, inherit);--focus-background-color: var(--igx-grid-summary-focus-background-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));--label-color: var(--igx-grid-summary-label-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--label-hover-color: var(--igx-grid-summary-label-hover-color, hsla(var(--ig-primary-700), var(--ig-primary-a)));--result-color: var(--igx-grid-summary-result-color, "currentColor");--border-color: var(--igx-grid-summary-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--pinned-border-width: var(--igx-grid-summary-pinned-border-width, 2px);--pinned-border-style: var(--igx-grid-summary-pinned-border-style, solid);--pinned-border-color: var(--igx-grid-summary-pinned-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)))}.igx-grid-summary,.igx-grid-summary--cosy,.igx-grid-summary--compact{position:relative;display:flex;flex-direction:column;flex:1 1 0%;padding-block:0;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));background:var(--background-color, inherit);overflow:hidden;outline-style:none}.igx-grid-summary:after,.igx-grid-summary--cosy:after,.igx-grid-summary--compact:after{position:absolute;inset:0}.igx-grid-summary:focus:after,.igx-grid-summary--cosy:focus:after,.igx-grid-summary--compact:focus:after{background:var(--focus-background-color)}.igx-grid-summary--pinned{position:relative;z-index:1}.igx-grid-summary--fw{flex-grow:0}.igx-grid-summary--pinned-last{border-inline-end:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)}@media print{.igx-grid-summary--pinned-last{border-inline-end:var(--pinned-border-width) var(--pinned-border-style) #999}}.igx-grid-summary--pinned-first{border-inline-start:var(--pinned-border-width) var(--pinned-border-style) var(--pinned-border-color)}@media print{.igx-grid-summary--pinned-first{border-inline-start:var(--pinned-border-width) var(--pinned-border-style) #999}}.igx-grid-summary__item{display:flex;align-items:center;padding-block:max(var(--is-large, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.125rem,-1 * .125rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(0,-1 * 0)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));padding-inline:0;font-size:.75rem;position:relative}.igx-grid-summary__label{color:var(--label-color);min-width:1.875rem;margin-inline-end:.1875rem}.igx-grid-summary__label:hover{color:var(--label-hover-color)}.igx-grid-summary__result{color:var(--result-color);font-weight:600;flex:1 1 auto;text-align:end}.igx-grid-summary__label,.igx-grid-summary__result{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}igx-grid-toolbar,.igx-grid-toolbar__dd-list{--background-color: var(--igx-grid-toolbar-background-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--title-text-color: var(--igx-grid-toolbar-title-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--dropdown-background: var(--igx-grid-toolbar-dropdown-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--item-text-color: var(--igx-grid-toolbar-item-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--item-hover-background: var(--igx-grid-toolbar-item-hover-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--item-hover-text-color: var(--igx-grid-toolbar-item-hover-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--item-focus-background: var(--igx-grid-toolbar-item-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--item-focus-text-color: var(--igx-grid-toolbar-item-focus-text-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--size: var(--igx-grid-toolbar-size, max(var(--is-large, 1) * max(3.625rem, -1 * 3.625rem), var(--is-medium, 1) * max(3.25rem, -1 * 3.25rem), var(--is-small, 1) * max(2.75rem, -1 * 2.75rem)))}.igx-grid-toolbar,.igx-grid-toolbar--cosy,.igx-grid-toolbar--compact{position:relative;width:100%;display:flex;align-items:center;justify-content:space-between;grid-row:1;font-size:1rem;border-bottom:.0625rem solid hsla(var(--ig-gray-300),var(--ig-gray-a));background:var(--background-color);height:auto;min-height:var(--size);padding-block:0;padding-inline-start:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline-end:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid-toolbar [igxButton],.igx-grid-toolbar--cosy [igxButton],.igx-grid-toolbar--compact [igxButton]{margin-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-grid-toolbar [igxButton]:first-of-type,.igx-grid-toolbar--cosy [igxButton]:first-of-type,.igx-grid-toolbar--compact [igxButton]:first-of-type{margin-inline-start:0}.igx-grid-toolbar [igxButton]:last-of-type,.igx-grid-toolbar--cosy [igxButton]:last-of-type,.igx-grid-toolbar--compact [igxButton]:last-of-type{margin-inline-end:0}[dir=rtl].igx-grid-toolbar,[dir=rtl].igx-grid-toolbar--cosy,[dir=rtl].igx-grid-toolbar--compact{text-align:end}[dir=rtl].igx-grid-toolbar [igxButton],[dir=rtl].igx-grid-toolbar--cosy [igxButton],[dir=rtl].igx-grid-toolbar--compact [igxButton]{margin-inline-start:0;margin-inline-end:.5rem}[dir=rtl].igx-grid-toolbar [igxButton]:last-child,[dir=rtl].igx-grid-toolbar--cosy [igxButton]:last-child,[dir=rtl].igx-grid-toolbar--compact [igxButton]:last-child{margin-inline-end:0}.igx-grid-toolbar__title{color:var(--title-text-color);flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:40ch;margin-inline-end:1rem}.igx-grid-toolbar__custom-content{display:flex;flex-wrap:wrap;flex-grow:1;justify-content:flex-end;margin-inline-end:1rem}.igx-grid-toolbar__actions{display:flex;align-items:center;flex-flow:row wrap;margin-inline-start:auto}.igx-grid-toolbar__actions>*{display:flex;margin-inline-start:1rem}.igx-grid-toolbar__actions>*:first-child{margin-inline-start:0}.igx-grid-toolbar__actions:empty,.igx-grid-toolbar__title:empty,.igx-grid-toolbar__custom-content:empty{display:none}.igx-grid-toolbar__title:empty+.igx-grid-toolbar__custom-content:empty+.igx-grid-toolbar__actions{width:100%;margin-inline-start:0;justify-content:flex-end}.igx-grid-toolbar__progress-bar{position:absolute;width:100%;inset-inline-start:0;inset-inline-end:0;bottom:-.0625rem;height:.125rem;overflow:hidden;background:var(--background-color)}.igx-grid-toolbar__progress-bar igx-linear-bar>*{border-radius:0}.igx-grid-toolbar__progress-bar igx-linear-bar>*:first-child>div{background:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-grid-toolbar__adv-filter--filtered{border-color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))!important}.igx-grid-toolbar__dropdown{position:relative}.igx-grid-toolbar__dd-list{list-style:none;background:var(--dropdown-background);margin:0;padding:0;box-shadow:var(--ig-elevation-8)}.igx-grid-toolbar__dd-list-items{cursor:pointer;position:relative;padding:.5rem 1rem;color:var(--item-text-color);white-space:nowrap}.igx-grid-toolbar__dd-list-items:hover{background:var(--item-hover-background);color:var(--item-hover-text-color)}.igx-grid-toolbar__dd-list-items:focus{background:var(--item-focus-background);color:var(--item-focus-text-color)}igx-pivot-data-selector{--background: var(--igx-pivot-data-selector-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-color: var(--igx-pivot-data-selector-header-color, hsla(var(--ig-gray-100), var(--ig-gray-a)))}.igx-pivot-data-selector{display:flex;flex-direction:column;max-width:17.5rem;background:var(--background);z-index:0}.igx-pivot-data-selector>igx-input-group{flex:0 1 auto}.igx-pivot-data-selector igx-display-container{display:flex;flex-direction:column}.igx-pivot-data-selector>igx-list igx-display-container{padding:.25rem}.igx-pivot-data-selector>igx-list igx-list-item{display:flex;min-height:1.75rem}.igx-pivot-data-selector>igx-list .igx-checkbox__label,.igx-pivot-data-selector>igx-list .igx-checkbox__label--before{font-size:.8125rem}.igx-pivot-data-selector .igx-input-group--box .igx-input-group__input,.igx-input-group--box .igx-pivot-data-selector .igx-input-group__input{transform:none}.igx-pivot-data-selector .igx-input-group igx-prefix,.igx-input-group .igx-pivot-data-selector igx-prefix,.igx-pivot-data-selector .igx-input-group--focused igx-prefix,.igx-input-group--focused .igx-pivot-data-selector igx-prefix,.igx-pivot-data-selector .igx-input-group [igxPrefix],.igx-input-group .igx-pivot-data-selector [igxPrefix],.igx-pivot-data-selector .igx-input-group--focused [igxPrefix],.igx-input-group--focused .igx-pivot-data-selector [igxPrefix]{padding-inline-end:1rem!important;box-sizing:content-box}.igx-pivot-data-selector .igx-input-group--box .igx-input-group__bundle-main,.igx-input-group--box .igx-pivot-data-selector .igx-input-group__bundle-main{padding-top:0!important}.igx-pivot-data-selector .igx-expansion-panel__body{position:relative;height:8rem;font-size:.875rem;padding:.25rem;overflow-y:auto}.igx-pivot-data-selector .igx-expansion-panel__body>igx-list{height:auto}.igx-pivot-data-selector .igx-expansion-panel__header-icon--start{margin-inline-end:.5rem}.igx-pivot-data-selector .igx-expansion-panel__header-title{display:flex}.igx-pivot-data-selector .igx-expansion-panel__header-title>h6{font-size:.75rem;margin-bottom:0}.igx-pivot-data-selector .igx-expansion-panel__header-inner{background:var(--header-color);padding:.25rem}.dragOver .igx-pivot-data-selector .igx-expansion-panel__header-inner{background:hsla(var(--ig-gray-300),var(--ig-gray-a));box-shadow:inset 0 0 0 .0625rem hsla(var(--ig-gray-400),var(--ig-gray-a))}.igx-pivot-data-selector__filter{display:flex;flex-direction:column;overflow:hidden}.igx-pivot-data-selector__filter igx-list{display:flex;flex-direction:column;padding:.5rem .25rem;min-height:11.625rem;max-height:13rem;overflow-y:auto}.igx-pivot-data-selector__filter igx-list-item{display:flex}.igx-pivot-data-selector__filter igx-checkbox+span{margin-inline-start:.5rem;line-height:1.75rem}.igx-pivot-data-selector__header,.igx-pivot-data-selector__header-extra{display:flex;align-items:center}.igx-pivot-data-selector__header-extra igx-icon{padding:0 .5rem;box-sizing:content-box}.igx-pivot-data-selector__header-extra .igx-chip__item{height:max(var(--is-large, 1) * max(1.375rem,-1 * 1.375rem),var(--is-medium, 1) * max(1.25rem,-1 * 1.25rem),var(--is-small, 1) * max(1.125rem,-1 * 1.125rem))}.igx-pivot-data-selector__header-extra .igx-chip__content{padding:0 .125rem}.igx-pivot-data-selector__item{display:flex;align-items:center;justify-content:space-between;min-height:2rem;width:100%}.igx-drag--push .igx-pivot-data-selector__item{padding-top:2rem}.igx-pivot-data-selector__item-ghost{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;background:hsla(var(--ig-surface-500),var(--ig-surface-a));min-height:2rem;height:auto;padding:0 .125rem 0 .25rem;cursor:grabbing;box-shadow:var(--ig-elevation-24);border:.0625rem solid hsla(var(--ig-gray-100),var(--ig-gray-a));border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .125rem),.125rem);z-index:10}.igx-pivot-data-selector igx-icon,.igx-pivot-data-selector__item-ghost igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem)}.igx-pivot-data-selector__item-ghost-text{display:flex;align-items:center}.igx-pivot-data-selector__item-ghost-text igx-icon{margin-inline-end:.5rem}.igx-pivot-data-selector__item-ghost--no-drop{cursor:no-drop}.igx-pivot-data-selector__item-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:calc(100% - .625rem)}.igx-pivot-data-selector__item-text,.igx-pivot-data-selector__action-sort,.igx-pivot-data-selector__action-filter,.igx-pivot-data-selector__action-move,.igx-pivot-data-selector__action-summary{-webkit-user-select:none;user-select:none}.igx-pivot-data-selector__action-sort,.igx-pivot-data-selector__action-summary,.igx-pivot-data-selector__action-filter{cursor:pointer}.igx-pivot-data-selector__action-move{cursor:grab}.igx-pivot-data-selector__item-start{display:flex;justify-content:space-between;align-items:center;flex:0 1 100%;margin-inline-end:.5rem;overflow:hidden}.igx-pivot-data-selector__item-end{display:flex}.igx-pivot-data-selector__item-end igx-icon+igx-icon{margin-inline-start:.5rem}.igx-highlight{--resting-background: var(--igx-highlight-resting-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--resting-color: var(--igx-highlight-resting-color, var(--ig-gray-300-contrast));--active-background: var(--igx-highlight-active-background, hsla(var(--ig-secondary-A100), var(--ig-secondary-a)));--active-color: var(--igx-highlight-active-color, var(--ig-secondary-A100-contrast))}.igx-highlight,.igx-highlight--active{color:var(--resting-color);background:var(--resting-background)}.igx-highlight--active{color:var(--active-color);background:var(--active-background)}igx-icon{--color: var(--igx-icon-color, "currentColor");--disabled-color: var(--igx-icon-disabled-color, "currentColor");--size: var(--igx-icon-size, max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.25rem, -1 * 1.25rem), var(--is-small, 1) * max(1.125rem, -1 * 1.125rem)));--default-size: var(--igx-icon-default-size, 3)}.igx-icon{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));display:inline-flex;font-size:var(--size);color:var(--color);direction:inherit}.igx-icon div,.igx-icon svg{display:block;width:inherit;height:inherit;fill:currentColor}[igxPrefix].material-icons.igx-icon,[igxSuffix].material-icons.igx-icon{font-family:Material Icons}igx-icon.igx-icon{width:1em;height:1em}.igx-icon--success{color:hsla(var(--ig-success-500),var(--ig-success-a))}.igx-icon--error{color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-icon--inactive{color:var(--disabled-color)!important;opacity:.54}igx-input-group,igx-date-range-start,igx-date-range-end{--search-resting-elevation: var(--igx-input-group-search-resting-elevation, var(--ig-elevation-1));--search-hover-elevation: var(--igx-input-group-search-hover-elevation, var(--ig-elevation-2));--search-disabled-elevation: var(--igx-input-group-search-disabled-elevation, var(--ig-elevation-0));--helper-text-color: var(--igx-input-group-helper-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--input-prefix-background: var(--igx-input-group-input-prefix-background, transparent);--input-prefix-color: var(--igx-input-group-input-prefix-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--input-prefix-background--filled: var(--igx-input-group-input-prefix-background--filled, inherit);--input-prefix-color--filled: var(--igx-input-group-input-prefix-color--filled, hsla(var(--ig-gray-900), var(--ig-gray-a)));--input-prefix-background--focused: var(--igx-input-group-input-prefix-background--focused, inherit);--input-prefix-color--focused: var(--igx-input-group-input-prefix-color--focused, hsla(var(--ig-gray-900), var(--ig-gray-a)));--input-suffix-background: var(--igx-input-group-input-suffix-background, transparent);--input-suffix-color: var(--igx-input-group-input-suffix-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--input-suffix-background--filled: var(--igx-input-group-input-suffix-background--filled, inherit);--input-suffix-color--filled: var(--igx-input-group-input-suffix-color--filled, hsla(var(--ig-gray-900), var(--ig-gray-a)));--input-suffix-background--focused: var(--igx-input-group-input-suffix-background--focused, inherit);--input-suffix-color--focused: var(--igx-input-group-input-suffix-color--focused, hsla(var(--ig-gray-900), var(--ig-gray-a)));--idle-text-color: var(--igx-input-group-idle-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--filled-text-color: var(--igx-input-group-filled-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--focused-text-color: var(--igx-input-group-focused-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--disabled-text-color: var(--igx-input-group-disabled-text-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--idle-secondary-color: var(--igx-input-group-idle-secondary-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--filled-secondary-color: var(--igx-input-group-filled-secondary-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--focused-secondary-color: var(--igx-input-group-focused-secondary-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--idle-bottom-line-color: var(--igx-input-group-idle-bottom-line-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--hover-bottom-line-color: var(--igx-input-group-hover-bottom-line-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--focused-bottom-line-color: var(--igx-input-group-focused-bottom-line-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--interim-bottom-line-color: var(--igx-input-group-interim-bottom-line-color, hsla(var(--ig-primary-500), .12));--disabled-bottom-line-color: var(--igx-input-group-disabled-bottom-line-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-border-color: var(--igx-input-group-disabled-border-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--border-color: var(--igx-input-group-border-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--hover-border-color: var(--igx-input-group-hover-border-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--focused-border-color: var(--igx-input-group-focused-border-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--border-background: var(--igx-input-group-border-background, transparent);--border-disabled-background: var(--igx-input-group-border-disabled-background, transparent);--search-background: var(--igx-input-group-search-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--search-disabled-background: var(--igx-input-group-search-disabled-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--success-secondary-color: var(--igx-input-group-success-secondary-color, hsla(var(--ig-success-500), var(--ig-success-a)));--warning-secondary-color: var(--igx-input-group-warning-secondary-color, hsla(var(--ig-warn-500), var(--ig-warn-a)));--error-secondary-color: var(--igx-input-group-error-secondary-color, hsla(var(--ig-error-500), var(--ig-error-a)));--placeholder-color: var(--igx-input-group-placeholder-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--disabled-placeholder-color: var(--igx-input-group-disabled-placeholder-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--box-background: var(--igx-input-group-box-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--box-background-hover: var(--igx-input-group-box-background-hover, hsla(var(--ig-gray-200), var(--ig-gray-a)));--box-background-focus: var(--igx-input-group-box-background-focus, hsla(var(--ig-gray-300), var(--ig-gray-a)));--box-disabled-background: var(--igx-input-group-box-disabled-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--box-border-radius: var(--igx-input-group-box-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--border-border-radius: var(--igx-input-group-border-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--search-border-radius: var(--igx-input-group-search-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--success-shadow-color: var(--igx-input-group-success-shadow-color, hsla(var(--ig-success-500), .38));--error-shadow-color: var(--igx-input-group-error-shadow-color, hsla(var(--ig-error-500), .38));--size: var(--igx-input-group-size, max(var(--is-large, 1) * max(3.5rem, -1 * 3.5rem), var(--is-medium, 1) * max(3rem, -1 * 3rem), var(--is-small, 1) * max(2.5rem, -1 * 2.5rem)));--default-size: var(--igx-input-group-default-size, 2);--search-resting-shadow: var(--igx-input-group-search-resting-shadow, var(--ig-elevation-1));--search-hover-shadow: var(--igx-input-group-search-hover-shadow, var(--ig-elevation-2));--search-disabled-shadow: var(--igx-input-group-search-disabled-shadow, var(--ig-elevation-0))}.igx-input-group igx-prefix,.igx-input-group--focused igx-prefix,.igx-input-group [igxPrefix],.igx-input-group--focused [igxPrefix]{color:var(--input-prefix-color);background:var(--input-prefix-background);grid-area:1/1/auto/auto}.igx-input-group igx-suffix,.igx-input-group--focused igx-suffix,.igx-input-group [igxSuffix],.igx-input-group--focused [igxSuffix]{color:var(--input-suffix-color);background:var(--input-suffix-background);grid-area:1/3/auto/auto}.igx-input-group igx-prefix,.igx-input-group--focused igx-prefix,.igx-input-group [igxPrefix],.igx-input-group--focused [igxPrefix],.igx-input-group igx-suffix,.igx-input-group--focused igx-suffix,.igx-input-group [igxSuffix],.igx-input-group--focused [igxSuffix]{position:relative;display:inline-flex;width:max-content;align-items:center;height:100%!important;transition:color .25s cubic-bezier(.215,.61,.355,1),background .25s cubic-bezier(.215,.61,.355,1);padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}igx-input-group,igx-date-range-start,igx-date-range-end{--theme: material}.igx-input-group,.igx-input-group--focused{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--input-size: var(--component-size);position:relative;display:block;color:var(--idle-text-color)}.igx-input-group igx-prefix,.igx-input-group--focused igx-prefix,.igx-input-group [igxPrefix],.igx-input-group--focused [igxPrefix]{outline-style:none}.igx-input-group igx-suffix,.igx-input-group--focused igx-suffix,.igx-input-group [igxSuffix],.igx-input-group--focused [igxSuffix]{outline-style:none}.igx-input-group input,.igx-input-group--focused input,.igx-input-group textarea,.igx-input-group--focused textarea,.igx-input-group span,.igx-input-group--focused span{font:inherit;margin:0}.igx-input-group input[type=file],.igx-input-group--focused input[type=file]{position:absolute;width:1px;height:1px;margin:-1px;border:none;clip:rect(0,0,0,0);outline:0;pointer-events:none;overflow:hidden;appearance:none}.igx-input-group textarea,.igx-input-group--focused textarea{overflow:auto}.igx-input-group input[type=number],.igx-input-group--focused input[type=number]{-moz-appearance:textfield}.igx-input-group input[type=number]::-webkit-inner-spin-button,.igx-input-group--focused input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;height:auto}.igx-input-group input[type=search]::-webkit-search-cancel-button,.igx-input-group--focused input[type=search]::-webkit-search-cancel-button,.igx-input-group input[type=search]::-webkit-search-decoration,.igx-input-group--focused input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.igx-input-group igx-icon,.igx-input-group--focused igx-icon{--component-size: var(--input-size)}.igx-input-group--box,.igx-input-group--border,.igx-input-group--search,.igx-input-group--indigo{margin-block-start:0}.igx-input-group--filled{color:var(--input-prefix-color--filled)}.igx-input-group--filled igx-prefix,.igx-input-group--filled [igxPrefix]{color:var(--input-prefix-color--filled);background:var(--input-prefix-background--filled)}.igx-input-group--filled igx-suffix,.igx-input-group--filled [igxSuffix]{color:var(--input-suffix-color--filled);background:var(--input-suffix-background--filled)}.igx-input-group--focused{color:var(--input-prefix-color--focused)}.igx-input-group--focused igx-prefix,.igx-input-group--focused [igxPrefix]{color:var(--input-prefix-color--focused);background:var(--input-prefix-background--focused)}.igx-input-group--focused igx-suffix,.igx-input-group--focused [igxSuffix]{color:var(--input-suffix-color--focused);background:var(--input-suffix-background--focused)}.igx-input-group--disabled,.igx-input-group--disabled.igx-input-group--required{-webkit-user-select:none;user-select:none;color:var(--disabled-text-color)!important}.igx-input-group--box .igx-input-group__wrapper,.igx-input-group--indigo .igx-input-group__wrapper{border-radius:var(--box-border-radius);border-end-start-radius:0;border-end-end-radius:0;overflow:hidden}.igx-input-group__bundle{display:grid;grid-template-columns:auto 1fr auto;grid-area:1/2/span 1/span 2;height:var(--size);position:relative;max-width:100%;font-size:1rem}.igx-input-group__bundle:after{content:"";position:absolute;bottom:0%;width:100%;border-block-end:.0625rem solid var(--idle-bottom-line-color);transition:all .25s cubic-bezier(.215,.61,.355,1)}.igx-input-group__bundle .igx-input-group__bundle-start{border-start-start-radius:calc(var(--box-border-radius) - .0625rem)}.igx-input-group__bundle .igx-input-group__bundle-end{border-start-end-radius:calc(var(--box-border-radius) - .0625rem)}.igx-input-group--fluent .igx-input-group__bundle:after,.igx-input-group--bootstrap .igx-input-group__bundle:after{display:none}.igx-input-group__bundle:hover{cursor:pointer}.igx-input-group__bundle:hover:after{border-block-end-width:.0625rem;border-block-end-color:var(--hover-bottom-line-color)}.igx-input-group--focused .igx-input-group__bundle:after{border-block-end-width:.125rem;border-block-end-color:var(--focused-bottom-line-color)}.igx-input-group--valid .igx-input-group__bundle:after{border-block-end-color:var(--success-secondary-color)}.igx-input-group--invalid .igx-input-group__bundle:after{border-block-end-color:var(--error-secondary-color)}.igx-input-group--disabled .igx-input-group__bundle,.igx-input-group--disabled.igx-input-group--required .igx-input-group__bundle{cursor:default}.igx-input-group--disabled .igx-input-group__bundle:after,.igx-input-group--disabled.igx-input-group--required .igx-input-group__bundle:after{border-block-end-color:var(--disabled-bottom-line-color);border-block-end-style:dashed}.igx-input-group__bundle-start{grid-area:1/1}.igx-input-group__bundle-main{grid-area:1/2/span 1/span 2;flex-grow:1;position:relative;max-width:inherit}.igx-input-group--box .igx-input-group__bundle{padding:0!important;background:var(--box-background)}.igx-input-group--box .igx-input-group__bundle:hover{background:var(--box-background-hover)}.igx-input-group--box.igx-input-group--focused .igx-input-group__bundle{background:var(--box-background-focus)}.igx-input-group--box.igx-input-group--disabled .igx-input-group__bundle{background-color:var(--box-disabled-background)}.igx-input-group__bundle-main,.igx-input-group__notch{padding-inline:.25rem}.igx-input-group__notch{display:flex;align-items:center;width:auto;min-width:0;height:100%;position:relative;grid-area:1/2}.igx-input-group--border .igx-input-group__notch{padding:0 .25rem}.igx-input-group__filler{grid-area:1/3}.igx-input-group__bundle-end{grid-area:1/4}.igx-input-group__bundle-start,.igx-input-group__bundle-end{display:flex;align-items:center;min-width:0;min-height:100%;overflow:hidden;min-width:max(var(--is-large, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.625rem,-1 * .625rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-input-group--border .igx-input-group__bundle{grid-template-columns:auto auto 1fr auto;display:grid;align-items:initial;padding:0;box-shadow:none;border-radius:var(--border-border-radius);background:var(--border-background)}.igx-input-group--border .igx-input-group__bundle .igx-input-group__bundle-start{width:auto;flex-shrink:0;border-color:var(--border-color);border-style:solid;border-inline-start-width:.0625rem;border-inline-end-width:0;border-block-start-width:.0625rem;border-block-end-width:.0625rem;border-start-start-radius:var(--border-border-radius);border-end-start-radius:var(--border-border-radius)}.igx-input-group--border .igx-input-group__bundle .igx-input-group__filler{border-width:.0625rem;border-style:solid;border-color:var(--border-color);border-left:none;border-right:none}.igx-input-group--border .igx-input-group__bundle .igx-input-group__notch{border-block-start:.0625rem solid var(--border-color);border-block-end:.0625rem solid var(--border-color);overflow:visible}.igx-input-group--border .igx-input-group__bundle .igx-input-group__notch .igx-input-group__label{position:relative}.igx-input-group--border .igx-input-group__bundle .igx-input-group__notch:empty{display:none}.igx-input-group--border .igx-input-group__bundle .igx-input-group__bundle-end{display:flex;justify-content:flex-end;flex-grow:1;height:100%;grid-area:1/4;border-color:var(--border-color);border-style:solid;border-inline-start-width:0;border-inline-end-width:.0625rem;border-block-start-width:.0625rem;border-block-end-width:.0625rem;border-start-end-radius:var(--border-border-radius);border-end-end-radius:var(--border-border-radius)}.igx-input-group--border .igx-input-group__bundle .igx-input-group igx-prefix,.igx-input-group .igx-input-group--border .igx-input-group__bundle igx-prefix,.igx-input-group--border .igx-input-group__bundle .igx-input-group--focused igx-prefix,.igx-input-group--focused .igx-input-group--border .igx-input-group__bundle igx-prefix,.igx-input-group--border .igx-input-group__bundle .igx-input-group [igxPrefix],.igx-input-group .igx-input-group--border .igx-input-group__bundle [igxPrefix],.igx-input-group--border .igx-input-group__bundle .igx-input-group--focused [igxPrefix],.igx-input-group--focused .igx-input-group--border .igx-input-group__bundle [igxPrefix],.igx-input-group--border .igx-input-group__bundle .igx-input-group igx-suffix,.igx-input-group .igx-input-group--border .igx-input-group__bundle igx-suffix,.igx-input-group--border .igx-input-group__bundle .igx-input-group--focused igx-suffix,.igx-input-group--focused .igx-input-group--border .igx-input-group__bundle igx-suffix,.igx-input-group--border .igx-input-group__bundle .igx-input-group [igxSuffix],.igx-input-group .igx-input-group--border .igx-input-group__bundle [igxSuffix],.igx-input-group--border .igx-input-group__bundle .igx-input-group--focused [igxSuffix],.igx-input-group--focused .igx-input-group--border .igx-input-group__bundle [igxSuffix]{height:100%}.igx-input-group--border .igx-input-group__bundle:after{display:none}.igx-input-group--border.igx-input-group--disabled .igx-input-group__bundle{background:var(--border-disabled-background)}.igx-input-group--border .igx-input-group__input,.igx-input-group--border .igx-input-group__file-input{width:100%;height:100%!important;padding-block:0;border:none;outline-style:none;z-index:1}.igx-input-group--search .igx-input-group__notch,.igx-input-group--search .igx-input-group__bundle-main{padding-inline-start:max(var(--is-large, 1)*max(1.125rem,-1 * 1.125rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--search .igx-input-group__notch,.igx-input-group--search .igx-input-group__bundle-main{padding-inline-end:max(var(--is-large, 1)*max(1.125rem,-1 * 1.125rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--search .igx-input-group__notch,.igx-input-group--search .igx-input-group__bundle-main{padding-inline:.25rem}.igx-input-group--search .igx-input-group__bundle{background:var(--search-background);box-shadow:var(--search-resting-shadow);border-radius:var(--search-border-radius);overflow:hidden}.igx-input-group--search .igx-input-group__bundle:after{display:none}.igx-input-group--search .igx-input-group__bundle:hover,.igx-input-group--search.igx-input-group--focused .igx-input-group__bundle{box-shadow:var(--search-hover-shadow);border-color:var(--hover-border-color)}.igx-input-group--search.igx-input-group--disabled .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--search.igx-input-group--disabled .igx-input-group__bundle{background:var(--search-disabled-background);box-shadow:var(--search-disabled-shadow);border-color:var(--disabled-border-color)}.igx-input-group--border .igx-input-group__bundle-main{background:rgba(0,0,0,0);padding:0 .25rem;font-size:1rem}.igx-input-group__label{padding-inline-end:.25rem;backface-visibility:hidden;will-change:transform;transform-origin:top left;transition:all .25s cubic-bezier(.215,.61,.355,1);margin-inline-start:max(var(--is-large, 1)*max(-.25rem,-1 * -.25rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(-.125rem,-1 * -.125rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(0,-1 * 0)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--border .igx-input-group__label{padding-inline-end:0;display:inline-block;position:relative;background:rgba(0,0,0,0)}.igx-input-group--border .igx-input-group__label,.igx-input-group--search .igx-input-group__label{transform:translateY(0)}.igx-input-group--search .igx-input-group__label+.igx-input-group__input{transform:translateY(0)}.igx-input-group--focused .igx-input-group__label,.igx-input-group--placeholder .igx-input-group__label,.igx-input-group--filled .igx-input-group__label,.igx-input-group--file .igx-input-group__label{--floating-label-position: -73%;transform:translateY(var(--floating-label-position));font-size:.75rem}.igx-input-group--border.igx-input-group--focused .igx-input-group__notch,.igx-input-group--border.igx-input-group--filled .igx-input-group__notch,.igx-input-group--border.igx-input-group--placeholder .igx-input-group__notch,.igx-input-group--border.igx-input-group--file .igx-input-group__notch{border-block-start-color:#0000!important}.igx-input-group--border.igx-input-group--focused .igx-input-group__bundle-start{border-inline-start-width:.125rem;border-block-start-width:.125rem;border-block-end-width:.125rem;border-inline-start-color:var(--focused-border-color);border-block-start-color:var(--focused-border-color);border-block-end-color:var(--focused-border-color)}.igx-input-group--border.igx-input-group--focused .igx-input-group__bundle-end{border-inline-end-width:.125rem;border-block-start-width:.125rem;border-block-end-width:.125rem;border-inline-end-color:var(--focused-border-color);border-block-start-color:var(--focused-border-color);border-block-end-color:var(--focused-border-color)}.igx-input-group--border.igx-input-group--focused .igx-input-group__filler,.igx-input-group--border.igx-input-group--focused .igx-input-group__notch{border-block-width:.125rem}.igx-input-group--border.igx-input-group--focused .igx-input-group__filler{border-block-color:var(--focused-border-color)}.igx-input-group--border.igx-input-group--focused .igx-input-group__notch{border-block-end-color:var(--focused-border-color)}.igx-input-group--border.igx-input-group--focused igx-prefix:first-child,.igx-input-group--border.igx-input-group--focused [igxPrefix]:first-child{margin-inline-start:-.0625rem}.igx-input-group--border.igx-input-group--focused igx-suffix:last-child,.igx-input-group--border.igx-input-group--focused [igxSuffix]:last-child{margin-inline-end:-.0625rem}.igx-input-group--border.igx-input-group--filled .igx-input-group__label,.igx-input-group--border.igx-input-group--file .igx-input-group__label,.igx-input-group--border.igx-input-group--focused .igx-input-group__label,.igx-input-group--border.igx-input-group--placeholder .igx-input-group__label{--label-position: max(var(--is-large, 1) * max(26px, -1 * 26px), var(--is-medium, 1) * max(22px, -1 * 22px), var(--is-small, 1) * max(18px, -1 * 18px));transform:translateY(calc(var(--label-position) * -1));font-size:.75rem;margin-top:0;overflow:hidden;will-change:font-size,color,transform}.igx-input-group--textarea-group .igx-input-group__bundle{--textarea-size: max(var(--is-large, 1) * max(5.125rem, -1 * 5.125rem), var(--is-medium, 1) * max(4.3157894737rem, -1 * 4.3157894737rem), var(--is-small, 1) * max(3.7272727273rem, -1 * 3.7272727273rem));min-height:var(--textarea-size)!important;height:auto!important}.igx-input-group--textarea-group .igx-input-group__bundle .igx-input-group__label{position:absolute}.igx-input-group--textarea-group .igx-input-group__label{transition-duration:0ms}.igx-input-group--textarea-group.igx-input-group--focused .igx-input-group__label,.igx-input-group--textarea-group.igx-input-group--filled .igx-input-group__label,.igx-input-group--textarea-group.igx-input-group--placeholder .igx-input-group__label{transform:translateY(0);top:.3125rem}.igx-input-group--textarea-group.igx-input-group--filled.igx-input-group--border .igx-input-group__label,.igx-input-group--textarea-group.igx-input-group--placeholder.igx-input-group--border .igx-input-group__label,.igx-input-group--textarea-group.igx-input-group--focused.igx-input-group--border .igx-input-group__label{top:0;transform:translateY(-50%);margin-block-end:auto!important}.igx-input-group--textarea-group.igx-input-group--filled .igx-input-group__notch,.igx-input-group--textarea-group.igx-input-group--placeholder .igx-input-group__notch,.igx-input-group--textarea-group.igx-input-group--filled.igx-input-group--border .igx-input-group__notch,.igx-input-group--textarea-group.igx-input-group--placeholder.igx-input-group--border .igx-input-group__notch{border-block-start-width:.125rem}.igx-input-group--focused .igx-input-group__label{color:var(--focused-secondary-color)}.igx-input-group--valid .igx-input-group__label{color:var(--success-secondary-color)}.igx-input-group--invalid .igx-input-group__label{color:var(--error-secondary-color)}.igx-input-group--required .igx-input-group__label:after{content:"*";font-size:inherit;vertical-align:top;margin-inline-start:.125rem;display:inline-block}.igx-input-group--disabled .igx-input-group__label{color:var(--disabled-text-color)!important}.igx-input-group__input,.igx-input-group__textarea{position:relative;display:block;border:none;padding-block-start:1.25rem;padding-block-end:.375rem;padding-inline:0;height:calc(var(--size) - 2px);width:100%;min-width:0;background:rgba(0,0,0,0);color:var(--filled-text-color);outline-style:none;box-shadow:none;overflow:hidden;text-overflow:ellipsis}.igx-input-group__input:not([type=date]),.igx-input-group__textarea:not([type=date]){line-height:0!important}.igx-input-group__input::placeholder,.igx-input-group__textarea::placeholder{color:var(--placeholder-color);opacity:1;line-height:normal}.igx-input-group__notch:empty+.igx-input-group__bundle-main .igx-input-group__input,.igx-input-group__notch:empty+.igx-input-group__bundle-main .igx-input-group__textarea{padding-block:0}.igx-input-group__file-input{width:100%;max-width:100%;overflow:hidden;padding-block-start:1.25rem;padding-block-end:.375rem;height:calc(var(--size) - 2px);color:var(--filled-text-color)}.igx-input-group__file-input span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;position:relative;display:inline-block;width:inherit;max-width:inherit;top:50%;transform:translateY(-50%)}.igx-input-group__clear-icon:focus{background-color:hsla(var(--ig-primary-500),var(--ig-primary-a));color:var(--ig-primary-600-contrast);background-color:#0000;color:hsla(var(--ig-secondary-500),var(--ig-secondary-a))}.igx-input-group__input:-webkit-autofill{transition-delay:99999s}.igx-input-group__input::-ms-clear{display:none}.igx-input-group__input:hover,.igx-input-group__file-input:hover,.igx-input-group__textarea:hover{cursor:pointer}.igx-input-group__input:focus,.igx-input-group__file-input:focus,.igx-input-group__textarea:focus{cursor:text;color:var(--focused-text-color)}.igx-input-group--disabled .igx-input-group__input,.igx-input-group--disabled .igx-input-group__file-input,.igx-input-group--disabled.igx-input-group--required .igx-input-group__input,.igx-input-group--disabled.igx-input-group--required .igx-input-group__file-input,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__input,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__file-input{cursor:default;color:var(--disabled-text-color)!important}.igx-input-group--disabled .igx-input-group__input::placeholder,.igx-input-group--disabled .igx-input-group__file-input::placeholder,.igx-input-group--disabled.igx-input-group--required .igx-input-group__input::placeholder,.igx-input-group--disabled.igx-input-group--required .igx-input-group__file-input::placeholder,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__input::placeholder,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__file-input::placeholder{color:var(--disabled-placeholder-color)}.igx-input-group__textarea{--textarea-size: max(var(--is-large, 1) * max(5.125rem, -1 * 5.125rem), var(--is-medium, 1) * max(4.3157894737rem, -1 * 4.3157894737rem), var(--is-small, 1) * max(3.7272727273rem, -1 * 3.7272727273rem));min-height:var(--textarea-size);height:auto;resize:vertical;overflow:hidden;padding:0;line-height:normal!important;z-index:1}.igx-input-group__textarea:not([type="*"]){line-height:normal!important}.igx-input-group--textarea-group .igx-input-group__bundle-main{overflow:hidden;height:calc(100% - .125rem);top:.0625rem;padding-block-start:1.25rem}.igx-input-group--disabled .igx-input-group__textarea,.igx-input-group--disabled.igx-input-group--required .igx-input-group__textarea{color:var(--disabled-text-color)!important}.igx-input-group--disabled .igx-input-group__textarea::placeholder,.igx-input-group--disabled.igx-input-group--required .igx-input-group__textarea::placeholder{color:var(--disabled-placeholder-color)}.igx-input-group__line{position:absolute;width:100%;inset-inline-end:0;height:.125rem;align-self:end;transform:scaleX(0);transform-origin:center;background:var(--focused-secondary-color);z-index:1}.igx-input-group--valid .igx-input-group__line{background:var(--success-secondary-color)}.igx-input-group--border.igx-input-group--valid .igx-input-group__bundle-start{border-inline-start-color:var(--success-secondary-color);border-block-start-color:var(--success-secondary-color);border-block-end-color:var(--success-secondary-color)}.igx-input-group--border.igx-input-group--valid .igx-input-group__bundle-end{border-inline-end-color:var(--success-secondary-color);border-block-start-color:var(--success-secondary-color);border-block-end-color:var(--success-secondary-color)}.igx-input-group--border.igx-input-group--valid .igx-input-group__notch,.igx-input-group--border.igx-input-group--valid .igx-input-group__filler{border-block-color:var(--success-secondary-color)}.igx-input-group--border.igx-input-group--warning .igx-input-group__bundle-start{border-inline-start-color:var(--warning-secondary-color);border-block-start-color:var(--warning-secondary-color);border-block-end-color:var(--warning-secondary-color)}.igx-input-group--border.igx-input-group--warning .igx-input-group__bundle-end{border-inline-end-color:var(--warning-secondary-color);border-block-start-color:var(--warning-secondary-color);border-block-end-color:var(--warning-secondary-color)}.igx-input-group--border.igx-input-group--warning .igx-input-group__notch,.igx-input-group--border.igx-input-group--warning .igx-input-group__filler{border-block-color:var(--warning-secondary-color)}.igx-input-group--invalid .igx-input-group__line{background:var(--error-secondary-color)}.igx-input-group--border.igx-input-group--invalid .igx-input-group__bundle-start{border-inline-start-color:var(--error-secondary-color);border-block-start-color:var(--error-secondary-color);border-block-end-color:var(--error-secondary-color)}.igx-input-group--border.igx-input-group--invalid .igx-input-group__bundle-end{border-inline-end-color:var(--error-secondary-color);border-block-start-color:var(--error-secondary-color);border-block-end-color:var(--error-secondary-color)}.igx-input-group--border.igx-input-group--invalid .igx-input-group__notch,.igx-input-group--border.igx-input-group--invalid .igx-input-group__filler{border-block-color:var(--error-secondary-color)}.igx-input-group--border.igx-input-group--disabled .igx-input-group__bundle-start{border-inline-start-color:var(--disabled-border-color);border-block-start-color:var(--disabled-border-color);border-block-end-color:var(--disabled-border-color)}.igx-input-group--border.igx-input-group--disabled .igx-input-group__bundle-end{border-inline-end-color:var(--disabled-border-color);border-block-start-color:var(--disabled-border-color);border-block-end-color:var(--disabled-border-color)}.igx-input-group--border.igx-input-group--disabled .igx-input-group__notch,.igx-input-group--border.igx-input-group--disabled .igx-input-group__filler{border-block-color:var(--disabled-border-color)}.igx-input-group--focused .igx-input-group__line{transform:scaleX(1);transition:transform .25s cubic-bezier(.215,.61,.355,1)}.igx-input-group--border .igx-input-group__line,.igx-input-group--search .igx-input-group__line{display:none}.igx-input-group__hint{color:var(--helper-text-color);position:relative;display:flex;padding-block-start:.3125rem;padding-inline-start:1rem;justify-content:space-between}.igx-input-group__hint>*{margin-inline-end:.5rem}.igx-input-group__hint>*:last-child{margin-inline-end:0}.igx-input-group__hint:empty{display:none}.igx-input-group--valid .igx-input-group__hint{color:var(--success-secondary-color)}.igx-input-group--invalid .igx-input-group__hint{color:var(--error-secondary-color)}.igx-input-group__hint-item--start,.igx-input-group__hint-item--end{display:flex;align-items:center;position:relative}.igx-input-group__hint-item--start{justify-content:flex-start}.igx-input-group__hint-item--end{justify-content:flex-end}.igx-input-group__hint-item--start,.igx-input-group__hint-item--end{width:100%}.igx-input-group--disabled igx-prefix,.igx-input-group--disabled.igx-input-group--required igx-prefix,.igx-input-group--disabled [igxPrefix],.igx-input-group--disabled igx-suffix,.igx-input-group--disabled.igx-input-group--required igx-suffix,.igx-input-group--disabled [igxSuffix]{color:var(--disabled-text-color);background:inherit;pointer-events:none}.igx-input-group--disabled .igx-input-group__hint{color:var(--disabled-text-color)}.igx-input-group--indigo .igx-input-group__bundle{border-radius:var(--box-border-radius) var(--box-border-radius) 0 0;transition:background .25s cubic-bezier(.215,.61,.355,1);padding-top:0}.igx-input-group--indigo .igx-input-group__bundle:hover,.igx-input-group--indigo .igx-input-group__bundle:focus{background:var(--box-background-hover)}.igx-input-group--indigo.igx-input-group--focused .igx-input-group__label{color:var(--focused-secondary-color)}.igx-input-group--indigo.igx-input-group--invalid .igx-input-group__label{color:var(--error-secondary-color)}.igx-input-group--indigo.igx-input-group--valid .igx-input-group__label{color:var(--success-secondary-color)}.igx-input-group--indigo .igx-input-group__input,.igx-input-group--indigo .igx-input-group__file-input{padding-block:.5rem;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--indigo.igx-input-group--focused .igx-input-group__bundle{background:var(--box-background-hover)}.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__bundle{background:rgba(0,0,0,0)}.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__bundle:hover,.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__bundle:focus{background:rgba(0,0,0,0)}.igx-input-group--indigo.igx-input-group--disabled .igx-input-group__bundle:after{border-bottom-style:solid}.igx-input-group--fluent igx-prefix,.igx-input-group--fluent [igxPrefix],.igx-input-group--fluent igx-suffix,.igx-input-group--fluent [igxSuffix]{outline-style:none}.igx-input-group--fluent select{width:calc(100% + .5rem);margin-inline-start:-.5rem!important;cursor:pointer!important}.igx-input-group--fluent.igx-input-group--search{display:flex;flex-direction:column}.igx-input-group--fluent.igx-input-group--search igx-prefix,.igx-input-group--fluent.igx-input-group--search [igxPrefix]{overflow:hidden}.igx-input-group--fluent.igx-input-group--search.igx-input-group--focused igx-prefix,.igx-input-group--fluent.igx-input-group--search.igx-input-group--focused [igxPrefix]{display:none}.igx-input-group--fluent.igx-input-group--required .igx-input-group__bundle:before{content:"*";position:absolute;top:-.5rem;inset-inline-start:calc(100% + .25rem);color:var(--error-secondary-color)}.igx-input-group--bootstrap.igx-input-group--textarea-group .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--textarea-group .igx-input-group__bundle{display:flex}.igx-input-group--fluent.igx-input-group--required .igx-input-group__label:after{color:var(--error-secondary-color)}.igx-input-group--fluent.igx-input-group--required.igx-input-group--disabled .igx-input-group__label:after{color:var(--disabled-text-color)}.igx-input-group--fluent .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--search .igx-input-group__bundle{--min-width: max(var(--is-large, 1) * max(.5rem, -1 * .5rem), var(--is-medium, 1) * max(.375rem, -1 * .375rem), var(--is-small, 1) * max(.25rem, -1 * .25rem));min-height:var(--size);padding:0;border:.0625rem solid var(--border-color);background:var(--border-background);align-items:stretch;overflow:hidden}.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-start,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-start{margin-block-start:-.0625rem;margin-inline-start:-.0625rem}.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-end,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-end{margin-block-start:-.0625rem;margin-inline-end:-.0625rem}.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-start:empty+.igx-input-group__bundle-main,.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-end:empty+.igx-input-group__bundle-main,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-start:empty+.igx-input-group__bundle-main,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-end:empty+.igx-input-group__bundle-main{margin-inline-start:-.0625rem}.igx-input-group--fluent .igx-input-group__bundle:focus .igx-input-group__bundle-main,.igx-input-group--fluent .igx-input-group__bundle:focus-within .igx-input-group__bundle-main{margin-block-start:-.0625rem}.igx-input-group--fluent .igx-input-group__bundle:hover,.igx-input-group--fluent.igx-input-group--search .igx-input-group__bundle:hover{border-color:var(--hover-border-color)}.igx-input-group--fluent .igx-input-group__bundle:focus-within,.igx-input-group--fluent .igx-input-group__bundle:focus{border-color:var(--focused-border-color);border-width:.125rem}.igx-input-group--fluent.igx-input-group--invalid .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--invalid .igx-input-group__bundle:hover,.igx-input-group--fluent.igx-input-group--invalid .igx-input-group__bundle:focus-within{border-color:var(--error-secondary-color)}.igx-input-group--fluent.igx-input-group--valid .igx-input-group__bundle,.igx-input-group--fluent.igx-input-group--valid .igx-input-group__bundle:hover,.igx-input-group--fluent.igx-input-group--valid .igx-input-group__bundle:focus-within{border-color:var(--success-secondary-color)}.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__bundle:hover,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__bundle{border-color:var(--disabled-border-color);background:var(--border-disabled-background)}.igx-input-group--fluent .igx-input-group__bundle-main,.igx-input-group--fluent.igx-input-group--search .igx-input-group__bundle-main{align-self:center;cursor:default}.igx-input-group--fluent.igx-input-group--textarea-group .igx-input-group__bundle-start:empty,.igx-input-group--fluent.igx-input-group--textarea-group .igx-input-group__bundle-end:empty{display:none}.igx-input-group--fluent .igx-input-group__input,.igx-input-group--fluent .igx-input-group__file-input,.igx-input-group--fluent.igx-input-group--search .igx-input-group__input{font-size:.875rem;padding-block:0;padding-inline:.5rem;margin:0;border:none}.igx-input-group--indigo .igx-input-group__textarea{padding-block:.5rem;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--fluent .igx-input-group__textarea{padding:.5rem}.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__input,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__input:hover,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__input:focus,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__file-input,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__file-input:hover,.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__file-input:focus{color:var(--disabled-text-color)}.igx-input-group--fluent .igx-input-group__label,.igx-input-group--fluent.igx-input-group--search .igx-input-group__label,.igx-input-group--indigo .igx-input-group__label{display:block;font-size:.875rem;font-weight:600;position:static;transform:translateY(0);transform-origin:top left;margin-top:0!important;height:auto;margin-block-end:.25rem;color:var(--idle-secondary-color)}[dir=rtl] .igx-input-group--fluent .igx-input-group__label,.igx-input-group--fluent [dir=rtl] .igx-input-group__label,[dir=rtl] .igx-input-group--indigo .igx-input-group__label,.igx-input-group--indigo [dir=rtl] .igx-input-group__label{transform-origin:top right}.igx-input-group--fluent.igx-input-group--required .igx-input-group__label+.igx-input-group__bundle:before{display:none}.igx-input-group--fluent.igx-input-group--valid .igx-input-group__label,.igx-input-group--fluent.igx-input-group--invalid .igx-input-group__label{color:var(--idle-text-color)}.igx-input-group--fluent.igx-input-group--disabled .igx-input-group__label{color:var(--disabled-text-color)!important}.igx-input-group--fluent.igx-input-group--filled .igx-input-group__label,.igx-input-group--fluent.igx-input-group--file .igx-input-group__label{transform:translateY(0)}.igx-input-group--fluent.igx-input-group--focused .igx-input-group__label{color:hsla(var(--ig-gray-800),var(--ig-gray-a));transform:translateY(0) scale(1)}.igx-input-group--fluent.igx-input-group--focused.igx-input-group--textarea-group .igx-input-group__hint{margin-block-start:-.0625rem}.igx-input-group--fluent.igx-input-group--placeholder .igx-input-group__label{transform:translateY(0) scale(1)}.igx-input-group--fluent igx-prefix .ig-typography [igx-button],.igx-input-group--fluent [igxPrefix] .ig-typography [igx-button],.igx-input-group--fluent igx-prefix .ig-typography igx-button,.igx-input-group--fluent [igxPrefix] .ig-typography igx-button,.igx-input-group--fluent igx-prefix button,.igx-input-group--fluent [igxPrefix] button,.igx-input-group--fluent igx-suffix .ig-typography [igx-button],.igx-input-group--fluent [igxSuffix] .ig-typography [igx-button],.igx-input-group--fluent igx-suffix .ig-typography igx-button,.igx-input-group--fluent [igxSuffix] .ig-typography igx-button,.igx-input-group--fluent igx-suffix button,.igx-input-group--fluent [igxSuffix] button{border-radius:0;height:100%}.igx-input-group--fluent [igxPrefix]:first-child [igxButton]:after,.igx-input-group--fluent [igxPrefix]:first-child button:after,.igx-input-group--fluent igx-prefix:first-child [igxButton]:after,.igx-input-group--fluent igx-prefix:first-child button:after{border-start-start-radius:var(--border-border-radius);border-end-start-radius:var(--border-border-radius)}.igx-input-group--fluent igx-prefix,.igx-input-group--fluent [igxPrefix],.igx-input-group--fluent igx-suffix,.igx-input-group--fluent [igxSuffix]{padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-input-group--fluent .igx-input-group__upload-button{padding:0}.igx-input-group--bootstrap.igx-input-group--prefixed .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--prefixed .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--prefixed .igx-input-group__textarea{border-start-start-radius:0;border-end-start-radius:0}.igx-input-group--bootstrap.igx-input-group--suffixed .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--suffixed .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--suffixed .igx-input-group__textarea{border-start-end-radius:0;border-end-end-radius:0}.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle{background-image:none}.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle .igx-input-group__bundle-start,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle .igx-input-group__bundle-end{border-color:var(--disabled-border-color)}.igx-input-group--bootstrap .igx-input-group__bundle{padding:0;box-shadow:none;z-index:0}.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__bundle,.igx-input-group--bootstrap .igx-input-group__bundle:hover{border:none;box-shadow:none}.igx-input-group--bootstrap .igx-input-group__bundle-start,.igx-input-group--bootstrap .igx-input-group__bundle-end{flex:none;border-width:.0625rem;border-style:solid;border-color:var(--border-color);overflow:hidden}.igx-input-group--bootstrap .igx-input-group__bundle-start:empty,.igx-input-group--bootstrap .igx-input-group__bundle-end:empty{display:none}.igx-input-group--bootstrap .igx-input-group__bundle-start{grid-area:1/1;border-inline-start-width:.0625rem;border-inline-end-width:0;border-block-start-width:.0625rem;border-block-end-width:.0625rem;border-start-start-radius:var(--box-border-radius);border-end-start-radius:var(--box-border-radius)}.igx-input-group--bootstrap .igx-input-group__bundle-end{grid-area:1/3;border-inline-start-width:0;border-inline-end-width:.0625rem;border-block-start-width:.0625rem;border-block-end-width:.0625rem;border-start-end-radius:var(--box-border-radius);border-end-end-radius:var(--box-border-radius)}.igx-input-group--bootstrap .igx-input-group__label,.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__label,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__label,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__label{position:static;display:block;color:var(--idle-secondary-color);padding:0;line-height:1.5rem;transform:translateY(0);transform-origin:top left;margin-block-start:0!important;margin-block-end:.25rem;height:auto;font-size:1rem}[dir=rtl] .igx-input-group--bootstrap .igx-input-group__label,.igx-input-group--bootstrap [dir=rtl] .igx-input-group__label{transform-origin:top right}.igx-input-group--bootstrap .igx-input-group__input,.igx-input-group--bootstrap .igx-input-group__textarea{height:auto;line-height:1.5;margin:0;font-size:max(var(--is-large, 1)*max(1.25rem,-1 * 1.25rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.875rem,-1 * .875rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));transition:box-shadow .15s ease-out,border .15s ease-out}.igx-input-group--bootstrap .igx-input-group__input,.igx-input-group--bootstrap .igx-input-group__textarea,.igx-input-group--bootstrap .igx-input-group__file-input{border:.0625rem solid var(--border-color);padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));grid-area:1/2/auto/auto;border-radius:var(--box-border-radius);z-index:1}.igx-input-group--bootstrap .igx-input-group__file-input{height:inherit}.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--focused .igx-input-group__textarea{border:.0625rem solid var(--focused-border-color);box-shadow:0 0 0 .25rem var(--focused-secondary-color)}.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__input:hover,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__file-input:hover,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__textarea,.igx-input-group--bootstrap.igx-input-group--valid .igx-input-group__textarea:hover{border:.0625rem solid var(--success-secondary-color);box-shadow:0 0 0 .25rem var(--success-shadow-color)}.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__input:hover,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__file-input:hover,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__textarea,.igx-input-group--bootstrap.igx-input-group--invalid .igx-input-group__textarea:hover{border:.0625rem solid var(--error-secondary-color);box-shadow:0 0 0 .25rem var(--error-shadow-color)}.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__input,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__file-input,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__textarea{background:var(--border-disabled-background);border:.0625rem solid var(--disabled-border-color);box-shadow:none}.igx-input-group--bootstrap.igx-input-group--search .igx-input-group__input{transform:translateY(0)}.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle igx-prefix,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle [igxPrefix],.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle igx-suffix,.igx-input-group--bootstrap.igx-input-group--disabled .igx-input-group__bundle [igxSuffix]{background:var(--border-disabled-background);border-color:var(--disabled-border-color);color:var(--disabled-text-color)}.igx-input-group--bootstrap .igx-input-group__upload-button{padding:0}.igx-input-group--bootstrap .igx-input-group__upload-button [igxButton]{min-height:0;height:calc(100% - .5rem)}igx-list{--background: var(--igx-list-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-background: var(--igx-list-header-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--header-text-color: var(--igx-list-header-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--item-background: var(--igx-list-item-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--item-background-hover: var(--igx-list-item-background-hover, hsla(var(--ig-gray-200), var(--ig-gray-a)));--item-background-active: var(--igx-list-item-background-active, hsla(var(--ig-gray-200), var(--ig-gray-a)));--item-text-color: var(--igx-list-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-text-color-hover: var(--igx-list-item-text-color-hover, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-text-color-active: var(--igx-list-item-text-color-active, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-title-color: var(--igx-list-item-title-color, "currentColor");--item-title-color-hover: var(--igx-list-item-title-color-hover, "currentColor");--item-title-color-active: var(--igx-list-item-title-color-active, "currentColor");--item-action-color: var(--igx-list-item-action-color, "currentColor");--item-action-color-hover: var(--igx-list-item-action-color-hover, "currentColor");--item-action-color-active: var(--igx-list-item-action-color-active, "currentColor");--item-subtitle-color: var(--igx-list-item-subtitle-color, "currentColor");--item-subtitle-color-hover: var(--igx-list-item-subtitle-color-hover, "currentColor");--item-subtitle-color-active: var(--igx-list-item-subtitle-color-active, "currentColor");--item-thumbnail-color: var(--igx-list-item-thumbnail-color, "currentColor");--item-thumbnail-color-hover: var(--igx-list-item-thumbnail-color-hover, "currentColor");--item-thumbnail-color-active: var(--igx-list-item-thumbnail-color-active, "currentColor");--border-color: var(--igx-list-border-color, transparent);--border-width: var(--igx-list-border-width, 0);--border-radius: var(--igx-list-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 1.5rem), 1.5rem));--item-border-radius: var(--igx-list-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 1.5rem), 1.5rem));--default-size: var(--igx-list-default-size, 2)}.igx-list,.igx-list--empty{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--list-size: var(--component-size);position:relative;display:flex;flex-flow:column nowrap;background:var(--background);height:auto;overflow-y:auto;overflow-x:hidden;z-index:0;border-radius:var(--border-radius)}.igx-list:focus-visible,.igx-list--empty:focus-visible{outline-style:none}.igx-list--empty{justify-content:center;align-items:center}.igx-list--empty .igx-list__message{text-align:center;color:var(--item-text-color);padding:1rem;z-index:1}.igx-list__header{--component-size: var(--list-size);display:flex;align-items:center;color:var(--header-text-color);background:var(--header-background);padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.125rem,-1 * .125rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));-webkit-user-select:none;user-select:none}.igx-list__item-base{display:flex;flex-flow:column wrap;justify-content:center;border-radius:var(--item-border-radius);color:var(--item-text-color);background:var(--item-background)}.igx-list__item-base:hover{color:var(--item-text-color-hover);background:var(--item-background-hover)}.igx-list__item-base:hover .igx-list__item-lines{color:currentColor}.igx-list__item-base:hover .igx-list__item-line-title{color:var(--item-title-color-hover)}.igx-list__item-base:hover .igx-list__item-line-subtitle{color:var(--item-subtitle-color-hover)}.igx-list__item-base:hover .igx-list__item-actions{color:var(--item-action-color-hover)}.igx-list__item-base:hover .igx-list__item-actions igx-icon{color:var(--item-action-color-hover)}.igx-list__item-base:hover .igx-list__item-thumbnail{color:var(--item-thumbnail-color-hover)}.igx-list__item-base:hover .igx-list__item-thumbnail igx-icon{color:var(--item-thumbnail-color-hover)}.igx-list__item-right,.igx-list__item-left{position:absolute;visibility:hidden;display:flex;z-index:1}.igx-list__item-lines{color:currentColor;display:flex;flex-direction:column;flex:1 0 0%}.igx-list__item-lines:empty{display:none}.igx-list__item-line-subtitle{color:var(--item-subtitle-color);opacity:.74}.igx-list__item-line-title{color:var(--item-title-color)}.igx-list__item-actions{display:flex;align-items:center;justify-content:center;color:var(--item-action-color)}.igx-list__item-actions>*{--component-size: var(--list-size);margin-inline-start:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-list__item-actions:empty{display:none}.igx-list__item-actions igx-icon{color:var(--item-action-color)}[dir=rtl] .igx-list__item-actions igx-icon{transform:scaleX(-1)}.igx-list__item-content,.igx-list__item-content:active{--component-size: var(--list-size);display:flex;align-items:center;position:relative;padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.125rem,-1 * .125rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)));border-radius:var(--item-border-radius);background:inherit;z-index:2}.igx-list__item-thumbnail{display:flex;align-items:center;justify-content:center;align-self:flex-start;padding:0;color:var(--item-thumbnail-color)}.igx-list__item-thumbnail>igx-icon{--component-size: var(--list-size);margin-inline-end:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));margin-inline-start:0;margin-block:max(var(--is-large, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-block-large, var(--ig-spacing-block, --ig-spacing)),var(--is-medium, 1)*max(.375rem,-1 * .375rem)*var(--ig-spacing-block-medium, var(--ig-spacing-block, --ig-spacing)),var(--is-small, 1)*max(.25rem,-1 * .25rem)*var(--ig-spacing-block-small, var(--ig-spacing-block, --ig-spacing)))}.igx-list__item-thumbnail>igx-avatar{--ig-size: 1}.igx-list__item-thumbnail>igx-avatar>igx-icon{margin:0}.igx-list__item-thumbnail:empty{display:none}.igx-list__item-thumbnail:not(:empty)+.igx-list__item-lines{--component-size: var(--list-size);margin:0;margin-inline-start:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)))}.igx-list__item-lines+.igx-list__item-actions{margin-inline-start:.5rem}.igx-list__item-content:active,.igx-list__item-base--active .igx-list__item-content{color:var(--item-text-color-active);background:var(--item-background-active);z-index:3}.igx-list__item-content:active .igx-list__item-line-title,.igx-list__item-base--active .igx-list__item-content .igx-list__item-line-title{color:var(--item-title-color-active)}.igx-list__item-content:active .igx-list__item-line-subtitle,.igx-list__item-base--active .igx-list__item-content .igx-list__item-line-subtitle{color:var(--item-subtitle-color-active)}.igx-list__item-content:active .igx-list__item-actions,.igx-list__item-base--active .igx-list__item-content .igx-list__item-actions{color:var(--item-action-color-active)}.igx-list__item-content:active .igx-list__item-actions igx-icon,.igx-list__item-base--active .igx-list__item-content .igx-list__item-actions igx-icon{color:var(--item-action-color-active)}.igx-list__item-content:active .igx-list__item-thumbnail,.igx-list__item-base--active .igx-list__item-content .igx-list__item-thumbnail{color:var(--item-thumbnail-color-active)}.igx-list__item-content:active .igx-list__item-thumbnail igx-icon,.igx-list__item-base--active .igx-list__item-content .igx-list__item-thumbnail igx-icon{color:var(--item-thumbnail-color-active)}.igx-list__item-content:not(:active){transition:transform .3s cubic-bezier(.25,.46,.45,.94)}[igxLabel]{--color: var(--igx-label-color, hsla(var(--ig-gray-700), var(--ig-gray-a)))}[igxLabel]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;position:relative;color:var(--color);max-width:100%;line-height:normal;font-size:1rem}[dir=rtl] [igxLabel]{transform-origin:top right}igx-navbar{--elevation: var(--igx-navbar-elevation, var(--ig-elevation-4));--background: var(--igx-navbar-background, hsla(var(--ig-primary-500), var(--ig-primary-a)));--text-color: var(--igx-navbar-text-color, var(--ig-primary-500-contrast));--idle-icon-color: var(--igx-navbar-idle-icon-color, var(--ig-primary-500-contrast));--hover-icon-color: var(--igx-navbar-hover-icon-color, var(--ig-primary-500-contrast));--shadow: var(--igx-navbar-shadow, var(--ig-elevation-4))}.igx-navbar{display:flex;position:relative;flex-flow:row nowrap;align-items:center;justify-content:space-between;width:100%;min-height:3.5rem;max-height:8rem;padding-inline:1rem;background:var(--background);color:var(--text-color);box-shadow:var(--shadow);z-index:4;overflow:hidden}igx-navbar-title,[igxNavbarTitle],igx-navbar-action,[igxNavbarAction],.igx-navbar__right,.igx-navbar__left{display:flex;align-items:center}igx-navbar-title,[igxNavbarTitle],.igx-navbar__title{display:-webkit-inline-box;-webkit-line-clamp:4;overflow:hidden;margin:0;flex-grow:1;-webkit-user-select:text;user-select:text;display:flex;flex-direction:row}.igx-navbar__right,.igx-navbar__left{-webkit-user-select:none;user-select:none}.igx-navbar__right>*+*,.igx-navbar__left>*+*{margin-inline-start:1rem}.igx-navbar__right>igx-icon,.igx-navbar__left>igx-icon,.igx-navbar__right [igxButton=icon],.igx-navbar__left [igxButton=icon]{--component-size: 3;cursor:pointer;color:var(--idle-icon-color);transition:color .15s cubic-bezier(.25,.46,.45,.94)}.igx-navbar__right>igx-icon:hover,.igx-navbar__left>igx-icon:hover,.igx-navbar__right [igxButton=icon]:hover,.igx-navbar__left [igxButton=icon]:hover{color:var(--hover-icon-color)}.igx-navbar__left{flex-grow:1}igx-nav-drawer{--elevation: var(--igx-nav-drawer-elevation, var(--ig-elevation-16));--background: var(--igx-nav-drawer-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--border-color: var(--igx-nav-drawer-border-color, hsla(var(--ig-gray-900), .14));--item-header-text-color: var(--igx-nav-drawer-item-header-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--item-text-color: var(--igx-nav-drawer-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-icon-color: var(--igx-nav-drawer-item-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-active-text-color: var(--igx-nav-drawer-item-active-text-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--item-active-background: var(--igx-nav-drawer-item-active-background, hsla(var(--ig-primary-500), .12));--item-hover-background: var(--igx-nav-drawer-item-hover-background, hsla(var(--ig-gray-200), .8));--item-hover-text-color: var(--igx-nav-drawer-item-hover-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--item-active-icon-color: var(--igx-nav-drawer-item-active-icon-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--item-hover-icon-color: var(--igx-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--border-radius: var(--igx-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));--item-border-radius: var(--igx-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .1666666667) * 1.5rem), 1.5rem));--shadow: var(--igx-nav-drawer-shadow, var(--ig-elevation-16))}.igx-nav-drawer{transition:flex-basis;transition-duration:.3s;transition-timing-function:cubic-bezier(.25,.46,.45,.94);flex-shrink:0}.igx-nav-drawer__aside{position:fixed;height:100%;max-width:90%;min-height:100%;overflow-x:hidden;background:var(--background);top:0;bottom:0;inset-inline-start:0;z-index:999;transition:width,transform;transition-timing-function:cubic-bezier(.25,.46,.45,.94),cubic-bezier(.25,.46,.45,.94);box-shadow:var(--shadow);border-inline-end:.0625rem solid var(--border-color);border-radius:var(--border-radius)}.igx-nav-drawer__aside.panning{overflow-x:hidden;transition:none}.igx-nav-drawer__aside--pinned{position:relative;max-width:100%;box-shadow:none;z-index:0}.igx-nav-drawer__aside--collapsed.igx-nav-drawer__aside--right{transform:translate3d(300px,0,0);box-shadow:none}[dir=rtl] .igx-nav-drawer__aside--collapsed.igx-nav-drawer__aside--right{transform:translate3d(-300px,0,0)}.igx-nav-drawer__aside--pinned.igx-nav-drawer__aside--collapsed{transform:none;width:0;overflow:hidden;border:none}.igx-nav-drawer__aside--collapsed{transform:translate3d(-300px,0,0);box-shadow:none}[dir=rtl] .igx-nav-drawer__aside--collapsed{transform:translate3d(300px,0,0)}.igx-nav-drawer__aside--right{inset-inline-start:auto;inset-inline-end:0;border-inline-end:none;border-inline-start:.0625rem solid var(--border-color)}.igx-nav-drawer__aside--mini{width:3.75rem;transition-duration:.2s,.2s}.igx-nav-drawer__aside--mini .igx-nav-drawer__item,.igx-nav-drawer__aside--mini .igx-nav-drawer__item--active{justify-content:center}.igx-nav-drawer__aside--mini .igx-nav-drawer__item igx-icon,.igx-nav-drawer__aside--mini .igx-nav-drawer__item--active igx-icon{margin-inline-start:0}.igx-nav-drawer__aside--normal{width:15.125rem;transition-duration:.3s,.3s}.igx-nav-drawer__overlay{opacity:1;background:hsla(var(--ig-gray-500),.54);transition:opacity,visibility;transition-duration:.25s,.25s;transition-timing-function:ease-in,step-start;transition-delay:0s,0s;position:absolute;inset-inline-start:0;top:0;width:100%;height:100%;visibility:visible;z-index:999}.igx-nav-drawer__overlay.panning{transform:translateZ(0);transition:none}.igx-nav-drawer__overlay--hidden{transition-timing-function:ease-in-out,step-end;visibility:hidden;opacity:0}.igx-nav-drawer__overlay.panning.igx-nav-drawer__overlay--hidden{visibility:visible}.igx-nav-drawer__item,.igx-nav-drawer__item--active{position:relative;display:flex;align-items:center;flex-flow:row nowrap;color:var(--item-text-color);max-height:3rem;min-width:2rem;margin:.5rem!important;padding:.75rem .5rem;gap:2rem;cursor:pointer;-webkit-user-select:none;user-select:none;outline:rgba(0,0,0,0);white-space:nowrap;border-radius:var(--item-border-radius);text-decoration:none;width:calc(100% - 1rem);border:none;justify-content:flex-start}.igx-nav-drawer__item igx-icon,.igx-nav-drawer__item--active igx-icon{--component-size: 3;color:var(--item-icon-color)}[igxButton].igx-nav-drawer__item,[igxButton].igx-nav-drawer__item--active{background:rgba(0,0,0,0);border:none}.igx-nav-drawer__item.igx-button--fab,.igx-nav-drawer__item--active.igx-button--fab{min-height:auto}.igx-nav-drawer__item.igx-button--icon,.igx-nav-drawer__item--active.igx-button--icon{height:auto;transition:none}.igx-nav-drawer__item:hover,.igx-nav-drawer__item--active:hover,.igx-nav-drawer__item:focus,.igx-nav-drawer__item--active:focus{background:var(--item-hover-background);color:var(--item-hover-text-color);box-shadow:none}.igx-nav-drawer__item:hover igx-icon,.igx-nav-drawer__item--active:hover igx-icon,.igx-nav-drawer__item:focus igx-icon,.igx-nav-drawer__item--active:focus igx-icon{color:var(--item-hover-icon-color)}.igx-nav-drawer__item--active{color:var(--item-active-text-color);background:var(--item-active-background)}.igx-nav-drawer__item--active igx-icon{color:var(--item-active-icon-color)}.igx-nav-drawer__item--active:focus,.igx-nav-drawer__item--active:hover{color:var(--item-active-text-color);background:var(--item-active-background)}.igx-nav-drawer__item--active:focus igx-icon,.igx-nav-drawer__item--active:hover igx-icon{color:var(--item-active-icon-color)}[igxButton].igx-nav-drawer__item,[igxButton].igx-nav-drawer__item--active{box-shadow:none}[igxButton].igx-nav-drawer__item igx-icon,[igxButton].igx-nav-drawer__item--active igx-icon{width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem);margin:0}[igxButton].igx-nav-drawer__item:hover,[igxButton].igx-nav-drawer__item--active:hover,[igxButton].igx-nav-drawer__item:focus,[igxButton].igx-nav-drawer__item--active:focus{box-shadow:none;border:none}.igx-nav-drawer__item--header{display:block;padding:.75rem 1rem;white-space:nowrap;color:var(--item-header-text-color)}.igx-nav-drawer__style-dummy{height:0;background:none;box-shadow:none;transition:none;visibility:hidden}.igx-nav-drawer--disable-animation{transition-duration:0s}.igx-overlay__wrapper--modal,.igx-overlay__content--modal{--background-color: var(--igx-overlay-background-color, hsla(var(--ig-gray-500), .54))}.igx-overlay{width:0;height:0;box-sizing:content-box}.igx-overlay__wrapper,.igx-overlay__wrapper--modal,.igx-overlay__wrapper--flex,.igx-overlay__wrapper--flex-container{position:fixed;inset:0;background:rgba(0,0,0,0);transition:background .25s cubic-bezier(.455,.03,.515,.955);pointer-events:none;z-index:10005;box-sizing:content-box}.igx-overlay__wrapper--modal{background:var(--background-color);pointer-events:initial}.igx-overlay__wrapper--flex{display:flex}.igx-overlay__wrapper--flex-container{display:flex;position:absolute}.igx-overlay__content,.igx-overlay__content--modal,.igx-overlay__content--elastic,.igx-overlay__content--relative{position:absolute;pointer-events:all;box-sizing:content-box}.igx-overlay__content--modal{pointer-events:initial}.igx-overlay__content--elastic{overflow:auto}.igx-overlay__content--relative{position:relative}.igx-toggle--hidden{display:none!important}igx-paginator{--text-color: var(--igx-paginator-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));--background-color: var(--igx-paginator-background-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));--border-color: var(--igx-paginator-border-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--size: var(--igx-paginator-size, max(var(--is-large, 1) * max(3.5rem, -1 * 3.5rem), var(--is-medium, 1) * max(3rem, -1 * 3rem), var(--is-small, 1) * max(2.75rem, -1 * 2.75rem)))}.igx-paginator{--component-size: var(--ig-size, var(--ig-size-large));display:flex;justify-content:space-between;align-items:center;color:var(--text-color);background:var(--background-color);font-size:.75rem;border-top:.0625rem solid var(--border-color);z-index:1;padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;height:var(--size);width:100%}.igx-paginator:empty{padding:0}.igx-paginator{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1)}.igx-paginator-content{display:flex;align-items:center;justify-content:space-between;width:100%}.igx-page-size{display:flex;justify-content:flex-start;align-items:center;flex:1}.igx-page-size__label{margin-inline-end:.5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-page-size__select{display:flex;max-width:7.125rem;min-width:6.25rem}.igx-page-size__select igx-select{--ig-size: 1}.igx-page-nav{display:flex;justify-content:flex-end;align-items:center;flex:1}.igx-page-nav>*{margin-inline-start:.5rem}[dir=rtl] .igx-page-nav igx-icon{transform:scaleX(-1)}.igx-page-nav__text{display:flex}@keyframes rotate-center{0%{transform:rotate(0)}to{transform:rotate(360deg)}}igx-circular-bar{--base-circle-color: var(--igx-circular-bar-base-circle-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--progress-circle-color: var(--igx-circular-bar-progress-circle-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--text-color: var(--igx-circular-bar-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--track-border-radius: var(--igx-circular-bar-track-border-radius, 0rem);--progress-circle-color-start: var(--igx-circular-bar-progress-circle-color-start, hsla(var(--ig-primary-500), var(--ig-primary-a)));--progress-circle-color-end: var(--igx-circular-bar-progress-circle-color-end, hsla(var(--ig-primary-500), var(--ig-primary-a)))}.igx-circular-bar{display:inline-flex;flex:1 1 auto;width:2rem;height:2rem;position:relative}.igx-circular-bar svg{width:100%;height:100%;min-width:inherit;min-height:inherit;transform:rotate(-90deg)}.igx-circular-bar--indeterminate{animation:rotate-center 3s linear normal infinite}[dir=rtl] .igx-circular-bar--indeterminate{animation-direction:reverse}.igx-circular-bar__inner{stroke-width:.25rem;fill:#0000;stroke:var(--base-circle-color)}.igx-circular-bar__outer{fill:#0000;stroke-width:.25rem;stroke-dashoffset:289;stroke-dasharray:289}.igx-circular-bar--indeterminate .igx-circular-bar__outer{stroke-dasharray:289;animation:indeterminate-accordion 1.5s cubic-bezier(0,.085,.68,.53) normal infinite}[dir=rtl] .igx-circular-bar--indeterminate .igx-circular-bar__outer,.igx-circular-bar--indeterminate [dir=rtl] .igx-circular-bar__outer{animation-direction:reverse}.igx-circular-bar__text{position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%);font-size:1rem;line-height:1;text-align:center;font-weight:600;fill:var(--text-color)}.igx-circular-bar--indeterminate .igx-circular-bar__text{visibility:hidden}.igx-circular-bar__gradient-start{stop-color:var(--progress-circle-color-start)}.igx-circular-bar__gradient-end{stop-color:var(--progress-circle-color-end)}@keyframes indeterminate-accordion{0%{stroke-dashoffset:578;stroke-dasharray:259}to{stroke-dashoffset:120}}igx-linear-bar{--track-color: var(--igx-linear-bar-track-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--fill-color-default: var(--igx-linear-bar-fill-color-default, hsla(var(--ig-primary-500), var(--ig-primary-a)));--fill-color-danger: var(--igx-linear-bar-fill-color-danger, hsla(var(--ig-error-500), var(--ig-error-a)));--fill-color-warning: var(--igx-linear-bar-fill-color-warning, hsla(var(--ig-warn-500), var(--ig-warn-a)));--fill-color-info: var(--igx-linear-bar-fill-color-info, hsla(var(--ig-info-500), var(--ig-info-a)));--fill-color-success: var(--igx-linear-bar-fill-color-success, hsla(var(--ig-success-500), var(--ig-success-a)));--stripes-color: var(--igx-linear-bar-stripes-color, hsla(var(--ig-gray-50), .7));--text-color: var(--igx-linear-bar-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--track-border-radius: var(--igx-linear-bar-track-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * .5rem), .5rem))}.igx-linear-bar{position:relative;display:flex;width:100%;flex:1 1 100%;flex-direction:column}[dir=rtl].igx-linear-bar .igx-linear-bar__base,[dir=rtl] .igx-linear-bar .igx-linear-bar__base{transform:rotateY(180deg)}.igx-linear-bar__base{position:relative;width:inherit;height:.25rem;background:var(--track-color);overflow:hidden;border-radius:var(--track-border-radius);z-index:0}.igx-linear-bar__indicator{width:100%;position:absolute;height:100%}.igx-linear-bar--striped .igx-linear-bar__indicator{background-image:linear-gradient(-45deg,var(--stripes-color) 25%,transparent 25%,transparent 50%,var(--stripes-color) 50%,var(--stripes-color) 75%,transparent 75%,transparent);background-size:2.5rem 2.5rem}[dir=rtl] .igx-linear-bar--striped .igx-linear-bar__indicator,.igx-linear-bar--striped [dir=rtl] .igx-linear-bar__indicator{background-image:linear-gradient(45deg,var(--stripes-color) 25%,transparent 25%,transparent 50%,var(--stripes-color) 50%,var(--stripes-color) 75%,transparent 75%,transparent)}.igx-linear-bar--indeterminate .igx-linear-bar__indicator-secondary,.igx-linear-bar--indeterminate .igx-linear-bar__indicator{transform-origin:top left;width:100%!important;height:inherit;position:absolute;background:rgba(0,0,0,0)}.igx-linear-bar--indeterminate .igx-linear-bar__indicator-secondary:after,.igx-linear-bar--indeterminate .igx-linear-bar__indicator:after{content:"";position:absolute;top:0;inset-inline-start:0;width:inherit;height:inherit;background:var(--fill-color-default);backface-visibility:hidden}.igx-linear-bar--indeterminate .igx-linear-bar__indicator{transform:scale3d(0,1,1);animation:indeterminate-primary 2s infinite linear;left:-145.166611%}.igx-linear-bar--indeterminate .igx-linear-bar__indicator:after{animation:indeterminate-primary-scale 2s infinite linear}.igx-linear-bar--indeterminate .igx-linear-bar__indicator-secondary{animation:indeterminate-secondary 2s infinite linear;left:-54.888891%}.igx-linear-bar--indeterminate .igx-linear-bar__indicator-secondary:after{animation:indeterminate-secondary-scale 2s infinite linear;width:100%;height:inherit}.igx-linear-bar__indicator{background:var(--fill-color-default)}.igx-linear-bar--danger .igx-linear-bar__indicator{background-color:var(--fill-color-danger)}.igx-linear-bar--warning .igx-linear-bar__indicator{background-color:var(--fill-color-warning)}.igx-linear-bar--info .igx-linear-bar__indicator{background-color:var(--fill-color-info)}.igx-linear-bar--success .igx-linear-bar__indicator{background-color:var(--fill-color-success)}.igx-linear-bar__value,.igx-linear-bar__value--start,.igx-linear-bar__value--center,.igx-linear-bar__value--end,.igx-linear-bar__value--top,.igx-linear-bar__value--hidden,.igx-linear-bar--indeterminate .igx-linear-bar__value{margin:0;color:var(--text-color);font-size:.875rem;font-weight:600}.igx-linear-bar__value,.igx-linear-bar__value--start{align-self:flex-start}.igx-linear-bar__value--center{align-self:center}.igx-linear-bar__value--end{align-self:flex-end}.igx-linear-bar__value--top{order:-1}.igx-linear-bar__value--hidden,.igx-linear-bar--indeterminate .igx-linear-bar__value{display:none}@keyframes indeterminate-primary{0%{transform:translate(0)}20%{animation-timing-function:cubic-bezier(.5,0,.701732,.495819);transform:translate(0)}59.15%{animation-timing-function:cubic-bezier(.302435,.381352,.55,.956352);transform:translate(83.67142%)}to{transform:translate(200.611057%)}}@keyframes indeterminate-primary-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.334731,.12482,.785844,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.334731,.12482,.785844,1);transform:scaleX(.661479)}to{transform:scaleX(.08)}}@keyframes indeterminate-secondary{0%{animation-timing-function:cubic-bezier(.15,0,.515058,.409685);transform:translate(0)}25%{animation-timing-function:cubic-bezier(.31033,.284058,.8,.733712);transform:translate(37.651913%)}48.35%{animation-timing-function:cubic-bezier(.4,.627035,.6,.902026);transform:translate(84.386165%)}to{transform:translate(160.277782%)}}@keyframes indeterminate-secondary-scale{0%{animation-timing-function:cubic-bezier(.15,0,.515058,.409685);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.284058,.8,.733712);transform:scaleX(.457104)}44.15%{animation-timing-function:cubic-bezier(.4,.627035,.6,.902026);transform:scaleX(.72796)}to{transform:scaleX(.08)}}igx-radio{--hover-color: var(--igx-radio-hover-color, transparent);--fill-hover-border-color: var(--igx-radio-fill-hover-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--label-color: var(--igx-radio-label-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--empty-color: var(--igx-radio-empty-color, hsla(var(--ig-gray-600), var(--ig-gray-a)));--fill-color: var(--igx-radio-fill-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--fill-color-hover: var(--igx-radio-fill-color-hover, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--disabled-color: var(--igx-radio-disabled-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-label-color: var(--igx-radio-disabled-label-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--error-color: var(--igx-radio-error-color, hsla(var(--ig-error-500), var(--ig-error-a)));--error-color-hover: var(--igx-radio-error-color-hover, hsla(var(--ig-error-500), var(--ig-error-a)))}.igx-radio{position:relative;display:inline-flex;flex-flow:row nowrap;align-items:center;color:var(--label-color)}.igx-radio__input{position:absolute;width:1px;height:1px;margin:-1px;border:none;clip:rect(0,0,0,0);outline:0;pointer-events:none;overflow:hidden;appearance:none}.igx-radio--disabled{pointer-events:none;color:var(--disabled-label-color);-webkit-user-select:none;user-select:none}.igx-radio--invalid .igx-radio__label{color:var(--error-color)}.igx-radio--disabled .igx-radio__label{color:var(--disabled-label-color)}.igx-radio__composite{position:relative;display:inline-block;width:2.5rem;height:2.5rem;min-width:2.5rem;line-height:2.5rem;cursor:pointer;color:var(--label-color);-webkit-user-select:none;user-select:none}.igx-radio__composite:before,.igx-radio__composite:after{position:absolute;content:"";width:2.5rem;height:2.5rem;inset-inline-start:0;top:0;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%)}.igx-radio__composite:before,.igx-radio__composite:after{width:1.25rem;height:1.25rem;top:25%;inset-inline-start:25%}.igx-radio__composite:before{backface-visibility:hidden;transform:scale(0);transition:all .2s ease-in;z-index:1}.igx-radio__composite:after{border:.125rem solid var(--empty-color)}.igx-radio--checked .igx-radio__composite:before{border:.125rem solid var(--fill-color);background:var(--fill-color);transform:scale(.5)}.igx-radio--checked .igx-radio__composite:after{border:.125rem solid var(--fill-color)}.igx-radio:hover .igx-radio__composite:before,.igx-radio:active .igx-radio__composite:before{background:var(--hover-color)}.igx-radio--invalid:hover .igx-radio__composite:before,.igx-radio--invalid:active .igx-radio__composite:before{background:var(--error-color)}.igx-radio--checked.igx-radio--invalid:hover .igx-radio__composite:before,.igx-radio--checked.igx-radio--invalid:active .igx-radio__composite:before{background:var(--error-color-hover)}.igx-radio--checked.igx-radio--invalid:hover .igx-radio__composite:after,.igx-radio--checked.igx-radio--invalid:active .igx-radio__composite:after{border:.125rem solid var(--error-color-hover)}.igx-radio--checked:hover .igx-radio__composite:before,.igx-radio--checked:active .igx-radio__composite:before,.igx-radio--focused.igx-radio--checked:hover .igx-radio__composite:before,.igx-radio--focused.igx-radio--checked:active .igx-radio__composite:before{background:var(--fill-color-hover);border-color:var(--fill-hover-border-color)}.igx-radio--checked:hover .igx-radio__composite:after,.igx-radio--checked:active .igx-radio__composite:after,.igx-radio--focused.igx-radio--checked:hover .igx-radio__composite:after,.igx-radio--focused.igx-radio--checked:active .igx-radio__composite:after{border-color:var(--fill-hover-border-color)}.igx-radio--invalid .igx-radio__composite:after{border:.125rem solid var(--error-color)}.igx-radio--checked.igx-radio--invalid .igx-radio__composite:after{border:.125rem solid var(--error-color)}.igx-radio--checked.igx-radio--invalid .igx-radio__composite:before{background:var(--error-color);border:.125rem solid rgba(0,0,0,0)}.igx-radio--disabled .igx-radio__composite:after{border:.125rem solid var(--disabled-color)}.igx-radio--checked.igx-radio--disabled .igx-radio__composite:after{border:.125rem solid var(--disabled-color)}.igx-radio--checked.igx-radio--disabled .igx-radio__composite:before{background:var(--disabled-color);border:.125rem solid rgba(0,0,0,0)}.igx-radio__label,.igx-radio__label--before{color:currentColor;cursor:pointer;-webkit-user-select:none;user-select:none;word-wrap:break-all}.igx-radio__label:empty,.igx-radio__label--before:empty{display:none}.igx-radio__label{margin-inline-start:.125rem}.igx-radio__label--before{order:-1;margin-inline-end:.125rem}.igx-radio__label--before:empty,.igx-radio__label:empty{margin:0}.igx-radio__ripple{display:block;position:absolute;top:calc(50% - 1.25rem);inset-inline-start:calc(50% - 1.25rem);width:2.5rem;height:2.5rem;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 1.25rem),1.25rem);overflow:hidden;pointer-events:none;filter:opacity(1)}.igx-radio__ripple .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-radio__ripple .igx-ripple{overflow:hidden}.igx-radio__ripple,.igx-radio__ripple [igxRipple]{--color: var(--igx-ripple-color, var(--fill-color))}.igx-radio--checked.igx-radio--invalid.igx-radio--focused .igx-radio__composite:after{border:.125rem solid var(--error-color)}.igx-radio--checked.igx-radio--invalid.igx-radio--focused .igx-radio__composite:before{background:var(--error-color);border-color:var(--error-color)}.igx-radio:hover .igx-radio__ripple,.igx-radio:active .igx-radio__ripple,.igx-radio--checked:hover .igx-radio__ripple,.igx-radio--checked:active .igx-radio__ripple,.igx-radio--invalid:hover .igx-radio__ripple,.igx-radio--invalid:active .igx-radio__ripple{background:var(--empty-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.06}.igx-radio--checked:hover .igx-radio__ripple,.igx-radio--checked:active .igx-radio__ripple{background:var(--fill-color)}.igx-radio--invalid:hover .igx-radio__ripple,.igx-radio--invalid:active .igx-radio__ripple{background:var(--error-color)}.igx-radio--focused .igx-radio__ripple,.igx-radio--focused:hover .igx-radio__ripple,.igx-radio--focused.igx-radio--invalid .igx-radio__ripple,.igx-radio--focused.igx-radio--checked .igx-radio__ripple{background:var(--empty-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.12}.igx-radio--focused.igx-radio--checked .igx-radio__ripple{background:var(--fill-color)}.igx-radio--focused.igx-radio--invalid .igx-radio__ripple{background:var(--error-color)}.igx-radio:active .igx-radio__ripple,.igx-radio--checked:active .igx-radio__ripple,.igx-radio--invalid:active .igx-radio__ripple{opacity:.12}.igx-radio-group{display:block}.igx-radio-group .igx-radio:not(:last-of-type){margin-inline-end:1rem}.igx-radio-group--vertical{display:flex;flex-flow:column}.igx-radio-group--vertical .igx-radio:not(:last-of-type){margin-inline-end:0;margin-block-end:0}igx-query-builder{--background: var(--igx-query-builder-background, hsla(var(--ig-gray-50), var(--ig-gray-a)));--header-background: var(--igx-query-builder-header-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--header-foreground: var(--igx-query-builder-header-foreground, hsla(var(--ig-gray-700), var(--ig-gray-a)));--background-and: var(--igx-query-builder-background-and, hsla(var(--ig-primary-300), var(--ig-primary-a)));--background-and--focus: var(--igx-query-builder-background-and--focus, hsla(var(--ig-primary-700), var(--ig-primary-a)));--background-or: var(--igx-query-builder-background-or, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--background-or--focus: var(--igx-query-builder-background-or--focus, hsla(var(--ig-secondary-700), var(--ig-secondary-a)))}.igx-query-builder{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);width:auto;min-width:41.25rem;background-color:var(--background);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem);box-shadow:var(--ig-elevation-12)}.igx-query-builder__header{display:flex;align-items:center;background-color:var(--header-background);color:var(--header-foreground);-webkit-user-select:none;user-select:none}.igx-query-builder__header h4,.igx-query-builder__header .ig-typography__h6{margin-bottom:0}.igx-query-builder__main{display:block;overflow:auto;min-height:max(var(--is-large, 1)*max(13.375rem,-1 * 13.375rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(10.25rem,-1 * 10.25rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(8.625rem,-1 * 8.625rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));max-height:max(var(--is-large, 1)*max(29.25rem,-1 * 29.25rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(24.625rem,-1 * 24.625rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(19.0625rem,-1 * 19.0625rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-query-builder__main [igxButton]+[igxButton]{margin-inline-start:.5rem}.igx-query-builder__header,.igx-query-builder__main{padding-inline:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:1rem}.igx-query-builder__outlet igx-select-item>igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem);margin-inline-end:.5rem}.igx-filter-tree{display:flex}.igx-filter-tree+.igx-filter-tree,.igx-filter-tree+.igx-filter-tree__expression-item,.igx-filter-tree+.igx-filter-tree__inputs{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__line{width:.5rem;min-width:.5rem;background-color:#fff;margin-inline-end:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));outline-style:none;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem);cursor:pointer}.igx-filter-tree__line--and{background:var(--background-and)}.igx-filter-tree__line--selected.igx-filter-tree__line--and{background:var(--background-and--focus)}.igx-filter-tree__line--and:focus{box-shadow:inset 0 0 0 .125rem var(--background-and--focus)}.igx-filter-tree__line--or{background:var(--background-or)}.igx-filter-tree__line--selected.igx-filter-tree__line--or{background-color:var(--background-or--focus)}.igx-filter-tree__line--or:focus{box-shadow:inset 0 0 0 .125rem var(--background-or--focus)}.igx-filter-tree__expression{display:flex;flex-direction:column;align-items:flex-start}.igx-filter-tree__expression-item{display:flex;align-items:center}.igx-filter-tree__expression-item+.igx-filter-tree,.igx-filter-tree__expression-item+.igx-filter-tree__inputs,.igx-filter-tree__expression-item+.igx-filter-tree__expression-item{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__expression-item>igx-chip igx-prefix{display:flex}.igx-filter-tree__expression-column{padding:0 .5rem}.igx-filter-tree__expression-actions{display:inline-flex;margin:0 .5rem}.igx-filter-tree__expression-actions igx-icon{cursor:pointer;color:hsla(var(--ig-gray-500),var(--ig-gray-a));outline-style:none}.igx-filter-tree__expression-actions igx-icon:hover,.igx-filter-tree__expression-actions igx-icon:focus{color:hsla(var(--ig-gray-800),var(--ig-gray-a))}.igx-filter-tree__expression-actions igx-icon+igx-icon{margin-inline-start:.5rem}.igx-filter-tree__expression-condition{opacity:.7}.igx-filter-tree__buttons{display:flex;justify-content:space-between;align-items:center;margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__buttons+.igx-filter-tree,.igx-filter-tree__buttons+.igx-filter-tree__expression-item,.igx-filter-tree__buttons+.igx-filter-tree__inputs{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__inputs{display:flex;justify-content:space-between;align-items:center}.igx-filter-tree__inputs igx-select+igx-select,.igx-filter-tree__inputs igx-select+igx-input-group,.igx-filter-tree__inputs igx-select+igx-date-picker,.igx-filter-tree__inputs igx-select+igx-time-picker,.igx-filter-tree__inputs igx-input-group+igx-select{margin-inline-start:.5rem}.igx-filter-tree__inputs+.igx-filter-tree,.igx-filter-tree__inputs+.igx-filter-tree__expression-item{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-tree__inputs-actions{display:flex;margin:0 .5rem;align-items:center}.igx-filter-tree__inputs-actions [igxButton]{transition:none}.igx-filter-tree__inputs-actions [igxButton]+[igxButton]{margin-inline-start:.5rem}.igx-builder-legend{display:flex;margin-inline-start:auto;pointer-events:none}.igx-builder-legend__item,.igx-builder-legend__item--and,.igx-builder-legend__item--or{position:relative;display:inline-flex;align-items:center;font-size:.75rem}.igx-builder-legend__item:before,.igx-builder-legend__item--and:before,.igx-builder-legend__item--or:before{content:"";width:1.5rem;height:1.5rem;background:#fff;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem);margin-inline-end:.5rem}.igx-builder-legend__item+.igx-builder-legend__item,.igx-builder-legend__item--and+.igx-builder-legend__item,.igx-builder-legend__item--or+.igx-builder-legend__item,.igx-builder-legend__item+.igx-builder-legend__item--and,.igx-builder-legend__item--and+.igx-builder-legend__item--and,.igx-builder-legend__item--or+.igx-builder-legend__item--and,.igx-builder-legend__item+.igx-builder-legend__item--or,.igx-builder-legend__item--and+.igx-builder-legend__item--or,.igx-builder-legend__item--or+.igx-builder-legend__item--or{margin-inline-start:1.5rem}.igx-builder-legend__item--and:before{background:var(--background-and)}.igx-builder-legend__item--or:before{background:var(--background-or)}.igx-filter-contextual-menu{position:relative;display:flex;flex-flow:column;width:12.25rem;background-color:var(--background);padding:1rem;margin-inline-start:1rem;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .25rem),.25rem);border:.0625rem solid hsla(var(--ig-gray-200),var(--ig-gray-a))}.igx-filter-contextual-menu>[igxButton]+[igxButton],.igx-filter-contextual-menu igx-buttongroup+[igxButton],.igx-filter-contextual-menu [igxButton]+igx-buttongroup{margin-top:max(var(--is-large, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.5rem,-1 * .5rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-contextual-menu>[igxButton].igx-filter-contextual-menu__close-btn+[igxButton],.igx-filter-contextual-menu [igxButton].igx-filter-contextual-menu__close-btn+igx-buttongroup{margin-top:0}.igx-filter-contextual-menu [igxButton]>igx-icon+*{margin-inline-start:.5rem}.igx-filter-contextual-menu igx-buttongroup>*{box-shadow:none}.igx-filter-contextual-menu__delete-btn{color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-filter-contextual-menu__delete-btn:hover,.igx-filter-contextual-menu__delete-btn:focus{color:hsla(var(--ig-error-500),var(--ig-error-a))}.igx-filter-contextual-menu__close-btn{position:absolute;top:-1.125rem;inset-inline-end:-1.125rem;background-color:var(--background);border:.0625rem solid hsla(var(--ig-gray-200),var(--ig-gray-a))}.igx-filter-contextual-menu__close-btn:hover,.igx-filter-contextual-menu__close-btn:focus{background-color:var(--background)}.igx-filter-empty{display:flex;align-items:center;justify-content:center;height:max(var(--is-large, 1)*max(9rem,-1 * 9rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(6.6875rem,-1 * 6.6875rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(5.75rem,-1 * 5.75rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-filter-empty__title{color:hsla(var(--ig-gray-500),var(--ig-gray-a))}.igx-query-builder--inline{display:flex;flex-direction:column;width:100%;max-width:100%;height:inherit;max-height:inherit;min-width:30rem;box-shadow:none}.igx-query-builder--inline .igx-query-builder__main{min-height:initial;max-height:initial;flex-grow:1}.ig-scrollbar{--scrollbar-size: var(--ig-scrollbar-scrollbar-size, 16px);--thumb-background: var(--ig-scrollbar-thumb-background, hsla(var(--ig-gray-400), var(--ig-gray-a)));--track-background: var(--ig-scrollbar-track-background, hsla(var(--ig-gray-100), var(--ig-gray-a)))}.ig-scrollbar{scrollbar-width:var(--scrollbar-size);scrollbar-color:var(--thumb-background) var(--track-background)}.ig-scrollbar ::-webkit-scrollbar{width:var(--scrollbar-size);height:var(--scrollbar-size);background:var(--track-background)}.ig-scrollbar ::-webkit-scrollbar-thumb{background:var(--thumb-background)}@media (hover: none){.ig-scrollbar ::-webkit-scrollbar{width:auto;height:auto}}igx-slider{--track-color: var(--igx-slider-track-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--track-step-color: var(--igx-slider-track-step-color, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--track-step-size: var(--igx-slider-track-step-size, .1875rem);--track-hover-color: var(--igx-slider-track-hover-color, hsla(var(--ig-secondary-400), var(--ig-secondary-a)));--thumb-color: var(--igx-slider-thumb-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--thumb-focus-color: var(--igx-slider-thumb-focus-color, transparent);--thumb-border-color: var(--igx-slider-thumb-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--thumb-border-focus-color: var(--igx-slider-thumb-border-focus-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--thumb-disabled-border-color: var(--igx-slider-thumb-disabled-border-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-thumb-color: var(--igx-slider-disabled-thumb-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--label-background-color: var(--igx-slider-label-background-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--label-text-color: var(--igx-slider-label-text-color, var(--ig-gray-700-contrast));--base-track-color: var(--igx-slider-base-track-color, hsla(var(--ig-secondary-500), .24));--base-track-hover-color: var(--igx-slider-base-track-hover-color, hsla(var(--ig-secondary-500), .24));--disabled-base-track-color: var(--igx-slider-disabled-base-track-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--disabled-fill-track-color: var(--igx-slider-disabled-fill-track-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--tick-color: var(--igx-slider-tick-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--tick-label-color: var(--igx-slider-tick-label-color, hsla(var(--ig-gray-500), var(--ig-gray-a)))}.igx-slider{display:flex;position:relative;z-index:0;height:3rem;flex-grow:1;align-items:center;transition:all .2s cubic-bezier(.25,.46,.45,.94)}.igx-slider:hover .igx-slider__track-fill{background:var(--track-hover-color)}.igx-slider:hover .igx-slider__track-inactive{background:var(--base-track-hover-color)}.igx-slider--disabled{pointer-events:none}.igx-slider--disabled .igx-slider__track-inactive{background:var(--disabled-base-track-color)}.igx-slider__thumbs{position:absolute;width:100%;height:0;cursor:default;z-index:1;inset-inline-start:0}.igx-slider__track{position:relative;width:100%;height:.375rem;overflow:hidden;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 2rem),2rem)}.igx-slider__track-inactive{position:absolute;width:100%;height:inherit;background:var(--base-track-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);border-radius:inherit;height:.25rem;top:50%;transform:translateY(-50%)}.igx-slider__track-fill{position:absolute;width:100%;background:var(--track-color);transform-origin:left center;transform:scaleX(0);border-radius:inherit;height:inherit}[dir=rtl] .igx-slider__track-fill{transform-origin:right center}.igx-slider--disabled .igx-slider__track-fill{background:var(--disabled-fill-track-color)}.igx-slider__ticks{width:100%;display:flex;position:absolute;bottom:0;justify-content:space-between}.igx-slider__ticks.igx-slider__ticks--top{bottom:auto;top:0;align-items:flex-end}.igx-slider__ticks-group{display:flex;flex-direction:column;align-items:center;position:relative}.igx-slider__ticks-group:first-of-type{margin-inline-start:-.0625rem}.igx-slider__ticks-group:last-of-type{margin-inline-start:-.0625rem}.igx-slider__ticks-label{color:var(--tick-label-color);position:absolute;top:1rem;transform:translate(-50%);line-height:.7;opacity:1;transition:opacity .2s cubic-bezier(.455,.03,.515,.955)}[dir=rtl] .igx-slider__ticks-label{left:100%}.igx-slider__ticks-tick{background:var(--tick-color);height:.5rem;width:.125rem}.igx-slider__ticks--tall .igx-slider__ticks-label{top:1.5rem}.igx-slider--disabled .igx-slider__ticks-tick{background:var(--disabled-base-track-color)!important}.igx-slider--disabled .igx-slider__ticks-label{color:var(--disabled-base-track-color)!important}.igx-slider__ticks-group--tall .igx-slider__ticks-tick{height:1rem}.igx-slider__ticks-group--tall .igx-slider__ticks-label{top:1.5rem}.igx-slider__ticks--top .igx-slider__ticks-label{bottom:1rem;top:auto}.igx-slider__ticks--top.igx-slider__ticks--tall .igx-slider__ticks-label{bottom:1.5rem;top:auto}.igx-slider__tick-label--hidden{opacity:0}.igx-slider__track-steps{position:absolute;display:flex;width:100%;height:.25rem;opacity:.85;transition:opacity .2s ease-out;top:50%;transform:translateY(-50%);color:var(--track-step-color)}.igx-slider__track-steps svg{clip-path:inset(0 .1875rem 0 .1875rem)}.igx-slider__track-steps line{stroke:currentColor;stroke-width:var(--track-step-size);stroke-linecap:round}.igx-slider__tick-labels--top-bottom .igx-slider__ticks-group{display:block}.igx-slider__tick-labels--top-bottom .igx-slider__ticks-label{writing-mode:vertical-rl;transform:translate(-50%) rotate(0)}.igx-slider__tick-labels--top-bottom .igx-slider__ticks--tall .igx-slider__ticks-label{top:1.125rem}.igx-slider__tick-labels--top-bottom.igx-slider__ticks--top .igx-slider__ticks-label{writing-mode:vertical-rl;transform:translate(-50%) rotate(0)}.igx-slider__tick-labels--top-bottom.igx-slider__ticks--top .igx-slider__ticks--tall .igx-slider__ticks-label{bottom:1.125rem}.igx-slider__tick-labels--bottom-top .igx-slider__ticks-group{display:block}.igx-slider__tick-labels--bottom-top .igx-slider__ticks-label,.igx-slider__tick-labels--bottom-top.igx-slider__ticks--top .igx-slider__ticks-label{writing-mode:vertical-rl;transform:translate(-50%) rotate(180deg)}.igx-slider__tick-labels--bottom-top.igx-slider__ticks--top .igx-slider__ticks--tall .igx-slider__ticks-label{bottom:1.125rem}.igx-slider-thumb-from,.igx-slider-thumb-to{position:absolute;display:flex;justify-content:center;align-items:center;flex-direction:column;width:1.25rem;height:1.25rem;outline-style:none;top:-.625rem;margin-inline-start:-.625rem}.igx-slider-thumb-from:hover div:after,.igx-slider-thumb-to:hover div:after{opacity:.12;transform:scale(1)}.igx-slider-thumb-from:focus div:after,.igx-slider-thumb-to:focus div:after{opacity:.18;transform:scale(1)}.igx-slider-thumb-from:focus div:before,.igx-slider-thumb-to:focus div:before{box-shadow:0 0 0 0 var(--thumb-focus-color)}.igx-slider-thumb-from--disabled:focus div:before,.igx-slider-thumb-to--disabled:focus div:before{box-shadow:none}.igx-slider-thumb-from--disabled:focus div:after,.igx-slider-thumb-to--disabled:focus div:after{transform:scale(0)}.igx-slider-thumb-label-from,.igx-slider-thumb-label-to{position:absolute;pointer-events:none;display:flex;top:-3.125rem;height:1.875rem}.igx-slider-thumb-label-from__container,.igx-slider-thumb-label-to__container{border-radius:.125rem;display:flex;align-items:center;justify-content:center;white-space:nowrap;margin-inline-start:-50%;padding:0 .125rem;background:var(--label-background-color);color:var(--label-text-color);min-width:2.5rem;opacity:0}.igx-slider-thumb-label-from__container:after,.igx-slider-thumb-label-to__container:after{content:"";position:absolute;top:85%;border-inline-start:.625rem solid rgba(0,0,0,0);border-inline-end:.625rem solid rgba(0,0,0,0);border-top:.625rem solid var(--label-background-color)}.igx-slider-thumb-from__dot,.igx-slider-thumb-to__dot{position:relative;inset-inline-start:0;pointer-events:none}.igx-slider-thumb-from__dot:before,.igx-slider-thumb-to__dot:before{position:absolute;content:"";width:1.25rem;height:1.25rem;inset-inline-start:0rem;top:-10px;margin-inline-start:-10px;background:var(--thumb-color);border:0rem solid var(--thumb-border-color);transition:transform .1s cubic-bezier(.25,.46,.45,.94),border-radius .1s cubic-bezier(.25,.46,.45,.94);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .625rem),.625rem)}.igx-slider-thumb-from__dot:after,.igx-slider-thumb-to__dot:after{position:absolute;content:"";width:2.5rem;height:2.5rem;background:var(--thumb-color);top:calc(50% - 1.25rem);inset-inline-start:calc(50% - 1.25rem);opacity:0;transform:scale(0);transform-origin:center center;transition:transform .1s cubic-bezier(.25,.46,.45,.94),opacity .1s cubic-bezier(.25,.46,.45,.94);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);overflow:hidden}.igx-slider-thumb-from--disabled .igx-slider-thumb-from__dot,.igx-slider-thumb-to--disabled .igx-slider-thumb-to__dot{pointer-events:none}.igx-slider-thumb-from--disabled .igx-slider-thumb-from__dot:before,.igx-slider-thumb-to--disabled .igx-slider-thumb-to__dot:before{background:var(--disabled-thumb-color);border-color:var(--thumb-disabled-border-color);border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * .625rem),.625rem)}.igx-slider-thumb-from--pressed .igx-slider-thumb-from__dot:after,.igx-slider-thumb-to--pressed .igx-slider-thumb-to__dot:after{opacity:.24!important;transform:scale(1)!important}.igx-slider-thumb-label-from--active .igx-slider-thumb-label-from__container,.igx-slider-thumb-label-to--active .igx-slider-thumb-label-to__container{opacity:1}.igx-slider-thumb-label-from--pressed .igx-slider-thumb-label-from__container,.igx-slider-thumb-label-to--pressed .igx-slider-thumb-label-to__container{z-index:1}igx-snackbar{--elevation: var(--igx-snackbar-elevation, var(--ig-elevation-4));--background: var(--igx-snackbar-background, hsla(var(--ig-gray-900), .9));--text-color: var(--igx-snackbar-text-color, var(--ig-gray-900-contrast));--button-color: var(--igx-snackbar-button-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--border-radius: var(--igx-snackbar-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .1666666667) * 1.5rem), 1.5rem));--shadow: var(--igx-snackbar-shadow, var(--ig-elevation-4))}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.igx-snackbar{position:relative;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;min-height:3rem;padding:.4375rem 1.5rem;margin:.5rem;gap:1.5rem;color:var(--text-color);background:var(--background);backface-visibility:hidden;box-shadow:var(--shadow);border-radius:var(--border-radius);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.igx-snackbar [igxButton]{animation:fade-in .35s ease-out;--ig-size: 1;background:rgba(0,0,0,0);color:var(--button-color);-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:none}.igx-snackbar__button{display:contents}.igx-snackbar__message{animation:fade-in .35s ease-out}igx-switch{--resting-elevation: var(--igx-switch-resting-elevation, var(--ig-elevation-2));--hover-elevation: var(--igx-switch-hover-elevation, var(--ig-elevation-3));--disabled-elevation: var(--igx-switch-disabled-elevation, var(--ig-elevation-1));--border-color: var(--igx-switch-border-color, transparent);--border-hover-color: var(--igx-switch-border-hover-color, transparent);--border-disabled-color: var(--igx-switch-border-disabled-color, transparent);--border-on-color: var(--igx-switch-border-on-color, transparent);--border-on-hover-color: var(--igx-switch-border-on-hover-color, transparent);--thumb-on-color: var(--igx-switch-thumb-on-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--track-on-color: var(--igx-switch-track-on-color, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--thumb-off-color: var(--igx-switch-thumb-off-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--track-disabled-color: var(--igx-switch-track-disabled-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--track-on-disabled-color: var(--igx-switch-track-on-disabled-color, hsla(var(--ig-secondary-50), var(--ig-secondary-a)));--track-off-color: var(--igx-switch-track-off-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--thumb-disabled-color: var(--igx-switch-thumb-disabled-color, hsla(var(--ig-gray-200), var(--ig-gray-a)));--thumb-on-disabled-color: var(--igx-switch-thumb-on-disabled-color, hsla(var(--ig-secondary-100), var(--ig-secondary-a)));--label-color: var(--igx-switch-label-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--label-disabled-color: var(--igx-switch-label-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--label-invalid-color: var(--igx-switch-label-invalid-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--track-error-color: var(--igx-switch-track-error-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--thumb-on-error-color: var(--igx-switch-thumb-on-error-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--error-color: var(--igx-switch-error-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));--error-color-hover: var(--igx-switch-error-color-hover, hsla(var(--ig-gray-500), var(--ig-gray-a)));--border-radius-track: var(--igx-switch-border-radius-track, clamp(0rem, calc(var(--ig-radius-factor, 1) * .4375rem), .4375rem));--border-radius-thumb: var(--igx-switch-border-radius-thumb, clamp(0rem, calc(var(--ig-radius-factor, 1) * .625rem), .625rem));--border-radius-ripple: var(--igx-switch-border-radius-ripple, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.5rem), 1.5rem));--resting-shadow: var(--igx-switch-resting-shadow, var(--ig-elevation-2));--hover-shadow: var(--igx-switch-hover-shadow, var(--ig-elevation-3));--disabled-shadow: var(--igx-switch-disabled-shadow, var(--ig-elevation-1))}.igx-switch{position:relative;display:inline-flex;flex-flow:row nowrap;align-items:center}.igx-switch__input{position:absolute;width:1px;height:1px;margin:-1px;border:none;clip:rect(0,0,0,0);outline:0;pointer-events:none;overflow:hidden;appearance:none}.igx-switch--disabled{-webkit-user-select:none;user-select:none;pointer-events:none;cursor:initial}.igx-switch__composite{display:flex;align-items:center;width:2.25rem;height:.875rem;border:.0625rem solid var(--border-color);border-radius:var(--border-radius-track);background:var(--track-off-color);cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s cubic-bezier(.455,.03,.515,.955)}.igx-switch:hover .igx-switch__composite{border-color:var(--border-hover-color)}.igx-switch--invalid .igx-switch__composite{border-color:var(--error-color);border-color:var(--track-error-color);background:var(--track-error-color)}.igx-switch--checked .igx-switch__composite{background:var(--track-on-color);border-color:var(--border-on-color)}.igx-switch--checked:hover .igx-switch__composite{border-color:var(--border-on-hover-color)}.igx-switch--disabled .igx-switch__composite{background:var(--track-disabled-color);border-color:var(--border-disabled-color)}.igx-switch__composite-thumb{position:relative;display:block;width:1.25rem;height:20px;min-width:1.25rem;border-radius:var(--border-radius-thumb);background:var(--thumb-off-color);box-shadow:var(--resting-shadow);transition:all .2s cubic-bezier(.455,.03,.515,.955);transform:translate(-.0625rem)}[dir=rtl] .igx-switch__composite-thumb{transform:translate(.0625rem)}.igx-switch__composite-thumb:hover{box-shadow:var(--hover-shadow)}.igx-switch--checked .igx-switch__composite-thumb{background:var(--thumb-on-color);transform:translate(.9375rem)}[dir=rtl] .igx-switch--checked .igx-switch__composite-thumb,.igx-switch--checked [dir=rtl] .igx-switch__composite-thumb{transform:translate(-.9375rem)}.igx-switch--invalid .igx-switch__composite-thumb{background:var(--error-color)}.igx-switch--invalid.igx-switch--checked .igx-switch__composite-thumb{background:var(--thumb-on-error-color)}.igx-switch--disabled .igx-switch__composite-thumb,.igx-switch--disabled.igx-switch--invalid .igx-switch__composite-thumb{background:var(--thumb-disabled-color);box-shadow:var(--disabled-shadow)}.igx-switch__ripple{display:block;position:absolute;top:calc(50% - 1.25rem);inset-inline-start:calc(50% - 1.25rem);width:2.5rem;height:2.5rem;overflow:hidden;pointer-events:none;filter:opacity(1);border-radius:var(--border-radius-ripple)}.igx-switch__ripple .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-switch__ripple .igx-ripple{overflow:hidden}.igx-switch__ripple,.igx-switch__ripple [igxRipple]{--color: var(--igx-ripple-color, var(--thumb-on-color))}.igx-switch--disabled.igx-switch--checked .igx-switch__composite{background:var(--track-on-disabled-color)}.igx-switch--disabled.igx-switch--checked .igx-switch__composite-thumb{background:var(--thumb-on-disabled-color)}.igx-switch--focused .igx-switch__ripple,.igx-switch--focused.igx-switch--checked .igx-switch__ripple,.igx-switch--focused.igx-switch--invalid .igx-switch__ripple{background:var(--track-off-color);transition:background .2s cubic-bezier(.25,.46,.45,.94);opacity:.12}.igx-switch--focused.igx-switch--checked .igx-switch__ripple{background:var(--thumb-on-color)}.igx-switch--focused.igx-switch--invalid .igx-switch__ripple{background:var(--error-color-hover)}.igx-switch__label,.igx-switch__label--before{display:inline-block;color:var(--label-color);cursor:pointer;-webkit-user-select:none;user-select:none;word-wrap:break-all}.igx-switch__label:empty,.igx-switch__label--before:empty{margin:0}.igx-switch__label--before:empty,.igx-switch__label:empty{margin:0}.igx-switch__label{margin-inline-start:.5rem}.igx-switch__label--before{order:-1;margin-inline-end:.5rem}.igx-switch--invalid .igx-switch__label{color:var(--label-invalid-color)}.igx-switch--disabled .igx-switch__label,.igx-switch--disabled .igx-switch__label--before{color:var(--label-disabled-color)}.igx-switch:hover .igx-switch__ripple:after,.igx-switch:active .igx-switch__ripple:after,.igx-switch--checked:hover .igx-switch__ripple:after,.igx-switch--checked:active .igx-switch__ripple:after,.igx-switch--invalid:hover .igx-switch__ripple:after,.igx-switch--invalid:active .igx-switch__ripple:after,.igx-switch--invalid.igx-switch--checked:hover .igx-switch__ripple:after{position:absolute;content:"";opacity:.06;inset:0}.igx-switch:hover .igx-switch__ripple:after,.igx-switch:active .igx-switch__ripple:after{background:var(--track-off-color)}.igx-switch--checked:hover .igx-switch__ripple:after,.igx-switch--checked:active .igx-switch__ripple:after{background:var(--thumb-on-color)}.igx-switch--invalid:hover .igx-switch__ripple:after,.igx-switch--invalid:active .igx-switch__ripple:after{background:var(--error-color-hover)}.igx-switch--invalid.igx-switch--checked:hover .igx-switch__ripple:after{background:var(--thumb-on-color)}.igx-switch:active .igx-switch__ripple:after,.igx-switch--checked:active .igx-switch__ripple:after,.igx-switch--invalid:active .igx-switch__ripple:after{opacity:.12}igx-tabs{--item-text-color: var(--igx-tabs-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-background: var(--igx-tabs-item-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--item-hover-background: var(--igx-tabs-item-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--item-hover-color: var(--igx-tabs-item-hover-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-active-color: var(--igx-tabs-item-active-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--item-icon-color: var(--igx-tabs-item-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-active-icon-color: var(--igx-tabs-item-active-icon-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--item-hover-icon-color: var(--igx-tabs-item-hover-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--item-disabled-icon-color: var(--igx-tabs-item-disabled-icon-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--item-active-background: var(--igx-tabs-item-active-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--item-disabled-color: var(--igx-tabs-item-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--indicator-color: var(--igx-tabs-indicator-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--button-color: var(--igx-tabs-button-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--button-background: var(--igx-tabs-button-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--button-hover-background: var(--igx-tabs-button-hover-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--button-hover-color: var(--igx-tabs-button-hover-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--button-disabled-color: var(--igx-tabs-button-disabled-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--tab-ripple-color: var(--igx-tabs-tab-ripple-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));--button-ripple-color: var(--igx-tabs-button-ripple-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));--border-color: var(--igx-tabs-border-color, transparent);--border-color--hover: var(--igx-tabs-border-color--hover, transparent);--border-radius: var(--igx-tabs-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * .375rem), .375rem))}.igx-tabs__header,.igx-tabs__header-button,.igx-tabs__header-item-inner,.igx-tabs__header-content{display:flex}.igx-tabs{display:flex;flex-direction:column;overflow:hidden}.igx-tabs__header{overflow:hidden;flex:0 0 auto;background:var(--item-background);min-height:2.625rem;z-index:1}.igx-tabs__header-content{flex:1 1 auto;overflow:hidden;scroll-behavior:smooth}.igx-tabs__header-wrapper{position:relative;flex-grow:1}.igx-tabs__header-scroll{display:flex;height:100%}.igx-tabs__header-button{align-items:center;justify-content:center;z-index:1;border:none;padding:0;min-width:3rem;width:3rem;cursor:pointer;position:relative;background:var(--button-background);color:var(--button-color);outline:0}.igx-tabs__header-button:hover{background:var(--button-hover-background);color:var(--button-hover-color)}.igx-tabs__header-button:focus{outline:0;background:var(--button-hover-background)}.igx-tabs__header-button::-moz-focus-inner{border:0}.igx-tabs__header-button:disabled{color:var(--button-disabled-color)}.igx-tabs__header-button--none{display:none}.igx-tabs__header-button .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-tabs__header-button .igx-ripple{overflow:hidden}.igx-tabs__header-button,.igx-tabs__header-button [igxRipple]{--color: var(--igx-ripple-color, var(--button-ripple-color))}[dir=rtl] .igx-tabs__header-button{transform:scaleX(-1)}.igx-tabs__header-item{display:inline-flex;justify-content:center;align-items:center;min-width:5.625rem;max-width:22.5rem;word-wrap:break-word;flex-basis:auto;flex-shrink:0;padding:.6875rem 1rem;overflow:hidden;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none;background:var(--item-background);color:var(--item-text-color);outline:0;transition:all .3s cubic-bezier(.35,0,.25,1);border:.0625rem solid var(--border-color)}.igx-tabs__header-item>*{margin-inline-start:.75rem}.igx-tabs__header-item>*:first-child{margin-inline-start:0}.igx-tabs__header-item igx-icon{color:var(--item-icon-color)}.igx-tabs__header-item::-moz-focus-inner{border:0}.igx-tabs__header-item:focus{background:var(--item-active-background);color:var(--item-hover-color);border-bottom-color:#0000}.igx-tabs__header-item:hover{background:var(--item-hover-background);color:var(--item-hover-color)}.igx-tabs__header-item:hover igx-icon,.igx-tabs__header-item:focus igx-icon{color:var(--item-hover-icon-color)}.igx-tabs__header-item:hover,.igx-tabs__header-item:focus{border:.0625rem solid var(--border-color--hover)}.igx-tabs__header-item .igx-ripple__inner{display:block;position:absolute;border-radius:clamp(0rem,calc(var(--ig-radius-factor, 1) * 50%),50%);background:var(--color);pointer-events:none;transform-origin:center;transform:translateZ(0) scale(0);will-change:opacity,transform;opacity:.5;margin:0!important;border:none!important}.igx-tabs__header-item .igx-ripple{overflow:hidden}.igx-tabs__header-item,.igx-tabs__header-item [igxRipple]{--color: var(--igx-ripple-color, var(--tab-ripple-color))}.igx-tabs__header-item--selected{outline:0;color:var(--item-active-color)}.igx-tabs__header-item--selected:hover,.igx-tabs__header-item--selected:focus{background:var(--item-active-background);color:var(--item-active-color)}.igx-tabs__header-item--selected:hover igx-icon,.igx-tabs__header-item--selected:focus igx-icon{color:var(--item-active-icon-color)}.igx-tabs__header-item--selected igx-icon{color:var(--item-active-icon-color)}.igx-tabs__header-item--disabled{outline:0;color:var(--item-disabled-color);cursor:default;pointer-events:none}.igx-tabs__header-item--disabled igx-icon{color:var(--item-disabled-icon-color)}.igx-tabs__header-item-inner{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.igx-tabs__header-item-inner>[igxtabheaderlabel]{display:-webkit-inline-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.igx-tabs__header-item-inner>[igxtabheadericon]{margin-bottom:.5rem}.igx-tabs__header-item-inner>[igxtabheadericon]:last-child{margin-bottom:0}.igx-tabs__header-active-indicator{position:absolute;bottom:0;left:0;transform:translate(0);height:.125rem;min-width:5.625rem;background:var(--indicator-color);transition:transform .3s cubic-bezier(.35,0,.25,1),width .2s cubic-bezier(.35,0,.25,1)}.igx-tabs__panels{position:relative;overflow:hidden;display:flex;flex-direction:column;flex:1 1 auto}.igx-tabs__panel{position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;flex:1 1 auto}.igx-tabs__panel::-moz-focus-inner{border:0}.igx-tabs__panel:focus{outline-width:0}[tabindex="0"].igx-tabs__panel{position:relative}.igx-tabs__header-scroll--start{justify-content:flex-start}.igx-tabs__header-scroll--end{justify-content:flex-end;min-width:max-content}.igx-tabs__header-scroll--center{justify-content:center;min-width:max-content}.igx-tabs__header-scroll--justify .igx-tabs__header-item{flex-basis:0;flex-grow:1;max-width:100%}igx-stepper{--step-background: var(--igx-stepper-step-background, transparent);--step-hover-background: var(--igx-stepper-step-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--step-focus-background: var(--igx-stepper-step-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--indicator-background: var(--igx-stepper-indicator-background, hsla(var(--ig-gray-300), var(--ig-gray-a)));--indicator-outline: var(--igx-stepper-indicator-outline, hsla(var(--ig-gray-300), var(--ig-gray-a)));--indicator-color: var(--igx-stepper-indicator-color, var(--ig-gray-400-contrast));--title-color: var(--igx-stepper-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--title-hover-color: var(--igx-stepper-title-hover-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--title-focus-color: var(--igx-stepper-title-focus-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--subtitle-color: var(--igx-stepper-subtitle-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--subtitle-hover-color: var(--igx-stepper-subtitle-hover-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--subtitle-focus-color: var(--igx-stepper-subtitle-focus-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--complete-step-background: var(--igx-stepper-complete-step-background, transparent);--complete-step-hover-background: var(--igx-stepper-complete-step-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--complete-step-focus-background: var(--igx-stepper-complete-step-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--complete-indicator-background: var(--igx-stepper-complete-indicator-background, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-indicator-outline: var(--igx-stepper-complete-indicator-outline, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-indicator-color: var(--igx-stepper-complete-indicator-color, var(--ig-gray-900-contrast));--complete-title-color: var(--igx-stepper-complete-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-title-hover-color: var(--igx-stepper-complete-title-hover-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-title-focus-color: var(--igx-stepper-complete-title-focus-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--complete-subtitle-color: var(--igx-stepper-complete-subtitle-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--complete-subtitle-hover-color: var(--igx-stepper-complete-subtitle-hover-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--complete-subtitle-focus-color: var(--igx-stepper-complete-subtitle-focus-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--current-step-background: var(--igx-stepper-current-step-background, transparent);--current-step-hover-background: var(--igx-stepper-current-step-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--current-step-focus-background: var(--igx-stepper-current-step-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--current-indicator-background: var(--igx-stepper-current-indicator-background, hsla(var(--ig-primary-500), var(--ig-primary-a)));--current-indicator-outline: var(--igx-stepper-current-indicator-outline, hsla(var(--ig-primary-500), var(--ig-primary-a)));--current-indicator-color: var(--igx-stepper-current-indicator-color, var(--ig-gray-900-contrast));--current-title-color: var(--igx-stepper-current-title-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--current-title-hover-color: var(--igx-stepper-current-title-hover-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--current-title-focus-color: var(--igx-stepper-current-title-focus-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--current-subtitle-color: var(--igx-stepper-current-subtitle-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--current-subtitle-hover-color: var(--igx-stepper-current-subtitle-hover-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--current-subtitle-focus-color: var(--igx-stepper-current-subtitle-focus-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));--invalid-step-background: var(--igx-stepper-invalid-step-background, transparent);--invalid-step-hover-background: var(--igx-stepper-invalid-step-hover-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--invalid-step-focus-background: var(--igx-stepper-invalid-step-focus-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--invalid-indicator-background: var(--igx-stepper-invalid-indicator-background, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-indicator-outline: var(--igx-stepper-invalid-indicator-outline, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-indicator-color: var(--igx-stepper-invalid-indicator-color, var(--ig-gray-900-contrast));--invalid-title-color: var(--igx-stepper-invalid-title-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-title-hover-color: var(--igx-stepper-invalid-title-hover-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-title-focus-color: var(--igx-stepper-invalid-title-focus-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-subtitle-color: var(--igx-stepper-invalid-subtitle-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-subtitle-hover-color: var(--igx-stepper-invalid-subtitle-hover-color, hsla(var(--ig-error-500), var(--ig-error-a)));--invalid-subtitle-focus-color: var(--igx-stepper-invalid-subtitle-focus-color, hsla(var(--ig-error-500), var(--ig-error-a)));--disabled-indicator-color: var(--igx-stepper-disabled-indicator-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-indicator-background: var(--igx-stepper-disabled-indicator-background, hsla(var(--ig-gray-200), var(--ig-gray-a)));--disabled-indicator-outline: var(--igx-stepper-disabled-indicator-outline, hsla(var(--ig-gray-200), var(--ig-gray-a)));--disabled-title-color: var(--igx-stepper-disabled-title-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--disabled-subtitle-color: var(--igx-stepper-disabled-subtitle-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--step-separator-color: var(--igx-stepper-step-separator-color, hsla(var(--ig-gray-300), var(--ig-gray-a)));--complete-step-separator-color: var(--igx-stepper-complete-step-separator-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));--step-separator-style: var(--igx-stepper-step-separator-style, dashed);--complete-step-separator-style: var(--igx-stepper-complete-step-separator-style, solid);--border-radius-indicator: var(--igx-stepper-border-radius-indicator, clamp(0rem, calc(var(--ig-radius-factor, 1) * 6.25rem), 6.25rem));--border-radius-step-header: var(--igx-stepper-border-radius-step-header, clamp(0rem, calc(var(--ig-radius-factor, 0) * 6.25rem), 6.25rem))}.igx-stepper,.igx-stepper__header,.igx-stepper__body,.igx-stepper__step{display:flex}.igx-stepper{flex-direction:column;width:100%}.igx-stepper__header{white-space:nowrap;flex-direction:column;width:100%;flex:none}.igx-stepper__body{position:relative;flex-direction:column;flex:1 1 auto}.igx-stepper,.igx-stepper__body,.igx-stepper__step-header,.igx-stepper__step-title-wrapper{overflow:hidden}.igx-stepper__step-title{color:var(--title-color)}.igx-stepper__step-subtitle{color:var(--subtitle-color)}.igx-stepper__step{position:relative;flex-direction:column;align-content:center;justify-content:center;min-width:6.25rem}.igx-stepper__step:focus{outline:none}.igx-stepper__step:focus .igx-stepper__step-title{color:var(--title-focus-color)}.igx-stepper__step:focus .igx-stepper__step-subtitle{color:var(--subtitle-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header{background:var(--step-focus-background);color:var(--title-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header--current{background:var(--current-step-focus-background)!important}.igx-stepper__step:focus .igx-stepper__step-header--current .igx-stepper__step-title{color:var(--current-title-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header--current .igx-stepper__step-subtitle{color:var(--current-subtitle-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header--invalid{background:var(--invalid-step-focus-background)}.igx-stepper__step:focus .igx-stepper__step-header--invalid .igx-stepper__step-title{color:var(--invalid-title-focus-color)}.igx-stepper__step:focus .igx-stepper__step-header--invalid .igx-stepper__step-subtitle{color:var(--invalid-subtitle-focus-color)}.igx-stepper__step:first-of-type .igx-stepper__step-header:before{visibility:hidden}.igx-stepper__step:last-of-type .igx-stepper__step-content-wrapper:before{display:none}.igx-stepper__step:last-of-type .igx-stepper__step-header:after{visibility:hidden}.igx-stepper__step-header{display:flex;padding:1.5rem;position:relative;line-height:normal;flex-direction:column;align-items:flex-start;gap:.5rem;cursor:pointer;background:var(--step-background);border-radius:var(--border-radius-step-header)}.igx-stepper__step-header:hover{background:var(--step-hover-background);color:var(--title-hover-color)}.igx-stepper__step-indicator{display:flex;align-items:center;justify-content:center;position:relative;font-size:.75rem;height:1.5rem;width:1.5rem;white-space:nowrap;border-radius:var(--border-radius-indicator);color:var(--indicator-color);background:var(--indicator-background);box-shadow:0 0 0 .0625rem var(--indicator-outline)}.igx-stepper__step-indicator>igx-icon{width:var(--igx-icon-size, 1.125rem);height:var(--igx-icon-size, 1.125rem);font-size:var(--igx-icon-size, 1.125rem);color:inherit}.igx-stepper__step-indicator div>igx-icon,.igx-stepper__step-indicator div>igx-avatar,.igx-stepper__step-indicator div>igx-circular-bar{max-height:1.5rem;max-width:1.5rem}.igx-stepper__step-header--current{background:var(--current-step-background)!important;color:var(--current-title-color)}.igx-stepper__step-header--current .igx-stepper__step-indicator{color:var(--current-indicator-color)!important;background:var(--current-indicator-background)!important;box-shadow:0 0 0 .0625rem var(--current-indicator-outline)!important}.igx-stepper__step-header--current .igx-stepper__step-title{color:var(--current-title-color)}.igx-stepper__step-header--current .igx-stepper__step-subtitle{color:var(--current-subtitle-color)}.igx-stepper__step-header--current:hover{background:var(--current-step-hover-background)!important}.igx-stepper__step-header--current:hover .igx-stepper__step-title{color:var(--current-title-hover-color)}.igx-stepper__step-header--current:hover .igx-stepper__step-subtitle{color:var(--current-subtitle-hover-color)}.igx-stepper__step--disabled{color:var(--disabled-title-color);pointer-events:none;cursor:default}.igx-stepper__step--disabled .igx-stepper__step-indicator{color:var(--disabled-indicator-color);background:var(--disabled-indicator-background);box-shadow:0 0 0 .0625rem var(--disabled-indicator-outline)}.igx-stepper__step--disabled .igx-stepper__step-title{color:var(--disabled-title-color)}.igx-stepper__step--disabled .igx-stepper__step-subtitle{color:var(--disabled-subtitle-color)}.igx-stepper__step-header--invalid{background:var(--invalid-step-background);color:var(--invalid-title-color)}.igx-stepper__step-header--invalid .igx-stepper__step-indicator{color:var(--invalid-indicator-color);background:var(--invalid-indicator-background);box-shadow:0 0 0 .0625rem var(--invalid-indicator-outline)}.igx-stepper__step-header--invalid .igx-stepper__step-title{color:var(--invalid-title-color)}.igx-stepper__step-header--invalid .igx-stepper__step-subtitle{color:var(--invalid-subtitle-color)}.igx-stepper__step-header--invalid:hover{background:var(--invalid-step-hover-background)}.igx-stepper__step-header--invalid:hover .igx-stepper__step-title{color:var(--invalid-title-hover-color)}.igx-stepper__step-header--invalid:hover .igx-stepper__step-subtitle{color:var(--invalid-subtitle-hover-color)}.igx-stepper--horizontal .igx-stepper__body-content{display:block;position:absolute;inset:0;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;z-index:-1}.igx-stepper__step-content-wrapper,.igx-stepper--horizontal .igx-stepper__body-content{padding:1rem}.igx-stepper--horizontal .igx-stepper__body-content--active{z-index:1;position:relative}.igx-stepper__step-content-wrapper{margin-inline-start:2.25rem;position:relative;min-height:2rem}.igx-stepper__step-content-wrapper:before{content:"";position:absolute;inset-inline-start:-.03125rem;top:-1rem;bottom:-1rem;width:.0625rem;border-inline-start:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-stepper__step-title-wrapper{white-space:nowrap;text-overflow:ellipsis;min-width:2rem}.igx-stepper__step-title-wrapper:empty{display:none}.igx-stepper__step-title-wrapper>*{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.igx-stepper__step--start .igx-stepper__step-header,.igx-stepper__step--end .igx-stepper__step-header{flex-direction:row;align-items:center}.igx-stepper__step--start .igx-stepper__step-title-wrapper,.igx-stepper__step--top .igx-stepper__step-title-wrapper{order:-1}.igx-stepper__step--completed .igx-stepper__step-header{background:var(--complete-step-background)}.igx-stepper__step--completed .igx-stepper__step-header:hover{background:var(--complete-step-hover-background)}.igx-stepper__step--completed .igx-stepper__step-header:hover .igx-stepper__step-title{color:var(--complete-title-hover-color)}.igx-stepper__step--completed .igx-stepper__step-header:hover .igx-stepper__step-subtitle{color:var(--complete-subtitle-hover-color)}.igx-stepper__step--completed .igx-stepper__step-header:after{border-top-color:var(--complete-step-separator-color)!important;border-top-style:var(--complete-step-separator-style)!important}.igx-stepper__step--completed .igx-stepper__step-indicator{color:var(--complete-indicator-color);background:var(--complete-indicator-background);box-shadow:0 0 0 .0625rem var(--complete-indicator-outline)}.igx-stepper__step--completed .igx-stepper__step-title{color:var(--complete-title-color)}.igx-stepper__step--completed .igx-stepper__step-subtitle{color:var(--complete-subtitle-color)}.igx-stepper__step--completed:focus .igx-stepper__step-header{background:var(--complete-step-focus-background)}.igx-stepper__step--completed:focus .igx-stepper__step-header .igx-stepper__step-title{color:var(--complete-title-focus-color)}.igx-stepper__step--completed:focus .igx-stepper__step-header .igx-stepper__step-subtitle{color:var(--complete-subtitle-focus-color)}.igx-stepper__step--completed .igx-stepper__step-content-wrapper:before{border-inline-start-style:var(--complete-step-separator-style);border-inline-start-color:var(--complete-step-separator-color)}.igx-stepper__step--completed+.igx-stepper__step:before{border-top-color:var(--complete-step-separator-color)!important;border-top-style:var(--complete-step-separator-style)!important}.igx-stepper__step--completed+.igx-stepper__step .igx-stepper__step-header:before{border-top-color:var(--complete-step-separator-color)!important;border-top-style:var(--complete-step-separator-style)!important}.igx-stepper__step--simple .igx-stepper__step-indicator{min-width:1.5rem;min-height:1.5rem;width:initial;height:initial}.igx-stepper__step--simple .igx-stepper__step-indicator div>igx-icon,.igx-stepper__step--simple .igx-stepper__step-indicator div>igx-avatar,.igx-stepper__step--simple .igx-stepper__step-indicator div>igx-circular-bar{max-width:initial;max-height:initial}.igx-stepper--horizontal .igx-stepper__header{flex-direction:row}.igx-stepper--horizontal .igx-stepper__step{overflow:hidden;flex-direction:row;flex-grow:1}.igx-stepper--horizontal .igx-stepper__step:before{content:"";width:auto;min-width:.625rem;height:.0625rem;flex:1;position:relative;z-index:-1;top:2.21875rem;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-stepper--horizontal .igx-stepper__step:first-of-type{flex-grow:0;min-width:0}.igx-stepper--horizontal .igx-stepper__step:first-of-type:before{display:none}.igx-stepper--horizontal .igx-stepper__step-header{display:flex;flex-direction:row;align-items:center;justify-content:center}.igx-stepper--horizontal .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step-header:after{content:"";position:absolute;z-index:-1;height:.0625rem;width:calc(50% - 1.25rem);top:2.21875rem;flex:1;border-top:.0625rem var(--step-separator-style) var(--step-separator-color)}.igx-stepper--horizontal .igx-stepper__step-header:before{inset-inline-start:0}.igx-stepper--horizontal .igx-stepper__step-header:after{inset-inline-end:0}.igx-stepper--horizontal .igx-stepper__step--simple{text-align:center}.igx-stepper--horizontal .igx-stepper__step--simple .igx-stepper__step-header{align-self:center;padding:.5rem;height:auto}.igx-stepper--horizontal .igx-stepper__step--simple .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step--simple .igx-stepper__step-header:after{display:none}.igx-stepper--horizontal .igx-stepper__step--simple.igx-stepper__step:before{top:calc(50% - .03125rem)}.igx-stepper--horizontal .igx-stepper__step-title-wrapper{width:100%}.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-header{justify-content:flex-end}.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-header:after{top:calc(100% - 2.28125rem)}.igx-stepper--horizontal .igx-stepper__step--top.igx-stepper__step:before{border-top:.0625rem var(--step-separator-style) var(--step-separator-color);top:calc(100% - 2.28125rem)}.igx-stepper--horizontal .igx-stepper__step--bottom .igx-stepper__step-header{justify-content:flex-start}.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-title-wrapper,.igx-stepper--horizontal .igx-stepper__step--bottom .igx-stepper__step-title-wrapper{text-align:center}.igx-stepper--horizontal .igx-stepper__step--top .igx-stepper__step-header,.igx-stepper--horizontal .igx-stepper__step--bottom .igx-stepper__step-header{flex-direction:column}.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-title-wrapper{text-align:end}.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-indicator,.igx-stepper--horizontal .igx-stepper__step--end .igx-stepper__step-indicator{flex:1 0 auto}.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-header,.igx-stepper--horizontal .igx-stepper__step--end .igx-stepper__step-header{padding:.75rem}.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step--start .igx-stepper__step-header:after,.igx-stepper--horizontal .igx-stepper__step--end .igx-stepper__step-header:before,.igx-stepper--horizontal .igx-stepper__step--end .igx-stepper__step-header:after{display:none}.igx-stepper--horizontal .igx-stepper__step--start.igx-stepper__step:before,.igx-stepper--horizontal .igx-stepper__step--end.igx-stepper__step:before{top:calc(50% - .03125rem)}.igx-stepper--horizontal .igx-stepper__step-content{flex-grow:1}.igx-stepper--horizontal .igx-stepper__step-content:focus{outline:none}.igx-stepper--horizontal .igx-stepper__step-content:before{display:none}.igx-stepper--horizontal .igx-stepper__step-content-wrapper{text-align:center}.igx-stepper--horizontal .igx-stepper__body-content{display:flex}igx-toast{--elevation: var(--igx-toast-elevation, var(--ig-elevation-0));--background: var(--igx-toast-background, hsla(var(--ig-gray-700), .9));--border-color: var(--igx-toast-border-color, hsla(var(--ig-gray-700), .9));--text-color: var(--igx-toast-text-color, var(--ig-gray-700-contrast));--border-radius: var(--igx-toast-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.625rem), 1.625rem));--shadow: var(--igx-toast-shadow, var(--ig-elevation-0))}.igx-toast{display:inline-flex;justify-content:center;align-items:center;margin:2.625rem auto;padding:1rem 1.5rem;min-width:3.25rem;color:var(--text-color);background:var(--background);border:.0625rem solid var(--border-color);border-radius:var(--border-radius);box-shadow:var(--ig-elevation-0);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.igx-tooltip--desktop,.igx-tooptip--mobile{--background: var(--igx-tooltip-background, hsla(var(--ig-gray-700), .9));--text-color: var(--igx-tooltip-text-color, var(--ig-gray-700-contrast));--border-radius: var(--igx-tooltip-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .25) * 1rem), 1rem))}.igx-tooltip,.igx-tooltip--desktop,.igx-tooltip--mobile{display:inline-flex;justify-content:center;flex-flow:column wrap;background:var(--background);color:var(--text-color);border-radius:var(--border-radius);margin:0 auto}.igx-tooltip--desktop{padding:0 .5rem;min-height:1.5rem}.igx-tooltip--mobile{padding:0 1rem;min-height:2rem}.igx-time-picker{--modal-elevation: var(--igx-time-picker-modal-elevation, var(--ig-elevation-24));--dropdown-elevation: var(--igx-time-picker-dropdown-elevation, var(--ig-elevation-8));--text-color: var(--igx-time-picker-text-color, hsla(var(--ig-gray-500), var(--ig-gray-a)));--hover-text-color: var(--igx-time-picker-hover-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--selected-text-color: var(--igx-time-picker-selected-text-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--active-item-background: var(--igx-time-picker-active-item-background, hsla(var(--ig-gray-100), var(--ig-gray-a)));--disabled-text-color: var(--igx-time-picker-disabled-text-color, hsla(var(--ig-gray-400), var(--ig-gray-a)));--disabled-item-background: var(--igx-time-picker-disabled-item-background, transparent);--header-background: var(--igx-time-picker-header-background, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--header-hour-text-color: var(--igx-time-picker-header-hour-text-color, var(--ig-secondary-500-contrast));--header-time-period-color: var(--igx-time-picker-header-time-period-color, var(--ig-secondary-500-contrast));--background-color: var(--igx-time-picker-background-color, hsla(var(--ig-surface-500), var(--ig-surface-a)));--border-radius: var(--igx-time-picker-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .2) * 1.25rem), 1.25rem));--active-item-border-radius: var(--igx-time-picker-active-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, .75) * 1.25rem), 1.25rem));--modal-shadow: var(--igx-time-picker-modal-shadow, var(--ig-elevation-24));--dropdown-shadow: var(--igx-time-picker-dropdown-shadow, var(--ig-elevation-8))}.igx-time-picker{display:flex;flex-flow:column nowrap;max-width:21.25rem;min-width:20rem;border-radius:var(--border-radius);box-shadow:var(--modal-shadow);overflow:hidden}.igx-time-picker--vertical{flex-flow:row nowrap;min-width:33.75rem}.igx-time-picker__main{background:var(--background-color);flex:1 1 auto}.igx-time-picker--dropdown{min-width:12.5rem;box-shadow:var(--dropdown-shadow)}.igx-time-picker__body{display:flex;padding:.625rem 0;justify-content:center}.igx-time-picker__hourList{text-align:end}[dir=rtl] .igx-time-picker__hourList{order:2}.igx-time-picker__minuteList{text-align:center}[dir=rtl] .igx-time-picker__minuteList{order:1}.igx-time-picker__secondsList{text-align:center}.igx-time-picker__ampmList{display:flex;flex-direction:column;padding-top:3rem}[dir=rtl] .igx-time-picker__ampmList{order:3}.igx-time-picker__column{max-width:4rem;height:20.3125rem;padding:0;cursor:pointer;display:flex;flex-flow:column nowrap;justify-content:space-between;align-items:center;color:var(--text-color);overflow:hidden}.igx-time-picker__column:focus,.igx-time-picker__column:active{outline:none}.igx-time-picker__item{width:3.375rem;padding:.3125rem .625rem;border-radius:var(--active-item-border-radius);height:3rem;display:flex;justify-content:center;align-items:center}.igx-time-picker__item:focus,.igx-time-picker__item:active{outline:none}.igx-time-picker__item:hover{color:var(--hover-text-color)}.igx-time-picker__item--selected{font-size:1.5rem;color:var(--selected-text-color)}.igx-time-picker__item--active{background:var(--active-item-background)}.igx-time-picker__item--disabled{color:var(--disabled-text-color);background:var(--disabled-item-background);pointer-events:none}.igx-time-picker__header{background:var(--header-background);padding:1.5rem 1rem}.igx-time-picker__header-ampm{color:var(--header-time-period-color)}.igx-time-picker--vertical .igx-time-picker__header{width:10.5rem}.igx-time-picker__header-hour{display:flex;color:var(--header-hour-text-color)}[dir=rtl] .igx-time-picker__header-hour{flex-direction:row-reverse;justify-content:flex-end}.igx-time-picker__header-ampm,.igx-time-picker__header-hour{margin:0}.igx-time-picker__buttons{display:flex;justify-content:flex-end;height:3.25rem;padding:.5rem}.igx-time-picker__buttons [igxButton]+[igxButton]{margin-inline-start:.5rem}igx-tree-node{--background: var(--igx-tree-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground: var(--igx-tree-foreground, var(--ig-surface-500-contrast));--background-selected: var(--igx-tree-background-selected, hsla(var(--ig-secondary-200), var(--ig-secondary-a)));--foreground-selected: var(--igx-tree-foreground-selected, var(--ig-secondary-200-contrast));--background-active: var(--igx-tree-background-active, hsla(var(--ig-gray-200), var(--ig-gray-a)));--foreground-active: var(--igx-tree-foreground-active, var(--ig-gray-200-contrast));--background-active-selected: var(--igx-tree-background-active-selected, hsla(var(--ig-secondary-300), var(--ig-secondary-a)));--foreground-active-selected: var(--igx-tree-foreground-active-selected, var(--ig-secondary-300-contrast));--border-color: var(--igx-tree-border-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--background-disabled: var(--igx-tree-background-disabled, hsla(var(--ig-surface-500), var(--ig-surface-a)));--foreground-disabled: var(--igx-tree-foreground-disabled, hsla(var(--ig-gray-500), var(--ig-gray-a)));--drop-area-color: var(--igx-tree-drop-area-color, hsla(var(--ig-secondary-500), var(--ig-secondary-a)));--hover-color: var(--igx-tree-hover-color, hsla(var(--ig-gray-900), .1));--hover-selected-color: var(--igx-tree-hover-selected-color, hsla(var(--ig-gray-900), .1));--size: var(--igx-tree-size, max(var(--is-large, 1) * max(3.125rem, -1 * 3.125rem), var(--is-medium, 1) * max(2.5rem, -1 * 2.5rem), var(--is-small, 1) * max(2rem, -1 * 2rem)));--default-size: var(--igx-tree-default-size, 2)}.igx-tree{display:block;z-index:0;overflow-y:auto}.igx-tree-node,.igx-tree-node__wrapper,.igx-tree-node__toggle-button,.igx-tree-node__content,.igx-tree-node__select{display:flex}.igx-tree-node{--is-large: clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-large, 3), 1);--is-medium: min( clamp(0, (var(--component-size, 1) + 1) - var(--ig-size-medium, 2), 1), clamp(0, var(--ig-size-large, 3) - var(--component-size, 1), 1) );--is-small: clamp(0, var(--ig-size-medium) - var(--component-size, 1), 1);--component-size: var(--ig-size, var(--ig-size-large));--tree-size: var(--component-size);flex-direction:column}.igx-tree-node__wrapper,.igx-tree-node__toggle-button,.igx-tree-node__select{align-items:center}.igx-tree-node__toggle-button,.igx-tree-node__select{margin-inline-end:.5rem}.igx-tree-node__content,.igx-tree-node__toggle-button,.igx-tree-node__select{z-index:1}.igx-tree-node__toggle-button--hidden{visibility:hidden}.igx-tree-node__wrapper{min-height:var(--size);padding-inline:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, --ig-spacing)));padding-block:0;position:relative;background:var(--background);color:var(--foreground)}.igx-tree-node__wrapper igx-icon{width:var(--igx-icon-size, 1.5rem);height:var(--igx-icon-size, 1.5rem);font-size:var(--igx-icon-size, 1.5rem)}[dir=rtl] .igx-tree-node__wrapper igx-icon{transform:scaleX(-1)}.igx-tree-node__wrapper:after{content:"";position:absolute;top:0;inset-inline-start:0;width:100%;height:100%;background:rgba(0,0,0,0);z-index:0}.igx-tree-node__wrapper:hover:after{background:var(--hover-color)}.igx-tree-node__wrapper:focus{outline-width:0}.igx-tree-node__wrapper igx-circular-bar{--circular-bar: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(calc(1.5rem - 4px), -1 * calc(1.5rem - 4px)), var(--is-small, 1) * max(calc(1.5rem - 6px), -1 * calc(1.5rem - 6px)));width:var(--circular-bar);height:var(--circular-bar)}.igx-tree-node__wrapper--selected{background:var(--background-selected);color:var(--foreground-selected)}.igx-tree-node__wrapper--selected:hover:after{background:var(--hover-selected-color)}.igx-tree-node__wrapper--active{background:var(--background-active);color:var(--foreground-active)}.igx-tree-node__wrapper--active.igx-tree-node__wrapper--selected{background:var(--background-active-selected);color:var(--foreground-active-selected)}.igx-tree-node__wrapper--focused{box-shadow:inset 0 0 0 .0625rem var(--border-color)}.igx-tree-node__wrapper--disabled{background:var(--background-disabled)!important;color:var(--foreground-disabled)!important;box-shadow:none!important;pointer-events:none}.igx-tree-node__wrapper--disabled:after{display:none}.igx-tree-node__wrapper--disabled .igx-tree-node__toggle-button{color:var(--foreground-disabled)!important}.igx-tree-node__spacer{--component-size: var(--tree-size);--spacer: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1rem, -1 * 1rem), var(--is-small, 1) * max(.75rem, -1 * .75rem));width:var(--spacer);display:inline-block}.igx-tree-node__content{display:block;align-items:center;flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.igx-tree-node__toggle-button{justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:1.5rem}.igx-tree-node__drop-indicator{display:flex;visibility:hidden;position:absolute;inset-inline-end:max(var(--is-large, 1)*max(1.5rem,-1 * 1.5rem)*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(1rem,-1 * 1rem)*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(.75rem,-1 * .75rem)*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)));bottom:0;width:max(var(--is-large, 1)*max(calc(100% - 5rem),-1 * calc(100% - 5rem))*var(--ig-spacing-large, var(--ig-spacing, --ig-spacing)),var(--is-medium, 1)*max(calc(100% - 4rem),-1 * calc(100% - 4rem))*var(--ig-spacing-medium, var(--ig-spacing, --ig-spacing)),var(--is-small, 1)*max(calc(100% - 3.5rem),-1 * calc(100% - 3.5rem))*var(--ig-spacing-small, var(--ig-spacing, --ig-spacing)))}.igx-tree-node__drop-indicator>div{flex:1;height:.0625rem;background:var(--drop-area-color)}.igx-tree-node__group{overflow:hidden}igc-trial-watermark{--base-color: var(--igx-watermark-base-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));--color: var(--igx-watermark-color, var(--ig-primary-800-contrast));--border-radius: var(--igx-watermark-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 1rem), 1rem))}igc-trial-watermark::part(link){font-family:var(--ig-font-family)} diff --git a/src/app/account/account/login/login.component.html b/src/app/account/account/login/login.component.html index f6ae114..e597a35 100644 --- a/src/app/account/account/login/login.component.html +++ b/src/app/account/account/login/login.component.html @@ -1,10 +1,10 @@
-
Đăng nhập
+

Đăng nhập

- admin@gmail.com + admin@gmail.com
diff --git a/src/app/account/account/login/login.component.ts b/src/app/account/account/login/login.component.ts index 7da129d..3e1c1fa 100644 --- a/src/app/account/account/login/login.component.ts +++ b/src/app/account/account/login/login.component.ts @@ -37,8 +37,8 @@ export class LoginComponent { if(this.loginform.valid){ this.service.Login(this.loginform.value).subscribe( (res: any) => { const resultObj = res.resultObj; - this.sessionService.setToken(resultObj); if(res.isSuccessed){ + this.sessionService.setToken(resultObj); const decodedToken = this.jwtHelper.decodeToken(res.resultObj); const email = decodedToken['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress']; const role = decodedToken['http://schemas.microsoft.com/ws/2008/06/identity/claims/role']; diff --git a/src/app/account/account/register/register.component.html b/src/app/account/account/register/register.component.html index 666697b..85d87ad 100644 --- a/src/app/account/account/register/register.component.html +++ b/src/app/account/account/register/register.component.html @@ -1,11 +1,8 @@
-
Bắt đầu thôi 🚀
+

Đăng ký tài khoản 🚀

- -

Đăng ký tài khoản

-
diff --git a/src/app/account/introduce/introduce.component.html b/src/app/account/introduce/introduce.component.html index d367586..d5f4cbb 100644 --- a/src/app/account/introduce/introduce.component.html +++ b/src/app/account/introduce/introduce.component.html @@ -12,7 +12,7 @@
Cài đặt tài khoản
+
diff --git a/src/app/account/updateuserinfor/updateuserinfor.component.ts b/src/app/account/updateuserinfor/updateuserinfor.component.ts index ecb7432..39d5b9d 100644 --- a/src/app/account/updateuserinfor/updateuserinfor.component.ts +++ b/src/app/account/updateuserinfor/updateuserinfor.component.ts @@ -33,7 +33,7 @@ export class UpdateuserinforComponent implements OnInit { userform = this.builder.group({ Email: this.builder.control('', Validators.required), - Fullname: this.builder.control('') , + Fullname: this.builder.control('', Validators.required), Sex: this.builder.control(''), Gender: this.builder.control(0), DateOfBirth: this.builder.control(new Date()), diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index a5329e7..d52a272 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -45,7 +45,7 @@ const routes: Routes = [ {path: 'login', component:LoginComponent}, {path: 'discover', component:DiscoverComponent}, {path: 'searchposts', component: SearchpageComponent}, - {path: 'discover/:postId', component: PostdetailComponent}, + {path: 'discover/:postId', component: PostdetailComponent}, { path: 'account', component: AccountComponent, canActivate: [AuthGuard] , diff --git a/src/app/course/course.component.css b/src/app/course/course.component.css index 271cd2b..00c448a 100644 --- a/src/app/course/course.component.css +++ b/src/app/course/course.component.css @@ -17,12 +17,7 @@ .ie body { filter: dropshadow(color=#000000, offx=0, offy=1); } -h1 { - font-size:50px !important; - letter-spacing:-2px; - line-height:40px; - text-align:center; -} + .ie h1 { filter: dropshadow(color=#000000, offx=0, offy=3); padding-bottom:12px; @@ -62,7 +57,8 @@ border-radius: 180px; .logo h1{ color:#0f66b1; font-weight:600; - +margin-top: 32px; +margin-bottom: 16px; } .logo img { width: 80px; diff --git a/src/app/course/course.component.html b/src/app/course/course.component.html index cd812ab..8acb066 100644 --- a/src/app/course/course.component.html +++ b/src/app/course/course.component.html @@ -1,25 +1,16 @@ - - - - - -
diff --git a/src/app/discover/discover.component.html b/src/app/discover/discover.component.html index 0e1f93b..d825800 100644 --- a/src/app/discover/discover.component.html +++ b/src/app/discover/discover.component.html @@ -1,7 +1,7 @@
-
- +
+

Khám phá lịch sử

-
{{postData?.title}}
+

{{postData?.title}}

-
+

Lượt xem: {{postData?.viewNumber}}
@@ -117,8 +117,8 @@
{{postData?.title}}

Các bài viết liên quan

-
- +
+
{{post.title}} diff --git a/src/app/document/document.component.html b/src/app/document/document.component.html index 8d84640..2c55fd5 100644 --- a/src/app/document/document.component.html +++ b/src/app/document/document.component.html @@ -1,15 +1,17 @@
-
- -
- - -
+
+

Tài liệu lịch sử

-
{{countResult}} tài liệu được tìm thấy
+
+ + +
+
+
{{countResult}} tài liệu được tìm thấy
+
diff --git a/src/app/document/documentdetail/documentdetail.component.html b/src/app/document/documentdetail/documentdetail.component.html index ddbbc7e..b766327 100644 --- a/src/app/document/documentdetail/documentdetail.component.html +++ b/src/app/document/documentdetail/documentdetail.component.html @@ -42,8 +42,8 @@
- 📒 {{document.title}} - {{ document.description }} +

📒 {{document.title}}

+

{{ document.description }}

diff --git a/src/app/exam/exam.component.css b/src/app/exam/exam.component.css index 07a4e76..8960eb2 100644 --- a/src/app/exam/exam.component.css +++ b/src/app/exam/exam.component.css @@ -5,7 +5,7 @@ option { } .header-banner { margin-top: 16px; - height: 300px; + height: fit-content; width: 100%; text-align: center; } diff --git a/src/app/exam/exam.component.html b/src/app/exam/exam.component.html index 15038e1..aa25aea 100644 --- a/src/app/exam/exam.component.html +++ b/src/app/exam/exam.component.html @@ -1,22 +1,25 @@
-
-
+
+

Trắc nghiệm lịch sử

+
-
{{countResult}} bài tập được tìm thấy
+
+ + +
+
+
{{countResult}} bài tập được tìm thấy
+
diff --git a/src/app/exam/exam.component.ts b/src/app/exam/exam.component.ts index 90e0117..7af73cb 100644 --- a/src/app/exam/exam.component.ts +++ b/src/app/exam/exam.component.ts @@ -35,12 +35,14 @@ export class ExamComponent { if(data.isSuccessed){ this.session.setKeyWordDocument(this.keyWord ?? ''); this.exams = data.resultObj; + this.countResult = this.exams.length; this.updatePagedExams(); } } ) } else { this.getExams(); + this.countResult = 0; } } getExams() { diff --git a/src/app/forum/forum-foryou/forum-foryou.component.css b/src/app/forum/forum-foryou/forum-foryou.component.css index 2a48b8c..256aacc 100644 --- a/src/app/forum/forum-foryou/forum-foryou.component.css +++ b/src/app/forum/forum-foryou/forum-foryou.component.css @@ -2,7 +2,6 @@ cursor: pointer; padding: 16px 12px; box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; - margin: 8px 0px; } .question-card:hover { box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px; diff --git a/src/app/forum/forum.component.css b/src/app/forum/forum.component.css index e69de29..0987384 100644 --- a/src/app/forum/forum.component.css +++ b/src/app/forum/forum.component.css @@ -0,0 +1,4 @@ +.menu-forum { + width: fit-content; + background-color: white; +} \ No newline at end of file diff --git a/src/app/forum/forum.component.html b/src/app/forum/forum.component.html index 9df1802..45bf554 100644 --- a/src/app/forum/forum.component.html +++ b/src/app/forum/forum.component.html @@ -1,6 +1,8 @@
diff --git a/src/app/forum/question/question.component.html b/src/app/forum/question/question.component.html index 07c8edd..84edc92 100644 --- a/src/app/forum/question/question.component.html +++ b/src/app/forum/question/question.component.html @@ -85,9 +85,9 @@
-

{{question?.title}}

+

{{question?.title}}

-
+

Lượt xem: {{question?.viewNumber}}
diff --git a/src/app/forum/searchquestion/searchquestion.component.html b/src/app/forum/searchquestion/searchquestion.component.html index 6bc39da..efcd418 100644 --- a/src/app/forum/searchquestion/searchquestion.component.html +++ b/src/app/forum/searchquestion/searchquestion.component.html @@ -22,14 +22,14 @@
-
- -
-
-
🔖{{question.title}}
+
+

🔖{{question.title}}

diff --git a/src/app/forum/searchquestion/searchquestion.component.ts b/src/app/forum/searchquestion/searchquestion.component.ts index 06fbb74..d16054e 100644 --- a/src/app/forum/searchquestion/searchquestion.component.ts +++ b/src/app/forum/searchquestion/searchquestion.component.ts @@ -1,4 +1,5 @@ import { Component, ElementRef, OnInit, ViewChild } from '@angular/core'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { PageEvent } from '@angular/material/paginator'; import { Router } from '@angular/router'; import { format, parseISO } from 'date-fns'; @@ -11,7 +12,7 @@ import { SessionService } from 'src/app/service/session/session.service'; @Component({ selector: 'app-searchquestion', templateUrl: './searchquestion.component.html', - styleUrls: ['./searchquestion.component.css'] + styleUrls: ['./searchquestion.component.css'], }) export class SearchquestionComponent implements OnInit{ @ViewChild('innerContainer') innerContainer!: ElementRef; @@ -43,6 +44,7 @@ export class SearchquestionComponent implements OnInit{ this.service.questionSearch(this.keyWord).subscribe( (data: any)=>{ this.questions = data.resultObj; + console.log(data); this.updatePagedQuestions(); if(this.session.getUserId()){ this.GetSaved(); @@ -66,8 +68,8 @@ export class SearchquestionComponent implements OnInit{ this.ConvertDate(); } ) - } - this.router.navigate(['/forum/foryou']); + } else + this.router.navigate(['/forum/foryou']); } containsOnlySpaces(str: string): boolean { const trimmedStr = str.trim(); diff --git a/src/app/home/footer/footer.component.css b/src/app/home/footer/footer.component.css index 04ebc40..b4abf7b 100644 --- a/src/app/home/footer/footer.component.css +++ b/src/app/home/footer/footer.component.css @@ -6,6 +6,15 @@ padding: 16px 200px; justify-content: space-between; } +.footer2 { + background-color: rgba(0, 0, 0, 0.762); + color: white; + font-size: 14px; + display: block; + text-align: center; + padding: 16px 200px; + justify-content: space-between; +} .logo { width: 32px; height: 32px; diff --git a/src/app/home/footer/footer.component.html b/src/app/home/footer/footer.component.html index aa81092..b6c63d9 100644 --- a/src/app/home/footer/footer.component.html +++ b/src/app/home/footer/footer.component.html @@ -47,6 +47,9 @@
-